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:
@@ -212,7 +212,7 @@ wxMenuItem *wxMenuBase::DoRemove(wxMenuItem *item)
|
|||||||
|
|
||||||
bool wxMenuBase::Delete(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);
|
return DoDelete(item);
|
||||||
}
|
}
|
||||||
@@ -232,7 +232,7 @@ bool wxMenuBase::DoDelete(wxMenuItem *item)
|
|||||||
|
|
||||||
bool wxMenuBase::Destroy(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);
|
return DoDestroy(item);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user