whitespace cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dbe839cc25
commit
475f0bf814
@ -1528,7 +1528,7 @@ extern wxPyApp *wxPythonApp;
|
|||||||
bool rval=False; \
|
bool rval=False; \
|
||||||
bool blocked = wxPyBeginBlockThreads(); \
|
bool blocked = wxPyBeginBlockThreads(); \
|
||||||
if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
|
if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
|
||||||
PyObject* obj = wxPyConstructObject((void*)&a, wxT("wxHtmlTag"), 0); \
|
PyObject* obj = wxPyConstructObject((void*)&a, wxT("wxHtmlTag"), 0);\
|
||||||
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); \
|
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); \
|
||||||
Py_DECREF(obj); \
|
Py_DECREF(obj); \
|
||||||
} \
|
} \
|
||||||
@ -1603,7 +1603,7 @@ extern wxPyApp *wxPythonApp;
|
|||||||
if (! found) \
|
if (! found) \
|
||||||
PCLASS::CBNAME(cell, x, y, e); \
|
PCLASS::CBNAME(cell, x, y, e); \
|
||||||
} \
|
} \
|
||||||
void CLASS::base_##CBNAME(wxHtmlCell *cell, wxCoord x, wxCoord y, const wxMouseEvent& e) { \
|
void CLASS::base_##CBNAME(wxHtmlCell *cell, wxCoord x, wxCoord y, const wxMouseEvent& e) {\
|
||||||
PCLASS::CBNAME(cell, x, y, e); \
|
PCLASS::CBNAME(cell, x, y, e); \
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1821,10 +1821,10 @@ extern wxPyApp *wxPythonApp;
|
|||||||
PyObject* ro; \
|
PyObject* ro; \
|
||||||
PyObject* obj = wxPyMake_wxObject(&a); \
|
PyObject* obj = wxPyMake_wxObject(&a); \
|
||||||
PyObject* s = wx2PyString(b); \
|
PyObject* s = wx2PyString(b); \
|
||||||
ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OO)",\
|
ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OO)", \
|
||||||
obj, s)); \
|
obj, s)); \
|
||||||
if (ro) { \
|
if (ro) { \
|
||||||
wxPyConvertSwigPtr(ro, (void **)&rval, wxT("wxFSFILE"));\
|
wxPyConvertSwigPtr(ro, (void **)&rval, wxT("wxFSFILE")); \
|
||||||
Py_DECREF(ro); \
|
Py_DECREF(ro); \
|
||||||
} \
|
} \
|
||||||
Py_DECREF(obj); \
|
Py_DECREF(obj); \
|
||||||
@ -1847,7 +1847,7 @@ extern wxPyApp *wxPythonApp;
|
|||||||
bool found; \
|
bool found; \
|
||||||
bool blocked = wxPyBeginBlockThreads(); \
|
bool blocked = wxPyBeginBlockThreads(); \
|
||||||
if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
|
if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
|
||||||
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a));\
|
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
|
||||||
wxPyEndBlockThreads(blocked); \
|
wxPyEndBlockThreads(blocked); \
|
||||||
if (! found) \
|
if (! found) \
|
||||||
rval = PCLASS::CBNAME(a); \
|
rval = PCLASS::CBNAME(a); \
|
||||||
|
Loading…
Reference in New Issue
Block a user