summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchengyemao <chengyemao>2004-12-17 14:30:45 (GMT)
committerchengyemao <chengyemao>2004-12-17 14:30:45 (GMT)
commit1c5d158063a264c63c8b1d1177934e0f91c94505 (patch)
tree22b90e2a42eddfcb8f27cb57d20044e06113a767
parentdc35a1319208a687801cc6633b91a4c2bd13f8a3 (diff)
downloadtk-1c5d158063a264c63c8b1d1177934e0f91c94505.zip
tk-1c5d158063a264c63c8b1d1177934e0f91c94505.tar.gz
tk-1c5d158063a264c63c8b1d1177934e0f91c94505.tar.bz2
Added TkWinCleanupContainerList for platform support
-rw-r--r--generic/tkIntPlatDecls.h12
-rw-r--r--generic/tkStubInit.c3
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 */