]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
wxOverlay compile fix
[wxWidgets.git] / include / wx / window.h
index 334df3c2b19be829e7098e0fbb48ebc0c5c1fef4..852c4c3b5916ac697ba9053cc8383a302b88fa26 100644 (file)
@@ -745,6 +745,13 @@ public:
         // be there)
     bool RemoveEventHandler(wxEvtHandler *handler);
 
+    // Process an event by calling GetEventHandler()->ProcessEvent() and
+    // handling any exceptions thrown by event handlers. It's mostly useful
+    // when processing wx events when called from C code (e.g. in GTK+
+    // callback) when the exception wouldn't correctly propagate to
+    // wxEventLoop.
+    bool HandleWindowEvent(wxEvent& event) const;
+
     // validators
     // ----------