]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/grid.cpp
use generic timer in wxMGL and wxX11
[wxWidgets.git] / wxPython / src / gtk / grid.cpp
index b98632f8c5ca97d709cccfc170ea6997d5d6615c..70512a99213e9f31d5750e1a0580e71eab6050d2 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);
-        _arg2->Add(PyString_AsString(item));
+        _arg2->Add(PyString_AsString(str));
         Py_DECREF(item);
         Py_DECREF(str);
     }