diff options
author | Kevin Walzer <kw@codebykevin.com> | 2013-08-25 03:11:59 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2013-08-25 03:11:59 (GMT) |
commit | ac926c8962ff29dc01aaf033abe31036311c5d28 (patch) | |
tree | 8f98c9055b7f7208b12d3d69721bd5036c6803a5 /macosx/tkMacOSXButton.c | |
parent | 14777a1672ff90ca5fc683fdba37bd4bc262e163 (diff) | |
download | tk-ac926c8962ff29dc01aaf033abe31036311c5d28.zip tk-ac926c8962ff29dc01aaf033abe31036311c5d28.tar.gz tk-ac926c8962ff29dc01aaf033abe31036311c5d28.tar.bz2 |
Fix for 3016181, thanks to Tom Goddard for patch
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r-- | macosx/tkMacOSXButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index f912b81..f77a74e 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -429,7 +429,7 @@ ComputeNativeButtonGeometry( } break; case TYPE_RADIO_BUTTON: - case TYPE_CHECK_BUTTON: + case TYPE_CHECK_BUTTON: if (!haveImage /*|| butPtr->indicatorOn*/) { // TODO: indicatorOn type = butPtr->type == TYPE_RADIO_BUTTON ? NSRadioButton : NSSwitchButton; @@ -454,7 +454,7 @@ ComputeNativeButtonGeometry( } [button setButtonType:type]; if (style) { - [button setBezelStyle:style]; + [button setBezelStyle:style]; } if (highlightsBy) { [cell setHighlightsBy:highlightsBy|[cell highlightsBy]]; |