summaryrefslogtreecommitdiff
path: root/shared/toggleButton.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
commit4226e548662339ea1ca37b45385a7cf9b237ff1e (patch)
tree9a3fa54b85d97f05164e41bdb96b82f748a37342 /shared/toggleButton.h
parent3.7 (diff)
downloadFreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip
3.8
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