X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f4cc34f375fbff74006f3057e90dd01c426f580..169f3a3d6ff1d73a71e8b03f04f7e252c619a630:/wxPython/wx/lib/ticker.py diff --git a/wxPython/wx/lib/ticker.py b/wxPython/wx/lib/ticker.py index 927d98082e..869e45aef4 100644 --- a/wxPython/wx/lib/ticker.py +++ b/wxPython/wx/lib/ticker.py @@ -50,7 +50,7 @@ class Ticker(wx.PyControl): self._ppf = ppf #pixels per frame self.SetDirection(direction) self.SetText(text) - self.SetBestFittingSize(size) + self.SetInitialSize(size) self.SetForegroundColour(fgcolor) self.SetBackgroundColour(bgcolor) wx.EVT_TIMER(self, -1, self.OnTick)