Renamed LogSeverity Symbols, like.. LogSeveritySuccess from Succuess to avoid conflicts with macros such as those in X11 header.

This commit is contained in:
Syphurith 2015-05-22 20:16:30 +08:00
parent 2a7c65c019
commit 5a6869fc5e
3 changed files with 24 additions and 24 deletions

View file

@ -76,16 +76,16 @@ struct wxWriter : Log::LogListener
{
switch (msg.mServerity)
{
case Log::Notice:
case Log::LogSeverityNotice:
llogcon->SetDefaultStyle(m_color_white);
break;
case Log::Warning:
case Log::LogSeverityWarning:
llogcon->SetDefaultStyle(m_color_yellow);
break;
case Log::Error:
case Log::LogSeverityError:
llogcon->SetDefaultStyle(m_color_red);
break;
case Log::Success:
case Log::LogSeveritySuccess:
llogcon->SetDefaultStyle(m_color_green);
break;
default: