Comment why we don't call PyErr_Print after calling OnInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -495,6 +495,8 @@ void wxPyApp::_BootstrapApp()
|
||||
Py_DECREF(argTuple);
|
||||
Py_DECREF(method);
|
||||
if (retval == NULL)
|
||||
// Don't PyErr_Print here, let the exception in this case go back
|
||||
// up to the wx.PyApp.__init__ scope.
|
||||
goto error;
|
||||
|
||||
pyint = PyNumber_Int(retval);
|
||||
|
Reference in New Issue
Block a user