diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2002-06-18 23:51:46 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2002-06-18 23:51:46 (GMT) |
commit | 8d003d21a450eebb0355405912b6996416763adb (patch) | |
tree | 621b2fb870d614c0a4cb7ac0621960a7b279c7ab /generic/tkWindow.c | |
parent | 077b55a8f11d01048c342c5b86ce0e635c576b48 (diff) | |
download | tk-8d003d21a450eebb0355405912b6996416763adb.zip tk-8d003d21a450eebb0355405912b6996416763adb.tar.gz tk-8d003d21a450eebb0355405912b6996416763adb.tar.bz2 |
Added TIP#48 style engine implementation
Frederic Bonnet to supply docs+tests as soon as possible.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 03addc0..e778e40 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.48 2002/06/15 21:06:07 mdejong Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.49 2002/06/18 23:51:46 dkf Exp $ */ #include "tkPort.h" @@ -864,6 +864,7 @@ TkCreateMainWindow(interp, screenName, baseName) TkEventInit(); TkBindInit(mainPtr); TkFontPkgInit(mainPtr); + TkStylePkgInit(mainPtr); mainPtr->tlFocusPtr = NULL; mainPtr->displayFocusPtr = NULL; mainPtr->optionRootPtr = NULL; @@ -1446,6 +1447,7 @@ Tk_DestroyWindow(tkwin) TkDeleteAllImages(winPtr->mainPtr); TkFontPkgFree(winPtr->mainPtr); TkFocusFree(winPtr->mainPtr); + TkStylePkgFree(winPtr->mainPtr); /* * When embedding Tk into other applications, make sure |