git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-31 18:41:36 +00:00
parent 580080c5d6
commit 0d82d64ea6
4 changed files with 4 additions and 4 deletions

View File

@@ -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):

View File

@@ -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()),

View File

@@ -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()),

View File

@@ -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()),