diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | generic/tkWindow.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2000-11-03 Jeff Hobbs <hobbs@ajubasolutions.com> + + * generic/tkWindow.c (Initialize): added call to Tcl_SetMainLoop. + This only has effect when tclsh is run (not wish), and then Tk is + loaded in interactively. + 2000-11-02 Jeff Hobbs <hobbs@ajubasolutions.com> * win/tkWinButton.c: diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 9ec1d12..ce5120a 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.26 2000/10/05 18:31:26 ericm Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.27 2000/11/03 18:46:58 hobbs Exp $ */ #include "tkPort.h" @@ -3057,6 +3057,8 @@ Initialize(interp) code = Tcl_PkgProvideEx(interp, "Tk", TK_VERSION, (ClientData) &tkStubs); if (code != TCL_OK) { goto done; + } else { + Tcl_SetMainLoop(Tk_MainLoop); } #ifdef Tk_InitStubs |