diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index 71ed6cb4b6..6e10f8469f 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -566,7 +566,7 @@ wxSize wxSizer::Fit( wxWindow *window ) wxSize size(window->IsTopLevel() ? FitSize(window) : GetMinWindowSize(window)); - window->SetClientSize( size ); + window->SetSize( size ); return size; }