summaryrefslogtreecommitdiff
path: root/shared/toggleButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/toggleButton.h')
-rw-r--r--shared/toggleButton.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/toggleButton.h b/shared/toggleButton.h
index f3aaca26..a67d5fff 100644
--- a/shared/toggleButton.h
+++ b/shared/toggleButton.h
@@ -21,7 +21,10 @@ public:
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr) :
wxBitmapButton(parent, id, bitmap, pos, size, style, validator, name),
- active(false) {}
+ active(false)
+ {
+ SetLayoutDirection(wxLayout_LeftToRight); //avoid mirroring RTL languages like Hebrew or Arabic
+ }
void init(const wxBitmap& activeBmp,
const wxString& activeTooltip,
bgstack15