From: Kevin A. <ka...@us...> - 2004-07-27 00:37:36
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15957 Modified Files: resourceEditor.py Log Message: workaround for Mac runtime property editor list selection Index: resourceEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/resourceEditor.py,v retrieving revision 1.199 retrieving revision 1.200 diff -C2 -d -r1.199 -r1.200 *** resourceEditor.py 20 Jul 2004 17:54:50 -0000 1.199 --- resourceEditor.py 27 Jul 2004 00:37:27 -0000 1.200 *************** *** 935,940 **** self.offset = (0, 0) if self.application.pw is not None: ! self.application.pw.selectComponentsList('topLeft', 'ImageButton') ! # KEA 2002-02-23 self.propertyEditorWindow.clearComponentList() self.propertyEditorWindow.clearPropertyList() --- 935,942 ---- self.offset = (0, 0) if self.application.pw is not None: ! if wx.Platform == '__WXMAC__': ! self.application.pw.selectComponentsList('topLeft', 'Image') ! else: ! self.application.pw.selectComponentsList('topLeft', 'ImageButton') # KEA 2002-02-23 self.propertyEditorWindow.clearComponentList() self.propertyEditorWindow.clearPropertyList() |