diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinButton.c | 10 | ||||
-rw-r--r-- | win/tkWinScrlbr.c | 7 |
2 files changed, 9 insertions, 8 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c index 1aff26b..0578b35 100644 --- a/win/tkWinButton.c +++ b/win/tkWinButton.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinButton.c,v 1.11 2000/11/03 01:22:16 hobbs Exp $ + * RCS: @(#) $Id: tkWinButton.c,v 1.12 2000/11/22 01:49:38 ericm Exp $ */ #define OEMRESOURCE @@ -89,10 +89,10 @@ static void InitBoxes _ANSI_ARGS_((void)); * The class procedure table for the button widgets. */ -TkClassProcs tkpButtonProcs = { - CreateProc, /* createProc. */ - TkButtonWorldChanged, /* geometryProc. */ - NULL /* modalProc. */ +Tk_ClassProcs tkpButtonProcs = { + sizeof(Tk_ClassProcs), /* size */ + TkButtonWorldChanged, /* worldChangedProc */ + CreateProc, /* createProc */ }; diff --git a/win/tkWinScrlbr.c b/win/tkWinScrlbr.c index 1a9cbc9..70fae0e 100644 --- a/win/tkWinScrlbr.c +++ b/win/tkWinScrlbr.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinScrlbr.c,v 1.6 2000/11/03 01:22:17 hobbs Exp $ + * RCS: @(#) $Id: tkWinScrlbr.c,v 1.7 2000/11/22 01:49:38 ericm Exp $ */ #include "tkWinInt.h" @@ -87,9 +87,10 @@ static void UpdateScrollbarMetrics _ANSI_ARGS_((void)); * The class procedure table for the scrollbar widget. */ -TkClassProcs tkpScrollbarProcs = { +Tk_ClassProcs tkpScrollbarProcs = { + sizeof(Tk_ClassProcs), /* size */ + NULL, /* worldChangedProc */ CreateProc, /* createProc */ - NULL, /* geometryProc */ ModalLoopProc, /* modalProc */ }; |