diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-28 02:59:12 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-28 02:59:12 (GMT) |
commit | e8a76866123d9defa11a5f8fc688c9795c373748 (patch) | |
tree | 5724b7d5da7579b8e7c5bd9fb43286ab0454649b /macosx/tkMacOSXButton.c | |
parent | b2284ef1b0efb272ebb677c68525c3a1314de451 (diff) | |
download | tk-e8a76866123d9defa11a5f8fc688c9795c373748.zip tk-e8a76866123d9defa11a5f8fc688c9795c373748.tar.gz tk-e8a76866123d9defa11a5f8fc688c9795c373748.tar.bz2 |
Fix for 5824a992df, images not displaying in Cocoa in label with sunken relief
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r-- | macosx/tkMacOSXButton.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index 790f5de..5c5aa9e 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -610,13 +610,6 @@ DrawButtonImageAndText( width + butPtr->indicatorSpace, height, &x, &y); x += butPtr->indicatorSpace; - if (dpPtr->relief == TK_RELIEF_SUNKEN) { - x += dpPtr->offset; - y += dpPtr->offset; - } else if (dpPtr->relief == TK_RELIEF_RAISED) { - x -= dpPtr->offset; - y -= dpPtr->offset; - } if (pressed) { x += dpPtr->offset; y += dpPtr->offset; |