]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/xrc/xrc.i
use TWIST buttons by default on the Mac, but also make it possible to
[wxWidgets.git] / wxPython / contrib / xrc / xrc.i
index 59d26bf353fcc50cf9ee98cd0296a527a04d0b4d..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 { wx = _core }
+%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
 
 
 MAKE_CONST_WXSTRING_NOSWIG(EmptyString);