Rework modal dialog code to not depend on now obsolete wxDIALOG_MODAL flag.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2004-04-14 05:39:43 +00:00
parent ec8c39ed09
commit 90c108964c
2 changed files with 56 additions and 54 deletions

View File

@@ -84,7 +84,8 @@ public:
bool Show(bool show = true);
void SetModal(bool flag);
virtual bool IsModal() const;
virtual bool IsModal() const { return m_isModal; }
bool m_isModal;
// For now, same as Show(TRUE) but returns return code
virtual int ShowModal();