diff options
author | kevin_walzer <kevin_walzer@noemail.net> | 2015-02-28 02:59:49 (GMT) |
---|---|---|
committer | kevin_walzer <kevin_walzer@noemail.net> | 2015-02-28 02:59:49 (GMT) |
commit | ebde1cfe1b346bd2b601e1c0985668e46e065eeb (patch) | |
tree | 2bf545d38e1a3c4d1fab664c6b234690f7d711ab /macosx/tkMacOSXButton.c | |
parent | 8072eca244981a8bfb0b828a9a1c66210981d754 (diff) | |
download | tk-ebde1cfe1b346bd2b601e1c0985668e46e065eeb.zip tk-ebde1cfe1b346bd2b601e1c0985668e46e065eeb.tar.gz tk-ebde1cfe1b346bd2b601e1c0985668e46e065eeb.tar.bz2 |
Fix for 5824a992df, images not displaying in Cocoa in label with sunken relief
FossilOrigin-Name: c4051e7ad3cce3938c434ed9a8d4b1dbae599738
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 c2a4a40..0821933 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; |