]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSControl.h
remove wxFindFocusedChild() declaration too as g++ gets upset if an extern function...
[wxWidgets.git] / include / wx / cocoa / NSControl.h
index 92785ac86dc211406470ec6eb4103619b3c135ca..5df066909ae3342c51f27d9a99fa8a2c229928e3 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/02/15
 // RCS-ID:      $Id: 
 // Copyright:   (c) 2003 David Elliott
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_NSCONTROL_H__
@@ -22,6 +22,9 @@ class wxCocoaNSControl
 public:
     virtual void CocoaTarget_action() {}
 //    virtual void Cocoa_didChangeText(void) = 0;
+
+    virtual ~wxCocoaNSControl() { }
+
 protected:
     static struct objc_object *sm_cocoaTarget;
 };