Various changes needed to match recent cvs updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-08-21 20:15:05 +00:00
parent 6f3d3c68fd
commit 3b3ab7f6f3
5 changed files with 20 additions and 7 deletions

View File

@@ -241,7 +241,7 @@ wxPyMake_TEMPLATE(wxGridTableBase)
bool rval = 0; \
bool found; \
wxPyBeginBlockThreads(); \
if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
PyObject* s = wx2PyString(c); \
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
Py_DECREF(s); \