X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea92bb677d2a7db395519565da724fe7fccd774a..cd15bcaf50ead53ccf9d50965312f0dc754affb4:/samples/widgets/odcombobox.cpp?ds=inline 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()); }