summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorpeter.spjuth@gmail.com <pspjuth>2002-07-25 21:35:22 (GMT)
committerpeter.spjuth@gmail.com <pspjuth>2002-07-25 21:35:22 (GMT)
commit8bce865bad5dcbd2aa4c4b05d09d6951b3cce559 (patch)
tree608ffc6660502cadb5242627b23a9954ae489a14 /generic
parent87ded1dbd22813d81deac57961b231ce30fdd161 (diff)
downloadtk-8bce865bad5dcbd2aa4c4b05d09d6951b3cce559.zip
tk-8bce865bad5dcbd2aa4c4b05d09d6951b3cce559.tar.gz
tk-8bce865bad5dcbd2aa4c4b05d09d6951b3cce559.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.