From a35faffd59d9228b0ba125f5cec53bdc029ec642 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 24 Jul 1999 23:19:03 +0000 Subject: [PATCH] oops... compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 0deadd900a..d8ef9f1f46 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -278,12 +278,12 @@ void wxDialog::GetPosition(int *x, int *y) const bool wxDialog::IsShown() const { - return wxModalDialogs.Find(this); + return m_isShown; } bool wxDialog::IsModal() const { - return wxModalDialogs. + return wxModalDialogs.Find((wxDialog *)this) != 0; // const_cast } bool wxDialog::Show(bool show) -- 2.45.2