]> 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 75ad314bc1bf9875078962019df507b96a1f7010..8c1dc3cf6497cde9eeb7f05139fad59509b6c179 100644 (file)
@@ -55,7 +55,7 @@ typedef long wxTextCoord;
 // constants
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const wxChar) wxTextCtrlNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxTextCtrlNameStr[];
 
 // this is intentionally not enum to avoid warning fixes with
 // typecasting from enum type to wxTextCoord
@@ -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: