]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSTextField.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / cocoa / NSTextField.h
index 10b82449408f898b16ebf02e9c6525c2ef56e0dd..34cbd1ac4668487dbb523a6592fd3bfe91a6a27f 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2002/12/09
 // RCS-ID:      $Id: 
 // Copyright:   (c) 2002 David Elliott
 // Created:     2002/12/09
 // RCS-ID:      $Id: 
 // Copyright:   (c) 2002 David Elliott
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_NSTEXTFIELD_H__
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_NSTEXTFIELD_H__
@@ -21,6 +21,7 @@ class wxCocoaNSTextField
     WX_DECLARE_OBJC_INTERFACE(NSTextField)
 protected:
     virtual void Cocoa_didChangeText(void) = 0;
     WX_DECLARE_OBJC_INTERFACE(NSTextField)
 protected:
     virtual void Cocoa_didChangeText(void) = 0;
+    virtual ~wxCocoaNSTextField() { }
 };
 
 #endif // _WX_COCOA_NSTEXTFIELD_H_
 };
 
 #endif // _WX_COCOA_NSTEXTFIELD_H_