From 3d6f3f18662b6121e5d0bc299f9eaf9d4c1fa43b Mon Sep 17 00:00:00 2001 From: James Crook Date: Thu, 9 Aug 2018 19:01:45 +0100 Subject: [PATCH] Fix our custom NumericText controls are scrambled in RTL layout. Fix is to force them to be LTR (for now). --- src/widgets/NumericTextCtrl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/NumericTextCtrl.cpp b/src/widgets/NumericTextCtrl.cpp index 64116df77..131c71918 100644 --- a/src/widgets/NumericTextCtrl.cpp +++ b/src/widgets/NumericTextCtrl.cpp @@ -1233,6 +1233,7 @@ NumericTextCtrl::NumericTextCtrl(wxWindow *parent, wxWindowID id, mMenuEnabled = options.menuEnabled; mButtonWidth = 9; + SetLayoutDirection(wxLayout_LeftToRight); Layout(); Fit(); ValueToControls();