Tweaks to wxTimeCtrl for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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) )
|
||||
|
||||
|
Reference in New Issue
Block a user