X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7a015cbb4425fbd18aa43165bebd217f0dbfe92..59cb2555551e9f24481affe86ef8b1bcd519c14f:/src/osx/cocoa/menu.mm diff --git a/src/osx/cocoa/menu.mm b/src/osx/cocoa/menu.mm index ea02cf9f2b..22fabe5344 100644 --- a/src/osx/cocoa/menu.mm +++ b/src/osx/cocoa/menu.mm @@ -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]; + self = [super initWithTitle:title]; impl = NULL; return self; } @@ -69,7 +69,7 @@ - (id) init { - [super init]; + self = [super init]; return self; }