diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:43 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:43 +0200 |
commit | 4226e548662339ea1ca37b45385a7cf9b237ff1e (patch) | |
tree | 9a3fa54b85d97f05164e41bdb96b82f748a37342 /shared/toggleButton.h | |
parent | 3.7 (diff) | |
download | FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2 FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip |
3.8
Diffstat (limited to 'shared/toggleButton.h')
-rw-r--r-- | shared/toggleButton.h | 5 |
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, |