Move body of SetMinSize and SetMaxSize from header to cpp file for easier debugging. The methods are virtual anyway.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -721,6 +721,18 @@ wxSize wxWindowBase::GetEffectiveMinSize() const
|
||||
}
|
||||
|
||||
|
||||
void wxWindowBase::SetMinSize(const wxSize& minSize)
|
||||
{
|
||||
m_minWidth = minSize.x;
|
||||
m_minHeight = minSize.y;
|
||||
}
|
||||
|
||||
void wxWindowBase::SetMaxSize(const wxSize& maxSize)
|
||||
{
|
||||
m_maxWidth = maxSize.x;
|
||||
m_maxHeight = maxSize.y;
|
||||
}
|
||||
|
||||
void wxWindowBase::SetInitialSize(const wxSize& size)
|
||||
{
|
||||
// Set the min size to the size passed in. This will usually either be
|
||||
|
Reference in New Issue
Block a user