common-wx3: fix nasty bug between overload function of pxOnAssert

This commit is contained in:
Gregory Hainaut 2015-05-19 17:38:38 +02:00
parent ac38ebbf29
commit 18a6403852
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ __fi void pxOnAssert( const DiagnosticOrigin& origin, const char* msg)
#if wxMAJOR_VERSION >= 3
__fi void pxOnAssert( const DiagnosticOrigin& origin, const wxString& msg)
{
pxOnAssert( origin, WX_STR(msg) ); // wc_str ???
pxOnAssert( origin, msg.wc_str() );
}
__fi void pxOnAssert( const DiagnosticOrigin& origin, const FastFormatUnicode& msg)