removed now-unused wxSizer::GetMax/MinWindowSize helpers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-02-21 14:07:04 +00:00
parent 6ed28b941c
commit 61d34c10ea
2 changed files with 0 additions and 12 deletions

View File

@@ -655,8 +655,6 @@ protected:
// the window this sizer is used in, can be NULL // the window this sizer is used in, can be NULL
wxWindow *m_containingWindow; wxWindow *m_containingWindow;
wxSize GetMaxWindowSize( wxWindow *window ) const;
wxSize GetMinWindowSize( wxWindow *window );
wxSize GetMaxClientSize( wxWindow *window ) const; wxSize GetMaxClientSize( wxWindow *window ) const;
wxSize GetMinClientSize( wxWindow *window ); wxSize GetMinClientSize( wxWindow *window );
wxSize VirtualFitSize( wxWindow *window ); wxSize VirtualFitSize( wxWindow *window );

View File

@@ -940,16 +940,6 @@ void wxSizer::SetVirtualSizeHints( wxWindow *window )
} }
#endif // WXWIN_COMPATIBILITY_2_8 #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 // 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 // min size contains, in order to make sure that we have 20 pixels of free
// space around the controls // space around the controls