]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/floatcanvas.py
style sheet for the api docs
[wxWidgets.git] / wxPython / wx / lib / floatcanvas.py
index 79481c9977276dba87efaa3853571e46a9db5e9f..0df12ea34c2c0d67843fa26446d496773893fc61 100644 (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):