mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-13 03:48:26 -06:00
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 commit is contained in:
@@ -15,6 +15,7 @@ namespace VeraCrypt
|
||||
KeyfilesDialog::KeyfilesDialog (wxWindow* parent, shared_ptr <KeyfileList> keyfiles)
|
||||
: KeyfilesDialogBase (parent), Keyfiles (keyfiles)
|
||||
{
|
||||
SetExtraStyle( GetExtraStyle() | wxWS_EX_VALIDATE_RECURSIVELY );
|
||||
mKeyfilesPanel = new KeyfilesPanel (this, keyfiles);
|
||||
PanelSizer->Add (mKeyfilesPanel, 1, wxALL | wxEXPAND);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user