]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxPython/windows.py
Merged the wxPy_newswig branch into the HEAD branch (main trunk)
[wxWidgets.git] / wxPython / wxPython / windows.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##
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.
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.windows
16
17sys.modules['wxPython.wx'] = _wx
18del sys, _wx
19
20
21# Now assign all the reverse-renamed names:
22wxPrePanel = wx.windows.PrePanel
23wxPanel = wx.windows.Panel
24wxPreScrolledWindow = wx.windows.PreScrolledWindow
25wxScrolledWindow = wx.windows.ScrolledWindow
26wxAcceleratorEntry = wx.windows.AcceleratorEntry
27wxAcceleratorTable = wx.windows.AcceleratorTable
28wxNullAcceleratorTable = wx.windows.NullAcceleratorTable
29wxGetAccelFromString = wx.windows.GetAccelFromString
30wxFULLSCREEN_NOMENUBAR = wx.windows.FULLSCREEN_NOMENUBAR
31wxFULLSCREEN_NOTOOLBAR = wx.windows.FULLSCREEN_NOTOOLBAR
32wxFULLSCREEN_NOSTATUSBAR = wx.windows.FULLSCREEN_NOSTATUSBAR
33wxFULLSCREEN_NOBORDER = wx.windows.FULLSCREEN_NOBORDER
34wxFULLSCREEN_NOCAPTION = wx.windows.FULLSCREEN_NOCAPTION
35wxFULLSCREEN_ALL = wx.windows.FULLSCREEN_ALL
36wxTOPLEVEL_EX_DIALOG = wx.windows.TOPLEVEL_EX_DIALOG
37wxTopLevelWindow = wx.windows.TopLevelWindow
38wxPreFrame = wx.windows.PreFrame
39wxFrame = wx.windows.Frame
40wxPreDialog = wx.windows.PreDialog
41wxDialog = wx.windows.Dialog
42wxPreMiniFrame = wx.windows.PreMiniFrame
43wxMiniFrame = wx.windows.MiniFrame
44wxSPLASH_CENTRE_ON_PARENT = wx.windows.SPLASH_CENTRE_ON_PARENT
45wxSPLASH_CENTRE_ON_SCREEN = wx.windows.SPLASH_CENTRE_ON_SCREEN
46wxSPLASH_NO_CENTRE = wx.windows.SPLASH_NO_CENTRE
47wxSPLASH_TIMEOUT = wx.windows.SPLASH_TIMEOUT
48wxSPLASH_NO_TIMEOUT = wx.windows.SPLASH_NO_TIMEOUT
49wxSplashScreenWindow = wx.windows.SplashScreenWindow
50wxSplashScreen = wx.windows.SplashScreen
51wxPreStatusBar = wx.windows.PreStatusBar
52wxStatusBar = wx.windows.StatusBar
53wxSP_NOBORDER = wx.windows.SP_NOBORDER
54wxSP_NOSASH = wx.windows.SP_NOSASH
55wxSP_PERMIT_UNSPLIT = wx.windows.SP_PERMIT_UNSPLIT
56wxSP_LIVE_UPDATE = wx.windows.SP_LIVE_UPDATE
57wxSP_3DSASH = wx.windows.SP_3DSASH
58wxSP_3DBORDER = wx.windows.SP_3DBORDER
59wxSP_BORDER = wx.windows.SP_BORDER
60wxSP_3D = wx.windows.SP_3D
61wxSPLIT_HORIZONTAL = wx.windows.SPLIT_HORIZONTAL
62wxSPLIT_VERTICAL = wx.windows.SPLIT_VERTICAL
63wxSPLIT_DRAG_NONE = wx.windows.SPLIT_DRAG_NONE
64wxSPLIT_DRAG_DRAGGING = wx.windows.SPLIT_DRAG_DRAGGING
65wxSPLIT_DRAG_LEFT_DOWN = wx.windows.SPLIT_DRAG_LEFT_DOWN
66wxPreSplitterWindow = wx.windows.PreSplitterWindow
67wxSplitterWindow = wx.windows.SplitterWindow
68wxSplitterEvent = wx.windows.SplitterEvent
69wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = wx.windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
70wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = wx.windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
71wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = wx.windows.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
72wxEVT_COMMAND_SPLITTER_UNSPLIT = wx.windows.wxEVT_COMMAND_SPLITTER_UNSPLIT
73wxSASH_DRAG_NONE = wx.windows.SASH_DRAG_NONE
74wxSASH_DRAG_DRAGGING = wx.windows.SASH_DRAG_DRAGGING
75wxSASH_DRAG_LEFT_DOWN = wx.windows.SASH_DRAG_LEFT_DOWN
76wxSW_NOBORDER = wx.windows.SW_NOBORDER
77wxSW_BORDER = wx.windows.SW_BORDER
78wxSW_3DSASH = wx.windows.SW_3DSASH
79wxSW_3DBORDER = wx.windows.SW_3DBORDER
80wxSW_3D = wx.windows.SW_3D
81wxSASH_TOP = wx.windows.SASH_TOP
82wxSASH_RIGHT = wx.windows.SASH_RIGHT
83wxSASH_BOTTOM = wx.windows.SASH_BOTTOM
84wxSASH_LEFT = wx.windows.SASH_LEFT
85wxSASH_NONE = wx.windows.SASH_NONE
86wxPreSashWindow = wx.windows.PreSashWindow
87wxSashWindow = wx.windows.SashWindow
88wxSASH_STATUS_OK = wx.windows.SASH_STATUS_OK
89wxSASH_STATUS_OUT_OF_RANGE = wx.windows.SASH_STATUS_OUT_OF_RANGE
90wxSashEvent = wx.windows.SashEvent
91wxEVT_SASH_DRAGGED = wx.windows.wxEVT_SASH_DRAGGED
92wxLAYOUT_HORIZONTAL = wx.windows.LAYOUT_HORIZONTAL
93wxLAYOUT_VERTICAL = wx.windows.LAYOUT_VERTICAL
94wxLAYOUT_NONE = wx.windows.LAYOUT_NONE
95wxLAYOUT_TOP = wx.windows.LAYOUT_TOP
96wxLAYOUT_LEFT = wx.windows.LAYOUT_LEFT
97wxLAYOUT_RIGHT = wx.windows.LAYOUT_RIGHT
98wxLAYOUT_BOTTOM = wx.windows.LAYOUT_BOTTOM
99wxLAYOUT_LENGTH_Y = wx.windows.LAYOUT_LENGTH_Y
100wxLAYOUT_LENGTH_X = wx.windows.LAYOUT_LENGTH_X
101wxLAYOUT_MRU_LENGTH = wx.windows.LAYOUT_MRU_LENGTH
102wxLAYOUT_QUERY = wx.windows.LAYOUT_QUERY
103wxEVT_QUERY_LAYOUT_INFO = wx.windows.wxEVT_QUERY_LAYOUT_INFO
104wxEVT_CALCULATE_LAYOUT = wx.windows.wxEVT_CALCULATE_LAYOUT
105wxQueryLayoutInfoEvent = wx.windows.QueryLayoutInfoEvent
106wxCalculateLayoutEvent = wx.windows.CalculateLayoutEvent
107wxPreSashLayoutWindow = wx.windows.PreSashLayoutWindow
108wxSashLayoutWindow = wx.windows.SashLayoutWindow
109wxLayoutAlgorithm = wx.windows.LayoutAlgorithm
110wxPrePopupWindow = wx.windows.PrePopupWindow
111wxPopupWindow = wx.windows.PopupWindow
112wxPrePopupTransientWindow = wx.windows.PrePopupTransientWindow
113wxPopupTransientWindow = wx.windows.PopupTransientWindow
114wxTipWindow = wx.windows.TipWindow
115wxPreVScrolledWindow = wx.windows.PreVScrolledWindow
116wxVScrolledWindow = wx.windows.VScrolledWindow
117wxPreVListBox = wx.windows.PreVListBox
118wxVListBox = wx.windows.VListBox
119wxPreHtmlListBox = wx.windows.PreHtmlListBox
120wxHtmlListBox = wx.windows.HtmlListBox
121wxTaskBarIcon = wx.windows.TaskBarIcon
122wxTaskBarIconEvent = wx.windows.TaskBarIconEvent
123wxEVT_TASKBAR_MOVE = wx.windows.wxEVT_TASKBAR_MOVE
124wxEVT_TASKBAR_LEFT_DOWN = wx.windows.wxEVT_TASKBAR_LEFT_DOWN
125wxEVT_TASKBAR_LEFT_UP = wx.windows.wxEVT_TASKBAR_LEFT_UP
126wxEVT_TASKBAR_RIGHT_DOWN = wx.windows.wxEVT_TASKBAR_RIGHT_DOWN
127wxEVT_TASKBAR_RIGHT_UP = wx.windows.wxEVT_TASKBAR_RIGHT_UP
128wxEVT_TASKBAR_LEFT_DCLICK = wx.windows.wxEVT_TASKBAR_LEFT_DCLICK
129wxEVT_TASKBAR_RIGHT_DCLICK = wx.windows.wxEVT_TASKBAR_RIGHT_DCLICK
130wxColourData = wx.windows.ColourData
131wxColourDialog = wx.windows.ColourDialog
132wxDirDialog = wx.windows.DirDialog
133wxFileDialog = wx.windows.FileDialog
134wxCHOICEDLG_STYLE = wx.windows.CHOICEDLG_STYLE
135wxMultiChoiceDialog = wx.windows.MultiChoiceDialog
136wxSingleChoiceDialog = wx.windows.SingleChoiceDialog
137wxTextEntryDialog = wx.windows.TextEntryDialog
138wxFontData = wx.windows.FontData
139wxFontDialog = wx.windows.FontDialog
140wxMessageDialog = wx.windows.MessageDialog
141wxProgressDialog = wx.windows.ProgressDialog
142wxFR_DOWN = wx.windows.FR_DOWN
143wxFR_WHOLEWORD = wx.windows.FR_WHOLEWORD
144wxFR_MATCHCASE = wx.windows.FR_MATCHCASE
145wxFR_REPLACEDIALOG = wx.windows.FR_REPLACEDIALOG
146wxFR_NOUPDOWN = wx.windows.FR_NOUPDOWN
147wxFR_NOMATCHCASE = wx.windows.FR_NOMATCHCASE
148wxFR_NOWHOLEWORD = wx.windows.FR_NOWHOLEWORD
149wxEVT_COMMAND_FIND = wx.windows.wxEVT_COMMAND_FIND
150wxEVT_COMMAND_FIND_NEXT = wx.windows.wxEVT_COMMAND_FIND_NEXT
151wxEVT_COMMAND_FIND_REPLACE = wx.windows.wxEVT_COMMAND_FIND_REPLACE
152wxEVT_COMMAND_FIND_REPLACE_ALL = wx.windows.wxEVT_COMMAND_FIND_REPLACE_ALL
153wxEVT_COMMAND_FIND_CLOSE = wx.windows.wxEVT_COMMAND_FIND_CLOSE
154wxFindDialogEvent = wx.windows.FindDialogEvent
155wxFindReplaceData = wx.windows.FindReplaceData
156wxPreFindReplaceDialog = wx.windows.PreFindReplaceDialog
157wxFindReplaceDialog = wx.windows.FindReplaceDialog
158IDM_WINDOWTILE = wx.windows.IDM_WINDOWTILE
159IDM_WINDOWTILEHOR = wx.windows.IDM_WINDOWTILEHOR
160IDM_WINDOWCASCADE = wx.windows.IDM_WINDOWCASCADE
161IDM_WINDOWICONS = wx.windows.IDM_WINDOWICONS
162IDM_WINDOWNEXT = wx.windows.IDM_WINDOWNEXT
163IDM_WINDOWTILEVERT = wx.windows.IDM_WINDOWTILEVERT
164wxFIRST_MDI_CHILD = wx.windows.FIRST_MDI_CHILD
165wxLAST_MDI_CHILD = wx.windows.LAST_MDI_CHILD
166wxPreMDIParentFrame = wx.windows.PreMDIParentFrame
167wxMDIParentFrame = wx.windows.MDIParentFrame
168wxPreMDIChildFrame = wx.windows.PreMDIChildFrame
169wxMDIChildFrame = wx.windows.MDIChildFrame
170wxPreMDIClientWindow = wx.windows.PreMDIClientWindow
171wxMDIClientWindow = wx.windows.MDIClientWindow
172wxPyWindow = wx.windows.PyWindow
173wxPyPanel = wx.windows.PyPanel
174wxPRINT_MODE_NONE = wx.windows.PRINT_MODE_NONE
175wxPRINT_MODE_PREVIEW = wx.windows.PRINT_MODE_PREVIEW
176wxPRINT_MODE_FILE = wx.windows.PRINT_MODE_FILE
177wxPRINT_MODE_PRINTER = wx.windows.PRINT_MODE_PRINTER
178wxPrintData = wx.windows.PrintData
179wxPageSetupDialogData = wx.windows.PageSetupDialogData
180wxPageSetupDialog = wx.windows.PageSetupDialog
181wxPrintDialogData = wx.windows.PrintDialogData
182wxPrintDialog = wx.windows.PrintDialog
183wxPRINTER_NO_ERROR = wx.windows.PRINTER_NO_ERROR
184wxPRINTER_CANCELLED = wx.windows.PRINTER_CANCELLED
185wxPRINTER_ERROR = wx.windows.PRINTER_ERROR
186wxPrinter_GetLastError = wx.windows.Printer_GetLastError
187wxPrinter = wx.windows.Printer
188wxPrintout = wx.windows.Printout
189wxPreviewCanvas = wx.windows.PreviewCanvas
190wxPreviewFrame = wx.windows.PreviewFrame
191wxPREVIEW_PRINT = wx.windows.PREVIEW_PRINT
192wxPREVIEW_PREVIOUS = wx.windows.PREVIEW_PREVIOUS
193wxPREVIEW_NEXT = wx.windows.PREVIEW_NEXT
194wxPREVIEW_ZOOM = wx.windows.PREVIEW_ZOOM
195wxPREVIEW_FIRST = wx.windows.PREVIEW_FIRST
196wxPREVIEW_LAST = wx.windows.PREVIEW_LAST
197wxPREVIEW_GOTO = wx.windows.PREVIEW_GOTO
198wxPREVIEW_DEFAULT = wx.windows.PREVIEW_DEFAULT
199wxID_PREVIEW_CLOSE = wx.windows.ID_PREVIEW_CLOSE
200wxID_PREVIEW_NEXT = wx.windows.ID_PREVIEW_NEXT
201wxID_PREVIEW_PREVIOUS = wx.windows.ID_PREVIEW_PREVIOUS
202wxID_PREVIEW_PRINT = wx.windows.ID_PREVIEW_PRINT
203wxID_PREVIEW_ZOOM = wx.windows.ID_PREVIEW_ZOOM
204wxID_PREVIEW_FIRST = wx.windows.ID_PREVIEW_FIRST
205wxID_PREVIEW_LAST = wx.windows.ID_PREVIEW_LAST
206wxID_PREVIEW_GOTO = wx.windows.ID_PREVIEW_GOTO
207wxPreviewControlBar = wx.windows.PreviewControlBar
208wxPrintPreview = wx.windows.PrintPreview
209wxPyPrintPreview = wx.windows.PyPrintPreview
210wxPyPreviewFrame = wx.windows.PyPreviewFrame
211wxPyPreviewControlBar = wx.windows.PyPreviewControlBar
212
213
214d = globals()
215for k, v in wx.windows.__dict__.iteritems():
216 if k.startswith('EVT'):
217 d[k] = v
218 elif k.startswith('IDM'):
219 d[k] = v
220del d, k, v
221
222
223