moved wxWindow::GetBestSize implementation into DoGetBestSize to make it easier to support both prototypes in derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -674,9 +674,9 @@ wxPoint wxWindowBase::GetClientAreaOrigin() const
|
||||
}
|
||||
|
||||
// set the min/max size of the window
|
||||
void wxWindowBase::SetSizeHints(int minW, int minH,
|
||||
int maxW, int maxH,
|
||||
int WXUNUSED(incW), int WXUNUSED(incH))
|
||||
void wxWindowBase::DoSetSizeHints(int minW, int minH,
|
||||
int maxW, int maxH,
|
||||
int WXUNUSED(incW), int WXUNUSED(incH))
|
||||
{
|
||||
// setting min width greater than max width leads to infinite loops under
|
||||
// X11 and generally doesn't make any sense, so don't allow it
|
||||
|
Reference in New Issue
Block a user