summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvBmap.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2019-09-24 10:12:40 (GMT)
committerKevin Walzer <kw@codebykevin.com>2019-09-24 10:12:40 (GMT)
commit81701297afca6e206e8f0cd3f61234d4a5d5cbd4 (patch)
treef73a0e5aab903e8d6e13074c373c6df977821651 /generic/tkCanvBmap.c
parentaeb98f3a5488e637486a6b376b172de8a658d4b9 (diff)
downloadtk-81701297afca6e206e8f0cd3f61234d4a5d5cbd4.zip
tk-81701297afca6e206e8f0cd3f61234d4a5d5cbd4.tar.gz
tk-81701297afca6e206e8f0cd3f61234d4a5d5cbd4.tar.bz2
Branch to test Christopher Chavez patch in ticket [2beda17141] to remove some hard-coded values from canvas, allow canvas to vary apperance in Dark Mode on macOS and also on Windows
Diffstat (limited to 'generic/tkCanvBmap.c')
-rw-r--r--generic/tkCanvBmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkCanvBmap.c b/generic/tkCanvBmap.c
index b9de07b..01d875c 100644
--- a/generic/tkCanvBmap.c
+++ b/generic/tkCanvBmap.c
@@ -12,6 +12,7 @@
#include "tkInt.h"
#include "tkCanvas.h"
+#include "default.h"
/*
* The structure below defines the record for each bitmap item.
@@ -70,7 +71,7 @@ static const Tk_ConfigSpec configSpecs[] = {
NULL, Tk_Offset(BitmapItem, disabledFgColor),
TK_CONFIG_NULL_OK, NULL},
{TK_CONFIG_COLOR, "-foreground", NULL, NULL,
- "black", Tk_Offset(BitmapItem, fgColor), 0, NULL},
+ DEF_CANVBMAP_FG, Tk_Offset(BitmapItem, fgColor), 0, NULL},
{TK_CONFIG_CUSTOM, "-state", NULL, NULL,
NULL, Tk_Offset(Tk_Item, state), TK_CONFIG_NULL_OK,
&stateOption},