summaryrefslogtreecommitdiffstats
path: root/win/tkWinButton.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-23 07:39:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-23 07:39:03 (GMT)
commit136693cddf921fb3e65e90447a9f0c3b84bfd7c2 (patch)
treeb315a885a77d6fd35d85e99ec0823db2f294f6cd /win/tkWinButton.c
parentf30e81732f9b1aeea2d9cdd558963283c6115d53 (diff)
downloadtk-136693cddf921fb3e65e90447a9f0c3b84bfd7c2.zip
tk-136693cddf921fb3e65e90447a9f0c3b84bfd7c2.tar.gz
tk-136693cddf921fb3e65e90447a9f0c3b84bfd7c2.tar.bz2
Backport of ::tk::mac::useCompatibilityMetrics handling and scrollbar metrics handling from trunk
Diffstat (limited to 'win/tkWinButton.c')
-rw-r--r--win/tkWinButton.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c
index af1058d..f4d2d05 100644
--- a/win/tkWinButton.c
+++ b/win/tkWinButton.c
@@ -90,7 +90,7 @@ Tk_ClassProcs tkpButtonProcs = {
sizeof(Tk_ClassProcs), /* size */
TkButtonWorldChanged, /* worldChangedProc */
CreateProc, /* createProc */
- NULL
+ NULL /* modalProc */
};
@@ -181,10 +181,7 @@ InitBoxes(void)
*/
void
-TkpButtonSetDefaults(
- Tk_OptionSpec *specPtr) /* Points to an array of option specs,
- * terminated by one with type
- * TK_OPTION_END. */
+TkpButtonSetDefaults()
{
int width = GetSystemMetrics(SM_CXEDGE);
if (width > 0) {