summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-02-28 02:59:12 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-02-28 02:59:12 (GMT)
commit72bd27b3f888e8f1d2b24c5b637f421746dce9a8 (patch)
tree5724b7d5da7579b8e7c5bd9fb43286ab0454649b
parent7c81a166dcb2c33856d07e737351c6839430aaf5 (diff)
downloadtk-72bd27b3f888e8f1d2b24c5b637f421746dce9a8.zip
tk-72bd27b3f888e8f1d2b24c5b637f421746dce9a8.tar.gz
tk-72bd27b3f888e8f1d2b24c5b637f421746dce9a8.tar.bz2
Fix for 5824a992df, images not displaying in Cocoa in label with sunken relief
-rw-r--r--macosx/tkMacOSXButton.c7
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;