]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSControl.h
fix the bug which prevented the same wxFile/DirDialog object from being used twice...
[wxWidgets.git] / include / wx / cocoa / NSControl.h
index 1eb7b729051481757d487abc5b1a26f71dba39ff..5df066909ae3342c51f27d9a99fa8a2c229928e3 100644 (file)
@@ -22,6 +22,9 @@ class wxCocoaNSControl
 public:
     virtual void CocoaTarget_action() {}
 //    virtual void Cocoa_didChangeText(void) = 0;
 public:
     virtual void CocoaTarget_action() {}
 //    virtual void Cocoa_didChangeText(void) = 0;
+
+    virtual ~wxCocoaNSControl() { }
+
 protected:
     static struct objc_object *sm_cocoaTarget;
 };
 protected:
     static struct objc_object *sm_cocoaTarget;
 };