// wxListBox: a list of selectable items
// ----------------------------------------------------------------------------
-class wxListBox : public wxListBoxBase, public wxScrollHelper
+class WXDLLEXPORT wxListBox : public wxListBoxBase, public wxScrollHelper
{
public:
// ctors and such
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);