wxLog::wxLog()
{
m_bHasMessages = FALSE;
- m_bVerbose = FALSE;
+
+ // enable verbose messages by default in the debug builds
+#ifdef __WXDEBUG__
+ m_bVerbose = TRUE;
+#else // release
+ m_bVerbose = FALSE;
+#endif // debug/release
+
m_szTimeFormat = "[%d/%b/%y %H:%M:%S] ";
}
// make life easier for people using VC++ IDE: clicking on the message will
// take us immediately to the place of the failed assert
-#ifdef _MSC_VER
+#ifdef __VISUALC__
sprintf(szBuf, _("%s(%d): assert failed"), szFile, nLine);
#else // !VC++
// make the error message more clear for all the others