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)
commite8a76866123d9defa11a5f8fc688c9795c373748 (patch)
tree5724b7d5da7579b8e7c5bd9fb43286ab0454649b
parentb2284ef1b0efb272ebb677c68525c3a1314de451 (diff)
downloadtk-e8a76866123d9defa11a5f8fc688c9795c373748.zip
tk-e8a76866123d9defa11a5f8fc688c9795c373748.tar.gz
tk-e8a76866123d9defa11a5f8fc688c9795c373748.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;