]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/_misc_rename.i
Added Brian Victor's Patch
[wxWidgets.git] / wxPython / src / _misc_rename.i
CommitLineData
d14a1e28
RD
1// A bunch of %rename directives generated by ./distrib/build_renamers.py
2// in order to remove the wx prefix from all global scope names.
3
bf5ff0c3 4#ifndef BUILDING_RENAMERS
d14a1e28
RD
5
6%rename(SYS_OEM_FIXED_FONT) wxSYS_OEM_FIXED_FONT;
7%rename(SYS_ANSI_FIXED_FONT) wxSYS_ANSI_FIXED_FONT;
8%rename(SYS_ANSI_VAR_FONT) wxSYS_ANSI_VAR_FONT;
9%rename(SYS_SYSTEM_FONT) wxSYS_SYSTEM_FONT;
10%rename(SYS_DEVICE_DEFAULT_FONT) wxSYS_DEVICE_DEFAULT_FONT;
11%rename(SYS_DEFAULT_PALETTE) wxSYS_DEFAULT_PALETTE;
12%rename(SYS_SYSTEM_FIXED_FONT) wxSYS_SYSTEM_FIXED_FONT;
13%rename(SYS_DEFAULT_GUI_FONT) wxSYS_DEFAULT_GUI_FONT;
14%rename(SYS_ICONTITLE_FONT) wxSYS_ICONTITLE_FONT;
15%rename(SYS_COLOUR_SCROLLBAR) wxSYS_COLOUR_SCROLLBAR;
16%rename(SYS_COLOUR_BACKGROUND) wxSYS_COLOUR_BACKGROUND;
17%rename(SYS_COLOUR_DESKTOP) wxSYS_COLOUR_DESKTOP;
18%rename(SYS_COLOUR_ACTIVECAPTION) wxSYS_COLOUR_ACTIVECAPTION;
19%rename(SYS_COLOUR_INACTIVECAPTION) wxSYS_COLOUR_INACTIVECAPTION;
20%rename(SYS_COLOUR_MENU) wxSYS_COLOUR_MENU;
21%rename(SYS_COLOUR_WINDOW) wxSYS_COLOUR_WINDOW;
22%rename(SYS_COLOUR_WINDOWFRAME) wxSYS_COLOUR_WINDOWFRAME;
23%rename(SYS_COLOUR_MENUTEXT) wxSYS_COLOUR_MENUTEXT;
24%rename(SYS_COLOUR_WINDOWTEXT) wxSYS_COLOUR_WINDOWTEXT;
25%rename(SYS_COLOUR_CAPTIONTEXT) wxSYS_COLOUR_CAPTIONTEXT;
26%rename(SYS_COLOUR_ACTIVEBORDER) wxSYS_COLOUR_ACTIVEBORDER;
27%rename(SYS_COLOUR_INACTIVEBORDER) wxSYS_COLOUR_INACTIVEBORDER;
28%rename(SYS_COLOUR_APPWORKSPACE) wxSYS_COLOUR_APPWORKSPACE;
29%rename(SYS_COLOUR_HIGHLIGHT) wxSYS_COLOUR_HIGHLIGHT;
30%rename(SYS_COLOUR_HIGHLIGHTTEXT) wxSYS_COLOUR_HIGHLIGHTTEXT;
31%rename(SYS_COLOUR_BTNFACE) wxSYS_COLOUR_BTNFACE;
32%rename(SYS_COLOUR_3DFACE) wxSYS_COLOUR_3DFACE;
33%rename(SYS_COLOUR_BTNSHADOW) wxSYS_COLOUR_BTNSHADOW;
34%rename(SYS_COLOUR_3DSHADOW) wxSYS_COLOUR_3DSHADOW;
35%rename(SYS_COLOUR_GRAYTEXT) wxSYS_COLOUR_GRAYTEXT;
36%rename(SYS_COLOUR_BTNTEXT) wxSYS_COLOUR_BTNTEXT;
37%rename(SYS_COLOUR_INACTIVECAPTIONTEXT) wxSYS_COLOUR_INACTIVECAPTIONTEXT;
38%rename(SYS_COLOUR_BTNHIGHLIGHT) wxSYS_COLOUR_BTNHIGHLIGHT;
39%rename(SYS_COLOUR_BTNHILIGHT) wxSYS_COLOUR_BTNHILIGHT;
40%rename(SYS_COLOUR_3DHIGHLIGHT) wxSYS_COLOUR_3DHIGHLIGHT;
41%rename(SYS_COLOUR_3DHILIGHT) wxSYS_COLOUR_3DHILIGHT;
42%rename(SYS_COLOUR_3DDKSHADOW) wxSYS_COLOUR_3DDKSHADOW;
43%rename(SYS_COLOUR_3DLIGHT) wxSYS_COLOUR_3DLIGHT;
44%rename(SYS_COLOUR_INFOTEXT) wxSYS_COLOUR_INFOTEXT;
45%rename(SYS_COLOUR_INFOBK) wxSYS_COLOUR_INFOBK;
46%rename(SYS_COLOUR_LISTBOX) wxSYS_COLOUR_LISTBOX;
47%rename(SYS_COLOUR_HOTLIGHT) wxSYS_COLOUR_HOTLIGHT;
48%rename(SYS_COLOUR_GRADIENTACTIVECAPTION) wxSYS_COLOUR_GRADIENTACTIVECAPTION;
49%rename(SYS_COLOUR_GRADIENTINACTIVECAPTION) wxSYS_COLOUR_GRADIENTINACTIVECAPTION;
50%rename(SYS_COLOUR_MENUHILIGHT) wxSYS_COLOUR_MENUHILIGHT;
51%rename(SYS_COLOUR_MENUBAR) wxSYS_COLOUR_MENUBAR;
52%rename(SYS_COLOUR_MAX) wxSYS_COLOUR_MAX;
53%rename(SYS_MOUSE_BUTTONS) wxSYS_MOUSE_BUTTONS;
54%rename(SYS_BORDER_X) wxSYS_BORDER_X;
55%rename(SYS_BORDER_Y) wxSYS_BORDER_Y;
56%rename(SYS_CURSOR_X) wxSYS_CURSOR_X;
57%rename(SYS_CURSOR_Y) wxSYS_CURSOR_Y;
58%rename(SYS_DCLICK_X) wxSYS_DCLICK_X;
59%rename(SYS_DCLICK_Y) wxSYS_DCLICK_Y;
60%rename(SYS_DRAG_X) wxSYS_DRAG_X;
61%rename(SYS_DRAG_Y) wxSYS_DRAG_Y;
62%rename(SYS_EDGE_X) wxSYS_EDGE_X;
63%rename(SYS_EDGE_Y) wxSYS_EDGE_Y;
64%rename(SYS_HSCROLL_ARROW_X) wxSYS_HSCROLL_ARROW_X;
65%rename(SYS_HSCROLL_ARROW_Y) wxSYS_HSCROLL_ARROW_Y;
66%rename(SYS_HTHUMB_X) wxSYS_HTHUMB_X;
67%rename(SYS_ICON_X) wxSYS_ICON_X;
68%rename(SYS_ICON_Y) wxSYS_ICON_Y;
69%rename(SYS_ICONSPACING_X) wxSYS_ICONSPACING_X;
70%rename(SYS_ICONSPACING_Y) wxSYS_ICONSPACING_Y;
71%rename(SYS_WINDOWMIN_X) wxSYS_WINDOWMIN_X;
72%rename(SYS_WINDOWMIN_Y) wxSYS_WINDOWMIN_Y;
73%rename(SYS_SCREEN_X) wxSYS_SCREEN_X;
74%rename(SYS_SCREEN_Y) wxSYS_SCREEN_Y;
75%rename(SYS_FRAMESIZE_X) wxSYS_FRAMESIZE_X;
76%rename(SYS_FRAMESIZE_Y) wxSYS_FRAMESIZE_Y;
77%rename(SYS_SMALLICON_X) wxSYS_SMALLICON_X;
78%rename(SYS_SMALLICON_Y) wxSYS_SMALLICON_Y;
79%rename(SYS_HSCROLL_Y) wxSYS_HSCROLL_Y;
80%rename(SYS_VSCROLL_X) wxSYS_VSCROLL_X;
81%rename(SYS_VSCROLL_ARROW_X) wxSYS_VSCROLL_ARROW_X;
82%rename(SYS_VSCROLL_ARROW_Y) wxSYS_VSCROLL_ARROW_Y;
83%rename(SYS_VTHUMB_Y) wxSYS_VTHUMB_Y;
84%rename(SYS_CAPTION_Y) wxSYS_CAPTION_Y;
85%rename(SYS_MENU_Y) wxSYS_MENU_Y;
86%rename(SYS_NETWORK_PRESENT) wxSYS_NETWORK_PRESENT;
87%rename(SYS_PENWINDOWS_PRESENT) wxSYS_PENWINDOWS_PRESENT;
88%rename(SYS_SHOW_SOUNDS) wxSYS_SHOW_SOUNDS;
89%rename(SYS_SWAP_BUTTONS) wxSYS_SWAP_BUTTONS;
90%rename(SYS_CAN_DRAW_FRAME_DECORATIONS) wxSYS_CAN_DRAW_FRAME_DECORATIONS;
91%rename(SYS_CAN_ICONIZE_FRAME) wxSYS_CAN_ICONIZE_FRAME;
92%rename(SYS_SCREEN_NONE) wxSYS_SCREEN_NONE;
93%rename(SYS_SCREEN_TINY) wxSYS_SCREEN_TINY;
94%rename(SYS_SCREEN_PDA) wxSYS_SCREEN_PDA;
95%rename(SYS_SCREEN_SMALL) wxSYS_SCREEN_SMALL;
96%rename(SYS_SCREEN_DESKTOP) wxSYS_SCREEN_DESKTOP;
97%rename(SystemSettings) wxSystemSettings;
98%rename(SystemOptions) wxSystemOptions;
99%rename(NewId) wxNewId;
100%rename(RegisterId) wxRegisterId;
101%rename(GetCurrentId) wxGetCurrentId;
102%rename(Bell) wxBell;
103%rename(EndBusyCursor) wxEndBusyCursor;
104%rename(GetElapsedTime) wxGetElapsedTime;
105%rename(GetMousePosition) wxGetMousePosition;
106%rename(IsBusy) wxIsBusy;
107%rename(Now) wxNow;
108%rename(Shell) wxShell;
109%rename(StartTimer) wxStartTimer;
110%rename(GetOsVersion) wxGetOsVersion;
111%rename(GetOsDescription) wxGetOsDescription;
112%rename(GetFreeMemory) wxGetFreeMemory;
113%rename(SHUTDOWN_POWEROFF) wxSHUTDOWN_POWEROFF;
114%rename(SHUTDOWN_REBOOT) wxSHUTDOWN_REBOOT;
115%rename(Shutdown) wxShutdown;
116%rename(Sleep) wxSleep;
117%rename(Usleep) wxUsleep;
118%rename(EnableTopLevelWindows) wxEnableTopLevelWindows;
119%rename(StripMenuCodes) wxStripMenuCodes;
120%rename(GetEmailAddress) wxGetEmailAddress;
121%rename(GetHostName) wxGetHostName;
122%rename(GetFullHostName) wxGetFullHostName;
123%rename(GetUserId) wxGetUserId;
124%rename(GetUserName) wxGetUserName;
125%rename(GetHomeDir) wxGetHomeDir;
126%rename(GetUserHome) wxGetUserHome;
127%rename(GetProcessId) wxGetProcessId;
128%rename(Trap) wxTrap;
129%rename(FileSelector) wxFileSelector;
130%rename(LoadFileSelector) wxLoadFileSelector;
131%rename(SaveFileSelector) wxSaveFileSelector;
132%rename(DirSelector) wxDirSelector;
133%rename(GetTextFromUser) wxGetTextFromUser;
134%rename(GetPasswordFromUser) wxGetPasswordFromUser;
135%rename(GetSingleChoice) wxGetSingleChoice;
136%rename(GetSingleChoiceIndex) wxGetSingleChoiceIndex;
137%rename(MessageBox) wxMessageBox;
138%rename(GetNumberFromUser) wxGetNumberFromUser;
139%rename(ColourDisplay) wxColourDisplay;
140%rename(DisplayDepth) wxDisplayDepth;
141%rename(GetDisplayDepth) wxGetDisplayDepth;
142%rename(DisplaySize) wxDisplaySize;
143%rename(GetDisplaySize) wxGetDisplaySize;
144%rename(DisplaySizeMM) wxDisplaySizeMM;
145%rename(GetDisplaySizeMM) wxGetDisplaySizeMM;
146%rename(ClientDisplayRect) wxClientDisplayRect;
147%rename(GetClientDisplayRect) wxGetClientDisplayRect;
148%rename(SetCursor) wxSetCursor;
149%rename(BeginBusyCursor) wxBeginBusyCursor;
150%rename(GetActiveWindow) wxGetActiveWindow;
151%rename(GenericFindWindowAtPoint) wxGenericFindWindowAtPoint;
152%rename(FindWindowAtPoint) wxFindWindowAtPoint;
153%rename(GetTopLevelParent) wxGetTopLevelParent;
154%rename(WakeUpMainThread) wxWakeUpMainThread;
155%rename(MutexGuiEnter) wxMutexGuiEnter;
156%rename(MutexGuiLeave) wxMutexGuiLeave;
157%rename(MutexGuiLocker) wxMutexGuiLocker;
158%rename(Thread_IsMain) wxThread_IsMain;
159%rename(ToolTip) wxToolTip;
160%rename(Caret) wxCaret;
161%rename(Caret_GetBlinkTime) wxCaret_GetBlinkTime;
162%rename(Caret_SetBlinkTime) wxCaret_SetBlinkTime;
163%rename(BusyCursor) wxBusyCursor;
164%rename(WindowDisabler) wxWindowDisabler;
165%rename(BusyInfo) wxBusyInfo;
166%rename(StopWatch) wxStopWatch;
167%rename(FileHistory) wxFileHistory;
168%rename(SingleInstanceChecker) wxSingleInstanceChecker;
169%rename(DrawWindowOnDC) wxDrawWindowOnDC;
170%rename(TipProvider) wxTipProvider;
171%rename(PyTipProvider) wxPyTipProvider;
172%rename(ShowTip) wxShowTip;
173%rename(CreateFileTipProvider) wxCreateFileTipProvider;
174%rename(TIMER_CONTINUOUS) wxTIMER_CONTINUOUS;
175%rename(TIMER_ONE_SHOT) wxTIMER_ONE_SHOT;
176%rename(TimerEvent) wxTimerEvent;
177%rename(TimerRunner) wxTimerRunner;
178%rename(LOG_FatalError) wxLOG_FatalError;
179%rename(LOG_Error) wxLOG_Error;
180%rename(LOG_Warning) wxLOG_Warning;
181%rename(LOG_Message) wxLOG_Message;
182%rename(LOG_Status) wxLOG_Status;
183%rename(LOG_Info) wxLOG_Info;
184%rename(LOG_Debug) wxLOG_Debug;
185%rename(LOG_Trace) wxLOG_Trace;
186%rename(LOG_Progress) wxLOG_Progress;
187%rename(LOG_User) wxLOG_User;
188%rename(LOG_Max) wxLOG_Max;
189%rename(TRACE_MemAlloc) wxTRACE_MemAlloc;
190%rename(TRACE_Messages) wxTRACE_Messages;
191%rename(TRACE_ResAlloc) wxTRACE_ResAlloc;
192%rename(TRACE_RefCount) wxTRACE_RefCount;
193%rename(TRACE_OleCalls) wxTRACE_OleCalls;
194%rename(TraceMemAlloc) wxTraceMemAlloc;
195%rename(TraceMessages) wxTraceMessages;
196%rename(TraceResAlloc) wxTraceResAlloc;
197%rename(TraceRefCount) wxTraceRefCount;
198%rename(TraceOleCalls) wxTraceOleCalls;
199%rename(Log) wxLog;
200%rename(LogStderr) wxLogStderr;
201%rename(LogTextCtrl) wxLogTextCtrl;
202%rename(LogGui) wxLogGui;
203%rename(LogWindow) wxLogWindow;
204%rename(LogChain) wxLogChain;
205%rename(SysErrorCode) wxSysErrorCode;
206%rename(SysErrorMsg) wxSysErrorMsg;
207%rename(LogFatalError) wxLogFatalError;
208%rename(LogError) wxLogError;
209%rename(LogWarning) wxLogWarning;
210%rename(LogMessage) wxLogMessage;
211%rename(LogInfo) wxLogInfo;
212%rename(LogDebug) wxLogDebug;
213%rename(LogVerbose) wxLogVerbose;
214%rename(LogStatus) wxLogStatus;
215%rename(LogSysError) wxLogSysError;
216%rename(LogTrace) wxLogTrace;
1b9631c9 217%rename(LogTrace) wxLogTrace;
d14a1e28
RD
218%rename(LogGeneric) wxLogGeneric;
219%rename(SafeShowMessage) wxSafeShowMessage;
220%rename(LogNull) wxLogNull;
221%rename(PyLog) wxPyLog;
222%rename(PROCESS_DEFAULT) wxPROCESS_DEFAULT;
223%rename(PROCESS_REDIRECT) wxPROCESS_REDIRECT;
224%rename(KILL_OK) wxKILL_OK;
225%rename(KILL_BAD_SIGNAL) wxKILL_BAD_SIGNAL;
226%rename(KILL_ACCESS_DENIED) wxKILL_ACCESS_DENIED;
227%rename(KILL_NO_PROCESS) wxKILL_NO_PROCESS;
228%rename(KILL_ERROR) wxKILL_ERROR;
229%rename(SIGNONE) wxSIGNONE;
230%rename(SIGHUP) wxSIGHUP;
231%rename(SIGINT) wxSIGINT;
232%rename(SIGQUIT) wxSIGQUIT;
233%rename(SIGILL) wxSIGILL;
234%rename(SIGTRAP) wxSIGTRAP;
235%rename(SIGABRT) wxSIGABRT;
236%rename(SIGIOT) wxSIGIOT;
237%rename(SIGEMT) wxSIGEMT;
238%rename(SIGFPE) wxSIGFPE;
239%rename(SIGKILL) wxSIGKILL;
240%rename(SIGBUS) wxSIGBUS;
241%rename(SIGSEGV) wxSIGSEGV;
242%rename(SIGSYS) wxSIGSYS;
243%rename(SIGPIPE) wxSIGPIPE;
244%rename(SIGALRM) wxSIGALRM;
245%rename(SIGTERM) wxSIGTERM;
246%rename(ProcessEvent) wxProcessEvent;
247%rename(EXEC_ASYNC) wxEXEC_ASYNC;
248%rename(EXEC_SYNC) wxEXEC_SYNC;
249%rename(EXEC_NOHIDE) wxEXEC_NOHIDE;
250%rename(EXEC_MAKE_GROUP_LEADER) wxEXEC_MAKE_GROUP_LEADER;
251%rename(Execute) wxExecute;
252%rename(JOYSTICK1) wxJOYSTICK1;
253%rename(JOYSTICK2) wxJOYSTICK2;
254%rename(JOY_BUTTON_ANY) wxJOY_BUTTON_ANY;
255%rename(JOY_BUTTON1) wxJOY_BUTTON1;
256%rename(JOY_BUTTON2) wxJOY_BUTTON2;
257%rename(JOY_BUTTON3) wxJOY_BUTTON3;
258%rename(JOY_BUTTON4) wxJOY_BUTTON4;
259%rename(Joystick) wxJoystick;
260%rename(JoystickEvent) wxJoystickEvent;
261%rename(Wave) wxWave;
262%rename(MAILCAP_STANDARD) wxMAILCAP_STANDARD;
263%rename(MAILCAP_NETSCAPE) wxMAILCAP_NETSCAPE;
264%rename(MAILCAP_KDE) wxMAILCAP_KDE;
265%rename(MAILCAP_GNOME) wxMAILCAP_GNOME;
266%rename(MAILCAP_ALL) wxMAILCAP_ALL;
267%rename(FileTypeInfo) wxFileTypeInfo;
268%rename(FileType) wxFileType;
269%rename(TheMimeTypesManager) wxTheMimeTypesManager;
270%rename(MimeTypesManager) wxMimeTypesManager;
271%rename(CONFIG_USE_LOCAL_FILE) wxCONFIG_USE_LOCAL_FILE;
272%rename(CONFIG_USE_GLOBAL_FILE) wxCONFIG_USE_GLOBAL_FILE;
273%rename(CONFIG_USE_RELATIVE_PATH) wxCONFIG_USE_RELATIVE_PATH;
274%rename(CONFIG_USE_NO_ESCAPE_CHARACTERS) wxCONFIG_USE_NO_ESCAPE_CHARACTERS;
275%rename(ConfigBase) wxConfigBase;
276%rename(ConfigPathChanger) wxConfigPathChanger;
277%rename(Config) wxConfig;
278%rename(FileConfig) wxFileConfig;
279%rename(ExpandEnvVars) wxExpandEnvVars;
280%rename(DateTime) wxDateTime;
281%rename(TimeSpan) wxTimeSpan;
282%rename(DateSpan) wxDateSpan;
283%rename(GetLocalTime) wxGetLocalTime;
284%rename(GetUTCTime) wxGetUTCTime;
285%rename(GetCurrentTime) wxGetCurrentTime;
286%rename(GetLocalTimeMillis) wxGetLocalTimeMillis;
287%rename(DF_INVALID) wxDF_INVALID;
288%rename(DF_TEXT) wxDF_TEXT;
289%rename(DF_BITMAP) wxDF_BITMAP;
290%rename(DF_METAFILE) wxDF_METAFILE;
291%rename(DF_SYLK) wxDF_SYLK;
292%rename(DF_DIF) wxDF_DIF;
293%rename(DF_TIFF) wxDF_TIFF;
294%rename(DF_OEMTEXT) wxDF_OEMTEXT;
295%rename(DF_DIB) wxDF_DIB;
296%rename(DF_PALETTE) wxDF_PALETTE;
297%rename(DF_PENDATA) wxDF_PENDATA;
298%rename(DF_RIFF) wxDF_RIFF;
299%rename(DF_WAVE) wxDF_WAVE;
300%rename(DF_UNICODETEXT) wxDF_UNICODETEXT;
301%rename(DF_ENHMETAFILE) wxDF_ENHMETAFILE;
302%rename(DF_FILENAME) wxDF_FILENAME;
303%rename(DF_LOCALE) wxDF_LOCALE;
304%rename(DF_PRIVATE) wxDF_PRIVATE;
305%rename(DF_HTML) wxDF_HTML;
306%rename(DF_MAX) wxDF_MAX;
307%rename(DataFormat) wxDataFormat;
308%rename(FormatInvalid) wxFormatInvalid;
309%rename(DataObject) wxDataObject;
310%rename(DataObjectSimple) wxDataObjectSimple;
311%rename(PyDataObjectSimple) wxPyDataObjectSimple;
312%rename(DataObjectComposite) wxDataObjectComposite;
313%rename(TextDataObject) wxTextDataObject;
314%rename(PyTextDataObject) wxPyTextDataObject;
315%rename(BitmapDataObject) wxBitmapDataObject;
316%rename(PyBitmapDataObject) wxPyBitmapDataObject;
317%rename(FileDataObject) wxFileDataObject;
318%rename(CustomDataObject) wxCustomDataObject;
319%rename(URLDataObject) wxURLDataObject;
320%rename(MetafileDataObject) wxMetafileDataObject;
321%rename(Drag_CopyOnly) wxDrag_CopyOnly;
322%rename(Drag_AllowMove) wxDrag_AllowMove;
323%rename(Drag_DefaultMove) wxDrag_DefaultMove;
324%rename(DragError) wxDragError;
325%rename(DragNone) wxDragNone;
326%rename(DragCopy) wxDragCopy;
327%rename(DragMove) wxDragMove;
328%rename(DragLink) wxDragLink;
329%rename(DragCancel) wxDragCancel;
330%rename(IsDragResultOk) wxIsDragResultOk;
331%rename(Clipboard) wxClipboard;
332%rename(TheClipboard) wxTheClipboard;
333%rename(ClipboardLocker) wxClipboardLocker;
334
335#endif