X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e6e2754a688f0db737e18fe4a138f83013ad8e9..5adad46628e545a6d4172ecf3a0cb848934f5cd0:/src/generic/logg.cpp diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 097c5945f0..a27b1945a1 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -58,8 +58,11 @@ #endif // Windows // may be defined to 0 for old behavior (using wxMessageBox) - shouldn't be -// changed normally (that's why it's here and not in setup.h) +// changed normally (that's why it's here and not in setup.h). +// Actually it now is in setup.h. +#ifndef wxUSE_LOG_DIALOG #define wxUSE_LOG_DIALOG 1 +#endif #if wxUSE_LOG_DIALOG #include "wx/listctrl.h" @@ -340,7 +343,7 @@ void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t) case wxLOG_Debug: #ifdef __WXDEBUG__ { - #ifdef __WXMSW__ + #if defined(__WXMSW__) && !defined(__WXMICROWIN__) // don't prepend debug/trace here: it goes to the // debug window anyhow, but do put a timestamp wxString str;