]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/glcanvas.i
reSWIGged
[wxWidgets.git] / wxPython / contrib / glcanvas / glcanvas.i
index 197387eba8b89e5595a962f55d37f38e34487c5c..5e5c8d77c7e88795f223492b10514cc98372988a 100644 (file)
@@ -24,7 +24,8 @@
 //---------------------------------------------------------------------------
 
 %import core.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__docfilter__ }
 
 
 MAKE_CONST_WXSTRING2(GLCanvasNameStr, wxT("GLCanvas"));
@@ -116,7 +117,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,7 +125,7 @@ public:
                int *attribList = NULL,
                const wxPalette& palette = wxNullPalette);
 
-    %addtofunc wxGLCanvas   "val._setOORInfo(val)"
+    %pythonAppend wxGLCanvas   "val._setOORInfo(val)"
     %name(GLCanvasWithContext)
         wxGLCanvas( wxWindow *parent,
                     const wxGLContext *shared = NULL,