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
This commit is contained in:
JamesJCode 2023-01-14 08:12:56 +00:00 committed by Jon Evans
parent 62649b868c
commit 3d6045a7c8
1 changed files with 1 additions and 0 deletions

View File

@ -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