VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Application.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-08 00:45:49 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:19:29 +0100
commit084a8ee85c24fbc7077d6c789c97aacdb31b4e39 (patch)
tree7022ec0ced1d57ca287202a772a28787e1bb2408 /src/Main/Application.cpp
parentc386beb69c2bb2475316c085f66a91ac0d9bdc73 (diff)
downloadVeraCrypt-084a8ee85c24fbc7077d6c789c97aacdb31b4e39.tar.gz
VeraCrypt-084a8ee85c24fbc7077d6c789c97aacdb31b4e39.zip
wxWidgets 3.0 compatibility modifications
Diffstat (limited to 'src/Main/Application.cpp')
-rw-r--r--src/Main/Application.cpp6
1 files changed, 3 insertions, 3 deletions
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)