]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/_misc_rename.i
In GSocket_Destroy reorder GUI_Destroy and Shutdown when compiling for Darwin.
[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;
d03fd34d 154%rename(GetKeyState) wxGetKeyState;
d14a1e28
RD
155%rename(WakeUpMainThread) wxWakeUpMainThread;
156%rename(MutexGuiEnter) wxMutexGuiEnter;
157%rename(MutexGuiLeave) wxMutexGuiLeave;
158%rename(MutexGuiLocker) wxMutexGuiLocker;
159%rename(Thread_IsMain) wxThread_IsMain;
160%rename(ToolTip) wxToolTip;
161%rename(Caret) wxCaret;
162%rename(Caret_GetBlinkTime) wxCaret_GetBlinkTime;
163%rename(Caret_SetBlinkTime) wxCaret_SetBlinkTime;
164%rename(BusyCursor) wxBusyCursor;
165%rename(WindowDisabler) wxWindowDisabler;
166%rename(BusyInfo) wxBusyInfo;
167%rename(StopWatch) wxStopWatch;
168%rename(FileHistory) wxFileHistory;
169%rename(SingleInstanceChecker) wxSingleInstanceChecker;
170%rename(DrawWindowOnDC) wxDrawWindowOnDC;
171%rename(TipProvider) wxTipProvider;
172%rename(PyTipProvider) wxPyTipProvider;
173%rename(ShowTip) wxShowTip;
174%rename(CreateFileTipProvider) wxCreateFileTipProvider;
175%rename(TIMER_CONTINUOUS) wxTIMER_CONTINUOUS;
176%rename(TIMER_ONE_SHOT) wxTIMER_ONE_SHOT;
177%rename(TimerEvent) wxTimerEvent;
178%rename(TimerRunner) wxTimerRunner;
179%rename(LOG_FatalError) wxLOG_FatalError;
180%rename(LOG_Error) wxLOG_Error;
181%rename(LOG_Warning) wxLOG_Warning;
182%rename(LOG_Message) wxLOG_Message;
183%rename(LOG_Status) wxLOG_Status;
184%rename(LOG_Info) wxLOG_Info;
185%rename(LOG_Debug) wxLOG_Debug;
186%rename(LOG_Trace) wxLOG_Trace;
187%rename(LOG_Progress) wxLOG_Progress;
188%rename(LOG_User) wxLOG_User;
189%rename(LOG_Max) wxLOG_Max;
190%rename(TRACE_MemAlloc) wxTRACE_MemAlloc;
191%rename(TRACE_Messages) wxTRACE_Messages;
192%rename(TRACE_ResAlloc) wxTRACE_ResAlloc;
193%rename(TRACE_RefCount) wxTRACE_RefCount;
194%rename(TRACE_OleCalls) wxTRACE_OleCalls;
195%rename(TraceMemAlloc) wxTraceMemAlloc;
196%rename(TraceMessages) wxTraceMessages;
197%rename(TraceResAlloc) wxTraceResAlloc;
198%rename(TraceRefCount) wxTraceRefCount;
199%rename(TraceOleCalls) wxTraceOleCalls;
200%rename(Log) wxLog;
201%rename(LogStderr) wxLogStderr;
202%rename(LogTextCtrl) wxLogTextCtrl;
203%rename(LogGui) wxLogGui;
204%rename(LogWindow) wxLogWindow;
205%rename(LogChain) wxLogChain;
206%rename(SysErrorCode) wxSysErrorCode;
207%rename(SysErrorMsg) wxSysErrorMsg;
208%rename(LogFatalError) wxLogFatalError;
209%rename(LogError) wxLogError;
210%rename(LogWarning) wxLogWarning;
211%rename(LogMessage) wxLogMessage;
212%rename(LogInfo) wxLogInfo;
213%rename(LogDebug) wxLogDebug;
214%rename(LogVerbose) wxLogVerbose;
215%rename(LogStatus) wxLogStatus;
216%rename(LogSysError) wxLogSysError;
217%rename(LogTrace) wxLogTrace;
1b9631c9 218%rename(LogTrace) wxLogTrace;
d14a1e28
RD
219%rename(LogGeneric) wxLogGeneric;
220%rename(SafeShowMessage) wxSafeShowMessage;
221%rename(LogNull) wxLogNull;
222%rename(PyLog) wxPyLog;
223%rename(PROCESS_DEFAULT) wxPROCESS_DEFAULT;
224%rename(PROCESS_REDIRECT) wxPROCESS_REDIRECT;
225%rename(KILL_OK) wxKILL_OK;
226%rename(KILL_BAD_SIGNAL) wxKILL_BAD_SIGNAL;
227%rename(KILL_ACCESS_DENIED) wxKILL_ACCESS_DENIED;
228%rename(KILL_NO_PROCESS) wxKILL_NO_PROCESS;
229%rename(KILL_ERROR) wxKILL_ERROR;
230%rename(SIGNONE) wxSIGNONE;
231%rename(SIGHUP) wxSIGHUP;
232%rename(SIGINT) wxSIGINT;
233%rename(SIGQUIT) wxSIGQUIT;
234%rename(SIGILL) wxSIGILL;
235%rename(SIGTRAP) wxSIGTRAP;
236%rename(SIGABRT) wxSIGABRT;
237%rename(SIGIOT) wxSIGIOT;
238%rename(SIGEMT) wxSIGEMT;
239%rename(SIGFPE) wxSIGFPE;
240%rename(SIGKILL) wxSIGKILL;
241%rename(SIGBUS) wxSIGBUS;
242%rename(SIGSEGV) wxSIGSEGV;
243%rename(SIGSYS) wxSIGSYS;
244%rename(SIGPIPE) wxSIGPIPE;
245%rename(SIGALRM) wxSIGALRM;
246%rename(SIGTERM) wxSIGTERM;
247%rename(ProcessEvent) wxProcessEvent;
248%rename(EXEC_ASYNC) wxEXEC_ASYNC;
249%rename(EXEC_SYNC) wxEXEC_SYNC;
250%rename(EXEC_NOHIDE) wxEXEC_NOHIDE;
251%rename(EXEC_MAKE_GROUP_LEADER) wxEXEC_MAKE_GROUP_LEADER;
252%rename(Execute) wxExecute;
253%rename(JOYSTICK1) wxJOYSTICK1;
254%rename(JOYSTICK2) wxJOYSTICK2;
255%rename(JOY_BUTTON_ANY) wxJOY_BUTTON_ANY;
256%rename(JOY_BUTTON1) wxJOY_BUTTON1;
257%rename(JOY_BUTTON2) wxJOY_BUTTON2;
258%rename(JOY_BUTTON3) wxJOY_BUTTON3;
259%rename(JOY_BUTTON4) wxJOY_BUTTON4;
260%rename(Joystick) wxJoystick;
261%rename(JoystickEvent) wxJoystickEvent;
262%rename(Wave) wxWave;
263%rename(MAILCAP_STANDARD) wxMAILCAP_STANDARD;
264%rename(MAILCAP_NETSCAPE) wxMAILCAP_NETSCAPE;
265%rename(MAILCAP_KDE) wxMAILCAP_KDE;
266%rename(MAILCAP_GNOME) wxMAILCAP_GNOME;
267%rename(MAILCAP_ALL) wxMAILCAP_ALL;
268%rename(FileTypeInfo) wxFileTypeInfo;
269%rename(FileType) wxFileType;
270%rename(TheMimeTypesManager) wxTheMimeTypesManager;
271%rename(MimeTypesManager) wxMimeTypesManager;
272%rename(CONFIG_USE_LOCAL_FILE) wxCONFIG_USE_LOCAL_FILE;
273%rename(CONFIG_USE_GLOBAL_FILE) wxCONFIG_USE_GLOBAL_FILE;
274%rename(CONFIG_USE_RELATIVE_PATH) wxCONFIG_USE_RELATIVE_PATH;
275%rename(CONFIG_USE_NO_ESCAPE_CHARACTERS) wxCONFIG_USE_NO_ESCAPE_CHARACTERS;
276%rename(ConfigBase) wxConfigBase;
277%rename(ConfigPathChanger) wxConfigPathChanger;
278%rename(Config) wxConfig;
279%rename(FileConfig) wxFileConfig;
280%rename(ExpandEnvVars) wxExpandEnvVars;
281%rename(DateTime) wxDateTime;
282%rename(TimeSpan) wxTimeSpan;
283%rename(DateSpan) wxDateSpan;
284%rename(GetLocalTime) wxGetLocalTime;
285%rename(GetUTCTime) wxGetUTCTime;
286%rename(GetCurrentTime) wxGetCurrentTime;
287%rename(GetLocalTimeMillis) wxGetLocalTimeMillis;
288%rename(DF_INVALID) wxDF_INVALID;
289%rename(DF_TEXT) wxDF_TEXT;
290%rename(DF_BITMAP) wxDF_BITMAP;
291%rename(DF_METAFILE) wxDF_METAFILE;
292%rename(DF_SYLK) wxDF_SYLK;
293%rename(DF_DIF) wxDF_DIF;
294%rename(DF_TIFF) wxDF_TIFF;
295%rename(DF_OEMTEXT) wxDF_OEMTEXT;
296%rename(DF_DIB) wxDF_DIB;
297%rename(DF_PALETTE) wxDF_PALETTE;
298%rename(DF_PENDATA) wxDF_PENDATA;
299%rename(DF_RIFF) wxDF_RIFF;
300%rename(DF_WAVE) wxDF_WAVE;
301%rename(DF_UNICODETEXT) wxDF_UNICODETEXT;
302%rename(DF_ENHMETAFILE) wxDF_ENHMETAFILE;
303%rename(DF_FILENAME) wxDF_FILENAME;
304%rename(DF_LOCALE) wxDF_LOCALE;
305%rename(DF_PRIVATE) wxDF_PRIVATE;
306%rename(DF_HTML) wxDF_HTML;
307%rename(DF_MAX) wxDF_MAX;
308%rename(DataFormat) wxDataFormat;
309%rename(FormatInvalid) wxFormatInvalid;
310%rename(DataObject) wxDataObject;
311%rename(DataObjectSimple) wxDataObjectSimple;
312%rename(PyDataObjectSimple) wxPyDataObjectSimple;
313%rename(DataObjectComposite) wxDataObjectComposite;
314%rename(TextDataObject) wxTextDataObject;
315%rename(PyTextDataObject) wxPyTextDataObject;
316%rename(BitmapDataObject) wxBitmapDataObject;
317%rename(PyBitmapDataObject) wxPyBitmapDataObject;
318%rename(FileDataObject) wxFileDataObject;
319%rename(CustomDataObject) wxCustomDataObject;
320%rename(URLDataObject) wxURLDataObject;
321%rename(MetafileDataObject) wxMetafileDataObject;
322%rename(Drag_CopyOnly) wxDrag_CopyOnly;
323%rename(Drag_AllowMove) wxDrag_AllowMove;
324%rename(Drag_DefaultMove) wxDrag_DefaultMove;
325%rename(DragError) wxDragError;
326%rename(DragNone) wxDragNone;
327%rename(DragCopy) wxDragCopy;
328%rename(DragMove) wxDragMove;
329%rename(DragLink) wxDragLink;
330%rename(DragCancel) wxDragCancel;
331%rename(IsDragResultOk) wxIsDragResultOk;
332%rename(Clipboard) wxClipboard;
333%rename(TheClipboard) wxTheClipboard;
334%rename(ClipboardLocker) wxClipboardLocker;
335
336#endif