summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
02376d7)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25032
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
// Find the object instance
}
// Find the object instance
- obj = PyDict_GetItemString(wxPython_dict, dropwx(name));
+ obj = PyDict_GetItemString(wxPython_dict, (char*)dropwx(name));
wxCHECK_RET(obj != NULL, wxT("Unable to find stock object"));
wxCHECK_RET(wxPySwigInstance_Check(obj), wxT("Not a swig instance"));
wxCHECK_RET(obj != NULL, wxT("Unable to find stock object"));
wxCHECK_RET(wxPySwigInstance_Check(obj), wxT("Not a swig instance"));
PyObject* ptrobj;
// Find the object instance
PyObject* ptrobj;
// Find the object instance
- obj = PyDict_GetItemString(wxPython_dict, dropwx(name));
+ obj = PyDict_GetItemString(wxPython_dict, (char*)dropwx(name));
wxCHECK_RET(obj != NULL, wxT("Unable to find stock object"));
wxCHECK_RET(wxPySwigInstance_Check(obj), wxT("Not a swig instance"));
// Find the class object and put it back in the instance
wxCHECK_RET(obj != NULL, wxT("Unable to find stock object"));
wxCHECK_RET(wxPySwigInstance_Check(obj), wxT("Not a swig instance"));
// Find the class object and put it back in the instance
- classobj = PyDict_GetItemString(wxPython_dict, dropwx(classname));
+ classobj = PyDict_GetItemString(wxPython_dict, (char*)dropwx(classname));
wxCHECK_RET(classobj != NULL, wxT("Unable to find stock class object"));
PyObject_SetAttrString(obj, "__class__", classobj);
wxCHECK_RET(classobj != NULL, wxT("Unable to find stock class object"));
PyObject_SetAttrString(obj, "__class__", classobj);
void wxPy_ReinitStockObjects(int pass)
{
void wxPy_ReinitStockObjects(int pass)
{
- PyObject* obj;
- PyObject* ptrobj;
#define REINITOBJ(name, classname) \
if (pass == 1) { name = (classname*)0xC0C0C0C0; } \
#define REINITOBJ(name, classname) \
if (pass == 1) { name = (classname*)0xC0C0C0C0; } \