diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-16 22:06:24 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-16 22:06:24 (GMT) |
commit | 8ac2714c2be0508c628df7fb3e3c9804a2e29153 (patch) | |
tree | c57f94ced36ac8d41cf16a641cc18af05b50fd31 /macosx/tkMacOSXButton.c | |
parent | 1e8454b498dc7a72e5e87fd7a2a63ef113e10c40 (diff) | |
download | tk-8ac2714c2be0508c628df7fb3e3c9804a2e29153.zip tk-8ac2714c2be0508c628df7fb3e3c9804a2e29153.tar.gz tk-8ac2714c2be0508c628df7fb3e3c9804a2e29153.tar.bz2 |
Cleanup of bounds in button code.
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-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. */ |