Fix harmless MSVC warning.
It complained about converting pointer to bool implicitly in wxAppConsoleBase::IsScheduledForDestruction(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9b26a198ce
commit
7705c44f29
@ -505,7 +505,7 @@ void wxAppConsoleBase::DeletePendingEvents()
|
||||
|
||||
bool wxAppConsoleBase::IsScheduledForDestruction(wxObject *object) const
|
||||
{
|
||||
return wxPendingDelete.Member(object);
|
||||
return wxPendingDelete.Member(object) != NULL;
|
||||
}
|
||||
|
||||
void wxAppConsoleBase::ScheduleForDestruction(wxObject *object)
|
||||
|
Loading…
Reference in New Issue
Block a user