summaryrefslogtreecommitdiffstats
path: root/generic/tkIntPlatDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 21:16:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 21:16:51 (GMT)
commit7da887fc2b6f0c7e19b48fbb6b464b35d31aad24 (patch)
treed6505398089f107ca8ff642724395774c019ac1e /generic/tkIntPlatDecls.h
parent588dfc9419dadcedfef8b975a7d0179924a8996c (diff)
parent4ee227410ecad38323de7b712664466afd06aab0 (diff)
downloadtk-7da887fc2b6f0c7e19b48fbb6b464b35d31aad24.zip
tk-7da887fc2b6f0c7e19b48fbb6b464b35d31aad24.tar.gz
tk-7da887fc2b6f0c7e19b48fbb6b464b35d31aad24.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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h
index 8de3a71..cee7450 100644
--- a/generic/tkIntPlatDecls.h
+++ b/generic/tkIntPlatDecls.h
@@ -78,7 +78,7 @@ EXTERN void TkpSetCursor(TkpCursor cursor);
#ifndef TkpWmSetState_TCL_DECLARED
#define TkpWmSetState_TCL_DECLARED
/* 9 */
-EXTERN void TkpWmSetState(TkWindow *winPtr, int state);
+EXTERN int TkpWmSetState(TkWindow *winPtr, int state);
#endif
#ifndef TkSetPixmapColormap_TCL_DECLARED
#define TkSetPixmapColormap_TCL_DECLARED
@@ -568,7 +568,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 */