From: Kevin A. <ka...@us...> - 2007-07-28 23:12:00
|
Update of /cvsroot/pythoncard/PythonCard/tools/standaloneBuilder In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23098/tools/standaloneBuilder Modified Files: standaloneBuilder.py Log Message: removed import, switched to wx. style instead Index: standaloneBuilder.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/standaloneBuilder/standaloneBuilder.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** standaloneBuilder.py 28 Jul 2007 14:53:11 -0000 1.16 --- standaloneBuilder.py 28 Jul 2007 23:12:00 -0000 1.17 *************** *** 54,64 **** # temporary hack until we get it working properly under MacOS if wx.Platform == '__WXMAC__': ! from wx import PySimpleApp, Frame, MessageDialog, ICON_EXCLAMATION, OK, VERSION_STRING ! app = PySimpleApp() title = 'Sorry!' ! frame = Frame(None, -1, title) message = 'standaloneBuilder currently does not work properly under MacOS. This shortcoming will ' message += 'be fixed in a future release.\n\nClick OK to exit.' ! dialog = MessageDialog(frame, wrap_string(message, 52), title, ICON_EXCLAMATION | OK) dialog.ShowModal() dialog.Destroy() --- 54,63 ---- # temporary hack until we get it working properly under MacOS if wx.Platform == '__WXMAC__': ! app = wx.PySimpleApp() title = 'Sorry!' ! frame = wx.Frame(None, -1, title) message = 'standaloneBuilder currently does not work properly under MacOS. This shortcoming will ' message += 'be fixed in a future release.\n\nClick OK to exit.' ! dialog = wx.MessageDialog(frame, wrap_string(message, 52), title, wx.ICON_EXCLAMATION | wx.OK) dialog.ShowModal() dialog.Destroy() |