summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-02-28 02:59:49 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-02-28 02:59:49 (GMT)
commit0c7da308ec523e0fc6649427d568b3133fa905e3 (patch)
tree2bf545d38e1a3c4d1fab664c6b234690f7d711ab /macosx
parentb4c8b7030528c756f79673b9511327918950afb7 (diff)
downloadtk-0c7da308ec523e0fc6649427d568b3133fa905e3.zip
tk-0c7da308ec523e0fc6649427d568b3133fa905e3.tar.gz
tk-0c7da308ec523e0fc6649427d568b3133fa905e3.tar.bz2
Fix for 5824a992df, images not displaying in Cocoa in label with sunken relief
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXButton.c7
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;