]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/windows.py
bbe71b1f6da190881cb631a443882711850eb43c
[wxWidgets.git] / wxPython / wxPython / windows.py
1 ## This file reverse renames symbols in the wx package to give
2 ## them their wx prefix again, for backwards compatibility.
3 ##
4 ## Generated by ./distrib/build_renamers.py
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.windows
16
17 sys.modules['wxPython.wx'] = _wx
18 del sys, _wx
19
20
21 # Now assign all the reverse-renamed names:
22 wxPanel = wx.windows.Panel
23 wxPanelPtr = wx.windows.PanelPtr
24 wxPrePanel = wx.windows.PrePanel
25 wxScrolledWindow = wx.windows.ScrolledWindow
26 wxScrolledWindowPtr = wx.windows.ScrolledWindowPtr
27 wxPreScrolledWindow = wx.windows.PreScrolledWindow
28 wxFrameNameStr = wx.windows.FrameNameStr
29 wxDialogNameStr = wx.windows.DialogNameStr
30 wxStatusLineNameStr = wx.windows.StatusLineNameStr
31 wxToolBarNameStr = wx.windows.ToolBarNameStr
32 wxFULLSCREEN_NOMENUBAR = wx.windows.FULLSCREEN_NOMENUBAR
33 wxFULLSCREEN_NOTOOLBAR = wx.windows.FULLSCREEN_NOTOOLBAR
34 wxFULLSCREEN_NOSTATUSBAR = wx.windows.FULLSCREEN_NOSTATUSBAR
35 wxFULLSCREEN_NOBORDER = wx.windows.FULLSCREEN_NOBORDER
36 wxFULLSCREEN_NOCAPTION = wx.windows.FULLSCREEN_NOCAPTION
37 wxFULLSCREEN_ALL = wx.windows.FULLSCREEN_ALL
38 wxTOPLEVEL_EX_DIALOG = wx.windows.TOPLEVEL_EX_DIALOG
39 wxTopLevelWindow = wx.windows.TopLevelWindow
40 wxTopLevelWindowPtr = wx.windows.TopLevelWindowPtr
41 wxFrame = wx.windows.Frame
42 wxFramePtr = wx.windows.FramePtr
43 wxPreFrame = wx.windows.PreFrame
44 wxDialog = wx.windows.Dialog
45 wxDialogPtr = wx.windows.DialogPtr
46 wxPreDialog = wx.windows.PreDialog
47 wxMiniFrame = wx.windows.MiniFrame
48 wxMiniFramePtr = wx.windows.MiniFramePtr
49 wxPreMiniFrame = wx.windows.PreMiniFrame
50 wxSPLASH_CENTRE_ON_PARENT = wx.windows.SPLASH_CENTRE_ON_PARENT
51 wxSPLASH_CENTRE_ON_SCREEN = wx.windows.SPLASH_CENTRE_ON_SCREEN
52 wxSPLASH_NO_CENTRE = wx.windows.SPLASH_NO_CENTRE
53 wxSPLASH_TIMEOUT = wx.windows.SPLASH_TIMEOUT
54 wxSPLASH_NO_TIMEOUT = wx.windows.SPLASH_NO_TIMEOUT
55 wxSplashScreenWindow = wx.windows.SplashScreenWindow
56 wxSplashScreenWindowPtr = wx.windows.SplashScreenWindowPtr
57 wxSplashScreen = wx.windows.SplashScreen
58 wxSplashScreenPtr = wx.windows.SplashScreenPtr
59 wxStatusBar = wx.windows.StatusBar
60 wxStatusBarPtr = wx.windows.StatusBarPtr
61 wxPreStatusBar = wx.windows.PreStatusBar
62 wxSplitterNameStr = wx.windows.SplitterNameStr
63 wxSP_NOBORDER = wx.windows.SP_NOBORDER
64 wxSP_NOSASH = wx.windows.SP_NOSASH
65 wxSP_PERMIT_UNSPLIT = wx.windows.SP_PERMIT_UNSPLIT
66 wxSP_LIVE_UPDATE = wx.windows.SP_LIVE_UPDATE
67 wxSP_3DSASH = wx.windows.SP_3DSASH
68 wxSP_3DBORDER = wx.windows.SP_3DBORDER
69 wxSP_BORDER = wx.windows.SP_BORDER
70 wxSP_3D = wx.windows.SP_3D
71 wxSPLIT_HORIZONTAL = wx.windows.SPLIT_HORIZONTAL
72 wxSPLIT_VERTICAL = wx.windows.SPLIT_VERTICAL
73 wxSPLIT_DRAG_NONE = wx.windows.SPLIT_DRAG_NONE
74 wxSPLIT_DRAG_DRAGGING = wx.windows.SPLIT_DRAG_DRAGGING
75 wxSPLIT_DRAG_LEFT_DOWN = wx.windows.SPLIT_DRAG_LEFT_DOWN
76 wxSplitterWindow = wx.windows.SplitterWindow
77 wxSplitterWindowPtr = wx.windows.SplitterWindowPtr
78 wxPreSplitterWindow = wx.windows.PreSplitterWindow
79 wxSplitterEvent = wx.windows.SplitterEvent
80 wxSplitterEventPtr = wx.windows.SplitterEventPtr
81 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = wx.windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
82 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = wx.windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
83 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = wx.windows.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
84 wxEVT_COMMAND_SPLITTER_UNSPLIT = wx.windows.wxEVT_COMMAND_SPLITTER_UNSPLIT
85 wxSashNameStr = wx.windows.SashNameStr
86 wxSashLayoutNameStr = wx.windows.SashLayoutNameStr
87 wxSASH_DRAG_NONE = wx.windows.SASH_DRAG_NONE
88 wxSASH_DRAG_DRAGGING = wx.windows.SASH_DRAG_DRAGGING
89 wxSASH_DRAG_LEFT_DOWN = wx.windows.SASH_DRAG_LEFT_DOWN
90 wxSW_NOBORDER = wx.windows.SW_NOBORDER
91 wxSW_BORDER = wx.windows.SW_BORDER
92 wxSW_3DSASH = wx.windows.SW_3DSASH
93 wxSW_3DBORDER = wx.windows.SW_3DBORDER
94 wxSW_3D = wx.windows.SW_3D
95 wxSASH_TOP = wx.windows.SASH_TOP
96 wxSASH_RIGHT = wx.windows.SASH_RIGHT
97 wxSASH_BOTTOM = wx.windows.SASH_BOTTOM
98 wxSASH_LEFT = wx.windows.SASH_LEFT
99 wxSASH_NONE = wx.windows.SASH_NONE
100 wxSashWindow = wx.windows.SashWindow
101 wxSashWindowPtr = wx.windows.SashWindowPtr
102 wxPreSashWindow = wx.windows.PreSashWindow
103 wxSASH_STATUS_OK = wx.windows.SASH_STATUS_OK
104 wxSASH_STATUS_OUT_OF_RANGE = wx.windows.SASH_STATUS_OUT_OF_RANGE
105 wxSashEvent = wx.windows.SashEvent
106 wxSashEventPtr = wx.windows.SashEventPtr
107 wxEVT_SASH_DRAGGED = wx.windows.wxEVT_SASH_DRAGGED
108 wxLAYOUT_HORIZONTAL = wx.windows.LAYOUT_HORIZONTAL
109 wxLAYOUT_VERTICAL = wx.windows.LAYOUT_VERTICAL
110 wxLAYOUT_NONE = wx.windows.LAYOUT_NONE
111 wxLAYOUT_TOP = wx.windows.LAYOUT_TOP
112 wxLAYOUT_LEFT = wx.windows.LAYOUT_LEFT
113 wxLAYOUT_RIGHT = wx.windows.LAYOUT_RIGHT
114 wxLAYOUT_BOTTOM = wx.windows.LAYOUT_BOTTOM
115 wxLAYOUT_LENGTH_Y = wx.windows.LAYOUT_LENGTH_Y
116 wxLAYOUT_LENGTH_X = wx.windows.LAYOUT_LENGTH_X
117 wxLAYOUT_MRU_LENGTH = wx.windows.LAYOUT_MRU_LENGTH
118 wxLAYOUT_QUERY = wx.windows.LAYOUT_QUERY
119 wxEVT_QUERY_LAYOUT_INFO = wx.windows.wxEVT_QUERY_LAYOUT_INFO
120 wxEVT_CALCULATE_LAYOUT = wx.windows.wxEVT_CALCULATE_LAYOUT
121 wxQueryLayoutInfoEvent = wx.windows.QueryLayoutInfoEvent
122 wxQueryLayoutInfoEventPtr = wx.windows.QueryLayoutInfoEventPtr
123 wxCalculateLayoutEvent = wx.windows.CalculateLayoutEvent
124 wxCalculateLayoutEventPtr = wx.windows.CalculateLayoutEventPtr
125 wxSashLayoutWindow = wx.windows.SashLayoutWindow
126 wxSashLayoutWindowPtr = wx.windows.SashLayoutWindowPtr
127 wxPreSashLayoutWindow = wx.windows.PreSashLayoutWindow
128 wxLayoutAlgorithm = wx.windows.LayoutAlgorithm
129 wxLayoutAlgorithmPtr = wx.windows.LayoutAlgorithmPtr
130 wxPopupWindow = wx.windows.PopupWindow
131 wxPopupWindowPtr = wx.windows.PopupWindowPtr
132 wxPrePopupWindow = wx.windows.PrePopupWindow
133 wxPopupTransientWindow = wx.windows.PopupTransientWindow
134 wxPopupTransientWindowPtr = wx.windows.PopupTransientWindowPtr
135 wxPrePopupTransientWindow = wx.windows.PrePopupTransientWindow
136 wxTipWindow = wx.windows.TipWindow
137 wxTipWindowPtr = wx.windows.TipWindowPtr
138 wxVScrolledWindow = wx.windows.VScrolledWindow
139 wxVScrolledWindowPtr = wx.windows.VScrolledWindowPtr
140 wxPreVScrolledWindow = wx.windows.PreVScrolledWindow
141 wxVListBoxNameStr = wx.windows.VListBoxNameStr
142 wxVListBox = wx.windows.VListBox
143 wxVListBoxPtr = wx.windows.VListBoxPtr
144 wxPreVListBox = wx.windows.PreVListBox
145 wxHtmlListBox = wx.windows.HtmlListBox
146 wxHtmlListBoxPtr = wx.windows.HtmlListBoxPtr
147 wxPreHtmlListBox = wx.windows.PreHtmlListBox
148 wxTaskBarIcon = wx.windows.TaskBarIcon
149 wxTaskBarIconPtr = wx.windows.TaskBarIconPtr
150 wxTaskBarIconEvent = wx.windows.TaskBarIconEvent
151 wxTaskBarIconEventPtr = wx.windows.TaskBarIconEventPtr
152 wxEVT_TASKBAR_MOVE = wx.windows.wxEVT_TASKBAR_MOVE
153 wxEVT_TASKBAR_LEFT_DOWN = wx.windows.wxEVT_TASKBAR_LEFT_DOWN
154 wxEVT_TASKBAR_LEFT_UP = wx.windows.wxEVT_TASKBAR_LEFT_UP
155 wxEVT_TASKBAR_RIGHT_DOWN = wx.windows.wxEVT_TASKBAR_RIGHT_DOWN
156 wxEVT_TASKBAR_RIGHT_UP = wx.windows.wxEVT_TASKBAR_RIGHT_UP
157 wxEVT_TASKBAR_LEFT_DCLICK = wx.windows.wxEVT_TASKBAR_LEFT_DCLICK
158 wxEVT_TASKBAR_RIGHT_DCLICK = wx.windows.wxEVT_TASKBAR_RIGHT_DCLICK
159 wxFileSelectorPromptStr = wx.windows.FileSelectorPromptStr
160 wxDirSelectorPromptStr = wx.windows.DirSelectorPromptStr
161 wxDirDialogNameStr = wx.windows.DirDialogNameStr
162 wxFileSelectorDefaultWildcardStr = wx.windows.FileSelectorDefaultWildcardStr
163 wxGetTextFromUserPromptStr = wx.windows.GetTextFromUserPromptStr
164 wxMessageBoxCaptionStr = wx.windows.MessageBoxCaptionStr
165 wxColourData = wx.windows.ColourData
166 wxColourDataPtr = wx.windows.ColourDataPtr
167 wxColourDialog = wx.windows.ColourDialog
168 wxColourDialogPtr = wx.windows.ColourDialogPtr
169 wxDirDialog = wx.windows.DirDialog
170 wxDirDialogPtr = wx.windows.DirDialogPtr
171 wxFileDialog = wx.windows.FileDialog
172 wxFileDialogPtr = wx.windows.FileDialogPtr
173 wxCHOICEDLG_STYLE = wx.windows.CHOICEDLG_STYLE
174 wxMultiChoiceDialog = wx.windows.MultiChoiceDialog
175 wxMultiChoiceDialogPtr = wx.windows.MultiChoiceDialogPtr
176 wxSingleChoiceDialog = wx.windows.SingleChoiceDialog
177 wxSingleChoiceDialogPtr = wx.windows.SingleChoiceDialogPtr
178 wxTextEntryDialog = wx.windows.TextEntryDialog
179 wxTextEntryDialogPtr = wx.windows.TextEntryDialogPtr
180 wxFontData = wx.windows.FontData
181 wxFontDataPtr = wx.windows.FontDataPtr
182 wxFontDialog = wx.windows.FontDialog
183 wxFontDialogPtr = wx.windows.FontDialogPtr
184 wxMessageDialog = wx.windows.MessageDialog
185 wxMessageDialogPtr = wx.windows.MessageDialogPtr
186 wxProgressDialog = wx.windows.ProgressDialog
187 wxProgressDialogPtr = wx.windows.ProgressDialogPtr
188 wxFR_DOWN = wx.windows.FR_DOWN
189 wxFR_WHOLEWORD = wx.windows.FR_WHOLEWORD
190 wxFR_MATCHCASE = wx.windows.FR_MATCHCASE
191 wxFR_REPLACEDIALOG = wx.windows.FR_REPLACEDIALOG
192 wxFR_NOUPDOWN = wx.windows.FR_NOUPDOWN
193 wxFR_NOMATCHCASE = wx.windows.FR_NOMATCHCASE
194 wxFR_NOWHOLEWORD = wx.windows.FR_NOWHOLEWORD
195 wxEVT_COMMAND_FIND = wx.windows.wxEVT_COMMAND_FIND
196 wxEVT_COMMAND_FIND_NEXT = wx.windows.wxEVT_COMMAND_FIND_NEXT
197 wxEVT_COMMAND_FIND_REPLACE = wx.windows.wxEVT_COMMAND_FIND_REPLACE
198 wxEVT_COMMAND_FIND_REPLACE_ALL = wx.windows.wxEVT_COMMAND_FIND_REPLACE_ALL
199 wxEVT_COMMAND_FIND_CLOSE = wx.windows.wxEVT_COMMAND_FIND_CLOSE
200 wxFindDialogEvent = wx.windows.FindDialogEvent
201 wxFindDialogEventPtr = wx.windows.FindDialogEventPtr
202 wxFindReplaceData = wx.windows.FindReplaceData
203 wxFindReplaceDataPtr = wx.windows.FindReplaceDataPtr
204 wxFindReplaceDialog = wx.windows.FindReplaceDialog
205 wxFindReplaceDialogPtr = wx.windows.FindReplaceDialogPtr
206 wxPreFindReplaceDialog = wx.windows.PreFindReplaceDialog
207 IDM_WINDOWTILE = wx.windows.IDM_WINDOWTILE
208 IDM_WINDOWTILEHOR = wx.windows.IDM_WINDOWTILEHOR
209 IDM_WINDOWCASCADE = wx.windows.IDM_WINDOWCASCADE
210 IDM_WINDOWICONS = wx.windows.IDM_WINDOWICONS
211 IDM_WINDOWNEXT = wx.windows.IDM_WINDOWNEXT
212 IDM_WINDOWTILEVERT = wx.windows.IDM_WINDOWTILEVERT
213 wxFIRST_MDI_CHILD = wx.windows.FIRST_MDI_CHILD
214 wxLAST_MDI_CHILD = wx.windows.LAST_MDI_CHILD
215 wxMDIParentFrame = wx.windows.MDIParentFrame
216 wxMDIParentFramePtr = wx.windows.MDIParentFramePtr
217 wxPreMDIParentFrame = wx.windows.PreMDIParentFrame
218 wxMDIChildFrame = wx.windows.MDIChildFrame
219 wxMDIChildFramePtr = wx.windows.MDIChildFramePtr
220 wxPreMDIChildFrame = wx.windows.PreMDIChildFrame
221 wxMDIClientWindow = wx.windows.MDIClientWindow
222 wxMDIClientWindowPtr = wx.windows.MDIClientWindowPtr
223 wxPreMDIClientWindow = wx.windows.PreMDIClientWindow
224 wxPyWindow = wx.windows.PyWindow
225 wxPyWindowPtr = wx.windows.PyWindowPtr
226 wxPyPanel = wx.windows.PyPanel
227 wxPyPanelPtr = wx.windows.PyPanelPtr
228 wxPrintoutTitleStr = wx.windows.PrintoutTitleStr
229 wxPreviewCanvasNameStr = wx.windows.PreviewCanvasNameStr
230 wxPRINT_MODE_NONE = wx.windows.PRINT_MODE_NONE
231 wxPRINT_MODE_PREVIEW = wx.windows.PRINT_MODE_PREVIEW
232 wxPRINT_MODE_FILE = wx.windows.PRINT_MODE_FILE
233 wxPRINT_MODE_PRINTER = wx.windows.PRINT_MODE_PRINTER
234 wxPrintData = wx.windows.PrintData
235 wxPrintDataPtr = wx.windows.PrintDataPtr
236 wxPageSetupDialogData = wx.windows.PageSetupDialogData
237 wxPageSetupDialogDataPtr = wx.windows.PageSetupDialogDataPtr
238 wxPageSetupDialog = wx.windows.PageSetupDialog
239 wxPageSetupDialogPtr = wx.windows.PageSetupDialogPtr
240 wxPrintDialogData = wx.windows.PrintDialogData
241 wxPrintDialogDataPtr = wx.windows.PrintDialogDataPtr
242 wxPrintDialog = wx.windows.PrintDialog
243 wxPrintDialogPtr = wx.windows.PrintDialogPtr
244 wxPRINTER_NO_ERROR = wx.windows.PRINTER_NO_ERROR
245 wxPRINTER_CANCELLED = wx.windows.PRINTER_CANCELLED
246 wxPRINTER_ERROR = wx.windows.PRINTER_ERROR
247 wxPrinter = wx.windows.Printer
248 wxPrinterPtr = wx.windows.PrinterPtr
249 wxPrinter_GetLastError = wx.windows.Printer_GetLastError
250 wxPrintout = wx.windows.Printout
251 wxPrintoutPtr = wx.windows.PrintoutPtr
252 wxPreviewCanvas = wx.windows.PreviewCanvas
253 wxPreviewCanvasPtr = wx.windows.PreviewCanvasPtr
254 wxPreviewFrame = wx.windows.PreviewFrame
255 wxPreviewFramePtr = wx.windows.PreviewFramePtr
256 wxPREVIEW_PRINT = wx.windows.PREVIEW_PRINT
257 wxPREVIEW_PREVIOUS = wx.windows.PREVIEW_PREVIOUS
258 wxPREVIEW_NEXT = wx.windows.PREVIEW_NEXT
259 wxPREVIEW_ZOOM = wx.windows.PREVIEW_ZOOM
260 wxPREVIEW_FIRST = wx.windows.PREVIEW_FIRST
261 wxPREVIEW_LAST = wx.windows.PREVIEW_LAST
262 wxPREVIEW_GOTO = wx.windows.PREVIEW_GOTO
263 wxPREVIEW_DEFAULT = wx.windows.PREVIEW_DEFAULT
264 wxID_PREVIEW_CLOSE = wx.windows.ID_PREVIEW_CLOSE
265 wxID_PREVIEW_NEXT = wx.windows.ID_PREVIEW_NEXT
266 wxID_PREVIEW_PREVIOUS = wx.windows.ID_PREVIEW_PREVIOUS
267 wxID_PREVIEW_PRINT = wx.windows.ID_PREVIEW_PRINT
268 wxID_PREVIEW_ZOOM = wx.windows.ID_PREVIEW_ZOOM
269 wxID_PREVIEW_FIRST = wx.windows.ID_PREVIEW_FIRST
270 wxID_PREVIEW_LAST = wx.windows.ID_PREVIEW_LAST
271 wxID_PREVIEW_GOTO = wx.windows.ID_PREVIEW_GOTO
272 wxPreviewControlBar = wx.windows.PreviewControlBar
273 wxPreviewControlBarPtr = wx.windows.PreviewControlBarPtr
274 wxPrintPreview = wx.windows.PrintPreview
275 wxPrintPreviewPtr = wx.windows.PrintPreviewPtr
276 wxPyPrintPreview = wx.windows.PyPrintPreview
277 wxPyPrintPreviewPtr = wx.windows.PyPrintPreviewPtr
278 wxPyPreviewFrame = wx.windows.PyPreviewFrame
279 wxPyPreviewFramePtr = wx.windows.PyPreviewFramePtr
280 wxPyPreviewControlBar = wx.windows.PyPreviewControlBar
281 wxPyPreviewControlBarPtr = wx.windows.PyPreviewControlBarPtr
282
283
284 d = globals()
285 for k, v in wx.windows.__dict__.iteritems():
286 if k.startswith('EVT'):
287 d[k] = v
288 elif k.startswith('IDM'):
289 d[k] = v
290 del d, k, v
291
292
293