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 }