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/SecurityTokenKeyfilesDialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Main/Forms/SecurityTokenKeyfilesDialog.cpp') diff --git a/src/Main/Forms/SecurityTokenKeyfilesDialog.cpp b/src/Main/Forms/SecurityTokenKeyfilesDialog.cpp index a0930726..29dfa60a 100644 --- a/src/Main/Forms/SecurityTokenKeyfilesDialog.cpp +++ b/src/Main/Forms/SecurityTokenKeyfilesDialog.cpp @@ -17,6 +17,7 @@ namespace VeraCrypt SecurityTokenKeyfilesDialog::SecurityTokenKeyfilesDialog (wxWindow* parent, bool selectionMode) : SecurityTokenKeyfilesDialogBase (parent) { + SetExtraStyle( GetExtraStyle() | wxWS_EX_VALIDATE_RECURSIVELY ); if (selectionMode) SetTitle (LangString["SELECT_TOKEN_KEYFILES"]); -- cgit v1.2.3