X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84752aa52abd572e480e42da4a1affc6a22c8f5e..8096c4256b5cba930b07ad7d36caaa390d343c83:/wxPython/wx/lib/analogclock/analogclock.py diff --git a/wxPython/wx/lib/analogclock/analogclock.py b/wxPython/wx/lib/analogclock/analogclock.py index b9b256fa80..16a7c4d399 100644 --- a/wxPython/wx/lib/analogclock/analogclock.py +++ b/wxPython/wx/lib/analogclock/analogclock.py @@ -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())