diff options
author | Kevin Walzer <kw@codebykevin.com> | 2019-09-24 10:12:40 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2019-09-24 10:12:40 (GMT) |
commit | 81701297afca6e206e8f0cd3f61234d4a5d5cbd4 (patch) | |
tree | f73a0e5aab903e8d6e13074c373c6df977821651 /generic/tkCanvBmap.c | |
parent | aeb98f3a5488e637486a6b376b172de8a658d4b9 (diff) | |
download | tk-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.c | 3 |
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}, |