]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/menu.mm
Fixed saving dialog's filter index always being -1 with wxOSX-Cocoa.
[wxWidgets.git] / src / osx / cocoa / menu.mm
index ea02cf9f2b3c8b2e8f0b3f93744ce9a917054f3f..346b992bf3c9cea3be0ae5f10090e6360e850ee8 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     1998-01-01
-// RCS-ID:      $Id: menu.cpp 54129 2008-06-11 19:30:52Z SC $
+// RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -36,9 +36,9 @@
 
 @implementation wxNSMenu
 
-- (id) init
+- (id) initWithTitle:(NSString*) title
 {
-    [super init];
+    [super initWithTitle:title];
     impl = NULL;
     return self;
 }