From: Kevin A. <ka...@us...> - 2005-03-28 05:47:09
|
Update of /cvsroot/pythoncard/PythonCard/samples/turtle In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12028/samples/turtle Modified Files: turtle.py Log Message: added explicit Update for Mac BitmapCanvas refresh Index: turtle.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/turtle/turtle.py,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** turtle.py 10 Oct 2004 01:21:56 -0000 1.25 --- turtle.py 28 Mar 2005 05:47:00 -0000 1.26 *************** *** 26,30 **** if wx.Platform == '__WXMAC__': ! self.menuBar.setChecked('menuCommandsAutoRefresh', False) self.components.bufOff.autoRefresh = False --- 26,33 ---- if wx.Platform == '__WXMAC__': ! # KEA 2005-03-26 ! # if CallAfter isn't used, the Mac doesn't update the menu correctly ! # this might be a bug ! wx.CallAfter(self.menuBar.setChecked, 'menuCommandsAutoRefresh', False) self.components.bufOff.autoRefresh = False |