X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..32c19f25fce3a38f9e4cf1497761fd7364d7bc62:/include/wx/cocoa/listbox.h diff --git a/include/wx/cocoa/listbox.h b/include/wx/cocoa/listbox.h index 8b94556762..479362e40e 100644 --- a/include/wx/cocoa/listbox.h +++ b/include/wx/cocoa/listbox.h @@ -6,7 +6,7 @@ // Created: 2003/03/16 // RCS-ID: $Id: // Copyright: (c) 2003 David Elliott -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __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);