]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/menu.mm
support native edit menu handling (cocoa enables menu items in built-in modal dialogs...
[wxWidgets.git] / src / osx / cocoa / menu.mm
index ea02cf9f2b3c8b2e8f0b3f93744ce9a917054f3f..053c1200520ef980c26e3d0905cc60b389446f32 100644 (file)
@@ -36,9 +36,9 @@
 
 @implementation wxNSMenu
 
-- (id) init
+- (id) initWithTitle:(NSString*) title
 {
-    [super init];
+    [super initWithTitle:title];
     impl = NULL;
     return self;
 }