]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
Unicode compilation fixes, also moved private constants into the .cpp
[wxWidgets.git] / include / wx / window.h
index 905327ad1ac2562ed5e82822ae3490c668bd0ae7..76c8865089ff406b52c173989e5121627c524dda 100644 (file)
@@ -403,6 +403,13 @@ public:
     void PushEventHandler( wxEvtHandler *handler );
     wxEvtHandler *PopEventHandler( bool deleteHandler = FALSE );
 
+        // find the given handler in the event handler chain and remove (but
+        // not delete) it from the event handler chain, return TRUE if it was
+        // found and FALSE otherwise (this also results in an assert failure so
+        // this function should only be called when the handler is supposed to
+        // be there)
+    bool RemoveEventHandler(wxEvtHandler *handler);
+
     // validators
     // ----------