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