]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSMenu.h
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / include / wx / cocoa / NSMenu.h
index 146b9d66b755c9dd46c330cfdd04317ed5d10ec9..6438f1e02d1b75a9f511a4945b5527bea05b2706 100644 (file)
@@ -35,11 +35,13 @@ public:
     ,   OBSERVE_WillSendAction      = 0x10
     };
     virtual void Cocoa_dealloc() {}
     ,   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 void CocoaNotification_menuDidAddItem(WX_NSNotification WXUNUSED(notification)) {}
+    virtual void CocoaNotification_menuDidChangeItem(WX_NSNotification WXUNUSED(notification)) {}
+    virtual void CocoaNotification_menuDidRemoveItem(WX_NSNotification WXUNUSED(notification)) {}
+    virtual void CocoaNotification_menuDidSendAction(WX_NSNotification WXUNUSED(notification)) {}
+    virtual void CocoaNotification_menuWillSendAction(WX_NSNotification WXUNUSED(notification)) {}
+    virtual ~wxCocoaNSMenu() { }
+
 protected:
     static struct objc_object *sm_cocoaObserver;
 };
 protected:
     static struct objc_object *sm_cocoaObserver;
 };