X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c82af6eec562a372bcc2e6ff26dbf3d14e227d72..c3008402f72bf26f81fb54d9737fa06d9ca0c3c8:/include/wx/mac/carbon/listbox.h diff --git a/include/wx/mac/carbon/listbox.h b/include/wx/mac/carbon/listbox.h index 59e2174880..b0385c8ed7 100644 --- a/include/wx/mac/carbon/listbox.h +++ b/include/wx/mac/carbon/listbox.h @@ -41,9 +41,11 @@ public: virtual void MacScrollTo( unsigned int n ) = 0; virtual wxString MacGetString( unsigned int n) const = 0; virtual unsigned int MacGetCount() const = 0; - + virtual void MacSetClientData( unsigned int n, void * data) = 0; virtual void * MacGetClientData( unsigned int) const = 0; + + virtual ~wxMacListControl() { } }; // List box item @@ -128,11 +130,11 @@ public: // wxCheckListBox support static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - + wxMacListControl* GetPeer() const; protected: - // from wxItemContainer + // from wxItemContainer virtual int DoAppend(const wxString& item); virtual void DoSetItemClientData(unsigned int n, void* clientData); virtual void* DoGetItemClientData(unsigned int n) const;