diff options
author | chengyemao <chengyemao> | 2004-12-17 14:30:45 (GMT) |
---|---|---|
committer | chengyemao <chengyemao> | 2004-12-17 14:30:45 (GMT) |
commit | 9c05b3504acc659b75f0790a9f094bd1dbd0a273 (patch) | |
tree | 22b90e2a42eddfcb8f27cb57d20044e06113a767 | |
parent | 2bb903b5419fe7e339d5f8ae53ad4037dc961ceb (diff) | |
download | tk-9c05b3504acc659b75f0790a9f094bd1dbd0a273.zip tk-9c05b3504acc659b75f0790a9f094bd1dbd0a273.tar.gz tk-9c05b3504acc659b75f0790a9f094bd1dbd0a273.tar.bz2 |
Added TkWinCleanupContainerList for platform support
-rw-r--r-- | generic/tkIntPlatDecls.h | 12 | ||||
-rw-r--r-- | generic/tkStubInit.c | 3 |
2 files changed, 13 insertions, 2 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index 471eabd..294a5af 100644 --- a/generic/tkIntPlatDecls.h +++ b/generic/tkIntPlatDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.19 2004/10/27 00:56:33 davygrvy Exp $ + * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.20 2004/12/17 14:30:45 chengyemao Exp $ */ #ifndef _TKINTPLATDECLS @@ -230,6 +230,11 @@ EXTERN void TkWinSetHINSTANCE _ANSI_ARGS_((HINSTANCE hInstance)); /* 35 */ EXTERN int TkWinGetPlatformTheme _ANSI_ARGS_((void)); #endif +#ifndef TkWinCleanupContainerList_TCL_DECLARED +#define TkWinCleanupContainerList_TCL_DECLARED +/* 36 */ +EXTERN void TkWinCleanupContainerList _ANSI_ARGS_((void)); +#endif #endif /* __WIN32__ */ #ifdef MAC_OSX_TK #ifndef TkGenerateActivateEvents_TCL_DECLARED @@ -611,6 +616,7 @@ typedef struct TkIntPlatStubs { int (*tkWinGetPlatformId) _ANSI_ARGS_((void)); /* 33 */ void (*tkWinSetHINSTANCE) _ANSI_ARGS_((HINSTANCE hInstance)); /* 34 */ int (*tkWinGetPlatformTheme) _ANSI_ARGS_((void)); /* 35 */ + void (*tkWinCleanupContainerList) _ANSI_ARGS_((void)); /* 36 */ #endif /* __WIN32__ */ #ifdef MAC_OSX_TK void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */ @@ -841,6 +847,10 @@ extern TkIntPlatStubs *tkIntPlatStubsPtr; #define TkWinGetPlatformTheme \ (tkIntPlatStubsPtr->tkWinGetPlatformTheme) /* 35 */ #endif +#ifndef TkWinCleanupContainerList +#define TkWinCleanupContainerList \ + (tkIntPlatStubsPtr->tkWinCleanupContainerList) /* 36 */ +#endif #endif /* __WIN32__ */ #ifdef MAC_OSX_TK #ifndef TkGenerateActivateEvents diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index bc3761f..ace250f 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkStubInit.c,v 1.46 2004/09/21 19:13:57 mdejong Exp $ + * RCS: @(#) $Id: tkStubInit.c,v 1.47 2004/12/17 14:30:46 chengyemao Exp $ */ #include "tkInt.h" @@ -336,6 +336,7 @@ TkIntPlatStubs tkIntPlatStubs = { TkWinGetPlatformId, /* 33 */ TkWinSetHINSTANCE, /* 34 */ TkWinGetPlatformTheme, /* 35 */ + TkWinCleanupContainerList, /* 36 */ #endif /* __WIN32__ */ #ifdef MAC_OSX_TK TkGenerateActivateEvents, /* 0 */ |