implement EnableTextChangedEvents() to make ChangeValue() work as expected, i.e. not generate any events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-19 10:08:02 +00:00
parent 99b9c0eac1
commit b7bfef3806
2 changed files with 22 additions and 2 deletions

View File

@@ -343,6 +343,7 @@ bool wxComboBox::MSWCommand(WXUINT param, WXWORD id)
// logical as the text does change)
case CBN_EDITCHANGE:
if ( m_allowTextEvents )
{
wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, GetId());