- // but unlike with wxChoice we may have no selection but still
- // have some text and we should avoid erasing it if the drop
- // down is cancelled (see #8474)
- m_lastAcceptedSelection = wxID_NONE;
- }
- {
- wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_DROPDOWN, GetId());