X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f460c29d593da752aa2bac1c178d2c58ee563ff3..7e664d85e6512d807ce2eb186ed9e0bbd60d6e8b:/wxPython/src/msw/xrc.py diff --git a/wxPython/src/msw/xrc.py b/wxPython/src/msw/xrc.py index 7ce0f02313..70793821ca 100644 --- a/wxPython/src/msw/xrc.py +++ b/wxPython/src/msw/xrc.py @@ -173,7 +173,7 @@ class XmlResource(_core.Object): return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs) def GetXRCID(*args, **kwargs): - """GetXRCID(wxChar str_id, int value_if_not_found=ID_NONE) -> int""" + """GetXRCID(String str_id, int value_if_not_found=ID_NONE) -> int""" return _xrc.XmlResource_GetXRCID(*args, **kwargs) GetXRCID = staticmethod(GetXRCID) @@ -203,8 +203,7 @@ class XmlResource(_core.Object): """SetFlags(self, int flags)""" return _xrc.XmlResource_SetFlags(*args, **kwargs) -XmlResource_swigregister = _xrc.XmlResource_swigregister -XmlResource_swigregister(XmlResource) +_xrc.XmlResource_swigregister(XmlResource) cvar = _xrc.cvar UTF8String = cvar.UTF8String StyleString = cvar.StyleString @@ -225,7 +224,7 @@ def XmlResource_AddSubclassFactory(*args, **kwargs): return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs) def XmlResource_GetXRCID(*args, **kwargs): - """XmlResource_GetXRCID(wxChar str_id, int value_if_not_found=ID_NONE) -> int""" + """XmlResource_GetXRCID(String str_id, int value_if_not_found=ID_NONE) -> int""" return _xrc.XmlResource_GetXRCID(*args, **kwargs) def XmlResource_Get(*args): @@ -257,8 +256,7 @@ class XmlSubclassFactory(object): """_setCallbackInfo(self, PyObject self, PyObject _class)""" return _xrc.XmlSubclassFactory__setCallbackInfo(*args, **kwargs) -XmlSubclassFactory_swigregister = _xrc.XmlSubclassFactory_swigregister -XmlSubclassFactory_swigregister(XmlSubclassFactory) +_xrc.XmlSubclassFactory_swigregister(XmlSubclassFactory) #--------------------------------------------------------------------------- @@ -309,8 +307,7 @@ class XmlProperty(object): """SetNext(self, XmlProperty next)""" return _xrc.XmlProperty_SetNext(*args, **kwargs) -XmlProperty_swigregister = _xrc.XmlProperty_swigregister -XmlProperty_swigregister(XmlProperty) +_xrc.XmlProperty_swigregister(XmlProperty) class XmlNode(object): """Proxy of C++ XmlNode class""" @@ -413,8 +410,7 @@ class XmlNode(object): """SetProperties(self, XmlProperty prop)""" return _xrc.XmlNode_SetProperties(*args, **kwargs) -XmlNode_swigregister = _xrc.XmlNode_swigregister -XmlNode_swigregister(XmlNode) +_xrc.XmlNode_swigregister(XmlNode) def XmlNodeEasy(*args, **kwargs): """XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode""" @@ -474,8 +470,7 @@ class XmlDocument(_core.Object): """SetFileEncoding(self, String encoding)""" return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs) -XmlDocument_swigregister = _xrc.XmlDocument_swigregister -XmlDocument_swigregister(XmlDocument) +_xrc.XmlDocument_swigregister(XmlDocument) def XmlDocumentFromStream(*args, **kwargs): """XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument""" @@ -640,8 +635,7 @@ class XmlResourceHandler(_core.Object): """GetCurFileSystem(self) -> FileSystem""" return _xrc.XmlResourceHandler_GetCurFileSystem(*args, **kwargs) -XmlResourceHandler_swigregister = _xrc.XmlResourceHandler_swigregister -XmlResourceHandler_swigregister(XmlResourceHandler) +_xrc.XmlResourceHandler_swigregister(XmlResourceHandler) #---------------------------------------------------------------------------- # The global was removed in favor of static accessor functions. This is for