Send wxEVT_CHECKLISTBOX when a checkbox is clicked

Fix sending events from wxCheckListBox in wxQt.

Closes https://github.com/wxWidgets/wxWidgets/pull/1403
This commit is contained in:
David Roberts
2019-07-10 16:23:32 +01:00
committed by Vadim Zeitlin
parent cc1ec9e562
commit 18b87b2ab5
2 changed files with 19 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ public:
virtual QWidget *GetHandle() const wxOVERRIDE;
void QtSendEvent(wxEventType evtType, const QModelIndex &index, bool selected);
void QtSendEvent(wxEventType evtType, int rowIndex, bool selected);
protected:
virtual void DoSetFirstItem(int n) wxOVERRIDE;