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:
parent
62649b868c
commit
3d6045a7c8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue