From 76fae052f14db3c4c8a3d233fce0074ab25d4789 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Thu, 11 Sep 2003 16:55:24 +0000 Subject: [PATCH] Compilation fix for wxUSE_STL==1. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 413c6b4ea6..727670f33e 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -246,7 +246,7 @@ bool wxDialog::IsModal() const bool wxDialog::IsModalShowing() const { - return wxModalDialogs.Find(wxConstCast(this, wxDialog)) != NULL; + return !!wxModalDialogs.Find(wxConstCast(this, wxDialog)); } wxWindow *wxDialog::FindSuitableParent() const -- 2.45.2