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/Forms/SelectDirectoryWizardPage.h | |
parent | c386beb69c2bb2475316c085f66a91ac0d9bdc73 (diff) | |
download | VeraCrypt-084a8ee85c24fbc7077d6c789c97aacdb31b4e39.tar.gz VeraCrypt-084a8ee85c24fbc7077d6c789c97aacdb31b4e39.zip |
wxWidgets 3.0 compatibility modifications
Diffstat (limited to 'src/Main/Forms/SelectDirectoryWizardPage.h')
-rw-r--r-- | src/Main/Forms/SelectDirectoryWizardPage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/SelectDirectoryWizardPage.h b/src/Main/Forms/SelectDirectoryWizardPage.h index 52335fc5..2ea8b0dc 100644 --- a/src/Main/Forms/SelectDirectoryWizardPage.h +++ b/src/Main/Forms/SelectDirectoryWizardPage.h @@ -18,7 +18,7 @@ namespace TrueCrypt public: SelectDirectoryWizardPage (wxPanel* parent) : SelectDirectoryWizardPageBase (parent) { } - DirectoryPath GetDirectory () const { return DirectoryPath (DirectoryTextCtrl->GetValue()); } + DirectoryPath GetDirectory () const { return DirectoryPath (DirectoryTextCtrl->GetValue().wc_str()); } bool IsValid (); void SetDirectory (const DirectoryPath &path) { DirectoryTextCtrl->SetValue (wstring (path)); } void SetMaxStaticTextWidth (int width) { InfoStaticText->Wrap (width); } |