summaryrefslogtreecommitdiffstats
path: root/win/tkWinButton.c
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-11-22 01:49:37 (GMT)
committerericm <ericm@noemail.net>2000-11-22 01:49:37 (GMT)
commit7e4e6b26d6f4c0bb6866abe5ac58f71971864761 (patch)
treeb3d9ff19b6b8294780db27da55671e4ef2f9fd75 /win/tkWinButton.c
parentb678c8585c5a19b128b861b47f0564d5ad004054 (diff)
downloadtk-7e4e6b26d6f4c0bb6866abe5ac58f71971864761.zip
tk-7e4e6b26d6f4c0bb6866abe5ac58f71971864761.tar.gz
tk-7e4e6b26d6f4c0bb6866abe5ac58f71971864761.tar.bz2
Overall change: Implemented TIP 5, which exports
TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs, adding a size field to Tk_ClassProcs to allow for future expansion, and renaming the geometryProc to worldChangedProc, which is more in keeping with the actual use of the callback. See ChangeLog for details. FossilOrigin-Name: df44e48c3137a98d587cec736ae6ffa531369353
Diffstat (limited to 'win/tkWinButton.c')
-rw-r--r--win/tkWinButton.c10
1 files changed, 5 insertions, 5 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 */
};