From 3d6045a7c8912b096b1fcc0108e94ab6b1aba642 Mon Sep 17 00:00:00 2001 From: JamesJCode <13408010-JamesJCode@users.noreply.gitlab.com> Date: Sat, 14 Jan 2023 08:12:56 +0000 Subject: [PATCH] Supress wxLocale warnings when no matching locale found when setting default locale on MacOS Re-fixes warning appearing in https://gitlab.com/kicad/code/kicad/-/issues/13371#note_1238532117 --- common/pgm_base.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index 53af932be4..e5c60280b8 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -396,6 +396,7 @@ bool PGM_BASE::InitPgm( bool aHeadless, bool aSkipPyInit, bool aIsUnitTest ) { #if defined( __WXMAC__ ) // Set the application locale to the system default + wxLogNull noLog; wxLocale loc; loc.Init(); #endif