diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp index 883b2d68..84a40eaf 100644 --- a/src/Main/GraphicUserInterface.cpp +++ b/src/Main/GraphicUserInterface.cpp @@ -98,6 +98,9 @@ namespace VeraCrypt g_customIdCmdV = wxNewId(); g_customIdCmdA = wxNewId(); wxApp::s_macHelpMenuTitleName = LangString["MENU_HELP"]; +#endif +#if wxCHECK_VERSION(3, 1, 6) + wxSizerFlags::DisableConsistencyChecks(); #endif }