]> git.saurik.com Git - wxWidgets.git/commitdiff
Change Fit() back to using SetSize, not SetClientSize.
authorRobin Dunn <robin@alldunn.com>
Mon, 7 Aug 2006 18:20:02 +0000 (18:20 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 7 Aug 2006 18:20:02 +0000 (18:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wincmn.cpp

index cecad5fa0d567634d9426531be425d7fe75d516f..e9d6e9eda1deb9c84b08553cf66940080b434f8f 100644 (file)
@@ -396,7 +396,7 @@ void wxWindowBase::Fit()
 {
     if ( !GetChildren().empty() )
     {
-        SetClientSize(GetBestSize());
+        SetSize(GetBestSize());
     }
     //else: do nothing if we have no children
 }