| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
#ifndef _TKWIN |
| 16 |
#define _TKWIN |
| 17 |
|
| 18 |
#ifndef _TK |
| 19 |
#include <tk.h> |
| 20 |
#endif |
| 21 |
|
| 22 |
#define WIN32_LEAN_AND_MEAN |
| 23 |
#include <windows.h> |
| 24 |
#undef WIN32_LEAN_AND_MEAN |
| 25 |
|
| 26 |
#ifdef BUILD_tk |
| 27 |
# undef TCL_STORAGE_CLASS |
| 28 |
# define TCL_STORAGE_CLASS DLLEXPORT |
| 29 |
#endif |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
#define TK_CLAIMFOCUS (WM_USER) |
| 37 |
#define TK_GEOMETRYREQ (WM_USER+1) |
| 38 |
#define TK_ATTACHWINDOW (WM_USER+2) |
| 39 |
#define TK_DETACHWINDOW (WM_USER+3) |
| 40 |
|
| 41 |
|
| 42 |
typedef void Tcl_HandleProc (ClientData, HANDLE); |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
#include "tkPlatDecls.h" |
| 54 |
|
| 55 |
extern HINSTANCE TclWinGetTclInstance _ANSI_ARGS_((void)); |
| 56 |
|
| 57 |
# undef TCL_STORAGE_CLASS |
| 58 |
# define TCL_STORAGE_CLASS DLLIMPORT |
| 59 |
|
| 60 |
#endif |