]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/xrc/xrc.i
Regenerated renamers, each has just a change in their headers
[wxWidgets.git] / wxPython / contrib / xrc / xrc.i
index 1ad4e7146910f3eefca2a040fb2d32925211ea4e..546e614e27c0b56a86b3a8ae9299cadef5e23ed5 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(package="wx", docstring=DOCSTRING) xrc
 
 
 %{
 
 #include <wx/xml/xml.h>
 #include <wx/xrc/xmlres.h>
-
 %}
 
 //---------------------------------------------------------------------------
 
 %import core.i
-%pythoncode { wx = core }
-%pythoncode { __docfilter__ = wx.__docfilter__ }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
 
 
 MAKE_CONST_WXSTRING_NOSWIG(EmptyString);