VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/SecurityTokenKeyfilesDialog.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/SecurityTokenKeyfilesDialog.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/SecurityTokenKeyfilesDialog.cpp')
-rw-r--r--src/Main/Forms/SecurityTokenKeyfilesDialog.cpp1
1 files changed, 1 insertions, 0 deletions
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"]);