]> git.saurik.com Git - wxWidgets.git/commitdiff
Sorry, that SetClientSize change was wrong, since sizers are working in
authorJulian Smart <julian@anthemion.co.uk>
Thu, 11 Apr 2002 18:43:25 +0000 (18:43 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 11 Apr 2002 18:43:25 +0000 (18:43 +0000)
whole-window coordinates. Reverted.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sizer.cpp

index ce8405973cfda339e371c1420ed9e82b1980c8d8..f20410f51de6ce34bf9bac91ff69ce19f6f957d7 100644 (file)
@@ -408,7 +408,8 @@ void wxSizer::Fit( wxWindow *window )
     else
         size = GetMinWindowSize( window );
 
-    window->SetClientSize( size );
+    //window->SetClientSize( size );
+    window->SetSize( size );
 }
 
 void wxSizer::Layout()