-wxSize wxTopLevelWindowBase::GetMaxSize() const
-{
- wxSize size = wxWindow::GetMaxSize();
-
- int w, h;
- wxClientDisplayRect(NULL, NULL, &w, &h );
-
- if ( size.GetWidth() == wxDefaultCoord )
- size.SetWidth(w);
-
- if ( size.GetHeight() == wxDefaultCoord )
- size.SetHeight(h);
-
- return size;
-}
-