Mercurial > cpython-lru_cache-weakref
diff Modules/_tkinter.c @ 11443:0bc2ba175230 legacy-trunk
Patch by Dieter Maurer to make things work for Tcl/Tk 8.1 (tested with
8.1.1). His approach doesn't work with Tcl/Tk 8.2, so I've placed it
inside #if TKMAJORMINOR == 8001 and #endif. See also his patch for
tkappinit.c.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 05 Nov 1999 18:09:56 +0000 |
| parents | 7c996f340472 |
| children | dc65c5f6ad7c |
line wrap: on
line diff
--- a/Modules/_tkinter.c Fri Nov 05 15:54:46 1999 +0000 +++ b/Modules/_tkinter.c Fri Nov 05 18:09:56 1999 +0000 @@ -491,6 +491,10 @@ v->interp = Tcl_CreateInterp(); +#if TKMAJORMINOR == 8001 + TclpInitLibraryPath(baseName); +#endif /* TKMAJORMINOR */ + #if defined(macintosh) && TKMAJORMINOR >= 8000 /* This seems to be needed since Tk 8.0 */ ClearMenuBar();
