]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/xrc/xrc.i
All the Window and GDI (pen, bitmap, etc.) classes and also many
[wxWidgets.git] / wxPython / contrib / xrc / xrc.i
index 1ad4e7146910f3eefca2a040fb2d32925211ea4e..e2615c7d0e718b5278f64d58c26a6243a83f7df7 100644 (file)
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-%module xrc
+%define DOCSTRING
+"The `XmlResource` class allows program resources defining menus, layout of
+controls on a panel, etc. to be loaded from an XML file."
+%enddef
+%module(docstring=DOCSTRING) xrc
 
 
 %{
@@ -26,8 +30,8 @@
 //---------------------------------------------------------------------------
 
 %import core.i
-%pythoncode { wx = core }
-%pythoncode { __docfilter__ = wx.__docfilter__ }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
 
 
 MAKE_CONST_WXSTRING_NOSWIG(EmptyString);