Changeset 262

Show
Ignore:
Timestamp:
05/11/04 12:49:07 (4 years ago)
Author:
paul
Message:

Fix the debug output to now show the property values upon dForm.addControl().

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/dabo-0.1/ui/uiwx/classes/dForm.py

    r251 r262  
    115115 
    116116        self.dControls[control.GetName()] = control 
    117         if self.debug: 
    118             print "added control %s which has the following properties:" % control.GetName() 
    119             for prop in control.getPropertyList(): 
    120                 print "  %s: %s" % (prop, eval("control.%s" % prop)) 
    121117 
    122118        # Set up the control to receive the notification  
  • trunk/ui/uiwx/classes/dForm.py

    r251 r262  
    115115 
    116116        self.dControls[control.GetName()] = control 
    117         if self.debug: 
    118             print "added control %s which has the following properties:" % control.GetName() 
    119             for prop in control.getPropertyList(): 
    120                 print "  %s: %s" % (prop, eval("control.%s" % prop)) 
    121117 
    122118        # Set up the control to receive the notification