diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-26 12:40:26 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-26 12:40:26 (GMT) |
commit | a04799a2efb09a724ff21f64cb71cd83a24ffd89 (patch) | |
tree | bb0689f42b20ad1aa701085de9ec92cba439b381 /generic/tkStubInit.c | |
parent | 8c02215379f13f88cb1bdb47f9c955869e37af5b (diff) | |
parent | 625e4f14bfaa31571a147113d1f17000a7c9fba6 (diff) | |
download | tk-a04799a2efb09a724ff21f64cb71cd83a24ffd89.zip tk-a04799a2efb09a724ff21f64cb71cd83a24ffd89.tar.gz tk-a04799a2efb09a724ff21f64cb71cd83a24ffd89.tar.bz2 |
provide dummy Tk_AttachHWND and friends for OSX as well
FossilOrigin-Name: 69cf3df0068e5324d9ff09e8dc0b1d2aa7a02af6
Diffstat (limited to 'generic/tkStubInit.c')
-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 658909e..00052f2 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -59,12 +59,14 @@ static const TkIntStubs tkIntStubs; * 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 (*) (TkRegion, XRectangle *)) XClipBox # define TkCreateRegion (TkRegion (*) ()) XCreateRegion # define TkDestroyRegion (void (*) (TkRegion)) XDestroyRegion |