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;
}
// Export a C API in a struct. Other modules will be able to load this from
-// the wx.core module and will then have safe access to these functions, even if
-// they are located in another shared library.
+// the wx._core_ module and will then have safe access to these functions,
+// even if they are located in another shared library.
static wxPyCoreAPI API = {
(p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
(p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
(p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
(p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
+ (p_SWIG_Python_TypePrettyName_t)SWIG_Python_TypePrettyName,
(p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
(p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
(p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
(p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
(p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
- (p_SWIG_PyObj_AsCharPtr_t)SWIG_PyObj_AsCharPtr,
- (p_SWIG_PyObj_FromCharPtr_t)SWIG_PyObj_FromCharPtr,
- (p_SWIG_PyObj_AsUnsignedLong_t)SWIG_PyObj_AsUnsignedLong,
- (p_SWIG_PyObj_AsLongInRange_t)SWIG_PyObj_AsLongInRange,
- (p_SWIG_PyObj_AsUnsignedLongInRange_t)SWIG_PyObj_AsUnsignedLongInRange,
- (p_SWIG_PyObj_AsNewCharPtr_t)SWIG_PyObj_AsNewCharPtr,
- (p_SWIG_PyObj_AsCharPtrAndSize_t)SWIG_PyObj_AsCharPtrAndSize,
- (p_SWIG_PyObj_AsCharArray_t)SWIG_PyObj_AsCharArray,
- (p_SWIG_PyObj_FromCharArray_t)SWIG_PyObj_FromCharArray,
- (p_SWIG_PyObj_AsFloatConv_t)SWIG_PyObj_AsFloatConv,
-
wxPyCheckSwigType,
wxPyConstructObject,
wxPyConvertSwigPtr,
wxPyCBInputStream_create,
wxPyInstance_Check,
- wxPySwigInstance_Check
+ wxPySwigInstance_Check,
+
+ wxPyCheckForApp
};