]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.cpp
Fix incorrect #if in OnSysTell
[wxWidgets.git] / wxPython / src / helpers.cpp
index f2d08f0fcba6747dcf237fa60105cece28414c9e..18081078e99b9e7c7cfdb8317fd45876bcf0eb6f 100644 (file)
@@ -1288,9 +1288,8 @@ off_t wxPyCBInputStream::OnSysTell() const {
         if (PyLong_Check(result))
             o = PyLong_AsLongLong(result);
         else
         if (PyLong_Check(result))
             o = PyLong_AsLongLong(result);
         else
-#else
-        o = PyInt_AsLong(result);
 #endif
 #endif
+            o = PyInt_AsLong(result);
         Py_DECREF(result);
     };
     wxPyEndBlockThreads();
         Py_DECREF(result);
     };
     wxPyEndBlockThreads();