declare and define wxEVT_COMMAND_TEXT_UPDATED even if wxUSE_TEXTCTRL == 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-31 17:56:45 +00:00
parent d699f48ba3
commit ad0bae85d8
3 changed files with 27 additions and 3 deletions

View 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