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/Application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Main/Application.cpp') diff --git a/src/Main/Application.cpp b/src/Main/Application.cpp index 8c6dea18..2d491696 100644 --- a/src/Main/Application.cpp +++ b/src/Main/Application.cpp @@ -36,7 +36,7 @@ namespace TrueCrypt FilePath Application::GetConfigFilePath (const wxString &configFileName, bool createConfigDir) { - wxStandardPaths stdPaths; + wxStandardPaths& stdPaths = wxStandardPaths::Get(); DirectoryPath configDir; if (!Core->IsInPortableMode()) @@ -61,12 +61,12 @@ namespace TrueCrypt DirectoryPath Application::GetExecutableDirectory () { - return wstring (wxFileName (wxStandardPaths().GetExecutablePath()).GetPath()); + return wstring (wxFileName (wxStandardPaths::Get().GetExecutablePath()).GetPath()); } FilePath Application::GetExecutablePath () { - return wstring (wxStandardPaths().GetExecutablePath()); + return wstring (wxStandardPaths::Get().GetExecutablePath()); } void Application::Initialize (UserInterfaceType::Enum type) -- cgit v1.2.3