]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
fixed bug with not NUL-terminating the string in GAddress_UNIX_SetPath
[wxWidgets.git] / 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()