From 084a8ee85c24fbc7077d6c789c97aacdb31b4e39 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 8 Jun 2014 00:45:49 +0200 Subject: wxWidgets 3.0 compatibility modifications --- src/Main/Forms/SelectDirectoryWizardPage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Main/Forms/SelectDirectoryWizardPage.h') 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); } -- cgit v1.2.3