diff options
author | chengyemao <chengyemao> | 2005-01-07 15:18:02 (GMT) |
---|---|---|
committer | chengyemao <chengyemao> | 2005-01-07 15:18:02 (GMT) |
commit | c763ca72e307a3c21c6221848e4e42f1dbefb3c7 (patch) | |
tree | 09f4bf18b0aef2a9c29eff89a45b4b08f67cc301 /generic/tkIntPlatDecls.h | |
parent | 60e0fa23ae1d3b202486d2427812fa3e65ecdae2 (diff) | |
download | tk-c763ca72e307a3c21c6221848e4e42f1dbefb3c7.zip tk-c763ca72e307a3c21c6221848e4e42f1dbefb3c7.tar.gz tk-c763ca72e307a3c21c6221848e4e42f1dbefb3c7.tar.bz2 |
Implemented TK_STAT message to support {wm state} for embedded window
Diffstat (limited to 'generic/tkIntPlatDecls.h')
-rw-r--r-- | generic/tkIntPlatDecls.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index 294a5af..aa27eb1 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.20 2004/12/17 14:30:45 chengyemao Exp $ + * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.21 2005/01/07 15:18:02 chengyemao Exp $ */ #ifndef _TKINTPLATDECLS @@ -235,6 +235,11 @@ EXTERN int TkWinGetPlatformTheme _ANSI_ARGS_((void)); /* 36 */ EXTERN void TkWinCleanupContainerList _ANSI_ARGS_((void)); #endif +#ifndef TkpWmGetState_TCL_DECLARED +#define TkpWmGetState_TCL_DECLARED +/* 37 */ +EXTERN int TkpWmGetState _ANSI_ARGS_((TkWindow * winPtr)); +#endif #endif /* __WIN32__ */ #ifdef MAC_OSX_TK #ifndef TkGenerateActivateEvents_TCL_DECLARED @@ -617,6 +622,7 @@ typedef struct TkIntPlatStubs { void (*tkWinSetHINSTANCE) _ANSI_ARGS_((HINSTANCE hInstance)); /* 34 */ int (*tkWinGetPlatformTheme) _ANSI_ARGS_((void)); /* 35 */ void (*tkWinCleanupContainerList) _ANSI_ARGS_((void)); /* 36 */ + int (*tkpWmGetState) _ANSI_ARGS_((TkWindow * winPtr)); /* 36 */ #endif /* __WIN32__ */ #ifdef MAC_OSX_TK void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */ @@ -851,6 +857,10 @@ extern TkIntPlatStubs *tkIntPlatStubsPtr; #define TkWinCleanupContainerList \ (tkIntPlatStubsPtr->tkWinCleanupContainerList) /* 36 */ #endif +#ifndef TkpWmGetState +#define TkpWmGetState \ + (tkIntPlatStubsPtr->tkpWmGetState) /* 37 */ +#endif #endif /* __WIN32__ */ #ifdef MAC_OSX_TK #ifndef TkGenerateActivateEvents |