From: Kevin A. <ka...@us...> - 2004-07-20 17:55:00
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20325/tools/resourceEditor Modified Files: resourceEditor.py Log Message: moved the createDC call and added a call on_resize for Mac Index: resourceEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/resourceEditor.py,v retrieving revision 1.198 retrieving revision 1.199 diff -C2 -d -r1.198 -r1.199 *** resourceEditor.py 14 May 2004 18:22:43 -0000 1.198 --- resourceEditor.py 20 Jul 2004 17:54:50 -0000 1.199 *************** *** 145,149 **** self.rsrc = resource.ResourceFile(path).getResource() - self.createDC() self.updatePanel(self.rsrc) # KEA 2004-05-14 --- 145,148 ---- *************** *** 206,209 **** --- 205,210 ---- 'bottomRight':self.on_bottomRight_mouseDrag } + + self.createDC() *************** *** 413,416 **** --- 414,421 ---- self.dc = dc + def on_size(self, event): + self.createDC() + event.skip() + def drawTheRect(self): position = [self.startGlobalPosition[0], self.startGlobalPosition[1]] |