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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user