summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorpspjuth <peter.spjuth@gmail.com>2002-07-25 21:35:22 (GMT)
committerpspjuth <peter.spjuth@gmail.com>2002-07-25 21:35:22 (GMT)
commit22fb9c3984a951a4a75220e1baddb688801e15ef (patch)
tree608ffc6660502cadb5242627b23a9954ae489a14 /generic
parentc405da7b48b5b98e265a61df3590913ebc571bdd (diff)
downloadtk-22fb9c3984a951a4a75220e1baddb688801e15ef.zip
tk-22fb9c3984a951a4a75220e1baddb688801e15ef.tar.gz
tk-22fb9c3984a951a4a75220e1baddb688801e15ef.tar.bz2
Objectifed wm. [Patch #564521]
Diffstat (limited to 'generic')
-rw-r--r--generic/tkInt.h7
-rw-r--r--generic/tkWindow.c4
2 files changed, 6 insertions, 5 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index a6e887a..4799737 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: $Id: tkInt.h,v 1.51 2002/06/18 23:51:46 dkf Exp $
+ * RCS: $Id: tkInt.h,v 1.52 2002/07/25 21:35:22 pspjuth Exp $
*/
#ifndef _TKINT
@@ -1080,8 +1080,9 @@ EXTERN int Tk_UpdateObjCmd _ANSI_ARGS_((ClientData clientData,
EXTERN int Tk_WinfoObjCmd _ANSI_ARGS_((ClientData clientData,
Tcl_Interp *interp, int objc,
Tcl_Obj *CONST objv[]));
-EXTERN int Tk_WmCmd _ANSI_ARGS_((ClientData clientData,
- Tcl_Interp *interp, int argc, char **argv));
+EXTERN int Tk_WmObjCmd _ANSI_ARGS_((ClientData clientData,
+ Tcl_Interp *interp, int objc,
+ Tcl_Obj *CONST objv[]));
EXTERN void TkConsolePrint _ANSI_ARGS_((Tcl_Interp *interp,
int devId, CONST char *buffer, long size));
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 187dce4..1cd3f7f 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWindow.c,v 1.50 2002/06/19 19:37:54 mdejong Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.51 2002/07/25 21:35:22 pspjuth Exp $
*/
#include "tkPort.h"
@@ -127,7 +127,7 @@ static TkCmd commands[] = {
#endif
{"update", NULL, Tk_UpdateObjCmd, 1, 1},
{"winfo", NULL, Tk_WinfoObjCmd, 1, 1},
- {"wm", Tk_WmCmd, NULL, 0, 1},
+ {"wm", NULL, Tk_WmObjCmd, 0, 1},
/*
* Widget class commands.