]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textctrl.h
fixed WX_CLEAR_HASH_SET to compile
[wxWidgets.git] / include / wx / textctrl.h
index 7bdf27a74b8377565bc36d3bfbfca0aa9ca4b3d9..7c8be5172060e9651b8927b1f5dda6e1debf5fb2 100644 (file)
@@ -411,9 +411,10 @@ public:
     virtual bool EmulateKeyPress(const wxKeyEvent& event);
 
 
-    // generate the wxEVT_COMMAND_TEXT_UPDATED event, like SetValue() does
-    static void SendTextUpdatedEvent(wxWindow *win);
-    void SendTextUpdatedEvent() { SendTextUpdatedEvent(this); }
+    // generate the wxEVT_COMMAND_TEXT_UPDATED event, like SetValue() does and
+    // return true if the event was processed
+    static bool SendTextUpdatedEvent(wxWindow *win);
+    bool SendTextUpdatedEvent() { return SendTextUpdatedEvent(this); }
 
     // do the window-specific processing after processing the update event
     virtual void DoUpdateWindowUI(wxUpdateUIEvent& event);