VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/PreferencesDialog.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-02-27 14:33:41 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-02-27 17:07:33 (GMT)
commit176bec1bb2a6d1e1a6acf03747981238dc555784 (patch)
tree47e6ed9a88b0e1758eac68b1e6c45ac07cbde6c5 /src/Main/Forms/PreferencesDialog.cpp
parent31b238872ecc0b092ba6dd32116867635b3d1bf4 (diff)
downloadVeraCrypt-176bec1bb2a6d1e1a6acf03747981238dc555784.zip
VeraCrypt-176bec1bb2a6d1e1a6acf03747981238dc555784.tar.gz
Revert "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."
This reverts commit 400fd599f812b057b0674f2ae0e0141e7c35a332.
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 0c65c5c..e22e304 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