]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/glcanvas.i
Tweaks to work around wxMac bugs
[wxWidgets.git] / wxPython / contrib / glcanvas / glcanvas.i
index b403ce7854321e62ca04b256fb5a8f0ac46f3bca..8e1596eecc0cf3b6a5f3ec35f9c30cfaf4a1386e 100644 (file)
@@ -24,8 +24,8 @@
 //---------------------------------------------------------------------------
 
 %import core.i
-%pythoncode { wx = core }
-%pythoncode { __docfilter__ = wx.__docfilter__ }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
 
 
 MAKE_CONST_WXSTRING2(GLCanvasNameStr, wxT("GLCanvas"));