diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-09 21:30:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-09 21:30:17 (GMT) |
commit | 1781ae2223312ebc0d57a9861834a2be6904b53b (patch) | |
tree | 910f808d33b01cb133375f4d3021107f0fc845dc /generic/tkIntPlatDecls.h | |
parent | 302dfe1be6830add9d1bd8b57b4bc6c00fc609b3 (diff) | |
parent | 7da887fc2b6f0c7e19b48fbb6b464b35d31aad24 (diff) | |
download | tk-1781ae2223312ebc0d57a9861834a2be6904b53b.zip tk-1781ae2223312ebc0d57a9861834a2be6904b53b.tar.gz tk-1781ae2223312ebc0d57a9861834a2be6904b53b.tar.bz2 |
Change TkpWmSetState signature to match UNIX, needed for Cygwin
Don't check for cygwin in win32 static build
Some more useful #defines for Cygwin
Diffstat (limited to 'generic/tkIntPlatDecls.h')
-rw-r--r-- | generic/tkIntPlatDecls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index f681397..9ad8a4f 100644 --- a/generic/tkIntPlatDecls.h +++ b/generic/tkIntPlatDecls.h @@ -52,7 +52,7 @@ EXTERN void TkpSetCapture(TkWindow *winPtr); /* 8 */ EXTERN void TkpSetCursor(TkpCursor cursor); /* 9 */ -EXTERN void TkpWmSetState(TkWindow *winPtr, int state); +EXTERN int TkpWmSetState(TkWindow *winPtr, int state); /* 10 */ EXTERN void TkSetPixmapColormap(Pixmap pixmap, Colormap colormap); /* 11 */ @@ -275,7 +275,7 @@ typedef struct TkIntPlatStubs { int (*tkpScanWindowId) (Tcl_Interp *interp, const char *string, Window *idPtr); /* 6 */ void (*tkpSetCapture) (TkWindow *winPtr); /* 7 */ void (*tkpSetCursor) (TkpCursor cursor); /* 8 */ - void (*tkpWmSetState) (TkWindow *winPtr, int state); /* 9 */ + int (*tkpWmSetState) (TkWindow *winPtr, int state); /* 9 */ void (*tkSetPixmapColormap) (Pixmap pixmap, Colormap colormap); /* 10 */ void (*tkWinCancelMouseTimer) (void); /* 11 */ void (*tkWinClipboardRender) (TkDisplay *dispPtr, UINT format); /* 12 */ |