diff options
Diffstat (limited to 'src/Main/Application.cpp')
-rw-r--r-- | src/Main/Application.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Main/Application.cpp b/src/Main/Application.cpp index 4b013cfc..27b8f55a 100644 --- a/src/Main/Application.cpp +++ b/src/Main/Application.cpp @@ -3,9 +3,9 @@ Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed by the TrueCrypt License 3.0. Modifications and additions to the original source code (contained in this file) - and all other portions of this file are Copyright (c) 2013-2016 IDRIX + and all other portions of this file are Copyright (c) 2013-2017 IDRIX and are governed by the Apache License 2.0 the full text of which is contained in the file License.txt included in VeraCrypt binary and source code distribution packages. */ @@ -81,15 +81,16 @@ namespace VeraCrypt wxApp* Application::CreateGuiApp () { mUserInterface = new GraphicUserInterface; mUserInterfaceType = UserInterfaceType::Graphic; + wxSetEnv("WXSUPPRESS_SIZER_FLAGS_CHECK", "1"); return mUserInterface; } #endif FilePath Application::GetConfigFilePath (const wxString &configFileName, bool createConfigDir) { - static wxScopedPtr<const wxString> configDirC; + static std::unique_ptr<const wxString> configDirC; static bool configDirExists = false; if (!configDirExists) { |