summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-02-15 21:09:27 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-02-15 21:09:27 (GMT)
commit7fc866095461e4d285902d8d928efb2f63b51802 (patch)
treec95bfcb0f17783a66f7d2613c8962ecbd1a63748 /generic/tkInt.h
parent414bb88c98a945333ebd8004243a69bebe57e133 (diff)
parent47e40b8cddd597da92e7198337376eb6d4b6c2c7 (diff)
downloadtk-7fc866095461e4d285902d8d928efb2f63b51802.zip
tk-7fc866095461e4d285902d8d928efb2f63b51802.tar.gz
tk-7fc866095461e4d285902d8d928efb2f63b51802.tar.bz2
[Bug 3486474]: Inconsistent color scaling
FossilOrigin-Name: 23d5395c26490c0785d794460ff26f1a6d8339e6
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 51bc896..4faf908 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -1211,6 +1211,14 @@ MODULE_SCOPE int TkInitFontchooser(Tcl_Interp *interp,
ClientData clientData);
MODULE_SCOPE void TkpWarpPointer(TkDisplay *dispPtr);
+#ifdef __WIN32__
+#define TkParseColor XParseColor
+#else
+MODULE_SCOPE Status TkParseColor (Display * display,
+ Colormap map, _Xconst char* spec,
+ XColor * colorPtr);
+#endif
+
/*
* Unsupported commands.
*/