From 86529dadde9af8407711d55d0096330429f79742 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 14 Feb 2015 23:42:15 +0100 Subject: 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. --- src/Main/Forms/KeyfilesDialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Main/Forms/KeyfilesDialog.cpp') diff --git a/src/Main/Forms/KeyfilesDialog.cpp b/src/Main/Forms/KeyfilesDialog.cpp index 2bcdf2f9..1dbf872c 100644 --- a/src/Main/Forms/KeyfilesDialog.cpp +++ b/src/Main/Forms/KeyfilesDialog.cpp @@ -15,6 +15,7 @@ namespace VeraCrypt KeyfilesDialog::KeyfilesDialog (wxWindow* parent, shared_ptr keyfiles) : KeyfilesDialogBase (parent), Keyfiles (keyfiles) { + SetExtraStyle( GetExtraStyle() | wxWS_EX_VALIDATE_RECURSIVELY ); mKeyfilesPanel = new KeyfilesPanel (this, keyfiles); PanelSizer->Add (mKeyfilesPanel, 1, wxALL | wxEXPAND); -- cgit v1.2.3