]> git.saurik.com Git - wxWidgets.git/commitdiff
removed now-unused wxSizer::GetMax/MinWindowSize helpers
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 21 Feb 2008 14:07:04 +0000 (14:07 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 21 Feb 2008 14:07:04 +0000 (14:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/sizer.h
src/common/sizer.cpp

index 9ac8077b7d4f85faeeade675d0fcdd914a5cce38..b97b7c085489a0549570019cfd84854ba045ba0c 100644 (file)
@@ -655,8 +655,6 @@ protected:
     // 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 );
index 38753c75446a6aeb495e744df27277ac3ee51611..cc81970cb5cd30cd72b5fad11b4ea495f24d368a 100644 (file)
@@ -940,16 +940,6 @@ void wxSizer::SetVirtualSizeHints( 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