Restore signal handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -386,6 +386,10 @@ void __wxPreStart(PyObject* moduleDict)
|
|||||||
wxPyTMutex = new wxMutex;
|
wxPyTMutex = new wxMutex;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Restore default signal handlers, (prevents crash upon Ctrl-C in the
|
||||||
|
// console that launched a wxPython app...)
|
||||||
|
PyOS_FiniInterrupts();
|
||||||
|
|
||||||
wxApp::CheckBuildOptions(wxBuildOptions());
|
wxApp::CheckBuildOptions(wxBuildOptions());
|
||||||
|
|
||||||
wxPyAssertionError = PyErr_NewException("wxPython.wxc.wxPyAssertionError",
|
wxPyAssertionError = PyErr_NewException("wxPython.wxc.wxPyAssertionError",
|
||||||
|
Reference in New Issue
Block a user