]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for wxUSE_STL==1.
authorMattia Barbon <mbarbon@cpan.org>
Thu, 11 Sep 2003 16:55:24 +0000 (16:55 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 11 Sep 2003 16:55:24 +0000 (16:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dialog.cpp

index 413c6b4ea6ef9c737167f76024f03e3401e9c462..727670f33e7b781666cb7f108efd83c1f47e7845 100644 (file)
@@ -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