git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51961
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// the window this sizer is used in, can be NULL
wxWindow *m_containingWindow;
- wxSize GetMaxWindowSize( wxWindow *window ) const;
- wxSize GetMinWindowSize( wxWindow *window );
wxSize GetMaxClientSize( wxWindow *window ) const;
wxSize GetMinClientSize( wxWindow *window );
wxSize VirtualFitSize( wxWindow *window );
}
#endif // WXWIN_COMPATIBILITY_2_8
-wxSize wxSizer::GetMaxWindowSize( wxWindow *window ) const
-{
- return window->GetMaxSize();
-}
-
-wxSize wxSizer::GetMinWindowSize( wxWindow *window )
-{
- return window->ClientToWindowSize(GetMinSize());
-}
-
// TODO on mac we need a function that determines how much free space this
// min size contains, in order to make sure that we have 20 pixels of free
// space around the controls