diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-26 12:36:48 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-26 12:36:48 (GMT) |
commit | 7ea910ebd38df121a35a295733edc9cfd4235d91 (patch) | |
tree | 17f3d3e83875df3a1c757c67ceead74369bd2b38 /generic/tkStubInit.c | |
parent | 66b36457bfcabe9289b7583f93e964b090c9b680 (diff) | |
download | tk-7ea910ebd38df121a35a295733edc9cfd4235d91.zip tk-7ea910ebd38df121a35a295733edc9cfd4235d91.tar.gz tk-7ea910ebd38df121a35a295733edc9cfd4235d91.tar.bz2 |
provide dummy Tk_AttachHWND and friends for OSX as well
FossilOrigin-Name: 82cf3c1a2337ed7e5c735e712f0e402388b428d5
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 d37dd4c..2a8fd07 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -55,12 +55,14 @@ * 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 |