#include "wx/file.h"
#include "wx/textfile.h"
#include "wx/utils.h"
+#include "wx/wxchar.h"
#include "wx/log.h"
// other standard headers
// no undisplayed messages whatsoever
Clear();
+
+ // do it here again
+ m_bHasMessages = FALSE;
}
// the default behaviour is to discard all informational messages if there
if ( !m_bErrors ) {
m_aMessages.Empty();
m_aTimes.Empty();
- m_bHasMessages = TRUE;
m_bErrors = TRUE;
}
// fall through
m_aMessages.Add(szString);
m_aTimes.Add((long)t);
+ m_bHasMessages = TRUE;
break;
}
}
bool wxLog::ms_doLog = TRUE;
bool wxLog::ms_bAutoCreate = TRUE;
-const wxChar *wxLog::ms_timestamp = "%X"; // time only, no date
+const wxChar *wxLog::ms_timestamp = _T("%X"); // time only, no date
wxTraceMask wxLog::ms_ulTraceMask = (wxTraceMask)0;
wxArrayString wxLog::ms_aTraceMasks;