Set layout direction for all wxCompositeWindow parts.

Forward SetLayoutDirection() to both the base class and all the children, just
as we already do for the other setters.

See #11583.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2014-09-10 16:51:51 +00:00
parent dfb9976cc3
commit 0e722a20e7

View File

@ -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)
{