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:
@@ -161,7 +161,7 @@ protected :
|
|||||||
|
|
||||||
- (id) init
|
- (id) init
|
||||||
{
|
{
|
||||||
[super init];
|
self = [super init];
|
||||||
column = nil;
|
column = nil;
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
@@ -224,7 +224,7 @@ protected:
|
|||||||
|
|
||||||
- (id) init
|
- (id) init
|
||||||
{
|
{
|
||||||
[super init];
|
self = [super init];
|
||||||
impl = nil;
|
impl = nil;
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
- (id) initWithTitle:(NSString*) title
|
- (id) initWithTitle:(NSString*) title
|
||||||
{
|
{
|
||||||
[super initWithTitle:title];
|
self = [super initWithTitle:title];
|
||||||
impl = NULL;
|
impl = NULL;
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
|
|
||||||
- (id) init
|
- (id) init
|
||||||
{
|
{
|
||||||
[super init];
|
self = [super init];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -74,8 +74,8 @@ SEL wxOSXGetSelectorFromID(int menuId )
|
|||||||
|
|
||||||
- (id) initWithTitle:(NSString *)aString action:(SEL)aSelector keyEquivalent:(NSString *)charCode
|
- (id) initWithTitle:(NSString *)aString action:(SEL)aSelector keyEquivalent:(NSString *)charCode
|
||||||
{
|
{
|
||||||
[super initWithTitle:aString action:aSelector keyEquivalent:charCode];
|
self = [super initWithTitle:aString action:aSelector keyEquivalent:charCode];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) clickedAction: (id) sender
|
- (void) clickedAction: (id) sender
|
||||||
|
Reference in New Issue
Block a user