]> git.saurik.com Git - wxWidgets.git/commitdiff
added virtual dtor to wxMacListControl to silence gcc warnings
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 May 2006 00:40:16 +0000 (00:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 May 2006 00:40:16 +0000 (00:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/listbox.h

index 59e2174880d98cd3717399813a5245da41fef785..91038090f67a412429db0d7bd777b9648fb979fc 100644 (file)
@@ -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;