]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/objc/NSMenu.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / cocoa / objc / NSMenu.h
index f9211ddfb022b12b5b7fe09378239f9d2570da7b..10807c2db78a5fa10bbe5bac7f05122e3f2e3e69 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef __WX_COCOA_OBJC_NSMENU_H__
 #define __WX_COCOA_OBJC_NSMENU_H__
 
+#include "wx/cocoa/objc/objc_uniquifying.h"
+
 #import <AppKit/NSMenu.h>
 
 // ============================================================================
@@ -24,5 +26,6 @@
 - (void)dealloc;
 
 @end // WXNSMenu
+WX_DECLARE_GET_OBJC_CLASS(WXNSMenu,NSMenu)
 
 #endif //ndef __WX_COCOA_OBJC_NSMENU_H__