diff options
author | nijtmans <nijtmans> | 2009-12-02 22:20:01 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-12-02 22:20:01 (GMT) |
commit | 11451aec4915dc62cc84ee9caf897dc10818e8c9 (patch) | |
tree | a187e4ac515a9eb25c2ee05791fd6a2c2347b089 /generic/tkIntPlatDecls.h | |
parent | 87bdd529d677fe0457e68a25ca129ffd59973fab (diff) | |
download | tk-11451aec4915dc62cc84ee9caf897dc10818e8c9.zip tk-11451aec4915dc62cc84ee9caf897dc10818e8c9.tar.gz tk-11451aec4915dc62cc84ee9caf897dc10818e8c9.tar.bz2 |
doc/GetHINSTANCE.3 correct mentioned header file
make TkWinChildProc available in private
stub table. [Bug #220600] and [Bug #220690].
Diffstat (limited to 'generic/tkIntPlatDecls.h')
-rw-r--r-- | generic/tkIntPlatDecls.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index e21516e..f7a50f9 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.29 2007/12/13 15:24:14 dgp Exp $ + * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.29.2.1 2009/12/02 22:20:01 nijtmans Exp $ */ #ifndef _TKINTPLATDECLS @@ -224,6 +224,12 @@ EXTERN void TkWinSetHINSTANCE (HINSTANCE hInstance); /* 35 */ EXTERN int TkWinGetPlatformTheme (void); #endif +#ifndef TkWinChildProc_TCL_DECLARED +#define TkWinChildProc_TCL_DECLARED +/* 36 */ +EXTERN LRESULT CALLBACK TkWinChildProc (HWND hwnd, UINT message, + WPARAM wParam, LPARAM lParam); +#endif #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ #ifndef TkGenerateActivateEvents_TCL_DECLARED @@ -595,6 +601,7 @@ typedef struct TkIntPlatStubs { int (*tkWinGetPlatformId) (void); /* 33 */ void (*tkWinSetHINSTANCE) (HINSTANCE hInstance); /* 34 */ int (*tkWinGetPlatformTheme) (void); /* 35 */ + LRESULT (CALLBACK *tkWinChildProc) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); /* 36 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ void (*tkGenerateActivateEvents) (TkWindow * winPtr, int active); /* 0 */ @@ -826,6 +833,10 @@ extern TkIntPlatStubs *tkIntPlatStubsPtr; #define TkWinGetPlatformTheme \ (tkIntPlatStubsPtr->tkWinGetPlatformTheme) /* 35 */ #endif +#ifndef TkWinChildProc +#define TkWinChildProc \ + (tkIntPlatStubsPtr->tkWinChildProc) /* 36 */ +#endif #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ #ifndef TkGenerateActivateEvents |