diff options
-rw-r--r-- | macosx/tkMacOSXMenu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c index 790b6ff..4c1ad51 100644 --- a/macosx/tkMacOSXMenu.c +++ b/macosx/tkMacOSXMenu.c @@ -628,6 +628,10 @@ TkpConfigureMenuEntry( &imageHeight); image = TkMacOSXGetNSImageWithBitmap(mePtr->menuPtr->display, bitmap, gc, imageWidth, imageHeight); + if (gc->foreground == defaultFg) { + // Use a semantic foreground color by default + [image setTemplate:YES]; + } } [menuItem setImage:image]; if ((!image || mePtr->compound != COMPOUND_NONE) && mePtr->labelPtr && |