diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-26 12:37:56 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-26 12:37:56 (GMT) |
commit | 625e4f14bfaa31571a147113d1f17000a7c9fba6 (patch) | |
tree | 0c57e05d0cfdd707c7e7a2019af45fbcf218549d /generic | |
parent | 49d2a4193d9bc5b38f634f7417ae5b806d0768bb (diff) | |
parent | 7ea910ebd38df121a35a295733edc9cfd4235d91 (diff) | |
download | tk-625e4f14bfaa31571a147113d1f17000a7c9fba6.zip tk-625e4f14bfaa31571a147113d1f17000a7c9fba6.tar.gz tk-625e4f14bfaa31571a147113d1f17000a7c9fba6.tar.bz2 |
provide dummy Tk_AttachHWND and friends for OSX as well
FossilOrigin-Name: 552733f42320d4790119a3860f5d4f14a49d195a
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkStubInit.c | 4 |
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 |