summaryrefslogtreecommitdiffstats
path: root/win/tkWinDefault.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-31 15:36:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-31 15:36:56 (GMT)
commitf2b5a87d6dc6d3468828d48929583d950690a40b (patch)
tree22ec58572e255d6081163199ca2f2d60365c7b6c /win/tkWinDefault.h
parentb68e469c6fcec04a86935ae2e8853197213f40db (diff)
downloadtk-f2b5a87d6dc6d3468828d48929583d950690a40b.zip
tk-f2b5a87d6dc6d3468828d48929583d950690a40b.tar.gz
tk-f2b5a87d6dc6d3468828d48929583d950690a40b.tar.bz2
As requested by Christian Werner/François Vogel and others: Undo many None -> 0 changes, in order to reduce the probability of merge conflicts with other branches.
Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected.
Diffstat (limited to 'win/tkWinDefault.h')
-rw-r--r--win/tkWinDefault.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinDefault.h b/win/tkWinDefault.h
index 7f48703..cc561ec 100644
--- a/win/tkWinDefault.h
+++ b/win/tkWinDefault.h
@@ -246,7 +246,7 @@
#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL
#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL
#define DEF_MENU_ENTRY_BG (char *) NULL
-#define DEF_MENU_ENTRY_BITMAP 0
+#define DEF_MENU_ENTRY_BITMAP NULL
#define DEF_MENU_ENTRY_COLUMN_BREAK "0"
#define DEF_MENU_ENTRY_COMMAND (char *) NULL
#define DEF_MENU_ENTRY_COMPOUND "none"