Merge branch 'univ_listbox_fixtest' of https://github.com/Kvaz1r/wxWidgets

Fix wxListBox in wxUniv to pass HitTest and ClickNotOnItem unit tests.

See https://github.com/wxWidgets/wxWidgets/pull/2432
This commit is contained in:
Vadim Zeitlin
2021-07-17 20:41:50 +02:00
2 changed files with 17 additions and 63 deletions

View File

@@ -142,9 +142,8 @@ public:
// select the item which is diff items below the current one
void ChangeCurrent(int diff);
// activate (i.e. send a LISTBOX_DOUBLECLICKED message) the specified or
// current (if -1) item
void Activate(int item = -1);
// activate (i.e. send a LISTBOX_DOUBLECLICKED message) the specified item
void Activate(int item);
// select or unselect the specified or current (if -1) item
void DoSelect(int item = -1, bool sel = true);