]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/grid.cpp
corrections to dynamic loading for Darwin
[wxWidgets.git] / wxPython / src / msw / grid.cpp
index 70a00f3874e16b85bfb74335aa5e87e478314b60..656cddc085a5ae8f7931e66b9032e1f675ddeb0e 100644 (file)
@@ -7861,7 +7861,7 @@ static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyO
     for (i=0; i<len; i++) {
         PyObject* item = PySequence_GetItem(_obj2, i);
         PyObject* str  = PyObject_Str(item);
     for (i=0; i<len; i++) {
         PyObject* item = PySequence_GetItem(_obj2, i);
         PyObject* str  = PyObject_Str(item);
-        _arg2->Add(PyString_AsString(item));
+        _arg2->Add(PyString_AsString(str));
         Py_DECREF(item);
         Py_DECREF(str);
     }
         Py_DECREF(item);
         Py_DECREF(str);
     }