X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b29df3fee8df15257347a9df63a390128374b03..a31507415d5eb92b6cc3a2032569e1f963a598c6:/wxPython/contrib/xrc/xrc.i diff --git a/wxPython/contrib/xrc/xrc.i b/wxPython/contrib/xrc/xrc.i index 1ad4e71469..af3ca653f6 100644 --- a/wxPython/contrib/xrc/xrc.i +++ b/wxPython/contrib/xrc/xrc.i @@ -10,7 +10,11 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -%module xrc +%define DOCSTRING +"The `XmlResource` class allows program resources defining menus, layout of +controls on a panel, etc." +%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);