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:
Václav Slavík
2004-09-30 16:33:36 +00:00
parent 147d666989
commit 024f89f972
6 changed files with 19 additions and 19 deletions

View File

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