summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXButton.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-03-02 22:31:57 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-03-02 22:31:57 (GMT)
commitdc201fdea81e30b25de584d9549cbb5251acdf91 (patch)
treeb2d3a0878885a0a063192b65bdd8e918b917056a /macosx/tkMacOSXButton.c
parent1e6d643e0b824c406714369b6342fe6a505bb42b (diff)
parent127a4774975912ff1895ce5674a6f9debf950f7f (diff)
downloadtk-dc201fdea81e30b25de584d9549cbb5251acdf91.zip
tk-dc201fdea81e30b25de584d9549cbb5251acdf91.tar.gz
tk-dc201fdea81e30b25de584d9549cbb5251acdf91.tar.bz2
merge trunk
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-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;