Title: [commits] (john) [16032] accidentally commited the wrong file
Revision
16032
Author
john
Date
2007-12-03 16:37:02 -0800 (Mon, 03 Dec 2007)

Log Message

accidentally commited the wrong file

Modified Paths

Diff

Modified: trunk/chandler/parcels/osaf/framework/blocks/MenusAndToolbars.py (16031 => 16032)

--- trunk/chandler/parcels/osaf/framework/blocks/MenusAndToolbars.py	2007-12-04 00:34:46 UTC (rev 16031)
+++ trunk/chandler/parcels/osaf/framework/blocks/MenusAndToolbars.py	2007-12-04 00:37:02 UTC (rev 16032)
@@ -327,12 +327,7 @@
             control = wxQuickEntry (self.parentBlock.widget,
                                     self.getWidgetID(),
                                     style = wx.TE_PROCESS_ENTER)
-            # On platforms other than macintosh the text control is a child of the wxSearchCtrl.
-            if wx.Platform == '__WXMAC__':
-                textCtrl = control
-            else:
-                textCtrl = control.GetChildren() [0]
-            textCtrl.SetName (self.blockName)
+            control.SetName (self.blockName)
             # Apparently on Macintosh the selection starts out random, which causes it to crash
             # when setting text because it trys to delete characters that don't exist
             control.SetSelection (0, 0)




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to