Fixes warnings regarding unhandled events.

The adding of the Windows tray notification enabled this event on
Windows. Since the event is not needed, nor handled on Windows for
GUI2 it caused a warning.

Untested, since I've no access to Windows, anonymissimus please test.
This commit is contained in:
Mark de Wever 2013-06-11 21:08:49 +02:00
parent 6bc3de7663
commit 1c6e0b7291

View file

@ -379,6 +379,10 @@ void thandler::handle_event(const SDL_Event& event)
handle_system_event(event);
break;
}
#elif defined _WIN32
case SDL_SYSWMEVENT:
/* DO NOTHING */
break;
#endif
case SDL_ACTIVEEVENT: