X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea92bb677d2a7db395519565da724fe7fccd774a..14619f10b0bdb630206607abd0ce0319d45e095a:/samples/widgets/odcombobox.cpp diff --git a/samples/widgets/odcombobox.cpp b/samples/widgets/odcombobox.cpp index 6473e51983..c29e7e88cc 100644 --- a/samples/widgets/odcombobox.cpp +++ b/samples/widgets/odcombobox.cpp @@ -764,7 +764,7 @@ void ODComboboxWidgetsPage::OnComboText(wxCommandEvent& event) wxASSERT_MSG( s == m_combobox->GetValue(), wxT("event and combobox values should be the same") ); - if (event.GetEventType() == wxEVT_COMMAND_TEXT_ENTER) + if (event.GetEventType() == wxEVT_TEXT_ENTER) { wxLogMessage(wxT("OwnerDrawnCombobox enter pressed (now '%s')"), s.c_str()); }