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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user