fix wxALIGN_RIGHT in RTL mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -71,9 +71,9 @@ bool wxStaticText::Create(wxWindow *parent,
|
|||||||
|
|
||||||
if (GetLayoutDirection() == wxLayout_RightToLeft)
|
if (GetLayoutDirection() == wxLayout_RightToLeft)
|
||||||
{
|
{
|
||||||
if (justify == GTK_JUSTIFY_RIGHT)
|
if (justify == GTK_JUSTIFY_RIGHT)
|
||||||
justify = GTK_JUSTIFY_LEFT;
|
justify = GTK_JUSTIFY_LEFT;
|
||||||
if (justify == GTK_JUSTIFY_LEFT)
|
else if (justify == GTK_JUSTIFY_LEFT)
|
||||||
justify = GTK_JUSTIFY_RIGHT;
|
justify = GTK_JUSTIFY_RIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user