]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/analogclock/analogclock.py
removed some members from wxAuiPaneInfo which should not be on the class interface
[wxWidgets.git] / wxPython / wx / lib / analogclock / analogclock.py
index b9b256fa80d5bd5a5c2c47be459bb5fadeac88d6..16a7c4d3999c89f9158c8ee887ff7c9f4ea97d5f 100644 (file)
@@ -92,7 +92,7 @@ class AnalogClock(wx.PyWindow):
         self.Bind(wx.EVT_MENU, self._OnShowAbout, id=popup2)
 
         # Set initial size based on given size, or best size
-        self.SetBestFittingSize(size)
+        self.SetInitialSize(size)
 
         # Do initial drawing (in case there is not an initial size event)
         self.RecalcCoords(self.GetSize())