X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..f5a1953b341d16396763bee067ccdd96108f3aad:/include/wx/cocoa/listbox.h diff --git a/include/wx/cocoa/listbox.h b/include/wx/cocoa/listbox.h index 2de3f9f901..479362e40e 100644 --- a/include/wx/cocoa/listbox.h +++ b/include/wx/cocoa/listbox.h @@ -82,12 +82,12 @@ protected: public: // pure virtuals from wxListBoxBase virtual bool IsSelected(int n) const; - virtual void SetSelection(int n, bool select = TRUE); virtual int GetSelections(wxArrayInt& aSelections) const; protected: virtual void DoInsertItems(const wxArrayString& items, int pos); virtual void DoSetItems(const wxArrayString& items, void **clientData); virtual void DoSetFirstItem(int n); + virtual void DoSetSelection(int n, bool select); // pure virtuals from wxItemContainer public: @@ -100,7 +100,6 @@ public: virtual void SetString(int n, const wxString& s); virtual int FindString(const wxString& s) const; // selection - virtual void Select(int n); virtual int GetSelection() const; protected: virtual int DoAppend(const wxString& item);