Browse Source

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
7.0
JamesJCode 3 years ago
committed by Jon Evans
parent
commit
3d6045a7c8
  1. 1
      common/pgm_base.cpp

1
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

Loading…
Cancel
Save