diff --git a/include/wx/compositewin.h b/include/wx/compositewin.h index b443eaceb5..48d0ae344e 100644 --- a/include/wx/compositewin.h +++ b/include/wx/compositewin.h @@ -109,7 +109,7 @@ public: // SetLayoutDirection(wxLayout_Default) wouldn't result in a re-layout // neither, but then we're not supposed to be called with it at all. if ( dir != wxLayout_Default ) - this->SetSize(-1, -1, -1, -1, wxSIZE_AUTO | wxSIZE_FORCE); + this->SetSize(-1, -1, -1, -1, wxSIZE_FORCE); } #if wxUSE_TOOLTIPS