+
+ wxEvtHandler::RemoveFilter(this);
+}
+
+int wxSplashScreen::FilterEvent(wxEvent& event)
+{
+ const wxEventType t = event.GetEventType();
+ if ( t == wxEVT_KEY_DOWN ||
+ t == wxEVT_LEFT_DOWN ||
+ t == wxEVT_RIGHT_DOWN ||
+ t == wxEVT_MIDDLE_DOWN )
+ Close(true);
+
+ return -1;