]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp
Rearrainge things so the SWIG_VERSION values doesn't need to be
[wxWidgets.git] / wxPython / contrib / glcanvas / mac / glcanvas_wrap.cpp
index 836893096a94ef2fd7d94eeb840c7bd2e5b33dd5..7e1face0c259e58c6ee831cb748b6aea4d3d0f53 100644 (file)
@@ -9,6 +9,7 @@
  * ----------------------------------------------------------------------------- */
 
 #define SWIGPYTHON
+#define SWIG_VERSION 0x010327
 
 #ifdef __cplusplus
 template<class T> class SwigValueWrapper {
@@ -1580,7 +1581,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
         return 1;
     }
     else {
-        SWIG_type_error("number", obj);
+        SWIG_Python_TypeError("number", obj);
     }
     return 0;
 }