]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appbase.cpp
removed wxMsgArray definition (now in evtloop.cpp) and OnIdle() sempaphore (shouldn...
[wxWidgets.git] / src / common / appbase.cpp
index 51f2c8f1b6685d6ba2b37fd8a538b3e6a8903433..706c1c97c892fd40ef326efc181d9a4e02952a81 100644 (file)
@@ -277,6 +277,19 @@ int wxAppConsole::FilterEvent(wxEvent& WXUNUSED(event))
     return -1;
 }
 
+#if wxUSE_EXCEPTIONS
+
+void
+wxAppConsole::HandleEvent(wxEvtHandler *handler,
+                          wxEventFunction func,
+                          wxEvent& event) const
+{
+    // by default, simply call the handler
+    (handler->*func)(event);
+}
+
+#endif // wxUSE_EXCEPTIONS
+
 // ----------------------------------------------------------------------------
 // cmd line parsing
 // ----------------------------------------------------------------------------