]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/glcanvas.i
Since they are new style classes we need to use the __reduce__
[wxWidgets.git] / wxPython / contrib / glcanvas / glcanvas.i
index 826f0c071f2416c26db5336214b722eb8f81694e..2698732dbd039ad9a4ed60582a51f94adb86a7a9 100644 (file)
@@ -19,8 +19,6 @@
 
 #include <wx/glcanvas.h>
 
-    static const wxString wxPyGLCanvasNameStr(wxT("GLCanvas"));
-    static const wxString wxPyEmptyString(wxT(""));
 %}
 
 //---------------------------------------------------------------------------
 %import core.i
 %pythoncode { wx = core }
 
+
+MAKE_CONST_WXSTRING2(GLCanvasNameStr, "GLCanvas");
+MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
+
+
 %include _glcanvas_rename.i
 
 //---------------------------------------------------------------------------