Skip to content

Commit

Permalink
Hide GUI2 unhandled event warnings behind a define guard
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jul 28, 2016
1 parent 9f3639d commit 7538142
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/core/event/handler.cpp
Expand Up @@ -427,8 +427,10 @@ void thandler::handle_event(const SDL_Event& event)
break;

default:
#ifdef GUI2_SHOW_UNHANDLED_EVENT_WARNINGS
WRN_GUI_E << "Unhandled event " << static_cast<Uint32>(event.type)
<< ".\n";
<< ".\n";
#endif
break;
}
}
Expand Down

0 comments on commit 7538142

Please sign in to comment.