]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSMenu.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / cocoa / NSMenu.h
index 5d8ac3bb9bfe2f4b66d7a7b997e35ed65ea3fd69..6438f1e02d1b75a9f511a4945b5527bea05b2706 100644 (file)
@@ -34,11 +34,14 @@ public:
     ,   OBSERVE_DidSendAction       = 0x08
     ,   OBSERVE_WillSendAction      = 0x10
     };
     ,   OBSERVE_DidSendAction       = 0x08
     ,   OBSERVE_WillSendAction      = 0x10
     };
-    void CocoaNotification_menuDidAddItem(WX_NSNotification notification) {}
-    void CocoaNotification_menuDidChangeItem(WX_NSNotification notification) {}
-    void CocoaNotification_menuDidRemoveItem(WX_NSNotification notification) {}
-    void CocoaNotification_menuDidSendAction(WX_NSNotification notification) {}
-    void CocoaNotification_menuWillSendAction(WX_NSNotification notification) {}
+    virtual void Cocoa_dealloc() {}
+    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;
 };