diff options
Diffstat (limited to 'src/Main/Forms/KeyfilesPanel.cpp')
-rw-r--r-- | src/Main/Forms/KeyfilesPanel.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Main/Forms/KeyfilesPanel.cpp b/src/Main/Forms/KeyfilesPanel.cpp index 782a5cd6..e3d086fc 100644 --- a/src/Main/Forms/KeyfilesPanel.cpp +++ b/src/Main/Forms/KeyfilesPanel.cpp @@ -3,9 +3,9 @@ Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed by the TrueCrypt License 3.0. Modifications and additions to the original source code (contained in this file) - and all other portions of this file are Copyright (c) 2013-2016 IDRIX + and all other portions of this file are Copyright (c) 2013-2017 IDRIX and are governed by the Apache License 2.0 the full text of which is contained in the file License.txt included in VeraCrypt binary and source code distribution packages. */ @@ -58,12 +58,10 @@ namespace VeraCrypt }; SetDropTarget (new FileDropTarget (this)); KeyfilesListCtrl->SetDropTarget (new FileDropTarget (this)); -#ifdef TC_MACOSX foreach (wxWindow *c, GetChildren()) c->SetDropTarget (new FileDropTarget (this)); -#endif UpdateButtons(); } @@ -116,9 +114,9 @@ namespace VeraCrypt { SecurityTokenKeyfilesDialog dialog (this); if (dialog.ShowModal() == wxID_OK) { - foreach (const SecurityTokenKeyfilePath &path, dialog.GetSelectedSecurityTokenKeyfilePaths()) + foreach (const TokenKeyfilePath &path, dialog.GetSelectedSecurityTokenKeyfilePaths()) { vector <wstring> fields; fields.push_back (path); Gui->AppendToListCtrl (KeyfilesListCtrl, fields); |