]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/windows.py
Moved some enums around to better match the C++ headers
[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_NO_XP_THEME = wx.windows.SP_NO_XP_THEME
70 wxSP_BORDER = wx.windows.SP_BORDER
71 wxSP_3D = wx.windows.SP_3D
72 wxSPLIT_HORIZONTAL = wx.windows.SPLIT_HORIZONTAL
73 wxSPLIT_VERTICAL = wx.windows.SPLIT_VERTICAL
74 wxSPLIT_DRAG_NONE = wx.windows.SPLIT_DRAG_NONE
75 wxSPLIT_DRAG_DRAGGING = wx.windows.SPLIT_DRAG_DRAGGING
76 wxSPLIT_DRAG_LEFT_DOWN = wx.windows.SPLIT_DRAG_LEFT_DOWN
77 wxSplitterWindow = wx.windows.SplitterWindow
78 wxSplitterWindowPtr = wx.windows.SplitterWindowPtr
79 wxPreSplitterWindow = wx.windows.PreSplitterWindow
80 wxSplitterEvent = wx.windows.SplitterEvent
81 wxSplitterEventPtr = wx.windows.SplitterEventPtr
82 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = wx.windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
83 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = wx.windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
84 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = wx.windows.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
85 wxEVT_COMMAND_SPLITTER_UNSPLIT = wx.windows.wxEVT_COMMAND_SPLITTER_UNSPLIT
86 wxSashNameStr = wx.windows.SashNameStr
87 wxSashLayoutNameStr = wx.windows.SashLayoutNameStr
88 wxSASH_DRAG_NONE = wx.windows.SASH_DRAG_NONE
89 wxSASH_DRAG_DRAGGING = wx.windows.SASH_DRAG_DRAGGING
90 wxSASH_DRAG_LEFT_DOWN = wx.windows.SASH_DRAG_LEFT_DOWN
91 wxSW_NOBORDER = wx.windows.SW_NOBORDER
92 wxSW_BORDER = wx.windows.SW_BORDER
93 wxSW_3DSASH = wx.windows.SW_3DSASH
94 wxSW_3DBORDER = wx.windows.SW_3DBORDER
95 wxSW_3D = wx.windows.SW_3D
96 wxSASH_TOP = wx.windows.SASH_TOP
97 wxSASH_RIGHT = wx.windows.SASH_RIGHT
98 wxSASH_BOTTOM = wx.windows.SASH_BOTTOM
99 wxSASH_LEFT = wx.windows.SASH_LEFT
100 wxSASH_NONE = wx.windows.SASH_NONE
101 wxSashWindow = wx.windows.SashWindow
102 wxSashWindowPtr = wx.windows.SashWindowPtr
103 wxPreSashWindow = wx.windows.PreSashWindow
104 wxSASH_STATUS_OK = wx.windows.SASH_STATUS_OK
105 wxSASH_STATUS_OUT_OF_RANGE = wx.windows.SASH_STATUS_OUT_OF_RANGE
106 wxSashEvent = wx.windows.SashEvent
107 wxSashEventPtr = wx.windows.SashEventPtr
108 wxEVT_SASH_DRAGGED = wx.windows.wxEVT_SASH_DRAGGED
109 wxLAYOUT_HORIZONTAL = wx.windows.LAYOUT_HORIZONTAL
110 wxLAYOUT_VERTICAL = wx.windows.LAYOUT_VERTICAL
111 wxLAYOUT_NONE = wx.windows.LAYOUT_NONE
112 wxLAYOUT_TOP = wx.windows.LAYOUT_TOP
113 wxLAYOUT_LEFT = wx.windows.LAYOUT_LEFT
114 wxLAYOUT_RIGHT = wx.windows.LAYOUT_RIGHT
115 wxLAYOUT_BOTTOM = wx.windows.LAYOUT_BOTTOM
116 wxLAYOUT_LENGTH_Y = wx.windows.LAYOUT_LENGTH_Y
117 wxLAYOUT_LENGTH_X = wx.windows.LAYOUT_LENGTH_X
118 wxLAYOUT_MRU_LENGTH = wx.windows.LAYOUT_MRU_LENGTH
119 wxLAYOUT_QUERY = wx.windows.LAYOUT_QUERY
120 wxEVT_QUERY_LAYOUT_INFO = wx.windows.wxEVT_QUERY_LAYOUT_INFO
121 wxEVT_CALCULATE_LAYOUT = wx.windows.wxEVT_CALCULATE_LAYOUT
122 wxQueryLayoutInfoEvent = wx.windows.QueryLayoutInfoEvent
123 wxQueryLayoutInfoEventPtr = wx.windows.QueryLayoutInfoEventPtr
124 wxCalculateLayoutEvent = wx.windows.CalculateLayoutEvent
125 wxCalculateLayoutEventPtr = wx.windows.CalculateLayoutEventPtr
126 wxSashLayoutWindow = wx.windows.SashLayoutWindow
127 wxSashLayoutWindowPtr = wx.windows.SashLayoutWindowPtr
128 wxPreSashLayoutWindow = wx.windows.PreSashLayoutWindow
129 wxLayoutAlgorithm = wx.windows.LayoutAlgorithm
130 wxLayoutAlgorithmPtr = wx.windows.LayoutAlgorithmPtr
131 wxPopupWindow = wx.windows.PopupWindow
132 wxPopupWindowPtr = wx.windows.PopupWindowPtr
133 wxPrePopupWindow = wx.windows.PrePopupWindow
134 wxPopupTransientWindow = wx.windows.PopupTransientWindow
135 wxPopupTransientWindowPtr = wx.windows.PopupTransientWindowPtr
136 wxPrePopupTransientWindow = wx.windows.PrePopupTransientWindow
137 wxTipWindow = wx.windows.TipWindow
138 wxTipWindowPtr = wx.windows.TipWindowPtr
139 wxVScrolledWindow = wx.windows.VScrolledWindow
140 wxVScrolledWindowPtr = wx.windows.VScrolledWindowPtr
141 wxPreVScrolledWindow = wx.windows.PreVScrolledWindow
142 wxVListBoxNameStr = wx.windows.VListBoxNameStr
143 wxVListBox = wx.windows.VListBox
144 wxVListBoxPtr = wx.windows.VListBoxPtr
145 wxPreVListBox = wx.windows.PreVListBox
146 wxHtmlListBox = wx.windows.HtmlListBox
147 wxHtmlListBoxPtr = wx.windows.HtmlListBoxPtr
148 wxPreHtmlListBox = wx.windows.PreHtmlListBox
149 wxTaskBarIcon = wx.windows.TaskBarIcon
150 wxTaskBarIconPtr = wx.windows.TaskBarIconPtr
151 wxTaskBarIconEvent = wx.windows.TaskBarIconEvent
152 wxTaskBarIconEventPtr = wx.windows.TaskBarIconEventPtr
153 wxEVT_TASKBAR_MOVE = wx.windows.wxEVT_TASKBAR_MOVE
154 wxEVT_TASKBAR_LEFT_DOWN = wx.windows.wxEVT_TASKBAR_LEFT_DOWN
155 wxEVT_TASKBAR_LEFT_UP = wx.windows.wxEVT_TASKBAR_LEFT_UP
156 wxEVT_TASKBAR_RIGHT_DOWN = wx.windows.wxEVT_TASKBAR_RIGHT_DOWN
157 wxEVT_TASKBAR_RIGHT_UP = wx.windows.wxEVT_TASKBAR_RIGHT_UP
158 wxEVT_TASKBAR_LEFT_DCLICK = wx.windows.wxEVT_TASKBAR_LEFT_DCLICK
159 wxEVT_TASKBAR_RIGHT_DCLICK = wx.windows.wxEVT_TASKBAR_RIGHT_DCLICK
160 wxFileSelectorPromptStr = wx.windows.FileSelectorPromptStr
161 wxDirSelectorPromptStr = wx.windows.DirSelectorPromptStr
162 wxDirDialogNameStr = wx.windows.DirDialogNameStr
163 wxFileSelectorDefaultWildcardStr = wx.windows.FileSelectorDefaultWildcardStr
164 wxGetTextFromUserPromptStr = wx.windows.GetTextFromUserPromptStr
165 wxMessageBoxCaptionStr = wx.windows.MessageBoxCaptionStr
166 wxColourData = wx.windows.ColourData
167 wxColourDataPtr = wx.windows.ColourDataPtr
168 wxColourDialog = wx.windows.ColourDialog
169 wxColourDialogPtr = wx.windows.ColourDialogPtr
170 wxDirDialog = wx.windows.DirDialog
171 wxDirDialogPtr = wx.windows.DirDialogPtr
172 wxFileDialog = wx.windows.FileDialog
173 wxFileDialogPtr = wx.windows.FileDialogPtr
174 wxCHOICEDLG_STYLE = wx.windows.CHOICEDLG_STYLE
175 wxMultiChoiceDialog = wx.windows.MultiChoiceDialog
176 wxMultiChoiceDialogPtr = wx.windows.MultiChoiceDialogPtr
177 wxSingleChoiceDialog = wx.windows.SingleChoiceDialog
178 wxSingleChoiceDialogPtr = wx.windows.SingleChoiceDialogPtr
179 wxTextEntryDialog = wx.windows.TextEntryDialog
180 wxTextEntryDialogPtr = wx.windows.TextEntryDialogPtr
181 wxFontData = wx.windows.FontData
182 wxFontDataPtr = wx.windows.FontDataPtr
183 wxFontDialog = wx.windows.FontDialog
184 wxFontDialogPtr = wx.windows.FontDialogPtr
185 wxMessageDialog = wx.windows.MessageDialog
186 wxMessageDialogPtr = wx.windows.MessageDialogPtr
187 wxProgressDialog = wx.windows.ProgressDialog
188 wxProgressDialogPtr = wx.windows.ProgressDialogPtr
189 wxFR_DOWN = wx.windows.FR_DOWN
190 wxFR_WHOLEWORD = wx.windows.FR_WHOLEWORD
191 wxFR_MATCHCASE = wx.windows.FR_MATCHCASE
192 wxFR_REPLACEDIALOG = wx.windows.FR_REPLACEDIALOG
193 wxFR_NOUPDOWN = wx.windows.FR_NOUPDOWN
194 wxFR_NOMATCHCASE = wx.windows.FR_NOMATCHCASE
195 wxFR_NOWHOLEWORD = wx.windows.FR_NOWHOLEWORD
196 wxEVT_COMMAND_FIND = wx.windows.wxEVT_COMMAND_FIND
197 wxEVT_COMMAND_FIND_NEXT = wx.windows.wxEVT_COMMAND_FIND_NEXT
198 wxEVT_COMMAND_FIND_REPLACE = wx.windows.wxEVT_COMMAND_FIND_REPLACE
199 wxEVT_COMMAND_FIND_REPLACE_ALL = wx.windows.wxEVT_COMMAND_FIND_REPLACE_ALL
200 wxEVT_COMMAND_FIND_CLOSE = wx.windows.wxEVT_COMMAND_FIND_CLOSE
201 wxFindDialogEvent = wx.windows.FindDialogEvent
202 wxFindDialogEventPtr = wx.windows.FindDialogEventPtr
203 wxFindReplaceData = wx.windows.FindReplaceData
204 wxFindReplaceDataPtr = wx.windows.FindReplaceDataPtr
205 wxFindReplaceDialog = wx.windows.FindReplaceDialog
206 wxFindReplaceDialogPtr = wx.windows.FindReplaceDialogPtr
207 wxPreFindReplaceDialog = wx.windows.PreFindReplaceDialog
208 IDM_WINDOWTILE = wx.windows.IDM_WINDOWTILE
209 IDM_WINDOWTILEHOR = wx.windows.IDM_WINDOWTILEHOR
210 IDM_WINDOWCASCADE = wx.windows.IDM_WINDOWCASCADE
211 IDM_WINDOWICONS = wx.windows.IDM_WINDOWICONS
212 IDM_WINDOWNEXT = wx.windows.IDM_WINDOWNEXT
213 IDM_WINDOWTILEVERT = wx.windows.IDM_WINDOWTILEVERT
214 wxFIRST_MDI_CHILD = wx.windows.FIRST_MDI_CHILD
215 wxLAST_MDI_CHILD = wx.windows.LAST_MDI_CHILD
216 wxMDIParentFrame = wx.windows.MDIParentFrame
217 wxMDIParentFramePtr = wx.windows.MDIParentFramePtr
218 wxPreMDIParentFrame = wx.windows.PreMDIParentFrame
219 wxMDIChildFrame = wx.windows.MDIChildFrame
220 wxMDIChildFramePtr = wx.windows.MDIChildFramePtr
221 wxPreMDIChildFrame = wx.windows.PreMDIChildFrame
222 wxMDIClientWindow = wx.windows.MDIClientWindow
223 wxMDIClientWindowPtr = wx.windows.MDIClientWindowPtr
224 wxPreMDIClientWindow = wx.windows.PreMDIClientWindow
225 wxPyWindow = wx.windows.PyWindow
226 wxPyWindowPtr = wx.windows.PyWindowPtr
227 wxPrePyWindow = wx.windows.PrePyWindow
228 wxPyPanel = wx.windows.PyPanel
229 wxPyPanelPtr = wx.windows.PyPanelPtr
230 wxPrePyPanel = wx.windows.PrePyPanel
231 wxPyScrolledWindow = wx.windows.PyScrolledWindow
232 wxPyScrolledWindowPtr = wx.windows.PyScrolledWindowPtr
233 wxPrePyScrolledWindow = wx.windows.PrePyScrolledWindow
234 wxPrintoutTitleStr = wx.windows.PrintoutTitleStr
235 wxPreviewCanvasNameStr = wx.windows.PreviewCanvasNameStr
236 wxPRINT_MODE_NONE = wx.windows.PRINT_MODE_NONE
237 wxPRINT_MODE_PREVIEW = wx.windows.PRINT_MODE_PREVIEW
238 wxPRINT_MODE_FILE = wx.windows.PRINT_MODE_FILE
239 wxPRINT_MODE_PRINTER = wx.windows.PRINT_MODE_PRINTER
240 wxPRINT_MODE_STREAM = wx.windows.PRINT_MODE_STREAM
241 wxPrintData = wx.windows.PrintData
242 wxPrintDataPtr = wx.windows.PrintDataPtr
243 wxPageSetupDialogData = wx.windows.PageSetupDialogData
244 wxPageSetupDialogDataPtr = wx.windows.PageSetupDialogDataPtr
245 wxPageSetupDialog = wx.windows.PageSetupDialog
246 wxPageSetupDialogPtr = wx.windows.PageSetupDialogPtr
247 wxPrintDialogData = wx.windows.PrintDialogData
248 wxPrintDialogDataPtr = wx.windows.PrintDialogDataPtr
249 wxPrintDialog = wx.windows.PrintDialog
250 wxPrintDialogPtr = wx.windows.PrintDialogPtr
251 wxPRINTER_NO_ERROR = wx.windows.PRINTER_NO_ERROR
252 wxPRINTER_CANCELLED = wx.windows.PRINTER_CANCELLED
253 wxPRINTER_ERROR = wx.windows.PRINTER_ERROR
254 wxPrinter = wx.windows.Printer
255 wxPrinterPtr = wx.windows.PrinterPtr
256 wxPrinter_GetLastError = wx.windows.Printer_GetLastError
257 wxPrintout = wx.windows.Printout
258 wxPrintoutPtr = wx.windows.PrintoutPtr
259 wxPreviewCanvas = wx.windows.PreviewCanvas
260 wxPreviewCanvasPtr = wx.windows.PreviewCanvasPtr
261 wxPreviewFrame = wx.windows.PreviewFrame
262 wxPreviewFramePtr = wx.windows.PreviewFramePtr
263 wxPREVIEW_PRINT = wx.windows.PREVIEW_PRINT
264 wxPREVIEW_PREVIOUS = wx.windows.PREVIEW_PREVIOUS
265 wxPREVIEW_NEXT = wx.windows.PREVIEW_NEXT
266 wxPREVIEW_ZOOM = wx.windows.PREVIEW_ZOOM
267 wxPREVIEW_FIRST = wx.windows.PREVIEW_FIRST
268 wxPREVIEW_LAST = wx.windows.PREVIEW_LAST
269 wxPREVIEW_GOTO = wx.windows.PREVIEW_GOTO
270 wxPREVIEW_DEFAULT = wx.windows.PREVIEW_DEFAULT
271 wxID_PREVIEW_CLOSE = wx.windows.ID_PREVIEW_CLOSE
272 wxID_PREVIEW_NEXT = wx.windows.ID_PREVIEW_NEXT
273 wxID_PREVIEW_PREVIOUS = wx.windows.ID_PREVIEW_PREVIOUS
274 wxID_PREVIEW_PRINT = wx.windows.ID_PREVIEW_PRINT
275 wxID_PREVIEW_ZOOM = wx.windows.ID_PREVIEW_ZOOM
276 wxID_PREVIEW_FIRST = wx.windows.ID_PREVIEW_FIRST
277 wxID_PREVIEW_LAST = wx.windows.ID_PREVIEW_LAST
278 wxID_PREVIEW_GOTO = wx.windows.ID_PREVIEW_GOTO
279 wxPreviewControlBar = wx.windows.PreviewControlBar
280 wxPreviewControlBarPtr = wx.windows.PreviewControlBarPtr
281 wxPrintPreview = wx.windows.PrintPreview
282 wxPrintPreviewPtr = wx.windows.PrintPreviewPtr
283 wxPyPrintPreview = wx.windows.PyPrintPreview
284 wxPyPrintPreviewPtr = wx.windows.PyPrintPreviewPtr
285 wxPyPreviewFrame = wx.windows.PyPreviewFrame
286 wxPyPreviewFramePtr = wx.windows.PyPreviewFramePtr
287 wxPyPreviewControlBar = wx.windows.PyPreviewControlBar
288 wxPyPreviewControlBarPtr = wx.windows.PyPreviewControlBarPtr
289
290
291 d = globals()
292 for k, v in wx.windows.__dict__.iteritems():
293 if k.startswith('EVT'):
294 d[k] = v
295 elif k.startswith('IDM'):
296 d[k] = v
297 del d, k, v
298
299
300