]>
Commit | Line | Data |
---|---|---|
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. | |
9 | import sys | |
10 | _wx = None | |
11 | if sys.modules.has_key('wxPython.wx'): | |
12 | _wx = sys.modules['wxPython.wx'] | |
13 | del sys.modules['wxPython.wx'] | |
14 | ||
15 | import wx.xrc | |
16 | ||
17 | sys.modules['wxPython.wx'] = _wx | |
18 | del sys, _wx | |
19 | ||
20 | ||
21 | # Now assign all the reverse-renamed names: | |
b2dc1044 RD |
22 | wxUTF8String = wx.xrc.UTF8String |
23 | wxStyleString = wx.xrc.StyleString | |
24 | wxSizeString = wx.xrc.SizeString | |
25 | wxPosString = wx.xrc.PosString | |
26 | wxBitmapString = wx.xrc.BitmapString | |
27 | wxIconString = wx.xrc.IconString | |
28 | wxFontString = wx.xrc.FontString | |
d14a1e28 RD |
29 | WX_XMLRES_CURRENT_VERSION_MAJOR = wx.xrc.WX_XMLRES_CURRENT_VERSION_MAJOR |
30 | WX_XMLRES_CURRENT_VERSION_MINOR = wx.xrc.WX_XMLRES_CURRENT_VERSION_MINOR | |
31 | WX_XMLRES_CURRENT_VERSION_RELEASE = wx.xrc.WX_XMLRES_CURRENT_VERSION_RELEASE | |
32 | WX_XMLRES_CURRENT_VERSION_REVISION = wx.xrc.WX_XMLRES_CURRENT_VERSION_REVISION | |
33 | wxXRC_USE_LOCALE = wx.xrc.XRC_USE_LOCALE | |
34 | wxXRC_NO_SUBCLASSING = wx.xrc.XRC_NO_SUBCLASSING | |
b0f7404b | 35 | wxXRC_NO_RELOADING = wx.xrc.XRC_NO_RELOADING |
bf5ff0c3 | 36 | wxXmlResource = wx.xrc.XmlResource |
d14a1e28 RD |
37 | wxEmptyXmlResource = wx.xrc.EmptyXmlResource |
38 | wxXmlResource_AddSubclassFactory = wx.xrc.XmlResource_AddSubclassFactory | |
39 | wxXmlResource_GetXRCID = wx.xrc.XmlResource_GetXRCID | |
40 | wxXmlResource_Get = wx.xrc.XmlResource_Get | |
41 | wxXmlResource_Set = wx.xrc.XmlResource_Set | |
d14a1e28 | 42 | wxXmlSubclassFactory = wx.xrc.XmlSubclassFactory |
093d3ff1 | 43 | wxXmlSubclassFactory = wx.xrc.XmlSubclassFactory |
d14a1e28 RD |
44 | wxXML_ELEMENT_NODE = wx.xrc.XML_ELEMENT_NODE |
45 | wxXML_ATTRIBUTE_NODE = wx.xrc.XML_ATTRIBUTE_NODE | |
46 | wxXML_TEXT_NODE = wx.xrc.XML_TEXT_NODE | |
47 | wxXML_CDATA_SECTION_NODE = wx.xrc.XML_CDATA_SECTION_NODE | |
48 | wxXML_ENTITY_REF_NODE = wx.xrc.XML_ENTITY_REF_NODE | |
49 | wxXML_ENTITY_NODE = wx.xrc.XML_ENTITY_NODE | |
50 | wxXML_PI_NODE = wx.xrc.XML_PI_NODE | |
51 | wxXML_COMMENT_NODE = wx.xrc.XML_COMMENT_NODE | |
52 | wxXML_DOCUMENT_NODE = wx.xrc.XML_DOCUMENT_NODE | |
53 | wxXML_DOCUMENT_TYPE_NODE = wx.xrc.XML_DOCUMENT_TYPE_NODE | |
54 | wxXML_DOCUMENT_FRAG_NODE = wx.xrc.XML_DOCUMENT_FRAG_NODE | |
55 | wxXML_NOTATION_NODE = wx.xrc.XML_NOTATION_NODE | |
56 | wxXML_HTML_DOCUMENT_NODE = wx.xrc.XML_HTML_DOCUMENT_NODE | |
57 | wxXmlProperty = wx.xrc.XmlProperty | |
d14a1e28 | 58 | wxXmlNode = wx.xrc.XmlNode |
bf5ff0c3 | 59 | wxXmlNodeEasy = wx.xrc.XmlNodeEasy |
d14a1e28 | 60 | wxXmlDocument = wx.xrc.XmlDocument |
bf5ff0c3 RD |
61 | wxXmlDocumentFromStream = wx.xrc.XmlDocumentFromStream |
62 | wxEmptyXmlDocument = wx.xrc.EmptyXmlDocument | |
d14a1e28 | 63 | wxXmlResourceHandler = wx.xrc.XmlResourceHandler |
093d3ff1 | 64 | wxXmlResourceHandler = wx.xrc.XmlResourceHandler |
d14a1e28 RD |
65 | XRCID = wx.xrc.XRCID |
66 | XRCCTRL = wx.xrc.XRCCTRL | |
67 | wxTheXmlResource = wx.xrc.TheXmlResource | |
68 | ||
69 |