enable verbose messages by default in debug builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-02-15 19:26:17 +00:00
parent c429c0bfc4
commit a2ace6ff1f

View File

@ -239,7 +239,14 @@ void WXDLLEXPORT wxLogSysError(long lErrCode, const char *szFormat, ...)
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] ";
}