git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3125
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void SetModal(bool flag);
virtual void Centre(int direction = wxBOTH);
- virtual bool IsModal() const
- { return ((GetWindowStyleFlag() & wxDIALOG_MODAL) == wxDIALOG_MODAL); }
+ virtual bool IsModal() const;
// For now, same as Show(TRUE) but returns return code
virtual int ShowModal();
bool wxDialog::IsShown() const
{
- return m_isShown;
+ return wxModalDialogs.Find(this);
+}
+
+bool wxDialog::IsModal() const
+{
+ return wxModalDialogs.
}
bool wxDialog::Show(bool show)