VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/PreferencesDialog.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-02-14 23:42:15 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-02-16 00:19:24 +0100
commit86529dadde9af8407711d55d0096330429f79742 (patch)
treefb3fa9c303324dac4cb4ed9195abb15435b7915d /src/Main/Forms/PreferencesDialog.cpp
parent544c55debc4d1a99588de099ae2eede3d8f24585 (diff)
downloadVeraCrypt-86529dadde9af8407711d55d0096330429f79742.tar.gz
VeraCrypt-86529dadde9af8407711d55d0096330429f79742.zip
Linux/MacOSX: solve the 'X' icon not closing some dialog. This was caused by a bug of wxFormBuilder that calls SetExtraStyle without taking care of the previous value.
Diffstat (limited to 'src/Main/Forms/PreferencesDialog.cpp')
-rw-r--r--src/Main/Forms/PreferencesDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/PreferencesDialog.cpp b/src/Main/Forms/PreferencesDialog.cpp
index e22e304b..0c65c5c4 100644
--- a/src/Main/Forms/PreferencesDialog.cpp
+++ b/src/Main/Forms/PreferencesDialog.cpp
@@ -27,7 +27,7 @@ namespace VeraCrypt
RestoreValidatorBell (false)
{
#define TC_CHECK_BOX_VALIDATOR(NAME) (TC_JOIN(NAME,CheckBox))->SetValidator (wxGenericValidator (&Preferences.NAME));
-
+ SetExtraStyle( GetExtraStyle() | wxWS_EX_VALIDATE_RECURSIVELY );
#ifdef TC_MACOSX
PreferencesNotebook->SetMinSize (wxSize (Gui->GetCharWidth (PreferencesNotebook) * 108, -1));
#endif