- if (wxPyCBH_findCallback(m_myInst, "SetValue"))
- wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
+ if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
+ wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,wx2PyString(val)));
+ }