void wxComboBox::DoDeleteOneItem(unsigned int n)
{
+ m_datas.RemoveAt(n);
GetComboPeer()->RemoveItem(n);
}
void wxComboBox::DoClear()
{
+ m_datas.Clear();
GetComboPeer()->Clear();
}
bool wxComboBox::OSXHandleClicked( double WXUNUSED(timestampsec) )
{
- wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, m_windowId );
+ wxCommandEvent event(wxEVT_COMBOBOX, m_windowId );
event.SetInt(GetSelection());
event.SetEventObject(this);
event.SetString(GetStringSelection());