54#if defined( _WIN32 ) && defined( DEBUG )
59void KiAssertFilter(
const wxString &file,
int line,
60 const wxString &func,
const wxString &cond,
63 if( !msg.Contains(
"Decimal separator mismatch" ) )
64 wxTheApp->OnAssertFailure( file.c_str(), line, func.c_str(), cond.c_str(), msg.c_str() );
74 : m_wxLocale(
nullptr )
82 m_wxLocale =
new wxLocale( C_LANG, C_LANG, C_LANG,
false );
85 m_user_locale = setlocale( LC_NUMERIC,
nullptr );
86#if defined( _WIN32 ) && defined( DEBUG )
88 wxSetAssertHandler( KiAssertFilter );
91 setlocale( LC_NUMERIC,
"C" );
105 m_wxLocale =
nullptr;
108#if defined( _WIN32 ) && defined( DEBUG )
110 wxSetDefaultAssertHandler();
std::string m_user_locale
static std::atomic< unsigned int > locale_count(0)