diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-16 22:06:17 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-16 22:06:17 (GMT) |
commit | a9636f8f6d51caac57f740287c37a4563d33c8da (patch) | |
tree | c525e3b5d9acac4a97ed63aaa69a5837effeceed | |
parent | 4f6838d1207225dc01e59d05e337bdf5d86eb771 (diff) | |
download | tk-a9636f8f6d51caac57f740287c37a4563d33c8da.zip tk-a9636f8f6d51caac57f740287c37a4563d33c8da.tar.gz tk-a9636f8f6d51caac57f740287c37a4563d33c8da.tar.bz2 |
Cleanup of bounds in button code.
-rw-r--r-- | macosx/tkMacOSXButton.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index cfd338b..1a54514 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -410,12 +410,6 @@ TkpComputeButtonGeometry( /* Pad to fill difference between content bounds and button bounds. */ paddingx = contBounds.origin.x; paddingy = contBounds.origin.y; - if (paddingx > 0) { - //width += paddingx; - } - if (paddingy > 0) { - //height += paddingy; - } if (height < paddingx - 4) { /* can't have buttons much shorter than button side diameter. */ |