-#define PYCALLBACK_GCA_INTINT(PCLASS, CBNAME) \
- wxGridCellAttr* CBNAME(int a, int b) { \
- wxGridCellAttr* rval = NULL; \
- bool doSave = wxPyRestoreThread(); \
- if (m_myInst.findCallback(#CBNAME)) { \
- PyObject* ro; \
- wxGridCellAttr* ptr; \
- ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)", a, b)); \
- if (ro) { \
+#define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
+ wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
+ wxGridCellAttr* rval = NULL; \
+ bool doSave = wxPyRestoreThread(); \
+ if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
+ PyObject* ro; \
+ wxGridCellAttr* ptr; \
+ ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
+ if (ro) { \