X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..dcc1aa238271267e92069d834781ee8fd15007bd:/wxPython/src/_core_api.i?ds=sidebyside diff --git a/wxPython/src/_core_api.i b/wxPython/src/_core_api.i index a3c30fa56c..7c44223ef7 100644 --- a/wxPython/src/_core_api.i +++ b/wxPython/src/_core_api.i @@ -89,12 +89,12 @@ PyObject* wxPyConstructObject(void* ptr, // Extract a pointer to the wrapped C++ object from a Python proxy object. // Ensures that the proxy object is of the specified (or derived) type. If // not able to perform the conversion then a Python exception is set and the -// error should be handled properly in the caller. Returns true on success. +// error should be handled properly in the caller. Returns True on success. bool wxPyConvertSwigPtr(PyObject* obj, void **ptr, const wxChar* className) { swig_type_info* swigType = wxPyFindSwigType(className); - wxCHECK_MSG(swigType != NULL, false, wxT("Unknown type in wxPyConvertSwigPtr")); + wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr")); return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1; }