don't terminate the event loop in EndModal() if it was already terminated because of an exception thrown inside it (#9838)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-08-18 11:51:53 +00:00
parent 42561c3caf
commit bfafa6288f
2 changed files with 18 additions and 3 deletions

View File

@@ -11,6 +11,8 @@
#ifndef __GTKDIALOGH__
#define __GTKDIALOGH__
class WXDLLIMPEXP_FWD_CORE wxGUIEventLoop;
//-----------------------------------------------------------------------------
// wxDialog
//-----------------------------------------------------------------------------
@@ -47,7 +49,7 @@ public:
private:
// common part of all ctors
void Init();
wxGUIEventLoop *m_modalLoop;
DECLARE_DYNAMIC_CLASS(wxDialog)
};