|
From: Kevin A. <ka...@us...> - 2004-04-29 23:59:47
|
Update of /cvsroot/pythoncard/PythonCard/tools/textEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28465/tools/textEditor Modified Files: textEditor.pyw Log Message: added new background event binding and dispatch added hacks to MessageWatcher and EventQueue to support posting messages until we have an EventLog class added restore event (inverse of minimize) added singleItemExpandingSizerLayout method to background moved initialize event dispatch and bindWindowEvents to end of Background.__init__ to correct initialization bug with menus... Index: textEditor.pyw =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/textEditor/textEditor.pyw,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** textEditor.pyw 25 Apr 2004 23:12:46 -0000 1.70 --- textEditor.pyw 29 Apr 2004 23:59:23 -0000 1.71 *************** *** 72,84 **** def on_initialize(self, event): ! sizer1 = wx.BoxSizer(wx.VERTICAL) ! sizer1.Add(self.components.fldDocument, 1, wx.EXPAND) ! ! sizer1.Fit(self) ! sizer1.SetSizeHints(self) ! self.panel.SetSizer(sizer1) ! self.panel.SetAutoLayout(1) ! self.panel.Layout() ! # KEA 2002-06-27 # copied from codeEditor.py --- 72,77 ---- def on_initialize(self, event): ! self.singleItemExpandingSizerLayout() ! # KEA 2002-06-27 # copied from codeEditor.py |