bool wxMenuBase::Delete(wxMenuItem *item)
{
- wxCHECK_MSG( item, NULL, wxT("invalid item in wxMenu::Delete") );
+ wxCHECK_MSG( item, FALSE, wxT("invalid item in wxMenu::Delete") );
return DoDelete(item);
}
bool wxMenuBase::Destroy(wxMenuItem *item)
{
- wxCHECK_MSG( item, NULL, wxT("invalid item in wxMenu::Destroy") );
+ wxCHECK_MSG( item, FALSE, wxT("invalid item in wxMenu::Destroy") );
return DoDestroy(item);
}
{
if ( pos == m_menus.GetCount() )
{
- return Append(menu, title);
+ return wxMenuBarBase::Append(menu, title);
}
else
{