summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDefault.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/tkMacOSXDefault.h b/macosx/tkMacOSXDefault.h
index b20454b..4dcb7d3 100644
--- a/macosx/tkMacOSXDefault.h
+++ b/macosx/tkMacOSXDefault.h
@@ -117,7 +117,7 @@
#if TCL_MAJOR_VERSION < 9 && !defined(TK_NO_DEPRECATED)
# define DEF_BUTTON_UNDERLINE "-1"
#else
-# define DEF_BUTTON_UNDERLINE "none"
+# define DEF_BUTTON_UNDERLINE NULL
#endif
#define DEF_BUTTON_VALUE ""
#define DEF_BUTTON_WIDTH "0"
@@ -374,7 +374,6 @@
#define DEF_MENUBUTTON_TAKE_FOCUS "0"
#define DEF_MENUBUTTON_TEXT ""
#define DEF_MENUBUTTON_TEXT_VARIABLE ""
-#define DEF_MENUBUTTON_UNDERLINE DEF_BUTTON_UNDERLINE
#define DEF_MENUBUTTON_WIDTH "0"
#define DEF_MENUBUTTON_WRAP_LENGTH "0"