Gobs of changes needed to get up to date with today's CVS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-31 00:57:21 +00:00
parent bb9e79c05e
commit 8f514ab459
57 changed files with 5361 additions and 1497 deletions

View File

@@ -910,6 +910,29 @@ extern wxPyApp *wxPythonApp;
}
//---------------------------------------------------------------------------
#define DEC_PYCALLBACK_INT_WIN(CBNAME) \
int CBNAME(wxWindow* a)
#define IMP_PYCALLBACK_INT_WIN(CLASS, PCLASS, CBNAME) \
int CLASS::CBNAME(wxWindow* a) { \
int rval=0; \
bool found; \
wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
PyObject* obj = wxPyMake_wxObject(a, false); \
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)",obj)); \
Py_DECREF(obj); \
} \
wxPyEndBlockThreads(blocked); \
if (! found) \
rval = PCLASS::CBNAME(a); \
return rval; \
}
//---------------------------------------------------------------------------
#define DEC_PYCALLBACK__DC(CBNAME) \