1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

wxWidgets 3.0 compatibility modifications

This commit is contained in:
Mounir IDRASSI
2014-06-08 00:45:49 +02:00
parent c386beb69c
commit 084a8ee85c
8 changed files with 17 additions and 17 deletions

View File

@@ -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)