]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/misc.i
incremented wxPython version number
[wxWidgets.git] / utils / wxPython / src / misc.i
index c4dc478c422cc8cfed962980105cee3c7ce8a4fe..589e506322ec3d33cf79d5f1fcb93fbbe14417cf 100644 (file)
@@ -142,8 +142,8 @@ public:
             PyObject* tup = PyTuple_New(4);
             PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
             PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
-            PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->width));
-            PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->height));
+            PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
+            PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
             return tup;
         }
     }