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
bool wxAppConsoleBase::IsScheduledForDestruction(wxObject *object) const
{
bool wxAppConsoleBase::IsScheduledForDestruction(wxObject *object) const
{
- return wxPendingDelete.Member(object);
+ return wxPendingDelete.Member(object) != NULL;
}
void wxAppConsoleBase::ScheduleForDestruction(wxObject *object)
}
void wxAppConsoleBase::ScheduleForDestruction(wxObject *object)