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)
commitb8eda54106d7b5b5ce5320ba63f125eb390cdb40 (patch)
treed6505398089f107ca8ff642724395774c019ac1e /generic/tkIntPlatDecls.h
parent33710b1f9e07d6bc387c8f62ef2bb9cfe2ba2189 (diff)
parent5be75e6af2e982cd463c1947656d813a36f1a177 (diff)
downloadtk-b8eda54106d7b5b5ce5320ba63f125eb390cdb40.zip
tk-b8eda54106d7b5b5ce5320ba63f125eb390cdb40.tar.gz
tk-b8eda54106d7b5b5ce5320ba63f125eb390cdb40.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 */