summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-26 12:37:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-26 12:37:56 (GMT)
commit7ecd8e8c987bdd12afd8bb46586e17d913b78a3a (patch)
tree0c57e05d0cfdd707c7e7a2019af45fbcf218549d /generic/tkStubInit.c
parent6953f9dc57f63fe39701cd4e62ad03259e36c371 (diff)
parent8a45d9cff4f3ae233e7eb8405aaab0ec90596cca (diff)
downloadtk-7ecd8e8c987bdd12afd8bb46586e17d913b78a3a.zip
tk-7ecd8e8c987bdd12afd8bb46586e17d913b78a3a.tar.gz
tk-7ecd8e8c987bdd12afd8bb46586e17d913b78a3a.tar.bz2
provide dummy Tk_AttachHWND and friends for OSX as well
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r--generic/tkStubInit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index 4762b12..6a131ea 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -55,12 +55,14 @@ MODULE_SCOPE TkStubs tkStubs;
* the stub table, call TkParseColor in stead. See bug #3486474 */
# define XParseColor TkParseColor
-# if !defined(MAC_TCL) && !defined(MAC_OSX_TCL)
+# ifndef __CYGWIN__
# define Tk_AttachHWND 0
# define Tk_GetHWND 0
# define Tk_HWNDToWindow 0
# define Tk_PointerEvent 0
# define Tk_TranslateWinEvent 0
+# endif
+# if !defined(MAC_TCL) && !defined(MAC_OSX_TCL)
# define TkClipBox (void (*) _ANSI_ARGS_((TkRegion, XRectangle *))) XClipBox
# define TkCreateRegion (TkRegion (*) ()) XCreateRegion
# define TkDestroyRegion (void (*) _ANSI_ARGS_((TkRegion))) XDestroyRegion