diff --git a/wxPython/wxPython/lib/timectrl.py b/wxPython/wxPython/lib/timectrl.py index 4917f16dac..7e6fd09e85 100644 --- a/wxPython/wxPython/lib/timectrl.py +++ b/wxPython/wxPython/lib/timectrl.py @@ -112,6 +112,8 @@ class wxTimeCtrl(wxTextCtrl): testText = '00:00:00X' # give it a little extra space else: testText = '00:00:00 XXX' # give it a little extra space + if wxPlatform == "__WXMAC__": + testText += 'X' w, h = self.GetTextExtent(testText) self.SetClientSize( (w+4, self.GetClientSize().height) )