]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_printfw.i
another change note
[wxWidgets.git] / wxPython / src / _printfw.i
index afe09dbd29cc619fc80f4cbc782047b59fdec930..861fa83a8bc6aa5120664b81e9a723f04fe0c19e 100644 (file)
@@ -550,8 +550,8 @@ public:
         bool found;                                                             \
         bool blocked = wxPyBeginBlockThreads();                                                \
         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
-            PyObject* win = wxPyMake_wxObject(a);                               \
-            PyObject* dc  = wxPyMake_wxObject(&b);                              \
+            PyObject* win = wxPyMake_wxObject(a,false);                               \
+            PyObject* dc  = wxPyMake_wxObject(&b,false);                              \
             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
             Py_DECREF(win);                                                     \
             Py_DECREF(dc);                                                      \