62#if defined( _WIN32 ) && defined( DEBUG )
66void KiAssertFilter(
const wxString &file,
int line,
67 const wxString &func,
const wxString &cond,
70 if( !msg.Contains(
"Decimal separator mismatch" ) )
71 wxTheApp->OnAssertFailure( file.c_str(), line, func.c_str(), cond.c_str(), msg.c_str() );
85 m_wxLocale =
new wxLocale( C_LANG, C_LANG, C_LANG,
false );
89#if defined( _WIN32 ) && defined( DEBUG )
91 wxSetAssertHandler( KiAssertFilter );
94 setlocale( LC_NUMERIC,
"C" );
111#if defined( _WIN32 ) && defined( DEBUG )
113 wxSetDefaultAssertHandler();
static std::atomic< unsigned int > m_c_count
std::string m_user_locale