Revert "Create native buttons without any label in wxOSX/Cocoa"
This change is not any longer needed since the fix in98f5315405
. This reverts commitef1db7acda
.
This commit is contained in:
@@ -37,18 +37,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithFrame:(NSRect) frame
|
|
||||||
{
|
|
||||||
self = [super initWithFrame:frame];
|
|
||||||
|
|
||||||
// NSButton uses "Button" as its title by default which is inconvenient as
|
|
||||||
// wxWidgets expects the control to not have any default label, so reset it
|
|
||||||
// here to resolve this mismatch.
|
|
||||||
[self setTitle:@""];
|
|
||||||
|
|
||||||
return self;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (int) intValue
|
- (int) intValue
|
||||||
{
|
{
|
||||||
switch ( [self state] )
|
switch ( [self state] )
|
||||||
|
Reference in New Issue
Block a user