git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26771
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxFLAGS_MEMBER(wxCLIP_CHILDREN)
// dialog styles
wxFLAGS_MEMBER(wxCLIP_CHILDREN)
// dialog styles
- wxFLAGS_MEMBER(wxDIALOG_MODAL)
- wxFLAGS_MEMBER(wxDIALOG_MODELESS)
- wxFLAGS_MEMBER(wxNO_3D)
wxFLAGS_MEMBER(wxWS_EX_VALIDATE_RECURSIVELY)
wxFLAGS_MEMBER(wxSTAY_ON_TOP)
wxFLAGS_MEMBER(wxCAPTION)
wxFLAGS_MEMBER(wxWS_EX_VALIDATE_RECURSIVELY)
wxFLAGS_MEMBER(wxSTAY_ON_TOP)
wxFLAGS_MEMBER(wxCAPTION)
- m_windowStyle |= wxDIALOG_MODAL;
-
wxModelessWindows.DeleteObject(this);
}
else
{
wxModelessWindows.DeleteObject(this);
}
else
{
- m_windowStyle &= ~wxDIALOG_MODAL;
-
wxModelessWindows.Append(this);
}
}
wxModelessWindows.Append(this);
}
}
bool wxDialog::IsModal() const
{
bool wxDialog::IsModal() const
{
- return (GetWindowStyleFlag() & wxDIALOG_MODAL) != 0;
+ return !wxModelessWindows.Member(this);
}
bool wxDialog::IsModalShowing() const
}
bool wxDialog::IsModalShowing() const