]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/drawlist.cpp
Script updates
[wxWidgets.git] / wxPython / src / drawlist.cpp
index 0ec57b0ec5d5efb51bf622721466805173e6e422..b0516571e915c3d283644a3065c0e6be6f017abd 100644 (file)
@@ -274,7 +274,7 @@ PyObject* wxPyDrawTextList(wxDC& dc, PyObject* textList, PyObject* pyPoints, PyO
             else {
                 obj = PySequence_GetItem(foregroundList, i);
             }
-            if (! wxPyConvertSwigPtr(obj, (void **) &color, wxT("wxColour_p"))) {
+            if (! wxPyConvertSwigPtr(obj, (void **) &color, wxT("wxColour"))) {
                 if (!isFastForeground)
                     Py_DECREF(obj);
                 goto err2;