wxPython needs to deal with the new exitOnFrameDelete policy too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -115,6 +115,10 @@ int wxPyApp::MainLoop() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (initialized) {
|
if (initialized) {
|
||||||
|
if ( m_exitOnFrameDelete == Later ) {
|
||||||
|
m_exitOnFrameDelete = Yes;
|
||||||
|
}
|
||||||
|
|
||||||
retval = wxApp::MainLoop();
|
retval = wxApp::MainLoop();
|
||||||
OnExit();
|
OnExit();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user