X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..02376d73485f39cc05721e5ea95e43cd48105fd5:/wxPython/contrib/glcanvas/glcanvas.i diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index 826f0c071f..2698732dbd 100644 --- a/wxPython/contrib/glcanvas/glcanvas.i +++ b/wxPython/contrib/glcanvas/glcanvas.i @@ -19,8 +19,6 @@ #include - static const wxString wxPyGLCanvasNameStr(wxT("GLCanvas")); - static const wxString wxPyEmptyString(wxT("")); %} //--------------------------------------------------------------------------- @@ -28,6 +26,11 @@ %import core.i %pythoncode { wx = core } + +MAKE_CONST_WXSTRING2(GLCanvasNameStr, "GLCanvas"); +MAKE_CONST_WXSTRING_NOSWIG(EmptyString); + + %include _glcanvas_rename.i //---------------------------------------------------------------------------