--- a/IDEFrame.py Thu Oct 04 17:56:29 2012 +0200
+++ b/IDEFrame.py Thu Oct 04 17:58:45 2012 +0200
@@ -709,11 +709,6 @@
def OnResize(self, event):
- if wx.Platform == '__WXMSW__':
- wx.CallAfter(self.ResetStarting)
- wx.CallAfter(self.RefreshEditor)
def GetProjectConfiguration(self):
@@ -854,6 +849,7 @@
self.SetClientSize(frame_size)
+ wx.CallAfter(self.RestoreLastLayout) def RestoreLastLayout(self):
@@ -887,6 +883,12 @@
self._Refresh(EDITORTOOLBAR)
+ if wx.Platform == '__WXMSW__': + wx.CallAfter(self.ResetStarting) + wx.CallAfter(self.RefreshEditor) if not self.IsMaximized():