]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textcmn.cpp
added gaugecmn
[wxWidgets.git] / src / common / textcmn.cpp
index 3563743cfd0f51bab5cf94929a611b2a11ba01c9..523b23085c85fdee72f198e86fac27f8c0610d35 100644 (file)
@@ -278,5 +278,13 @@ void wxTextCtrlBase::SelectAll()
     SetSelection(0, GetLastPosition());
 }
 
-#endif // wxUSE_TEXTCTRL
+#else // !wxUSE_TEXTCTRL
+
+// define this one even if !wxUSE_TEXTCTRL because it is also used by other
+// controls (wxComboBox and wxSpinCtrl)
+#include "wx/event.h"
+
+DEFINE_EVENT_TYPE(wxEVT_COMMAND_TEXT_UPDATED)
+
+#endif // wxUSE_TEXTCTRL/!wxUSE_TEXTCTRL