X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed582841a275d236b9bac7651a0f3e7c91be868d..4f55a07f9f4c6ba6905aaa8e584e6fb14771d278:/src/common/log.cpp diff --git a/src/common/log.cpp b/src/common/log.cpp index 4ee9687b9f..ffeeef2daa 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -772,7 +772,7 @@ void wxOnAssert(const wxChar *szFile, int nLine, const wxChar *szMsg) // send it to the normal log destination wxLogDebug(szBuf); -#if wxUSE_GUI || defined(__WXMSW__) +#if (wxUSE_GUI && wxUSE_MSGDLG) || defined(__WXMSW__) // this message is intentionally not translated - it is for // developpers only wxStrcat(szBuf, wxT("\nDo you want to stop the program?\nYou can also choose [Cancel] to suppress further warnings."));