compilation fix for FALSE -> wxItemKind conversion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-03-19 14:19:37 +00:00
parent 247f8a77bc
commit 5d35dca95f

View File

@@ -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