wxLog shouldn't complain about log levels it doesn't know about
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -347,9 +347,6 @@ void wxLog::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
|
|||||||
DoLogString(szString, t);
|
DoLogString(szString, t);
|
||||||
#endif
|
#endif
|
||||||
break;
|
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_aMessages.Add(szString);
|
||||||
m_aTimes.Add((long)t);
|
m_aTimes.Add((long)t);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
|
||||||
wxFAIL_MSG(_("unknown log level in wxLogGui::DoLog"));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user