VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Application.cpp
diff options
context:
space:
mode:
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)