call Show(false) from ~wxDialog to call EndModal if the dialog is still modal consistently in all ports

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-02-05 19:13:26 +00:00
parent 8ab43d1ba8
commit a9efc294a9
5 changed files with 24 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ public:
const wxSize &size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE,
const wxString &name = wxDialogNameStr );
virtual ~wxDialog() {}
virtual ~wxDialog();
virtual bool Show( bool show = TRUE );
virtual int ShowModal();