diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-06-08 00:45:49 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:19:29 +0100 |
commit | 084a8ee85c24fbc7077d6c789c97aacdb31b4e39 (patch) | |
tree | 7022ec0ced1d57ca287202a772a28787e1bb2408 /src/Main/GraphicUserInterface.cpp | |
parent | c386beb69c2bb2475316c085f66a91ac0d9bdc73 (diff) | |
download | VeraCrypt-084a8ee85c24fbc7077d6c789c97aacdb31b4e39.tar.gz VeraCrypt-084a8ee85c24fbc7077d6c789c97aacdb31b4e39.zip |
wxWidgets 3.0 compatibility modifications
Diffstat (limited to 'src/Main/GraphicUserInterface.cpp')
-rw-r--r-- | src/Main/GraphicUserInterface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp index 41eb7808..64e9e4be 100644 --- a/src/Main/GraphicUserInterface.cpp +++ b/src/Main/GraphicUserInterface.cpp @@ -1384,7 +1384,7 @@ namespace TrueCrypt #else L"", #endif - L"", wxDD_DEFAULT_STYLE | (existingOnly ? wxDD_DIR_MUST_EXIST : 0), wxDefaultPosition, parent)); + L"", wxDD_DEFAULT_STYLE | (existingOnly ? wxDD_DIR_MUST_EXIST : 0), wxDefaultPosition, parent).wc_str()); } FilePathList GraphicUserInterface::SelectFiles (wxWindow *parent, const wxString &caption, bool saveMode, bool allowMultiple, const list < pair <wstring, wstring> > &fileExtensions, const DirectoryPath &directory) const @@ -1428,14 +1428,14 @@ namespace TrueCrypt if (dialog.ShowModal() == wxID_OK) { if (!allowMultiple) - files.push_back (make_shared <FilePath> (dialog.GetPath())); + files.push_back (make_shared <FilePath> (dialog.GetPath().wc_str())); else { wxArrayString paths; dialog.GetPaths (paths); foreach (const wxString &path, paths) - files.push_back (make_shared <FilePath> (path)); + files.push_back (make_shared <FilePath> (path.wc_str())); } } |