oops... compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-07-24 23:19:03 +00:00
parent 22cf5fec15
commit a35faffd59

View File

@ -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)