Moved overridden SetMinSize() to base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -140,6 +140,16 @@ bool wxTopLevelWindowBase::IsLastBeforeExit() const
|
||||
// wxTopLevelWindow geometry
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxTopLevelWindowBase::SetMinSize(const wxSize& minSize)
|
||||
{
|
||||
SetSizeHints( minSize.x, minSize.y, GetMaxWidth(), GetMaxHeight() );
|
||||
}
|
||||
|
||||
void wxTopLevelWindowBase::SetMaxSize(const wxSize& maxSize)
|
||||
{
|
||||
SetSizeHints( GetMinWidth(), GetMinHeight(), maxSize.x, maxSize.y );
|
||||
}
|
||||
|
||||
// set the min/max size of the window
|
||||
void wxTopLevelWindowBase::DoSetSizeHints(int minW, int minH,
|
||||
int maxW, int maxH,
|
||||
|
||||
Reference in New Issue
Block a user