summaryrefslogtreecommitdiffstats
path: root/generic/tkIntPlatDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 20:54:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 20:54:06 (GMT)
commit4ee227410ecad38323de7b712664466afd06aab0 (patch)
treec962fe9a9b2f82987484db26fff4f290b40d123e /generic/tkIntPlatDecls.h
parent89dda440e266b894bf853efa4fedcad7f19befa5 (diff)
downloadtk-4ee227410ecad38323de7b712664466afd06aab0.zip
tk-4ee227410ecad38323de7b712664466afd06aab0.tar.gz
tk-4ee227410ecad38323de7b712664466afd06aab0.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 b59ab19..e9f4256 100644
--- a/generic/tkIntPlatDecls.h
+++ b/generic/tkIntPlatDecls.h
@@ -53,7 +53,7 @@ EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow *winPtr));
/* 8 */
EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
/* 9 */
-EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow *winPtr,
+EXTERN int TkpWmSetState _ANSI_ARGS_((TkWindow *winPtr,
int state));
/* 10 */
EXTERN void TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap,
@@ -433,7 +433,7 @@ typedef struct TkIntPlatStubs {
int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp *interp, CONST char *string, Window *idPtr)); /* 6 */
void (*tkpSetCapture) _ANSI_ARGS_((TkWindow *winPtr)); /* 7 */
void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 8 */
- void (*tkpWmSetState) _ANSI_ARGS_((TkWindow *winPtr, int state)); /* 9 */
+ int (*tkpWmSetState) _ANSI_ARGS_((TkWindow *winPtr, int state)); /* 9 */
void (*tkSetPixmapColormap) _ANSI_ARGS_((Pixmap pixmap, Colormap colormap)); /* 10 */
void (*tkWinCancelMouseTimer) _ANSI_ARGS_((void)); /* 11 */
void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay *dispPtr, UINT format)); /* 12 */