]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSTabView.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / cocoa / NSTabView.h
index e4bd715af07a3359cb9e3493354493c2c68b65b8..d3c75cfb90368ea4048848fbe0d4f7e6da21213d 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2004/04/08
 // RCS-ID:      $Id$
 // Copyright:   (c) 2004 David Elliott
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_COCOA_NSTABVIEW_H__
@@ -27,6 +27,8 @@ public:
     void DisassociateNSTabView(WX_NSTabView ocoaNSTabView);
     virtual void CocoaDelegate_tabView_didSelectTabViewItem(WX_NSTabViewItem tabviewItem) = 0;
     virtual bool CocoaDelegate_tabView_shouldSelectTabViewItem(WX_NSTabViewItem tabviewItem) = 0;
+    virtual ~wxCocoaNSTabView() { }
+
 protected:
     static wxObjcAutoRefFromAlloc<struct objc_object*> sm_cocoaDelegate;
 };