X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11d13ed03bf6298458c1a776498b7efe96c33dff..1bc822dfb5cdc24fd2d98b59ea20c9951301bfb1:/include/wx/univ/listbox.h?ds=sidebyside diff --git a/include/wx/univ/listbox.h b/include/wx/univ/listbox.h index 45f4b1bba7..363f523ac8 100644 --- a/include/wx/univ/listbox.h +++ b/include/wx/univ/listbox.h @@ -50,7 +50,7 @@ // wxListBox: a list of selectable items // ---------------------------------------------------------------------------- -class wxListBox : public wxListBoxBase, public wxScrollHelper +class WXDLLEXPORT wxListBox : public wxListBoxBase, public wxScrollHelper { public: // ctors and such @@ -129,10 +129,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);