fixed bug in IMP_PYCALLBACK__BOOL2DBL2INT, for #223404 in the tracker

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2001-03-26 22:38:29 +00:00
parent 8a721b35f6
commit f2e1c18a79

View File

@ -137,13 +137,6 @@ extern "C" char *SWIG_GetPtrObj(PyObject *obj, void **ptr, char *type);
# pragma warning(disable:4190)
#endif
// Non-const versions to keep SWIG happy.
// extern wxPoint wxPyDefaultPosition;
// extern wxSize wxPyDefaultSize;
// extern wxString wxPyEmptyStr;
//----------------------------------------------------------------------
class wxPyCallback : public wxObject {
@ -621,7 +614,7 @@ public:
void CLASS::CBNAME(bool a, double b, double c, int d, int e) { \
bool doSave = wxPyRestoreThread(); \
if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(idii)", \
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iddii)", \
(int)a,b,c,d,e)); \
else \
PCLASS::CBNAME(a, b, c, d, e); \