From 176bec1bb2a6d1e1a6acf03747981238dc555784 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 27 Feb 2015 15:33:41 +0100 Subject: 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. --- src/Main/Forms/PreferencesDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Main/Forms/PreferencesDialog.cpp') diff --git a/src/Main/Forms/PreferencesDialog.cpp b/src/Main/Forms/PreferencesDialog.cpp index 0c65c5c4..e22e304b 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 -- cgit v1.2.3