As per the title, is there any way to programatically change the selected item in a ComboBox and have it raise an event?
I am setting the selected item using myComboBox.SetSelection(index), but this doesn't raise the wx.EVT_COMBOBOX event.
I use C++ version of wxWidget. Look up documentation on these two functions:
void wxPostEvent(wxEvtHandler *dest, wxEvent& event)
void AddPendingEvent(wxEvent& event)
Triggering wx.EVT_COMBOBOX after programatically changing ComboBox selection?