54#if defined( _WIN32 ) && defined( DEBUG )
58void KiAssertFilter(
const wxString &file,
int line,
59 const wxString &func,
const wxString &cond,
62 if( !msg.Contains(
"Decimal separator mismatch" ) )
63 wxTheApp->OnAssertFailure( file.c_str(), line, func.c_str(), cond.c_str(), msg.c_str() );
73 : m_wxLocale(
nullptr )
81 m_wxLocale =
new wxLocale( C_LANG, C_LANG, C_LANG,
false );
84 m_user_locale = setlocale( LC_NUMERIC,
nullptr );
85#if defined( _WIN32 ) && defined( DEBUG )
87 wxSetAssertHandler( KiAssertFilter );
90 setlocale( LC_NUMERIC,
"C" );
104 m_wxLocale =
nullptr;
107#if defined( _WIN32 ) && defined( DEBUG )
109 wxSetDefaultAssertHandler();
std::string m_user_locale
static std::atomic< unsigned int > locale_count(0)