From dec2bd882f76f508bed563906871eb66adf62e3f Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 19 May 2026 07:41:33 +0900 Subject: [PATCH] Linux/macOS: suppress wxWidgets sizer consistency checks --- src/Main/GraphicUserInterface.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 }