From 1736f021a83e2547fd5ca1272cb038f37c721481 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 7 Aug 2006 18:20:02 +0000 Subject: [PATCH] Change Fit() back to using SetSize, not SetClientSize. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wincmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index cecad5fa0d..e9d6e9eda1 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -396,7 +396,7 @@ void wxWindowBase::Fit() { if ( !GetChildren().empty() ) { - SetClientSize(GetBestSize()); + SetSize(GetBestSize()); } //else: do nothing if we have no children } -- 2.45.2