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:
Paul Cornett
2008-02-02 18:47:35 +00:00
parent 357b1b5292
commit a1a48c8a95

View File

@@ -73,7 +73,7 @@ bool wxStaticText::Create(wxWindow *parent,
{ {
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;
} }