X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2a533a059cb69c68ce3930556d802db0089d577..d9b4ddf28fbf20fe28d20c72b37c85a8e2db686e:/include/wx/univ/listbox.h diff --git a/include/wx/univ/listbox.h b/include/wx/univ/listbox.h index aa608cfba6..01ad0a276c 100644 --- a/include/wx/univ/listbox.h +++ b/include/wx/univ/listbox.h @@ -17,6 +17,7 @@ #endif #include "wx/scrolwin.h" // for wxScrollHelper +#include "wx/dynarray.h" // ---------------------------------------------------------------------------- // the actions supported by this control @@ -129,10 +130,10 @@ public: void Activate(int item = -1); // select or unselect the specified or current (if -1) item - void Select(bool sel = TRUE, int item = -1); + void DoSelect(int item = -1, bool sel = TRUE); // more readable wrapper - void Unselect(int item) { Select(FALSE, item); } + void DoUnselect(int item) { DoSelect(item, FALSE); } // select an item and send a notification about it void SelectAndNotify(int item);