X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88bb598337228ed2b91536cd4932161caf98880d..777dffec694eae7231e4133e5dc6bbca78045f29:/wxPython/src/_defs.i diff --git a/wxPython/src/_defs.i b/wxPython/src/_defs.i index 1e1dfc9fb2..0315e31fd8 100644 --- a/wxPython/src/_defs.i +++ b/wxPython/src/_defs.i @@ -54,7 +54,10 @@ // This one will turn off the generation of the thread wrapper code %define %threadWrapperOff -%exception +%exception { + $action + if (PyErr_Occurred()) SWIG_fail; +} %enddef // Turn it on by default @@ -74,7 +77,7 @@ // This macro can be used to disable the releasing of the GIL when calling the -// C++ function. +// C++ function. This is like using threadWrapperOff for just this function. %define KeepGIL(name) %exception name { $action @@ -593,12 +596,15 @@ enum { wxID_HELP, wxID_PRINT, wxID_PRINT_SETUP, + wxID_PAGE_SETUP, wxID_PREVIEW, wxID_ABOUT, wxID_HELP_CONTENTS, wxID_HELP_COMMANDS, wxID_HELP_PROCEDURES, wxID_HELP_CONTEXT, + wxID_HELP_INDEX, + wxID_HELP_SEARCH, wxID_CLOSE_ALL, wxID_PREFERENCES,