From 7705c44f292e8ed629f4b49500c2b33b8d903657 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 25 Jul 2009 17:09:37 +0000 Subject: [PATCH] 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 --- src/common/appbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 4851b5ac80..db26530d66 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -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)