warnings in wxCHeCK_MSG fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5bcea60e1b
commit
39d03faf4e
@ -212,7 +212,7 @@ wxMenuItem *wxMenuBase::DoRemove(wxMenuItem *item)
|
||||
|
||||
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);
|
||||
}
|
||||
@ -232,7 +232,7 @@ bool wxMenuBase::DoDelete(wxMenuItem *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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user