From: Vadim Zeitlin Date: Sat, 24 Jul 1999 23:19:03 +0000 (+0000) Subject: oops... compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a35faffd59d9228b0ba125f5cec53bdc029ec642?ds=inline oops... compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)