Applied patch [ 858324 ] Calling EndModal inside an EVT_INIT_DIALOG event handler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-01-11 16:34:05 +00:00
parent ab839dff60
commit 1a33ac8fb0
2 changed files with 10 additions and 5 deletions

View File

@@ -114,7 +114,8 @@ protected:
void Init();
private:
wxWindow *m_oldFocus;
wxWindow* m_oldFocus;
bool m_endModalCalled; // allow for closing within InitDialog
// this pointer is non-NULL only while the modal event loop is running
wxDialogModalData *m_modalData;