]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textctrl.h
process one event at once in wxEvtHandler::ProcessPendingEvents() to prevent crashes...
[wxWidgets.git] / include / wx / textctrl.h
index 97a7fe83f585ebb1d0b9b1efef9d2ee98226887d..8c1dc3cf6497cde9eeb7f05139fad59509b6c179 100644 (file)
@@ -703,8 +703,6 @@ protected:
 // wxTextCtrl events
 // ----------------------------------------------------------------------------
 
-#if !WXWIN_COMPATIBILITY_EVENT_TYPES
-
 BEGIN_DECLARE_EVENT_TYPES()
     DECLARE_EVENT_TYPE(wxEVT_COMMAND_TEXT_UPDATED, 7)
     DECLARE_EVENT_TYPE(wxEVT_COMMAND_TEXT_ENTER, 8)
@@ -712,8 +710,6 @@ BEGIN_DECLARE_EVENT_TYPES()
     DECLARE_EVENT_TYPE(wxEVT_COMMAND_TEXT_MAXLEN, 14)
 END_DECLARE_EVENT_TYPES()
 
-#endif // !WXWIN_COMPATIBILITY_EVENT_TYPES
-
 class WXDLLEXPORT wxTextUrlEvent : public wxCommandEvent
 {
 public: