summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-02-10 23:55:24 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-02-10 23:55:24 (GMT)
commitcca9ed326599756620a7712dfb6be83e1724a6f4 (patch)
tree50bfed10a7859a141c470f598ee83cd31ca8ebfd /generic/tkInt.h
parentf67cc2dfbb28c39d35ed3efe4c325792a7f68e92 (diff)
downloadtk-cca9ed326599756620a7712dfb6be83e1724a6f4.zip
tk-cca9ed326599756620a7712dfb6be83e1724a6f4.tar.gz
tk-cca9ed326599756620a7712dfb6be83e1724a6f4.tar.bz2
proposed fix for bug-3486474
FossilOrigin-Name: 6f74cf37d47277636825553974d4f586dccb35ca
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 777201e..c274236 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -1213,6 +1213,13 @@ EXTERN int TkParsePadAmount _ANSI_ARGS_((Tcl_Interp *interp,
Tk_Window tkwin, Tcl_Obj *objPtr,
int *pad1Ptr, int *pad2Ptr));
EXTERN int TkpAlwaysShowSelection _ANSI_ARGS_((Tk_Window tkwin));
+#ifdef __WIN32__
+#define TkParseColor XParseColor
+#else
+EXTERN Status TkParseColor _ANSI_ARGS_((Display * display,
+ Colormap map, _Xconst char* spec,
+ XColor * colorPtr));
+#endif
/*
* Unsupported commands.