Patches from KevinO that work around issues where the widget isn't

fully created yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-04-26 22:25:44 +00:00
parent 4997d3014c
commit da8d6ffa57
2 changed files with 6 additions and 5 deletions

View File

@@ -799,7 +799,8 @@ class FloatCanvas(wx.Panel):
self.StartMove = None
self.PrevMoveBox = None
# called just to make sure everything is initialized
self.OnSize(None)
if wx.Platform != "__WXMAC__":
self.OnSize(None)
def BuildToolbar(self):