X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63f7d5022e786be61c0226314dac98739f49a426..b85b06e13d22e7fc1604ec1a49caa1227a1b3d36:/src/msw/combobox.cpp diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 7ae8dfc956..bc36474d1a 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -342,8 +342,19 @@ bool wxComboBox::MSWCommand(WXUINT param, WXWORD id) // down is cancelled (see #8474) m_lastAcceptedSelection = wxID_NONE; } + { + wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_DROPDOWN, GetId()); + event.SetEventObject(this); + ProcessCommand(event); + } + break; + case CBN_CLOSEUP: + { + wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_CLOSEUP, GetId()); + event.SetEventObject(this); + ProcessCommand(event); + } break; - case CBN_SELENDOK: #ifndef __SMARTPHONE__ // we need to reset this to prevent the selection from being undone