]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/gizmos/gizmos.cpp
Forgot to move update and clear regions when scrolling.
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.cpp
index 6ba1762d0d1cd7106c5fcc08652ede528ac22add..e19231426e02c36a97d60180a4595e7cf5395b86 100644 (file)
@@ -638,7 +638,7 @@ static PyObject *_wrap_wxEditableListBox_SetStrings(PyObject *self, PyObject *ar
     for (i=0; i<len; i++) {
         PyObject* item = PySequence_GetItem(_obj1, i);
         PyObject* str  = PyObject_Str(item);
-        _arg1->Add(PyString_AsString(item));
+        _arg1->Add(PyString_AsString(str));
         Py_DECREF(item);
         Py_DECREF(str);
     }