fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -576,7 +576,7 @@ some properties of the window change.)", "");
|
|||||||
minimum size, giving priority to the min size components, and returns
|
minimum size, giving priority to the min size components, and returns
|
||||||
the results.
|
the results.
|
||||||
", "");
|
", "");
|
||||||
%pythoncode { GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, , 'Use `GetEffectiveMinSize` instead.') }
|
%pythoncode { GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, 'Use `GetEffectiveMinSize` instead.') }
|
||||||
|
|
||||||
%pythoncode {
|
%pythoncode {
|
||||||
def GetAdjustedBestSize(self):
|
def GetAdjustedBestSize(self):
|
||||||
|
@@ -8619,7 +8619,7 @@ class Window(EvtHandler):
|
|||||||
"""
|
"""
|
||||||
return _core_.Window_GetEffectiveMinSize(*args, **kwargs)
|
return _core_.Window_GetEffectiveMinSize(*args, **kwargs)
|
||||||
|
|
||||||
GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, , 'Use `GetEffectiveMinSize` instead.')
|
GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, 'Use `GetEffectiveMinSize` instead.')
|
||||||
def GetAdjustedBestSize(self):
|
def GetAdjustedBestSize(self):
|
||||||
s = self.GetBestSize()
|
s = self.GetBestSize()
|
||||||
return wx.Size(max(s.width, self.GetMinWidth()),
|
return wx.Size(max(s.width, self.GetMinWidth()),
|
||||||
|
@@ -8619,7 +8619,7 @@ class Window(EvtHandler):
|
|||||||
"""
|
"""
|
||||||
return _core_.Window_GetEffectiveMinSize(*args, **kwargs)
|
return _core_.Window_GetEffectiveMinSize(*args, **kwargs)
|
||||||
|
|
||||||
GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, , 'Use `GetEffectiveMinSize` instead.')
|
GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, 'Use `GetEffectiveMinSize` instead.')
|
||||||
def GetAdjustedBestSize(self):
|
def GetAdjustedBestSize(self):
|
||||||
s = self.GetBestSize()
|
s = self.GetBestSize()
|
||||||
return wx.Size(max(s.width, self.GetMinWidth()),
|
return wx.Size(max(s.width, self.GetMinWidth()),
|
||||||
|
@@ -8619,7 +8619,7 @@ class Window(EvtHandler):
|
|||||||
"""
|
"""
|
||||||
return _core_.Window_GetEffectiveMinSize(*args, **kwargs)
|
return _core_.Window_GetEffectiveMinSize(*args, **kwargs)
|
||||||
|
|
||||||
GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, , 'Use `GetEffectiveMinSize` instead.')
|
GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, 'Use `GetEffectiveMinSize` instead.')
|
||||||
def GetAdjustedBestSize(self):
|
def GetAdjustedBestSize(self):
|
||||||
s = self.GetBestSize()
|
s = self.GetBestSize()
|
||||||
return wx.Size(max(s.width, self.GetMinWidth()),
|
return wx.Size(max(s.width, self.GetMinWidth()),
|
||||||
|
Reference in New Issue
Block a user