X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..e8e4a2a4d4ef3347d296ad2ddf576fc3677f4cea:/wxPython/contrib/glcanvas/glcanvas.i diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index 2698732dbd..6f6f3708fa 100644 --- a/wxPython/contrib/glcanvas/glcanvas.i +++ b/wxPython/contrib/glcanvas/glcanvas.i @@ -27,7 +27,7 @@ %pythoncode { wx = core } -MAKE_CONST_WXSTRING2(GLCanvasNameStr, "GLCanvas"); +MAKE_CONST_WXSTRING2(GLCanvasNameStr, wxT("GLCanvas")); MAKE_CONST_WXSTRING_NOSWIG(EmptyString); @@ -116,7 +116,7 @@ enum { class wxGLCanvas : public wxWindow { public: - %addtofunc wxGLCanvas "self._setOORInfo(self)" + %pythonAppend wxGLCanvas "self._setOORInfo(self)" wxGLCanvas(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, @@ -124,8 +124,8 @@ public: int *attribList = NULL, const wxPalette& palette = wxNullPalette); - %addtofunc wxGLCanvas "val._setOORInfo(val)" - %name(wxGLCanvasWithContext) + %pythonAppend wxGLCanvas "val._setOORInfo(val)" + %name(GLCanvasWithContext) wxGLCanvas( wxWindow *parent, const wxGLContext *shared = NULL, wxWindowID id = -1,