开发者

Triggering wx.EVT_COMBOBOX after programatically changing ComboBox selection?

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.SetSe开发者_开发百科lection(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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜