]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxPython/xrc.py
fix format mismatch warnings
[wxWidgets.git] / wxPython / wxPython / xrc.py
CommitLineData
d14a1e28
RD
1## This file reverse renames symbols in the wx package to give
2## them their wx prefix again, for backwards compatibility.
3##
237302e7 4## Generated by BuildRenamers in config.py
d14a1e28
RD
5
6# This silly stuff here is so the wxPython.wx module doesn't conflict
7# with the wx package. We need to import modules from the wx package
8# here, then we'll put the wxPython.wx entry back in sys.modules.
9import sys
10_wx = None
11if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15import wx.xrc
16
17sys.modules['wxPython.wx'] = _wx
18del sys, _wx
19
20
21# Now assign all the reverse-renamed names:
b2dc1044
RD
22wxUTF8String = wx.xrc.UTF8String
23wxStyleString = wx.xrc.StyleString
24wxSizeString = wx.xrc.SizeString
25wxPosString = wx.xrc.PosString
26wxBitmapString = wx.xrc.BitmapString
27wxIconString = wx.xrc.IconString
28wxFontString = wx.xrc.FontString
d14a1e28
RD
29WX_XMLRES_CURRENT_VERSION_MAJOR = wx.xrc.WX_XMLRES_CURRENT_VERSION_MAJOR
30WX_XMLRES_CURRENT_VERSION_MINOR = wx.xrc.WX_XMLRES_CURRENT_VERSION_MINOR
31WX_XMLRES_CURRENT_VERSION_RELEASE = wx.xrc.WX_XMLRES_CURRENT_VERSION_RELEASE
32WX_XMLRES_CURRENT_VERSION_REVISION = wx.xrc.WX_XMLRES_CURRENT_VERSION_REVISION
33wxXRC_USE_LOCALE = wx.xrc.XRC_USE_LOCALE
34wxXRC_NO_SUBCLASSING = wx.xrc.XRC_NO_SUBCLASSING
b0f7404b 35wxXRC_NO_RELOADING = wx.xrc.XRC_NO_RELOADING
bf5ff0c3 36wxXmlResource = wx.xrc.XmlResource
d14a1e28
RD
37wxEmptyXmlResource = wx.xrc.EmptyXmlResource
38wxXmlResource_AddSubclassFactory = wx.xrc.XmlResource_AddSubclassFactory
39wxXmlResource_GetXRCID = wx.xrc.XmlResource_GetXRCID
40wxXmlResource_Get = wx.xrc.XmlResource_Get
41wxXmlResource_Set = wx.xrc.XmlResource_Set
d14a1e28 42wxXmlSubclassFactory = wx.xrc.XmlSubclassFactory
093d3ff1 43wxXmlSubclassFactory = wx.xrc.XmlSubclassFactory
d14a1e28
RD
44wxXML_ELEMENT_NODE = wx.xrc.XML_ELEMENT_NODE
45wxXML_ATTRIBUTE_NODE = wx.xrc.XML_ATTRIBUTE_NODE
46wxXML_TEXT_NODE = wx.xrc.XML_TEXT_NODE
47wxXML_CDATA_SECTION_NODE = wx.xrc.XML_CDATA_SECTION_NODE
48wxXML_ENTITY_REF_NODE = wx.xrc.XML_ENTITY_REF_NODE
49wxXML_ENTITY_NODE = wx.xrc.XML_ENTITY_NODE
50wxXML_PI_NODE = wx.xrc.XML_PI_NODE
51wxXML_COMMENT_NODE = wx.xrc.XML_COMMENT_NODE
52wxXML_DOCUMENT_NODE = wx.xrc.XML_DOCUMENT_NODE
53wxXML_DOCUMENT_TYPE_NODE = wx.xrc.XML_DOCUMENT_TYPE_NODE
54wxXML_DOCUMENT_FRAG_NODE = wx.xrc.XML_DOCUMENT_FRAG_NODE
55wxXML_NOTATION_NODE = wx.xrc.XML_NOTATION_NODE
56wxXML_HTML_DOCUMENT_NODE = wx.xrc.XML_HTML_DOCUMENT_NODE
57wxXmlProperty = wx.xrc.XmlProperty
d14a1e28 58wxXmlNode = wx.xrc.XmlNode
bf5ff0c3 59wxXmlNodeEasy = wx.xrc.XmlNodeEasy
d14a1e28 60wxXmlDocument = wx.xrc.XmlDocument
bf5ff0c3
RD
61wxXmlDocumentFromStream = wx.xrc.XmlDocumentFromStream
62wxEmptyXmlDocument = wx.xrc.EmptyXmlDocument
d14a1e28 63wxXmlResourceHandler = wx.xrc.XmlResourceHandler
093d3ff1 64wxXmlResourceHandler = wx.xrc.XmlResourceHandler
d14a1e28
RD
65XRCID = wx.xrc.XRCID
66XRCCTRL = wx.xrc.XRCCTRL
67wxTheXmlResource = wx.xrc.TheXmlResource
68
69