diff options
author | ericm <ericm> | 1999-11-17 02:38:27 (GMT) |
---|---|---|
committer | ericm <ericm> | 1999-11-17 02:38:27 (GMT) |
commit | 249bfa3b8b3e73d09d6e934b4a0cefbd0b05337f (patch) | |
tree | 2dfe007e1934d98763917d50b21ab9d420342513 /generic/tkWindow.c | |
parent | 64058b81a00dcb9a607570d29205f230a623b4ae (diff) | |
download | tk-249bfa3b8b3e73d09d6e934b4a0cefbd0b05337f.zip tk-249bfa3b8b3e73d09d6e934b4a0cefbd0b05337f.tar.gz tk-249bfa3b8b3e73d09d6e934b4a0cefbd0b05337f.tar.bz2 |
* generic/tkWindow.c: Changed "listbox" mapping from old-school to
new-school objectified command.
* generic/tkListbox.c: Objectified listbox; added support for
-listvar option. Converted internal structure to use a Tcl list
object to store the data.
* generic/tkInt.h: Changed reference to Tk_ListboxCmd to
Tk_ListboxObjCmd.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 20674ba..1c61446 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.10 1999/10/29 03:57:57 hobbs Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.11 1999/11/17 02:38:28 ericm Exp $ */ #include "tkPort.h" @@ -139,7 +139,7 @@ static TkCmd commands[] = { {"entry", NULL, Tk_EntryObjCmd, 1, 0}, {"frame", Tk_FrameCmd, NULL, 1, 1}, {"label", NULL, Tk_LabelObjCmd, 1, 0}, - {"listbox", Tk_ListboxCmd, NULL, 1, 1}, + {"listbox", NULL, Tk_ListboxObjCmd, 1, 0}, {"menubutton", NULL, Tk_MenubuttonObjCmd, 1, 0}, {"message", Tk_MessageCmd, NULL, 1, 1}, {"radiobutton", NULL, Tk_RadiobuttonObjCmd, 1, 0}, |