utilities: Fix compile when using --enable-stl wxWidgets builds

Regression introduced in 93d5b52df3.
This commit is contained in:
Jonathan Li 2018-09-03 19:26:52 +01:00
parent f3e78b8267
commit 55155ca7f1
1 changed files with 2 additions and 2 deletions

View File

@ -114,9 +114,9 @@ DEVASSERT_INLINE void pxOnAssert(const DiagnosticOrigin &origin, const wxString
if (pxDoAssert == NULL) {
// Note: Format uses MSVC's syntax for output window hotlinking.
trapit = pxAssertImpl_LogIt(origin, msg);
trapit = pxAssertImpl_LogIt(origin, msg.wc_str());
} else {
trapit = pxDoAssert(origin, msg);
trapit = pxDoAssert(origin, msg.wc_str());
}
if (trapit) {