From 5d35dca95fed224817455e65e70f9f52ca3e293c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 19 Mar 2002 14:19:37 +0000 Subject: [PATCH] compilation fix for FALSE -> wxItemKind conversion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/menu.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/wx/menu.h b/include/wx/menu.h index b1b357c694..09c0dbd17e 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -109,7 +109,8 @@ public: wxMenu *submenu, const wxString& help = wxEmptyString) { - DoAppend(wxMenuItem::New((wxMenu *)this, id, text, help, FALSE, submenu)); + DoAppend(wxMenuItem::New((wxMenu *)this, id, text, help, + wxItem_Normal, submenu)); } // the most generic form of Append() - append anything @@ -163,7 +164,8 @@ public: wxMenu *submenu, const wxString& help = wxEmptyString) { - Insert(pos, wxMenuItem::New((wxMenu *)this, id, text, help, FALSE, submenu)); + Insert(pos, wxMenuItem::New((wxMenu *)this, id, text, help, + wxItem_Normal, submenu)); } // prepend an item to the menu -- 2.47.2