summaryrefslogtreecommitdiffstats
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)
commitb94572e2fc25dcd3b2c574d04a1d5a5003494635 (patch)
treeea4d41c9de4926a3e117ff20eb89d68869263e79
parent0530b1d9750ba0dbda0574ad8c64f5defc0d8c5f (diff)
downloadtk-b94572e2fc25dcd3b2c574d04a1d5a5003494635.zip
tk-b94572e2fc25dcd3b2c574d04a1d5a5003494635.tar.gz
tk-b94572e2fc25dcd3b2c574d04a1d5a5003494635.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 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;