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:
@@ -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
|
||||
|
Reference in New Issue
Block a user