fixed assertion failure if Ok or Cancel button is clicked in a modeless dialog (bug 973873)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-06-22 23:20:27 +00:00
parent b7f5f3cc75
commit 12b58624e9
2 changed files with 14 additions and 3 deletions

View File

@@ -113,6 +113,9 @@ protected:
// common part of all ctors
void Init();
// end either modal or modeless dialog
void EndDialog(int rc);
private:
wxWindow* m_oldFocus;
bool m_endModalCalled; // allow for closing within InitDialog