adapting to init pattern

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2011-06-08 22:50:28 +00:00
parent f599a41509
commit a985b2c891
3 changed files with 6 additions and 6 deletions

View File

@ -161,7 +161,7 @@ protected :
- (id) init
{
[super init];
self = [super init];
column = nil;
return self;
}
@ -224,7 +224,7 @@ protected:
- (id) init
{
[super init];
self = [super init];
impl = nil;
return self;
}

View File

@ -38,7 +38,7 @@
- (id) initWithTitle:(NSString*) title
{
[super initWithTitle:title];
self = [super initWithTitle:title];
impl = NULL;
return self;
}
@ -69,7 +69,7 @@
- (id) init
{
[super init];
self = [super init];
return self;
}

View File

@ -74,8 +74,8 @@ SEL wxOSXGetSelectorFromID(int menuId )
- (id) initWithTitle:(NSString *)aString action:(SEL)aSelector keyEquivalent:(NSString *)charCode
{
[super initWithTitle:aString action:aSelector keyEquivalent:charCode];
return self;
self = [super initWithTitle:aString action:aSelector keyEquivalent:charCode];
return self;
}
- (void) clickedAction: (id) sender