]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSMenu.h
don't pass window argument to NotifyCaptureLost, it's not needed/used
[wxWidgets.git] / include / wx / cocoa / NSMenu.h
index 4d5df93f2a8ff81fd731b1f8b5ab3ae5a0d0e60e..281bf55d4d0b9c0d3a23880cb3ef4b851b8c36a9 100644 (file)
@@ -34,11 +34,14 @@ public:
     ,   OBSERVE_DidSendAction       = 0x08
     ,   OBSERVE_WillSendAction      = 0x10
     };
+    virtual void Cocoa_dealloc() {}
     virtual void CocoaNotification_menuDidAddItem(WX_NSNotification notification) {}
     virtual void CocoaNotification_menuDidChangeItem(WX_NSNotification notification) {}
     virtual void CocoaNotification_menuDidRemoveItem(WX_NSNotification notification) {}
     virtual void CocoaNotification_menuDidSendAction(WX_NSNotification notification) {}
     virtual void CocoaNotification_menuWillSendAction(WX_NSNotification notification) {}
+    virtual ~wxCocoaNSMenu() { }
+
 protected:
     static struct objc_object *sm_cocoaObserver;
 };