diff options
author | chengyemao <chengyemao@noemail.net> | 2004-12-17 14:30:44 (GMT) |
---|---|---|
committer | chengyemao <chengyemao@noemail.net> | 2004-12-17 14:30:44 (GMT) |
commit | f4fed7da9a459204b291d9dba351892f81538bad (patch) | |
tree | 22b90e2a42eddfcb8f27cb57d20044e06113a767 | |
parent | 40ed1174549fa84306283b74155b39f255a754c1 (diff) | |
download | tk-f4fed7da9a459204b291d9dba351892f81538bad.zip tk-f4fed7da9a459204b291d9dba351892f81538bad.tar.gz tk-f4fed7da9a459204b291d9dba351892f81538bad.tar.bz2 |
Added TkWinCleanupContainerList for platform support
FossilOrigin-Name: 7bf3fffac2c936d8d2503fa02e5b42d432ea9a57
-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 */ |