diff --git a/include/wx/compositewin.h b/include/wx/compositewin.h index ebf631c47c..f3ead9a14c 100644 --- a/include/wx/compositewin.h +++ b/include/wx/compositewin.h @@ -94,6 +94,13 @@ public: return true; } + virtual void SetLayoutDirection(wxLayoutDirection dir) + { + BaseWindowClass::SetLayoutDirection(dir); + + SetForAllParts(&wxWindowBase::SetLayoutDirection, dir); + } + #if wxUSE_TOOLTIPS virtual void DoSetToolTip(wxToolTip *tip) {