]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.h
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / helpers.h
index 449ed322196703fccc59ae728cca207d36f415a4..17c73fae138daa5457d2c998a096b24223cf97bf 100644 (file)
@@ -2114,7 +2114,6 @@ extern wxPyApp *wxPythonApp;
         bool found;                                                             \
         wxPyBeginBlockThreads();                                                \
         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                \
-            PyObject* ro;                                                       \
             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a));     \
         }                                                                       \
         wxPyEndBlockThreads();                                                  \