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

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) {