summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-03-02 22:35:50 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-03-02 22:35:50 (GMT)
commit9273894f7d01df4e407b38d0f343a9d184f64643 (patch)
tree2690132f6d3e85925ec11449ff3136be5c6a33b4
parent3d96286429689bc2f217d643887f9769a341c3a0 (diff)
parent0c7da308ec523e0fc6649427d568b3133fa905e3 (diff)
downloadtk-9273894f7d01df4e407b38d0f343a9d184f64643.zip
tk-9273894f7d01df4e407b38d0f343a9d184f64643.tar.gz
tk-9273894f7d01df4e407b38d0f343a9d184f64643.tar.bz2
merge 8.5
-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;