Added sample to the demo for wxJoystick
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -457,7 +457,7 @@ void wxPyCallback::EventThunker(wxEvent& event) {
|
||||
Py_DECREF(tuple);
|
||||
if (result) {
|
||||
Py_DECREF(result);
|
||||
PyErr_Clear();
|
||||
PyErr_Clear(); // Just in case...
|
||||
} else {
|
||||
PyErr_Print();
|
||||
}
|
||||
|
Reference in New Issue
Block a user