Bad copy/paste fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
032b1ef198
commit
33b44316a8
@ -79,7 +79,7 @@ class wxGenStaticText(wxPyControl):
|
||||
|
||||
def DoGetBestSize(self):
|
||||
"""Overridden base class virtual. Determines the best size of the
|
||||
button based on the label and bezel size."""
|
||||
button based on the label size."""
|
||||
label = self.GetLabel()
|
||||
maxWidth = totalHeight = 0
|
||||
for line in label.split('\n'):
|
||||
|
Loading…
Reference in New Issue
Block a user