X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a95a71334ccdc0377a515e1a23529930e7d86ac9..03a2f00c1a15b3cf30492ebf091f870a0089186f:/wxPython/contrib/xrc/mac/xrc.py diff --git a/wxPython/contrib/xrc/mac/xrc.py b/wxPython/contrib/xrc/mac/xrc.py index 48f5a5687f..b93c81a2e6 100644 --- a/wxPython/contrib/xrc/mac/xrc.py +++ b/wxPython/contrib/xrc/mac/xrc.py @@ -3,9 +3,9 @@ import _xrc -import core -wx = core -__docfilter__ = wx.__docfilter__ +import _core +wx = _core +__docfilter__ = wx.__DocFilter(globals()) #--------------------------------------------------------------------------- WX_XMLRES_CURRENT_VERSION_MAJOR = _xrc.WX_XMLRES_CURRENT_VERSION_MAJOR @@ -14,7 +14,7 @@ WX_XMLRES_CURRENT_VERSION_RELEASE = _xrc.WX_XMLRES_CURRENT_VERSION_RELEASE WX_XMLRES_CURRENT_VERSION_REVISION = _xrc.WX_XMLRES_CURRENT_VERSION_REVISION XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING -class XmlResource(core.Object): +class XmlResource(_core.Object): def __repr__(self): return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -56,7 +56,7 @@ class XmlResource(core.Object): return _xrc.XmlResource_ClearHandlers(*args, **kwargs) def AddSubclassFactory(*args, **kwargs): - """XmlResource.AddSubclassFactory(XmlSubclassFactory factory)""" + """AddSubclassFactory(XmlSubclassFactory factory)""" return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs) AddSubclassFactory = staticmethod(AddSubclassFactory) @@ -121,7 +121,7 @@ class XmlResource(core.Object): return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs) def GetXRCID(*args, **kwargs): - """XmlResource.GetXRCID(String str_id) -> int""" + """GetXRCID(String str_id) -> int""" return _xrc.XmlResource_GetXRCID(*args, **kwargs) GetXRCID = staticmethod(GetXRCID) @@ -134,12 +134,12 @@ class XmlResource(core.Object): return _xrc.XmlResource_CompareVersion(*args, **kwargs) def Get(*args, **kwargs): - """XmlResource.Get() -> XmlResource""" + """Get() -> XmlResource""" return _xrc.XmlResource_Get(*args, **kwargs) Get = staticmethod(Get) def Set(*args, **kwargs): - """XmlResource.Set(XmlResource res) -> XmlResource""" + """Set(XmlResource res) -> XmlResource""" return _xrc.XmlResource_Set(*args, **kwargs) Set = staticmethod(Set) @@ -401,7 +401,7 @@ def XmlNodeEasy(*args, **kwargs): val.thisown = 1 return val -class XmlDocument(core.Object): +class XmlDocument(_core.Object): def __repr__(self): return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -482,7 +482,7 @@ def EmptyXmlDocument(*args, **kwargs): #--------------------------------------------------------------------------- -class XmlResourceHandler(core.Object): +class XmlResourceHandler(_core.Object): def __repr__(self): return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs):