Revert "Create native buttons without any label in wxOSX/Cocoa"

This change is not any longer needed since the fix in
98f5315405.

This reverts commit ef1db7acda.
This commit is contained in:
Dimitri Schoolwerth
2016-05-01 22:20:16 +04:00
parent 7c16c93807
commit c5a18a3407

View File

@@ -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
{
switch ( [self state] )