X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ccf6a9a3219183990148ef0fca7c774cf79f1b..aa2fc802a96feb1d0ab31034f75ede2840cb0f60:/include/wx/cocoa/listbox.h diff --git a/include/wx/cocoa/listbox.h b/include/wx/cocoa/listbox.h index 5bd2427989..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: wxWindows license +// 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);