From a1a48c8a955d64abde7fd97ddf21f9469c2b5ee7 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 2 Feb 2008 18:47:35 +0000 Subject: [PATCH] fix wxALIGN_RIGHT in RTL mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/stattext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index a10e98f85b..cebf51d4dd 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -71,9 +71,9 @@ bool wxStaticText::Create(wxWindow *parent, if (GetLayoutDirection() == wxLayout_RightToLeft) { - if (justify == GTK_JUSTIFY_RIGHT) + if (justify == GTK_JUSTIFY_RIGHT) justify = GTK_JUSTIFY_LEFT; - if (justify == GTK_JUSTIFY_LEFT) + else if (justify == GTK_JUSTIFY_LEFT) justify = GTK_JUSTIFY_RIGHT; } -- 2.45.2