add combobox drop down/close up events (closes #10587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user