diff --git a/include/wx/compositewin.h b/include/wx/compositewin.h index 9236229fbc..9a3536854a 100644 --- a/include/wx/compositewin.h +++ b/include/wx/compositewin.h @@ -102,7 +102,7 @@ public: // The child layout almost invariably depends on the layout direction, // so redo it when it changes. - SetSize(-1, -1, -1, -1, wxSIZE_AUTO | wxSIZE_FORCE); + this->SetSize(-1, -1, -1, -1, wxSIZE_AUTO | wxSIZE_FORCE); } #if wxUSE_TOOLTIPS