]> git.saurik.com Git - wxWidgets.git/commitdiff
wxLog shouldn't complain about log levels it doesn't know about
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Apr 1999 17:51:31 +0000 (17:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Apr 1999 17:51:31 +0000 (17:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/log.cpp

index 5b3a6f1ffc6f971ff06468e22c5975cf1d15a32c..5ab9ada4862ca32928da8c2b40e1f3fcd9d64073 100644 (file)
@@ -347,9 +347,6 @@ void wxLog::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
             DoLogString(szString, t);
 #endif
             break;
-
-        default:
-            wxFAIL_MSG(_("unknown log level in wxLog::DoLog"));
     }
 }
 
@@ -569,9 +566,6 @@ void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
                 m_aMessages.Add(szString);
                 m_aTimes.Add((long)t);
                 break;
-
-        default:
-                wxFAIL_MSG(_("unknown log level in wxLogGui::DoLog"));
     }
 }