53 #define USE_WXLOCALE 1 55 #define USE_WXLOCALE 0 62 #if defined( _WIN32 ) && defined( DEBUG ) 66 void 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