]> git.saurik.com Git - wxWidgets.git/commitdiff
don't discard the informational log messages given after an error one in
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Dec 2001 12:17:27 +0000 (12:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Dec 2001 12:17:27 +0000 (12:17 +0000)
wxLogGui (only those given before)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/logg.cpp

index 155628d82785075f12a36f19c5ae12b678b96928..5a071db228d221f8d4f28171fa8bd216dcbf462d 100644 (file)
@@ -310,12 +310,10 @@ void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
             if ( GetVerbose() )
         case wxLOG_Message:
             {
-                if ( !m_bErrors ) {
-                    m_aMessages.Add(szString);
-                    m_aSeverity.Add(wxLOG_Message);
-                    m_aTimes.Add((long)t);
-                    m_bHasMessages = TRUE;
-                }
+                m_aMessages.Add(szString);
+                m_aSeverity.Add(wxLOG_Message);
+                m_aTimes.Add((long)t);
+                m_bHasMessages = TRUE;
             }
             break;