]>
Commit | Line | Data |
---|---|---|
d24a34bb RD |
1 | # This file was created automatically by SWIG. |
2 | import misc2c | |
3 | ||
4 | from windows import * | |
5 | ||
6 | from misc import * | |
7 | ||
8 | from gdi import * | |
4120ef2b | 9 | |
a323d3bd RD |
10 | from fonts import * |
11 | ||
4120ef2b RD |
12 | from clip_dnd import * |
13 | ||
14 | from events import * | |
c368d904 RD |
15 | |
16 | from streams import * | |
93283355 RD |
17 | |
18 | from utils import * | |
c81fd4b9 RD |
19 | |
20 | # Art clients | |
21 | wxART_TOOLBAR = 'wxART_TOOLBAR_C' | |
22 | wxART_MENU = 'wxART_MENU_C' | |
23 | wxART_FRAME_ICON = 'wxART_FRAME_ICON_C' | |
24 | wxART_CMN_DIALOG = 'wxART_CMN_DIALOG_C' | |
25 | wxART_HELP_BROWSER = 'wxART_HELP_BROWSER_C' | |
26 | wxART_MESSAGE_BOX = 'wxART_MESSAGE_BOX_C' | |
27 | wxART_OTHER = 'wxART_OTHER_C' | |
28 | ||
29 | # Art IDs | |
30 | wxART_ADD_BOOKMARK = 'wxART_ADD_BOOKMARK' | |
31 | wxART_DEL_BOOKMARK = 'wxART_DEL_BOOKMARK' | |
32 | wxART_HELP_SIDE_PANEL = 'wxART_HELP_SIDE_PANEL' | |
33 | wxART_HELP_SETTINGS = 'wxART_HELP_SETTINGS' | |
34 | wxART_HELP_BOOK = 'wxART_HELP_BOOK' | |
35 | wxART_HELP_FOLDER = 'wxART_HELP_FOLDER' | |
36 | wxART_HELP_PAGE = 'wxART_HELP_PAGE' | |
37 | wxART_GO_BACK = 'wxART_GO_BACK' | |
38 | wxART_GO_FORWARD = 'wxART_GO_FORWARD' | |
39 | wxART_GO_UP = 'wxART_GO_UP' | |
40 | wxART_GO_DOWN = 'wxART_GO_DOWN' | |
41 | wxART_GO_TO_PARENT = 'wxART_GO_TO_PARENT' | |
42 | wxART_GO_HOME = 'wxART_GO_HOME' | |
43 | wxART_FILE_OPEN = 'wxART_FILE_OPEN' | |
44 | wxART_PRINT = 'wxART_PRINT' | |
45 | wxART_HELP = 'wxART_HELP' | |
46 | wxART_TIP = 'wxART_TIP' | |
47 | wxART_REPORT_VIEW = 'wxART_REPORT_VIEW' | |
48 | wxART_LIST_VIEW = 'wxART_LIST_VIEW' | |
49 | wxART_NEW_DIR = 'wxART_NEW_DIR' | |
50 | wxART_FOLDER = 'wxART_FOLDER' | |
51 | wxART_GO_DIR_UP = 'wxART_GO_DIR_UP' | |
52 | wxART_EXECUTABLE_FILE = 'wxART_EXECUTABLE_FILE' | |
53 | wxART_NORMAL_FILE = 'wxART_NORMAL_FILE' | |
54 | wxART_TICK_MARK = 'wxART_TICK_MARK' | |
55 | wxART_CROSS_MARK = 'wxART_CROSS_MARK' | |
56 | wxART_ERROR = 'wxART_ERROR' | |
57 | wxART_QUESTION = 'wxART_QUESTION' | |
58 | wxART_WARNING = 'wxART_WARNING' | |
59 | wxART_INFORMATION = 'wxART_INFORMATION' | |
60 | ||
1893b029 RD |
61 | class wxSystemSettingsPtr : |
62 | def __init__(self,this): | |
63 | self.this = this | |
64 | self.thisown = 0 | |
65 | def __repr__(self): | |
66 | return "<C wxSystemSettings instance at %s>" % (self.this,) | |
67 | class wxSystemSettings(wxSystemSettingsPtr): | |
68 | def __init__(self,this): | |
69 | self.this = this | |
70 | ||
71 | ||
72 | ||
73 | ||
9df61a29 | 74 | class wxToolTipPtr(wxObjectPtr): |
d24a34bb RD |
75 | def __init__(self,this): |
76 | self.this = this | |
77 | self.thisown = 0 | |
2d091820 RD |
78 | def SetTip(self, *_args, **_kwargs): |
79 | val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs) | |
d24a34bb | 80 | return val |
2d091820 RD |
81 | def GetTip(self, *_args, **_kwargs): |
82 | val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs) | |
d24a34bb | 83 | return val |
2d091820 RD |
84 | def GetWindow(self, *_args, **_kwargs): |
85 | val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs) | |
d24a34bb RD |
86 | return val |
87 | def __repr__(self): | |
2d091820 | 88 | return "<C wxToolTip instance at %s>" % (self.this,) |
d24a34bb | 89 | class wxToolTip(wxToolTipPtr): |
2d091820 RD |
90 | def __init__(self,*_args,**_kwargs): |
91 | self.this = apply(misc2c.new_wxToolTip,_args,_kwargs) | |
d24a34bb RD |
92 | self.thisown = 1 |
93 | ||
94 | ||
95 | ||
96 | ||
8f17924e RD |
97 | class wxCaretPtr : |
98 | def __init__(self,this): | |
99 | self.this = this | |
100 | self.thisown = 0 | |
b67a9327 RD |
101 | def __del__(self, delfunc=misc2c.delete_wxCaret): |
102 | if self.thisown == 1: | |
103 | try: | |
104 | delfunc(self) | |
105 | except: | |
106 | pass | |
8f17924e RD |
107 | def IsOk(self, *_args, **_kwargs): |
108 | val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs) | |
109 | return val | |
110 | def IsVisible(self, *_args, **_kwargs): | |
111 | val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs) | |
112 | return val | |
113 | def GetPositionTuple(self, *_args, **_kwargs): | |
114 | val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs) | |
115 | return val | |
116 | def GetPosition(self, *_args, **_kwargs): | |
117 | val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs) | |
118 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
119 | return val | |
120 | def GetSizeTuple(self, *_args, **_kwargs): | |
121 | val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs) | |
122 | return val | |
123 | def GetSize(self, *_args, **_kwargs): | |
124 | val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs) | |
125 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
126 | return val | |
127 | def GetWindow(self, *_args, **_kwargs): | |
128 | val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs) | |
8f17924e RD |
129 | return val |
130 | def MoveXY(self, *_args, **_kwargs): | |
131 | val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs) | |
132 | return val | |
133 | def Move(self, *_args, **_kwargs): | |
134 | val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs) | |
135 | return val | |
e02c03a4 RD |
136 | def SetSizeWH(self, *_args, **_kwargs): |
137 | val = apply(misc2c.wxCaret_SetSizeWH,(self,) + _args, _kwargs) | |
138 | return val | |
139 | def SetSize(self, *_args, **_kwargs): | |
140 | val = apply(misc2c.wxCaret_SetSize,(self,) + _args, _kwargs) | |
141 | return val | |
8f17924e RD |
142 | def Show(self, *_args, **_kwargs): |
143 | val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs) | |
144 | return val | |
145 | def Hide(self, *_args, **_kwargs): | |
146 | val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs) | |
147 | return val | |
8f17924e RD |
148 | def __repr__(self): |
149 | return "<C wxCaret instance at %s>" % (self.this,) | |
150 | class wxCaret(wxCaretPtr): | |
151 | def __init__(self,*_args,**_kwargs): | |
152 | self.this = apply(misc2c.new_wxCaret,_args,_kwargs) | |
153 | self.thisown = 1 | |
154 | ||
155 | ||
156 | ||
157 | ||
4120ef2b RD |
158 | class wxBusyCursorPtr : |
159 | def __init__(self,this): | |
160 | self.this = this | |
161 | self.thisown = 0 | |
b67a9327 RD |
162 | def __del__(self, delfunc=misc2c.delete_wxBusyCursor): |
163 | if self.thisown == 1: | |
164 | try: | |
165 | delfunc(self) | |
166 | except: | |
167 | pass | |
4120ef2b RD |
168 | def __repr__(self): |
169 | return "<C wxBusyCursor instance at %s>" % (self.this,) | |
170 | class wxBusyCursor(wxBusyCursorPtr): | |
171 | def __init__(self,*_args,**_kwargs): | |
172 | self.this = apply(misc2c.new_wxBusyCursor,_args,_kwargs) | |
173 | self.thisown = 1 | |
174 | ||
175 | ||
176 | ||
177 | ||
c368d904 RD |
178 | class wxWindowDisablerPtr : |
179 | def __init__(self,this): | |
180 | self.this = this | |
181 | self.thisown = 0 | |
b67a9327 RD |
182 | def __del__(self, delfunc=misc2c.delete_wxWindowDisabler): |
183 | if self.thisown == 1: | |
184 | try: | |
185 | delfunc(self) | |
186 | except: | |
187 | pass | |
c368d904 RD |
188 | def __repr__(self): |
189 | return "<C wxWindowDisabler instance at %s>" % (self.this,) | |
190 | class wxWindowDisabler(wxWindowDisablerPtr): | |
191 | def __init__(self,*_args,**_kwargs): | |
192 | self.this = apply(misc2c.new_wxWindowDisabler,_args,_kwargs) | |
193 | self.thisown = 1 | |
194 | ||
195 | ||
196 | ||
197 | ||
4662be59 RD |
198 | class wxMutexGuiLockerPtr : |
199 | def __init__(self,this): | |
200 | self.this = this | |
201 | self.thisown = 0 | |
b67a9327 RD |
202 | def __del__(self, delfunc=misc2c.delete_wxMutexGuiLocker): |
203 | if self.thisown == 1: | |
204 | try: | |
205 | delfunc(self) | |
206 | except: | |
207 | pass | |
4662be59 RD |
208 | def __repr__(self): |
209 | return "<C wxMutexGuiLocker instance at %s>" % (self.this,) | |
210 | class wxMutexGuiLocker(wxMutexGuiLockerPtr): | |
211 | def __init__(self,*_args,**_kwargs): | |
212 | self.this = apply(misc2c.new_wxMutexGuiLocker,_args,_kwargs) | |
213 | self.thisown = 1 | |
214 | ||
215 | ||
216 | ||
217 | ||
f6bcfd97 BP |
218 | class wxTipProviderPtr : |
219 | def __init__(self,this): | |
220 | self.this = this | |
221 | self.thisown = 0 | |
b67a9327 RD |
222 | def __del__(self, delfunc=misc2c.delete_wxTipProvider): |
223 | if self.thisown == 1: | |
224 | try: | |
225 | delfunc(self) | |
226 | except: | |
227 | pass | |
f6bcfd97 BP |
228 | def GetTip(self, *_args, **_kwargs): |
229 | val = apply(misc2c.wxTipProvider_GetTip,(self,) + _args, _kwargs) | |
230 | return val | |
231 | def GetCurrentTip(self, *_args, **_kwargs): | |
232 | val = apply(misc2c.wxTipProvider_GetCurrentTip,(self,) + _args, _kwargs) | |
233 | return val | |
4eb65923 RD |
234 | def PreprocessTip(self, *_args, **_kwargs): |
235 | val = apply(misc2c.wxTipProvider_PreprocessTip,(self,) + _args, _kwargs) | |
236 | return val | |
f6bcfd97 BP |
237 | def __repr__(self): |
238 | return "<C wxTipProvider instance at %s>" % (self.this,) | |
239 | class wxTipProvider(wxTipProviderPtr): | |
240 | def __init__(self,this): | |
241 | self.this = this | |
242 | ||
243 | ||
244 | ||
245 | ||
246 | class wxPyTipProviderPtr(wxTipProviderPtr): | |
247 | def __init__(self,this): | |
248 | self.this = this | |
249 | self.thisown = 0 | |
d99400b2 RD |
250 | def _setCallbackInfo(self, *_args, **_kwargs): |
251 | val = apply(misc2c.wxPyTipProvider__setCallbackInfo,(self,) + _args, _kwargs) | |
252 | return val | |
f6bcfd97 BP |
253 | def __repr__(self): |
254 | return "<C wxPyTipProvider instance at %s>" % (self.this,) | |
255 | class wxPyTipProvider(wxPyTipProviderPtr): | |
256 | def __init__(self,*_args,**_kwargs): | |
257 | self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs) | |
258 | self.thisown = 1 | |
d99400b2 | 259 | self._setCallbackInfo(self, wxPyTipProvider) |
f6bcfd97 BP |
260 | |
261 | ||
262 | ||
263 | ||
9df61a29 | 264 | class wxDragImagePtr(wxObjectPtr): |
f6bcfd97 BP |
265 | def __init__(self,this): |
266 | self.this = this | |
267 | self.thisown = 0 | |
b67a9327 RD |
268 | def __del__(self, delfunc=misc2c.delete_wxDragImage): |
269 | if self.thisown == 1: | |
270 | try: | |
271 | delfunc(self) | |
272 | except: | |
273 | pass | |
4dfaa61e RD |
274 | def SetBackingBitmap(self, *_args, **_kwargs): |
275 | val = apply(misc2c.wxDragImage_SetBackingBitmap,(self,) + _args, _kwargs) | |
276 | return val | |
f6bcfd97 BP |
277 | def BeginDrag(self, *_args, **_kwargs): |
278 | val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs) | |
279 | return val | |
b67a9327 RD |
280 | def BeginDragBounded(self, *_args, **_kwargs): |
281 | val = apply(misc2c.wxDragImage_BeginDragBounded,(self,) + _args, _kwargs) | |
f6bcfd97 BP |
282 | return val |
283 | def EndDrag(self, *_args, **_kwargs): | |
284 | val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs) | |
285 | return val | |
286 | def Move(self, *_args, **_kwargs): | |
287 | val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs) | |
288 | return val | |
289 | def Show(self, *_args, **_kwargs): | |
290 | val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs) | |
291 | return val | |
292 | def Hide(self, *_args, **_kwargs): | |
293 | val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs) | |
294 | return val | |
295 | def GetImageRect(self, *_args, **_kwargs): | |
296 | val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs) | |
297 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
298 | return val | |
299 | def RedrawImage(self, *_args, **_kwargs): | |
300 | val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs) | |
301 | return val | |
302 | def __repr__(self): | |
303 | return "<C wxDragImage instance at %s>" % (self.this,) | |
b67a9327 | 304 | BeginDrag2 = BeginDragBounded |
f6bcfd97 BP |
305 | class wxDragImage(wxDragImagePtr): |
306 | def __init__(self,*_args,**_kwargs): | |
307 | self.this = apply(misc2c.new_wxDragImage,_args,_kwargs) | |
308 | self.thisown = 1 | |
309 | ||
310 | ||
311 | ||
059a841c RD |
312 | def wxDragIcon(*_args,**_kwargs): |
313 | val = wxDragImagePtr(apply(misc2c.new_wxDragIcon,_args,_kwargs)) | |
314 | val.thisown = 1 | |
315 | return val | |
316 | ||
317 | def wxDragString(*_args,**_kwargs): | |
318 | val = wxDragImagePtr(apply(misc2c.new_wxDragString,_args,_kwargs)) | |
319 | val.thisown = 1 | |
320 | return val | |
321 | ||
322 | def wxDragTreeItem(*_args,**_kwargs): | |
323 | val = wxDragImagePtr(apply(misc2c.new_wxDragTreeItem,_args,_kwargs)) | |
324 | val.thisown = 1 | |
325 | return val | |
326 | ||
327 | def wxDragListItem(*_args,**_kwargs): | |
328 | val = wxDragImagePtr(apply(misc2c.new_wxDragListItem,_args,_kwargs)) | |
329 | val.thisown = 1 | |
330 | return val | |
331 | ||
f6bcfd97 | 332 | |
9df61a29 | 333 | class wxPyTimerPtr(wxObjectPtr): |
f6bcfd97 BP |
334 | def __init__(self,this): |
335 | self.this = this | |
336 | self.thisown = 0 | |
b67a9327 RD |
337 | def __del__(self, delfunc=misc2c.delete_wxPyTimer): |
338 | if self.thisown == 1: | |
339 | try: | |
340 | delfunc(self) | |
341 | except: | |
342 | pass | |
f6bcfd97 BP |
343 | def GetInterval(self, *_args, **_kwargs): |
344 | val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs) | |
345 | return val | |
346 | def IsOneShot(self, *_args, **_kwargs): | |
347 | val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs) | |
348 | return val | |
349 | def IsRunning(self, *_args, **_kwargs): | |
350 | val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs) | |
351 | return val | |
352 | def SetOwner(self, *_args, **_kwargs): | |
353 | val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs) | |
354 | return val | |
355 | def Start(self, *_args, **_kwargs): | |
356 | val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs) | |
357 | return val | |
358 | def Stop(self, *_args, **_kwargs): | |
359 | val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs) | |
360 | return val | |
361 | def __repr__(self): | |
362 | return "<C wxPyTimer instance at %s>" % (self.this,) | |
363 | class wxPyTimer(wxPyTimerPtr): | |
364 | def __init__(self,*_args,**_kwargs): | |
365 | self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs) | |
366 | self.thisown = 1 | |
367 | ||
368 | ||
369 | ||
370 | ||
5c0282d5 RD |
371 | class wxStopWatchPtr : |
372 | def __init__(self,this): | |
373 | self.this = this | |
374 | self.thisown = 0 | |
b67a9327 RD |
375 | def __del__(self, delfunc=misc2c.delete_wxStopWatch): |
376 | if self.thisown == 1: | |
377 | try: | |
378 | delfunc(self) | |
379 | except: | |
380 | pass | |
5c0282d5 RD |
381 | def Start(self, *_args, **_kwargs): |
382 | val = apply(misc2c.wxStopWatch_Start,(self,) + _args, _kwargs) | |
383 | return val | |
384 | def Pause(self, *_args, **_kwargs): | |
385 | val = apply(misc2c.wxStopWatch_Pause,(self,) + _args, _kwargs) | |
386 | return val | |
387 | def Resume(self, *_args, **_kwargs): | |
388 | val = apply(misc2c.wxStopWatch_Resume,(self,) + _args, _kwargs) | |
389 | return val | |
390 | def Time(self, *_args, **_kwargs): | |
391 | val = apply(misc2c.wxStopWatch_Time,(self,) + _args, _kwargs) | |
392 | return val | |
393 | def __repr__(self): | |
394 | return "<C wxStopWatch instance at %s>" % (self.this,) | |
395 | class wxStopWatch(wxStopWatchPtr): | |
396 | def __init__(self,*_args,**_kwargs): | |
397 | self.this = apply(misc2c.new_wxStopWatch,_args,_kwargs) | |
398 | self.thisown = 1 | |
399 | ||
400 | ||
401 | ||
402 | ||
f6bcfd97 BP |
403 | class wxLogPtr : |
404 | def __init__(self,this): | |
405 | self.this = this | |
406 | self.thisown = 0 | |
407 | def Flush(self, *_args, **_kwargs): | |
408 | val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs) | |
409 | return val | |
410 | def HasPendingMessages(self, *_args, **_kwargs): | |
411 | val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs) | |
412 | return val | |
f6bcfd97 BP |
413 | def GetVerbose(self, *_args, **_kwargs): |
414 | val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs) | |
415 | return val | |
0220cbc1 RD |
416 | def TimeStamp(self, *_args, **_kwargs): |
417 | val = apply(misc2c.wxLog_TimeStamp,(self,) + _args, _kwargs) | |
418 | return val | |
f6bcfd97 BP |
419 | def __repr__(self): |
420 | return "<C wxLog instance at %s>" % (self.this,) | |
421 | class wxLog(wxLogPtr): | |
422 | def __init__(self,*_args,**_kwargs): | |
423 | self.this = apply(misc2c.new_wxLog,_args,_kwargs) | |
424 | self.thisown = 1 | |
425 | ||
426 | ||
427 | ||
428 | ||
429 | class wxLogStderrPtr(wxLogPtr): | |
430 | def __init__(self,this): | |
431 | self.this = this | |
432 | self.thisown = 0 | |
433 | def __repr__(self): | |
434 | return "<C wxLogStderr instance at %s>" % (self.this,) | |
435 | class wxLogStderr(wxLogStderrPtr): | |
436 | def __init__(self,*_args,**_kwargs): | |
437 | self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs) | |
438 | self.thisown = 1 | |
439 | ||
440 | ||
441 | ||
442 | ||
443 | class wxLogTextCtrlPtr(wxLogPtr): | |
444 | def __init__(self,this): | |
445 | self.this = this | |
446 | self.thisown = 0 | |
447 | def __repr__(self): | |
448 | return "<C wxLogTextCtrl instance at %s>" % (self.this,) | |
449 | class wxLogTextCtrl(wxLogTextCtrlPtr): | |
450 | def __init__(self,*_args,**_kwargs): | |
451 | self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs) | |
452 | self.thisown = 1 | |
453 | ||
454 | ||
455 | ||
456 | ||
457 | class wxLogGuiPtr(wxLogPtr): | |
458 | def __init__(self,this): | |
459 | self.this = this | |
460 | self.thisown = 0 | |
461 | def __repr__(self): | |
462 | return "<C wxLogGui instance at %s>" % (self.this,) | |
463 | class wxLogGui(wxLogGuiPtr): | |
464 | def __init__(self,*_args,**_kwargs): | |
465 | self.this = apply(misc2c.new_wxLogGui,_args,_kwargs) | |
466 | self.thisown = 1 | |
467 | ||
468 | ||
469 | ||
470 | ||
471 | class wxLogWindowPtr(wxLogPtr): | |
472 | def __init__(self,this): | |
473 | self.this = this | |
474 | self.thisown = 0 | |
475 | def Show(self, *_args, **_kwargs): | |
476 | val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs) | |
477 | return val | |
478 | def GetFrame(self, *_args, **_kwargs): | |
479 | val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs) | |
f6bcfd97 BP |
480 | return val |
481 | def GetOldLog(self, *_args, **_kwargs): | |
482 | val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs) | |
483 | if val: val = wxLogPtr(val) | |
484 | return val | |
485 | def IsPassingMessages(self, *_args, **_kwargs): | |
486 | val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs) | |
487 | return val | |
488 | def PassMessages(self, *_args, **_kwargs): | |
489 | val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs) | |
490 | return val | |
491 | def __repr__(self): | |
492 | return "<C wxLogWindow instance at %s>" % (self.this,) | |
493 | class wxLogWindow(wxLogWindowPtr): | |
494 | def __init__(self,*_args,**_kwargs): | |
495 | self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs) | |
496 | self.thisown = 1 | |
497 | ||
498 | ||
499 | ||
500 | ||
0220cbc1 RD |
501 | class wxLogChainPtr(wxLogPtr): |
502 | def __init__(self,this): | |
503 | self.this = this | |
504 | self.thisown = 0 | |
505 | def SetLog(self, *_args, **_kwargs): | |
506 | val = apply(misc2c.wxLogChain_SetLog,(self,) + _args, _kwargs) | |
507 | return val | |
508 | def PassMessages(self, *_args, **_kwargs): | |
509 | val = apply(misc2c.wxLogChain_PassMessages,(self,) + _args, _kwargs) | |
510 | return val | |
511 | def IsPassingMessages(self, *_args, **_kwargs): | |
512 | val = apply(misc2c.wxLogChain_IsPassingMessages,(self,) + _args, _kwargs) | |
513 | return val | |
514 | def GetOldLog(self, *_args, **_kwargs): | |
515 | val = apply(misc2c.wxLogChain_GetOldLog,(self,) + _args, _kwargs) | |
516 | if val: val = wxLogPtr(val) | |
517 | return val | |
518 | def __repr__(self): | |
519 | return "<C wxLogChain instance at %s>" % (self.this,) | |
520 | class wxLogChain(wxLogChainPtr): | |
521 | def __init__(self,*_args,**_kwargs): | |
522 | self.this = apply(misc2c.new_wxLogChain,_args,_kwargs) | |
523 | self.thisown = 1 | |
524 | ||
525 | ||
526 | ||
527 | ||
b98a5dfc RD |
528 | class wxLogNullPtr : |
529 | def __init__(self,this): | |
530 | self.this = this | |
531 | self.thisown = 0 | |
b67a9327 RD |
532 | def __del__(self, delfunc=misc2c.delete_wxLogNull): |
533 | if self.thisown == 1: | |
534 | try: | |
535 | delfunc(self) | |
536 | except: | |
537 | pass | |
b98a5dfc RD |
538 | def __repr__(self): |
539 | return "<C wxLogNull instance at %s>" % (self.this,) | |
540 | class wxLogNull(wxLogNullPtr): | |
541 | def __init__(self,*_args,**_kwargs): | |
542 | self.this = apply(misc2c.new_wxLogNull,_args,_kwargs) | |
543 | self.thisown = 1 | |
544 | ||
545 | ||
546 | ||
547 | ||
0220cbc1 RD |
548 | class wxPyLogPtr(wxLogPtr): |
549 | def __init__(self,this): | |
550 | self.this = this | |
551 | self.thisown = 0 | |
552 | def _setCallbackInfo(self, *_args, **_kwargs): | |
553 | val = apply(misc2c.wxPyLog__setCallbackInfo,(self,) + _args, _kwargs) | |
554 | return val | |
555 | def Destroy(self, *_args, **_kwargs): | |
556 | val = apply(misc2c.wxPyLog_Destroy,(self,) + _args, _kwargs) | |
557 | return val | |
558 | def __repr__(self): | |
559 | return "<C wxPyLog instance at %s>" % (self.this,) | |
560 | class wxPyLog(wxPyLogPtr): | |
561 | def __init__(self,*_args,**_kwargs): | |
562 | self.this = apply(misc2c.new_wxPyLog,_args,_kwargs) | |
563 | self.thisown = 1 | |
564 | self._setCallbackInfo(self, wxPyLog) | |
565 | ||
566 | ||
567 | ||
568 | ||
c368d904 RD |
569 | class wxProcessEventPtr(wxEventPtr): |
570 | def __init__(self,this): | |
571 | self.this = this | |
572 | self.thisown = 0 | |
573 | def GetPid(self, *_args, **_kwargs): | |
574 | val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs) | |
575 | return val | |
576 | def GetExitCode(self, *_args, **_kwargs): | |
577 | val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs) | |
578 | return val | |
579 | def __setattr__(self,name,value): | |
580 | if name == "m_pid" : | |
581 | misc2c.wxProcessEvent_m_pid_set(self,value) | |
582 | return | |
583 | if name == "m_exitcode" : | |
584 | misc2c.wxProcessEvent_m_exitcode_set(self,value) | |
585 | return | |
586 | self.__dict__[name] = value | |
587 | def __getattr__(self,name): | |
588 | if name == "m_pid" : | |
589 | return misc2c.wxProcessEvent_m_pid_get(self) | |
590 | if name == "m_exitcode" : | |
591 | return misc2c.wxProcessEvent_m_exitcode_get(self) | |
592 | raise AttributeError,name | |
593 | def __repr__(self): | |
594 | return "<C wxProcessEvent instance at %s>" % (self.this,) | |
595 | class wxProcessEvent(wxProcessEventPtr): | |
596 | def __init__(self,*_args,**_kwargs): | |
597 | self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs) | |
598 | self.thisown = 1 | |
599 | ||
600 | ||
601 | ||
602 | ||
603 | class wxProcessPtr(wxEvtHandlerPtr): | |
604 | def __init__(self,this): | |
605 | self.this = this | |
606 | self.thisown = 0 | |
607 | def Destroy(self, *_args, **_kwargs): | |
608 | val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs) | |
609 | return val | |
0220cbc1 RD |
610 | def _setCallbackInfo(self, *_args, **_kwargs): |
611 | val = apply(misc2c.wxProcess__setCallbackInfo,(self,) + _args, _kwargs) | |
c368d904 RD |
612 | return val |
613 | def base_OnTerminate(self, *_args, **_kwargs): | |
614 | val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs) | |
615 | return val | |
616 | def Redirect(self, *_args, **_kwargs): | |
617 | val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs) | |
618 | return val | |
619 | def IsRedirected(self, *_args, **_kwargs): | |
620 | val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs) | |
621 | return val | |
622 | def Detach(self, *_args, **_kwargs): | |
623 | val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs) | |
624 | return val | |
625 | def GetInputStream(self, *_args, **_kwargs): | |
626 | val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs) | |
627 | return val | |
628 | def GetErrorStream(self, *_args, **_kwargs): | |
629 | val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs) | |
630 | return val | |
631 | def GetOutputStream(self, *_args, **_kwargs): | |
632 | val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs) | |
633 | if val: val = wxOutputStreamPtr(val) | |
634 | return val | |
635 | def CloseOutput(self, *_args, **_kwargs): | |
636 | val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs) | |
637 | return val | |
c81fd4b9 RD |
638 | def IsInputOpened(self, *_args, **_kwargs): |
639 | val = apply(misc2c.wxProcess_IsInputOpened,(self,) + _args, _kwargs) | |
640 | return val | |
641 | def IsInputAvailable(self, *_args, **_kwargs): | |
642 | val = apply(misc2c.wxProcess_IsInputAvailable,(self,) + _args, _kwargs) | |
643 | return val | |
644 | def IsErrorAvailable(self, *_args, **_kwargs): | |
645 | val = apply(misc2c.wxProcess_IsErrorAvailable,(self,) + _args, _kwargs) | |
646 | return val | |
c368d904 RD |
647 | def __repr__(self): |
648 | return "<C wxProcess instance at %s>" % (self.this,) | |
649 | class wxProcess(wxProcessPtr): | |
650 | def __init__(self,*_args,**_kwargs): | |
651 | self.this = apply(misc2c.new_wxProcess,_args,_kwargs) | |
652 | self.thisown = 1 | |
0220cbc1 | 653 | self._setCallbackInfo(self, wxProcess) |
c368d904 RD |
654 | |
655 | ||
656 | ||
657 | ||
4dfaa61e RD |
658 | class wxJoystickPtr(wxObjectPtr): |
659 | def __init__(self,this): | |
660 | self.this = this | |
661 | self.thisown = 0 | |
b67a9327 RD |
662 | def __del__(self, delfunc=misc2c.delete_wxJoystick): |
663 | if self.thisown == 1: | |
664 | try: | |
665 | delfunc(self) | |
666 | except: | |
667 | pass | |
4dfaa61e RD |
668 | def GetPosition(self, *_args, **_kwargs): |
669 | val = apply(misc2c.wxJoystick_GetPosition,(self,) + _args, _kwargs) | |
670 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
671 | return val | |
672 | def GetZPosition(self, *_args, **_kwargs): | |
673 | val = apply(misc2c.wxJoystick_GetZPosition,(self,) + _args, _kwargs) | |
674 | return val | |
675 | def GetButtonState(self, *_args, **_kwargs): | |
676 | val = apply(misc2c.wxJoystick_GetButtonState,(self,) + _args, _kwargs) | |
677 | return val | |
678 | def GetPOVPosition(self, *_args, **_kwargs): | |
679 | val = apply(misc2c.wxJoystick_GetPOVPosition,(self,) + _args, _kwargs) | |
680 | return val | |
681 | def GetPOVCTSPosition(self, *_args, **_kwargs): | |
682 | val = apply(misc2c.wxJoystick_GetPOVCTSPosition,(self,) + _args, _kwargs) | |
683 | return val | |
684 | def GetRudderPosition(self, *_args, **_kwargs): | |
685 | val = apply(misc2c.wxJoystick_GetRudderPosition,(self,) + _args, _kwargs) | |
686 | return val | |
687 | def GetUPosition(self, *_args, **_kwargs): | |
688 | val = apply(misc2c.wxJoystick_GetUPosition,(self,) + _args, _kwargs) | |
689 | return val | |
690 | def GetVPosition(self, *_args, **_kwargs): | |
691 | val = apply(misc2c.wxJoystick_GetVPosition,(self,) + _args, _kwargs) | |
692 | return val | |
693 | def GetMovementThreshold(self, *_args, **_kwargs): | |
694 | val = apply(misc2c.wxJoystick_GetMovementThreshold,(self,) + _args, _kwargs) | |
695 | return val | |
696 | def SetMovementThreshold(self, *_args, **_kwargs): | |
697 | val = apply(misc2c.wxJoystick_SetMovementThreshold,(self,) + _args, _kwargs) | |
698 | return val | |
699 | def IsOk(self, *_args, **_kwargs): | |
700 | val = apply(misc2c.wxJoystick_IsOk,(self,) + _args, _kwargs) | |
701 | return val | |
702 | def GetNumberJoysticks(self, *_args, **_kwargs): | |
703 | val = apply(misc2c.wxJoystick_GetNumberJoysticks,(self,) + _args, _kwargs) | |
704 | return val | |
705 | def GetManufacturerId(self, *_args, **_kwargs): | |
706 | val = apply(misc2c.wxJoystick_GetManufacturerId,(self,) + _args, _kwargs) | |
707 | return val | |
708 | def GetProductId(self, *_args, **_kwargs): | |
709 | val = apply(misc2c.wxJoystick_GetProductId,(self,) + _args, _kwargs) | |
710 | return val | |
711 | def GetProductName(self, *_args, **_kwargs): | |
712 | val = apply(misc2c.wxJoystick_GetProductName,(self,) + _args, _kwargs) | |
713 | return val | |
714 | def GetXMin(self, *_args, **_kwargs): | |
715 | val = apply(misc2c.wxJoystick_GetXMin,(self,) + _args, _kwargs) | |
716 | return val | |
717 | def GetYMin(self, *_args, **_kwargs): | |
718 | val = apply(misc2c.wxJoystick_GetYMin,(self,) + _args, _kwargs) | |
719 | return val | |
720 | def GetZMin(self, *_args, **_kwargs): | |
721 | val = apply(misc2c.wxJoystick_GetZMin,(self,) + _args, _kwargs) | |
722 | return val | |
723 | def GetXMax(self, *_args, **_kwargs): | |
724 | val = apply(misc2c.wxJoystick_GetXMax,(self,) + _args, _kwargs) | |
725 | return val | |
726 | def GetYMax(self, *_args, **_kwargs): | |
727 | val = apply(misc2c.wxJoystick_GetYMax,(self,) + _args, _kwargs) | |
728 | return val | |
729 | def GetZMax(self, *_args, **_kwargs): | |
730 | val = apply(misc2c.wxJoystick_GetZMax,(self,) + _args, _kwargs) | |
731 | return val | |
732 | def GetNumberButtons(self, *_args, **_kwargs): | |
733 | val = apply(misc2c.wxJoystick_GetNumberButtons,(self,) + _args, _kwargs) | |
734 | return val | |
735 | def GetNumberAxes(self, *_args, **_kwargs): | |
736 | val = apply(misc2c.wxJoystick_GetNumberAxes,(self,) + _args, _kwargs) | |
737 | return val | |
738 | def GetMaxButtons(self, *_args, **_kwargs): | |
739 | val = apply(misc2c.wxJoystick_GetMaxButtons,(self,) + _args, _kwargs) | |
740 | return val | |
741 | def GetMaxAxes(self, *_args, **_kwargs): | |
742 | val = apply(misc2c.wxJoystick_GetMaxAxes,(self,) + _args, _kwargs) | |
743 | return val | |
744 | def GetPollingMin(self, *_args, **_kwargs): | |
745 | val = apply(misc2c.wxJoystick_GetPollingMin,(self,) + _args, _kwargs) | |
746 | return val | |
747 | def GetPollingMax(self, *_args, **_kwargs): | |
748 | val = apply(misc2c.wxJoystick_GetPollingMax,(self,) + _args, _kwargs) | |
749 | return val | |
750 | def GetRudderMin(self, *_args, **_kwargs): | |
751 | val = apply(misc2c.wxJoystick_GetRudderMin,(self,) + _args, _kwargs) | |
752 | return val | |
753 | def GetRudderMax(self, *_args, **_kwargs): | |
754 | val = apply(misc2c.wxJoystick_GetRudderMax,(self,) + _args, _kwargs) | |
755 | return val | |
756 | def GetUMin(self, *_args, **_kwargs): | |
757 | val = apply(misc2c.wxJoystick_GetUMin,(self,) + _args, _kwargs) | |
758 | return val | |
759 | def GetUMax(self, *_args, **_kwargs): | |
760 | val = apply(misc2c.wxJoystick_GetUMax,(self,) + _args, _kwargs) | |
761 | return val | |
762 | def GetVMin(self, *_args, **_kwargs): | |
763 | val = apply(misc2c.wxJoystick_GetVMin,(self,) + _args, _kwargs) | |
764 | return val | |
765 | def GetVMax(self, *_args, **_kwargs): | |
766 | val = apply(misc2c.wxJoystick_GetVMax,(self,) + _args, _kwargs) | |
767 | return val | |
768 | def HasRudder(self, *_args, **_kwargs): | |
769 | val = apply(misc2c.wxJoystick_HasRudder,(self,) + _args, _kwargs) | |
770 | return val | |
771 | def HasZ(self, *_args, **_kwargs): | |
772 | val = apply(misc2c.wxJoystick_HasZ,(self,) + _args, _kwargs) | |
773 | return val | |
774 | def HasU(self, *_args, **_kwargs): | |
775 | val = apply(misc2c.wxJoystick_HasU,(self,) + _args, _kwargs) | |
776 | return val | |
777 | def HasV(self, *_args, **_kwargs): | |
778 | val = apply(misc2c.wxJoystick_HasV,(self,) + _args, _kwargs) | |
779 | return val | |
780 | def HasPOV(self, *_args, **_kwargs): | |
781 | val = apply(misc2c.wxJoystick_HasPOV,(self,) + _args, _kwargs) | |
782 | return val | |
783 | def HasPOV4Dir(self, *_args, **_kwargs): | |
784 | val = apply(misc2c.wxJoystick_HasPOV4Dir,(self,) + _args, _kwargs) | |
785 | return val | |
786 | def HasPOVCTS(self, *_args, **_kwargs): | |
787 | val = apply(misc2c.wxJoystick_HasPOVCTS,(self,) + _args, _kwargs) | |
788 | return val | |
789 | def SetCapture(self, *_args, **_kwargs): | |
790 | val = apply(misc2c.wxJoystick_SetCapture,(self,) + _args, _kwargs) | |
791 | return val | |
792 | def ReleaseCapture(self, *_args, **_kwargs): | |
793 | val = apply(misc2c.wxJoystick_ReleaseCapture,(self,) + _args, _kwargs) | |
794 | return val | |
795 | def __repr__(self): | |
796 | return "<C wxJoystick instance at %s>" % (self.this,) | |
797 | class wxJoystick(wxJoystickPtr): | |
798 | def __init__(self,*_args,**_kwargs): | |
799 | self.this = apply(misc2c.new_wxJoystick,_args,_kwargs) | |
800 | self.thisown = 1 | |
801 | ||
802 | ||
803 | ||
804 | ||
805 | class wxWavePtr(wxObjectPtr): | |
806 | def __init__(self,this): | |
807 | self.this = this | |
808 | self.thisown = 0 | |
b67a9327 RD |
809 | def __del__(self, delfunc=misc2c.delete_wxWave): |
810 | if self.thisown == 1: | |
811 | try: | |
812 | delfunc(self) | |
813 | except: | |
814 | pass | |
4dfaa61e RD |
815 | def IsOk(self, *_args, **_kwargs): |
816 | val = apply(misc2c.wxWave_IsOk,(self,) + _args, _kwargs) | |
817 | return val | |
818 | def Play(self, *_args, **_kwargs): | |
819 | val = apply(misc2c.wxWave_Play,(self,) + _args, _kwargs) | |
820 | return val | |
821 | def __repr__(self): | |
822 | return "<C wxWave instance at %s>" % (self.this,) | |
823 | class wxWave(wxWavePtr): | |
824 | def __init__(self,*_args,**_kwargs): | |
825 | self.this = apply(misc2c.new_wxWave,_args,_kwargs) | |
826 | self.thisown = 1 | |
827 | ||
828 | ||
829 | ||
830 | ||
5c0282d5 RD |
831 | class wxFileTypeInfoPtr : |
832 | def __init__(self,this): | |
833 | self.this = this | |
834 | self.thisown = 0 | |
835 | def IsValid(self, *_args, **_kwargs): | |
836 | val = apply(misc2c.wxFileTypeInfo_IsValid,(self,) + _args, _kwargs) | |
837 | return val | |
838 | def SetIcon(self, *_args, **_kwargs): | |
839 | val = apply(misc2c.wxFileTypeInfo_SetIcon,(self,) + _args, _kwargs) | |
840 | return val | |
841 | def SetShortDesc(self, *_args, **_kwargs): | |
842 | val = apply(misc2c.wxFileTypeInfo_SetShortDesc,(self,) + _args, _kwargs) | |
843 | return val | |
844 | def GetMimeType(self, *_args, **_kwargs): | |
845 | val = apply(misc2c.wxFileTypeInfo_GetMimeType,(self,) + _args, _kwargs) | |
846 | return val | |
847 | def GetOpenCommand(self, *_args, **_kwargs): | |
848 | val = apply(misc2c.wxFileTypeInfo_GetOpenCommand,(self,) + _args, _kwargs) | |
849 | return val | |
850 | def GetPrintCommand(self, *_args, **_kwargs): | |
851 | val = apply(misc2c.wxFileTypeInfo_GetPrintCommand,(self,) + _args, _kwargs) | |
852 | return val | |
853 | def GetShortDesc(self, *_args, **_kwargs): | |
854 | val = apply(misc2c.wxFileTypeInfo_GetShortDesc,(self,) + _args, _kwargs) | |
855 | return val | |
856 | def GetDescription(self, *_args, **_kwargs): | |
857 | val = apply(misc2c.wxFileTypeInfo_GetDescription,(self,) + _args, _kwargs) | |
858 | return val | |
859 | def GetExtensions(self, *_args, **_kwargs): | |
860 | val = apply(misc2c.wxFileTypeInfo_GetExtensions,(self,) + _args, _kwargs) | |
861 | return val | |
862 | def GetExtensionsCount(self, *_args, **_kwargs): | |
863 | val = apply(misc2c.wxFileTypeInfo_GetExtensionsCount,(self,) + _args, _kwargs) | |
864 | return val | |
865 | def GetIconFile(self, *_args, **_kwargs): | |
866 | val = apply(misc2c.wxFileTypeInfo_GetIconFile,(self,) + _args, _kwargs) | |
867 | return val | |
868 | def GetIconIndex(self, *_args, **_kwargs): | |
869 | val = apply(misc2c.wxFileTypeInfo_GetIconIndex,(self,) + _args, _kwargs) | |
870 | return val | |
871 | def __repr__(self): | |
872 | return "<C wxFileTypeInfo instance at %s>" % (self.this,) | |
873 | class wxFileTypeInfo(wxFileTypeInfoPtr): | |
874 | def __init__(self,*_args,**_kwargs): | |
875 | self.this = apply(misc2c.new_wxFileTypeInfo,_args,_kwargs) | |
876 | self.thisown = 1 | |
877 | ||
878 | ||
879 | ||
880 | def wxFileTypeInfoSequence(*_args,**_kwargs): | |
881 | val = wxFileTypeInfoPtr(apply(misc2c.new_wxFileTypeInfoSequence,_args,_kwargs)) | |
882 | val.thisown = 1 | |
883 | return val | |
884 | ||
885 | def wxNullFileTypeInfo(*_args,**_kwargs): | |
886 | val = wxFileTypeInfoPtr(apply(misc2c.new_wxNullFileTypeInfo,_args,_kwargs)) | |
887 | val.thisown = 1 | |
888 | return val | |
889 | ||
890 | ||
891 | class wxFileTypePtr : | |
892 | def __init__(self,this): | |
893 | self.this = this | |
894 | self.thisown = 0 | |
895 | def GetMimeType(self, *_args, **_kwargs): | |
896 | val = apply(misc2c.wxFileType_GetMimeType,(self,) + _args, _kwargs) | |
897 | return val | |
898 | def GetMimeTypes(self, *_args, **_kwargs): | |
899 | val = apply(misc2c.wxFileType_GetMimeTypes,(self,) + _args, _kwargs) | |
900 | return val | |
901 | def GetExtensions(self, *_args, **_kwargs): | |
902 | val = apply(misc2c.wxFileType_GetExtensions,(self,) + _args, _kwargs) | |
903 | return val | |
904 | def GetIcon(self, *_args, **_kwargs): | |
905 | val = apply(misc2c.wxFileType_GetIcon,(self,) + _args, _kwargs) | |
906 | if val: val = wxIconPtr(val) ; val.thisown = 1 | |
907 | return val | |
908 | def GetIconInfo(self, *_args, **_kwargs): | |
909 | val = apply(misc2c.wxFileType_GetIconInfo,(self,) + _args, _kwargs) | |
910 | return val | |
911 | def GetDescription(self, *_args, **_kwargs): | |
912 | val = apply(misc2c.wxFileType_GetDescription,(self,) + _args, _kwargs) | |
913 | return val | |
914 | def GetOpenCommand(self, *_args, **_kwargs): | |
915 | val = apply(misc2c.wxFileType_GetOpenCommand,(self,) + _args, _kwargs) | |
916 | return val | |
917 | def GetPrintCommand(self, *_args, **_kwargs): | |
918 | val = apply(misc2c.wxFileType_GetPrintCommand,(self,) + _args, _kwargs) | |
919 | return val | |
920 | def GetAllCommands(self, *_args, **_kwargs): | |
921 | val = apply(misc2c.wxFileType_GetAllCommands,(self,) + _args, _kwargs) | |
922 | return val | |
923 | def SetCommand(self, *_args, **_kwargs): | |
924 | val = apply(misc2c.wxFileType_SetCommand,(self,) + _args, _kwargs) | |
925 | return val | |
926 | def SetDefaultIcon(self, *_args, **_kwargs): | |
927 | val = apply(misc2c.wxFileType_SetDefaultIcon,(self,) + _args, _kwargs) | |
928 | return val | |
929 | def Unassociate(self, *_args, **_kwargs): | |
930 | val = apply(misc2c.wxFileType_Unassociate,(self,) + _args, _kwargs) | |
931 | return val | |
b67a9327 RD |
932 | def __del__(self, delfunc=misc2c.delete_wxFileType): |
933 | if self.thisown == 1: | |
934 | try: | |
935 | delfunc(self) | |
936 | except: | |
937 | pass | |
5c0282d5 RD |
938 | def __repr__(self): |
939 | return "<C wxFileType instance at %s>" % (self.this,) | |
940 | class wxFileType(wxFileTypePtr): | |
941 | def __init__(self,*_args,**_kwargs): | |
942 | self.this = apply(misc2c.new_wxFileType,_args,_kwargs) | |
943 | self.thisown = 1 | |
944 | ||
945 | ||
946 | ||
947 | ||
948 | class wxMimeTypesManagerPtr : | |
949 | def __init__(self,this): | |
950 | self.this = this | |
951 | self.thisown = 0 | |
952 | def Initialize(self, *_args, **_kwargs): | |
953 | val = apply(misc2c.wxMimeTypesManager_Initialize,(self,) + _args, _kwargs) | |
954 | return val | |
955 | def ClearData(self, *_args, **_kwargs): | |
956 | val = apply(misc2c.wxMimeTypesManager_ClearData,(self,) + _args, _kwargs) | |
957 | return val | |
958 | def GetFileTypeFromExtension(self, *_args, **_kwargs): | |
959 | val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromExtension,(self,) + _args, _kwargs) | |
960 | if val: val = wxFileTypePtr(val) ; val.thisown = 1 | |
961 | return val | |
962 | def GetFileTypeFromMimeType(self, *_args, **_kwargs): | |
963 | val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromMimeType,(self,) + _args, _kwargs) | |
964 | if val: val = wxFileTypePtr(val) ; val.thisown = 1 | |
965 | return val | |
966 | def ReadMailcap(self, *_args, **_kwargs): | |
967 | val = apply(misc2c.wxMimeTypesManager_ReadMailcap,(self,) + _args, _kwargs) | |
968 | return val | |
969 | def ReadMimeTypes(self, *_args, **_kwargs): | |
970 | val = apply(misc2c.wxMimeTypesManager_ReadMimeTypes,(self,) + _args, _kwargs) | |
971 | return val | |
972 | def EnumAllFileTypes(self, *_args, **_kwargs): | |
973 | val = apply(misc2c.wxMimeTypesManager_EnumAllFileTypes,(self,) + _args, _kwargs) | |
974 | return val | |
975 | def AddFallback(self, *_args, **_kwargs): | |
976 | val = apply(misc2c.wxMimeTypesManager_AddFallback,(self,) + _args, _kwargs) | |
977 | return val | |
978 | def Associate(self, *_args, **_kwargs): | |
979 | val = apply(misc2c.wxMimeTypesManager_Associate,(self,) + _args, _kwargs) | |
980 | if val: val = wxFileTypePtr(val) ; val.thisown = 1 | |
981 | return val | |
982 | def Unassociate(self, *_args, **_kwargs): | |
983 | val = apply(misc2c.wxMimeTypesManager_Unassociate,(self,) + _args, _kwargs) | |
984 | return val | |
b67a9327 RD |
985 | def __del__(self, delfunc=misc2c.delete_wxMimeTypesManager): |
986 | if self.thisown == 1: | |
987 | try: | |
988 | delfunc(self) | |
989 | except: | |
990 | pass | |
5c0282d5 RD |
991 | def __repr__(self): |
992 | return "<C wxMimeTypesManager instance at %s>" % (self.this,) | |
993 | class wxMimeTypesManager(wxMimeTypesManagerPtr): | |
994 | def __init__(self,*_args,**_kwargs): | |
995 | self.this = apply(misc2c.new_wxMimeTypesManager,_args,_kwargs) | |
996 | self.thisown = 1 | |
997 | ||
998 | ||
999 | ||
1000 | ||
8f8b0a8d RD |
1001 | class wxArtProviderPtr(wxObjectPtr): |
1002 | def __init__(self,this): | |
1003 | self.this = this | |
1004 | self.thisown = 0 | |
1005 | def _setCallbackInfo(self, *_args, **_kwargs): | |
1006 | val = apply(misc2c.wxArtProvider__setCallbackInfo,(self,) + _args, _kwargs) | |
1007 | return val | |
1008 | def __repr__(self): | |
1009 | return "<C wxArtProvider instance at %s>" % (self.this,) | |
1010 | class wxArtProvider(wxArtProviderPtr): | |
1011 | def __init__(self,*_args,**_kwargs): | |
1012 | self.this = apply(misc2c.new_wxArtProvider,_args,_kwargs) | |
1013 | self.thisown = 1 | |
1014 | self._setCallbackInfo(self, wxArtProvider) | |
1015 | ||
1016 | ||
1017 | ||
1018 | ||
93283355 RD |
1019 | class wxFileHistoryPtr(wxObjectPtr): |
1020 | def __init__(self,this): | |
1021 | self.this = this | |
1022 | self.thisown = 0 | |
b67a9327 RD |
1023 | def __del__(self, delfunc=misc2c.delete_wxFileHistory): |
1024 | if self.thisown == 1: | |
1025 | try: | |
1026 | delfunc(self) | |
1027 | except: | |
1028 | pass | |
93283355 RD |
1029 | def AddFileToHistory(self, *_args, **_kwargs): |
1030 | val = apply(misc2c.wxFileHistory_AddFileToHistory,(self,) + _args, _kwargs) | |
1031 | return val | |
1032 | def RemoveFileFromHistory(self, *_args, **_kwargs): | |
1033 | val = apply(misc2c.wxFileHistory_RemoveFileFromHistory,(self,) + _args, _kwargs) | |
1034 | return val | |
1035 | def GetMaxFiles(self, *_args, **_kwargs): | |
1036 | val = apply(misc2c.wxFileHistory_GetMaxFiles,(self,) + _args, _kwargs) | |
1037 | return val | |
1038 | def UseMenu(self, *_args, **_kwargs): | |
1039 | val = apply(misc2c.wxFileHistory_UseMenu,(self,) + _args, _kwargs) | |
1040 | return val | |
1041 | def RemoveMenu(self, *_args, **_kwargs): | |
1042 | val = apply(misc2c.wxFileHistory_RemoveMenu,(self,) + _args, _kwargs) | |
1043 | return val | |
1044 | def Load(self, *_args, **_kwargs): | |
1045 | val = apply(misc2c.wxFileHistory_Load,(self,) + _args, _kwargs) | |
1046 | return val | |
1047 | def Save(self, *_args, **_kwargs): | |
1048 | val = apply(misc2c.wxFileHistory_Save,(self,) + _args, _kwargs) | |
1049 | return val | |
1050 | def AddFilesToMenu(self, *_args, **_kwargs): | |
1051 | val = apply(misc2c.wxFileHistory_AddFilesToMenu,(self,) + _args, _kwargs) | |
1052 | return val | |
a323d3bd RD |
1053 | def AddFilesToThisMenu(self, *_args, **_kwargs): |
1054 | val = apply(misc2c.wxFileHistory_AddFilesToThisMenu,(self,) + _args, _kwargs) | |
93283355 RD |
1055 | return val |
1056 | def GetHistoryFile(self, *_args, **_kwargs): | |
1057 | val = apply(misc2c.wxFileHistory_GetHistoryFile,(self,) + _args, _kwargs) | |
1058 | return val | |
1059 | def GetCount(self, *_args, **_kwargs): | |
1060 | val = apply(misc2c.wxFileHistory_GetCount,(self,) + _args, _kwargs) | |
1061 | return val | |
1062 | def GetNoHistoryFiles(self, *_args, **_kwargs): | |
1063 | val = apply(misc2c.wxFileHistory_GetNoHistoryFiles,(self,) + _args, _kwargs) | |
1064 | return val | |
1065 | def __repr__(self): | |
1066 | return "<C wxFileHistory instance at %s>" % (self.this,) | |
1067 | class wxFileHistory(wxFileHistoryPtr): | |
1068 | def __init__(self,*_args,**_kwargs): | |
1069 | self.this = apply(misc2c.new_wxFileHistory,_args,_kwargs) | |
1070 | self.thisown = 1 | |
1071 | ||
1072 | ||
1073 | ||
1074 | ||
4eb65923 RD |
1075 | class wxEffectsPtr(wxObjectPtr): |
1076 | def __init__(self,this): | |
1077 | self.this = this | |
1078 | self.thisown = 0 | |
1079 | def GetHighlightColour(self, *_args, **_kwargs): | |
1080 | val = apply(misc2c.wxEffects_GetHighlightColour,(self,) + _args, _kwargs) | |
1081 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
1082 | return val | |
1083 | def GetLightShadow(self, *_args, **_kwargs): | |
1084 | val = apply(misc2c.wxEffects_GetLightShadow,(self,) + _args, _kwargs) | |
1085 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
1086 | return val | |
1087 | def GetFaceColour(self, *_args, **_kwargs): | |
1088 | val = apply(misc2c.wxEffects_GetFaceColour,(self,) + _args, _kwargs) | |
1089 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
1090 | return val | |
1091 | def GetMediumShadow(self, *_args, **_kwargs): | |
1092 | val = apply(misc2c.wxEffects_GetMediumShadow,(self,) + _args, _kwargs) | |
1093 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
1094 | return val | |
1095 | def GetDarkShadow(self, *_args, **_kwargs): | |
1096 | val = apply(misc2c.wxEffects_GetDarkShadow,(self,) + _args, _kwargs) | |
1097 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
1098 | return val | |
1099 | def SetHighlightColour(self, *_args, **_kwargs): | |
1100 | val = apply(misc2c.wxEffects_SetHighlightColour,(self,) + _args, _kwargs) | |
1101 | return val | |
1102 | def SetLightShadow(self, *_args, **_kwargs): | |
1103 | val = apply(misc2c.wxEffects_SetLightShadow,(self,) + _args, _kwargs) | |
1104 | return val | |
1105 | def SetFaceColour(self, *_args, **_kwargs): | |
1106 | val = apply(misc2c.wxEffects_SetFaceColour,(self,) + _args, _kwargs) | |
1107 | return val | |
1108 | def SetMediumShadow(self, *_args, **_kwargs): | |
1109 | val = apply(misc2c.wxEffects_SetMediumShadow,(self,) + _args, _kwargs) | |
1110 | return val | |
1111 | def SetDarkShadow(self, *_args, **_kwargs): | |
1112 | val = apply(misc2c.wxEffects_SetDarkShadow,(self,) + _args, _kwargs) | |
1113 | return val | |
1114 | def Set(self, *_args, **_kwargs): | |
1115 | val = apply(misc2c.wxEffects_Set,(self,) + _args, _kwargs) | |
1116 | return val | |
1117 | def DrawSunkenEdge(self, *_args, **_kwargs): | |
1118 | val = apply(misc2c.wxEffects_DrawSunkenEdge,(self,) + _args, _kwargs) | |
1119 | return val | |
1120 | def TileBitmap(self, *_args, **_kwargs): | |
1121 | val = apply(misc2c.wxEffects_TileBitmap,(self,) + _args, _kwargs) | |
1122 | return val | |
1123 | def __repr__(self): | |
1124 | return "<C wxEffects instance at %s>" % (self.this,) | |
1125 | class wxEffects(wxEffectsPtr): | |
1126 | def __init__(self,*_args,**_kwargs): | |
1127 | self.this = apply(misc2c.new_wxEffects,_args,_kwargs) | |
1128 | self.thisown = 1 | |
1129 | ||
1130 | ||
1131 | ||
1132 | ||
1133 | class wxSingleInstanceCheckerPtr : | |
1134 | def __init__(self,this): | |
1135 | self.this = this | |
1136 | self.thisown = 0 | |
b67a9327 RD |
1137 | def __del__(self, delfunc=misc2c.delete_wxSingleInstanceChecker): |
1138 | if self.thisown == 1: | |
1139 | try: | |
1140 | delfunc(self) | |
1141 | except: | |
1142 | pass | |
4eb65923 RD |
1143 | def Create(self, *_args, **_kwargs): |
1144 | val = apply(misc2c.wxSingleInstanceChecker_Create,(self,) + _args, _kwargs) | |
1145 | return val | |
1146 | def IsAnotherRunning(self, *_args, **_kwargs): | |
1147 | val = apply(misc2c.wxSingleInstanceChecker_IsAnotherRunning,(self,) + _args, _kwargs) | |
1148 | return val | |
1149 | def __repr__(self): | |
1150 | return "<C wxSingleInstanceChecker instance at %s>" % (self.this,) | |
1151 | class wxSingleInstanceChecker(wxSingleInstanceCheckerPtr): | |
1152 | def __init__(self,*_args,**_kwargs): | |
1153 | self.this = apply(misc2c.new_wxSingleInstanceChecker,_args,_kwargs) | |
1154 | self.thisown = 1 | |
1155 | ||
1156 | ||
1157 | ||
1158 | def wxPreSingleInstanceChecker(*_args,**_kwargs): | |
1159 | val = wxSingleInstanceCheckerPtr(apply(misc2c.new_wxPreSingleInstanceChecker,_args,_kwargs)) | |
1160 | val.thisown = 1 | |
1161 | return val | |
1162 | ||
1163 | ||
d24a34bb RD |
1164 | |
1165 | ||
1166 | #-------------- FUNCTION WRAPPERS ------------------ | |
1167 | ||
bc29c5e0 RD |
1168 | wxFileSelector = misc2c.wxFileSelector |
1169 | ||
49df1f52 RD |
1170 | wxLoadFileSelector = misc2c.wxLoadFileSelector |
1171 | ||
1172 | wxSaveFileSelector = misc2c.wxSaveFileSelector | |
1173 | ||
301dfd67 RD |
1174 | wxDirSelector = misc2c.wxDirSelector |
1175 | ||
bc29c5e0 RD |
1176 | wxGetTextFromUser = misc2c.wxGetTextFromUser |
1177 | ||
1b62f00d RD |
1178 | wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser |
1179 | ||
bc29c5e0 RD |
1180 | wxGetSingleChoice = misc2c.wxGetSingleChoice |
1181 | ||
1182 | wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex | |
1183 | ||
1184 | wxMessageBox = misc2c.wxMessageBox | |
1185 | ||
1186 | wxGetNumberFromUser = misc2c.wxGetNumberFromUser | |
1187 | ||
1188 | wxColourDisplay = misc2c.wxColourDisplay | |
1189 | ||
1190 | wxDisplayDepth = misc2c.wxDisplayDepth | |
1191 | ||
b68dc582 RD |
1192 | wxGetDisplayDepth = misc2c.wxGetDisplayDepth |
1193 | ||
1194 | wxDisplaySize = misc2c.wxDisplaySize | |
1195 | ||
1196 | def wxGetDisplaySize(*_args, **_kwargs): | |
1197 | val = apply(misc2c.wxGetDisplaySize,_args,_kwargs) | |
1198 | if val: val = wxSizePtr(val); val.thisown = 1 | |
1199 | return val | |
1200 | ||
9c4165ad RD |
1201 | wxDisplaySizeMM = misc2c.wxDisplaySizeMM |
1202 | ||
1203 | def wxGetDisplaySizeMM(*_args, **_kwargs): | |
1204 | val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs) | |
1205 | if val: val = wxSizePtr(val); val.thisown = 1 | |
1206 | return val | |
1207 | ||
9e689c06 RD |
1208 | wxClientDisplayRect = misc2c.wxClientDisplayRect |
1209 | ||
1210 | def wxGetClientDisplayRect(*_args, **_kwargs): | |
1211 | val = apply(misc2c.wxGetClientDisplayRect,_args,_kwargs) | |
1212 | if val: val = wxRectPtr(val); val.thisown = 1 | |
1213 | return val | |
1214 | ||
bc29c5e0 RD |
1215 | wxSetCursor = misc2c.wxSetCursor |
1216 | ||
bc29c5e0 RD |
1217 | wxBeginBusyCursor = misc2c.wxBeginBusyCursor |
1218 | ||
1219 | def wxGetActiveWindow(*_args, **_kwargs): | |
1220 | val = apply(misc2c.wxGetActiveWindow,_args,_kwargs) | |
bc29c5e0 RD |
1221 | return val |
1222 | ||
4dfaa61e RD |
1223 | def wxGenericFindWindowAtPoint(*_args, **_kwargs): |
1224 | val = apply(misc2c.wxGenericFindWindowAtPoint,_args,_kwargs) | |
1225 | return val | |
1226 | ||
1227 | def wxFindWindowAtPoint(*_args, **_kwargs): | |
1228 | val = apply(misc2c.wxFindWindowAtPoint,_args,_kwargs) | |
1229 | return val | |
1230 | ||
8381e4cd RD |
1231 | def wxGetTopLevelParent(*_args, **_kwargs): |
1232 | val = apply(misc2c.wxGetTopLevelParent,_args,_kwargs) | |
1233 | return val | |
1234 | ||
8f17924e RD |
1235 | wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime |
1236 | ||
1237 | wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime | |
1238 | ||
4662be59 RD |
1239 | wxSafeYield = misc2c.wxSafeYield |
1240 | ||
4120ef2b RD |
1241 | wxPostEvent = misc2c.wxPostEvent |
1242 | ||
d29aba2f RD |
1243 | wxWakeUpIdle = misc2c.wxWakeUpIdle |
1244 | ||
4662be59 RD |
1245 | wxMutexGuiEnter = misc2c.wxMutexGuiEnter |
1246 | ||
1247 | wxMutexGuiLeave = misc2c.wxMutexGuiLeave | |
1248 | ||
1249 | wxThread_IsMain = misc2c.wxThread_IsMain | |
c368d904 | 1250 | |
f6bcfd97 BP |
1251 | wxShowTip = misc2c.wxShowTip |
1252 | ||
1253 | def wxCreateFileTipProvider(*_args, **_kwargs): | |
1254 | val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs) | |
1255 | if val: val = wxTipProviderPtr(val); val.thisown = 1 | |
1256 | return val | |
1257 | ||
f6bcfd97 BP |
1258 | wxSysErrorCode = misc2c.wxSysErrorCode |
1259 | ||
1260 | wxSysErrorMsg = misc2c.wxSysErrorMsg | |
1261 | ||
1262 | wxLogFatalError = misc2c.wxLogFatalError | |
1263 | ||
1264 | wxLogError = misc2c.wxLogError | |
1265 | ||
1266 | wxLogWarning = misc2c.wxLogWarning | |
1267 | ||
1268 | wxLogMessage = misc2c.wxLogMessage | |
1269 | ||
1270 | wxLogInfo = misc2c.wxLogInfo | |
1271 | ||
b67a9327 RD |
1272 | wxLogDebug = misc2c.wxLogDebug |
1273 | ||
f6bcfd97 BP |
1274 | wxLogVerbose = misc2c.wxLogVerbose |
1275 | ||
1276 | wxLogStatus = misc2c.wxLogStatus | |
1277 | ||
1278 | wxLogStatusFrame = misc2c.wxLogStatusFrame | |
1279 | ||
1280 | wxLogSysError = misc2c.wxLogSysError | |
1281 | ||
9f873a51 RD |
1282 | wxLogTrace = misc2c.wxLogTrace |
1283 | ||
1284 | wxLogTraceMask = misc2c.wxLogTraceMask | |
1285 | ||
1286 | wxLogGeneric = misc2c.wxLogGeneric | |
1287 | ||
12d1116b RD |
1288 | wxSafeShowMessage = misc2c.wxSafeShowMessage |
1289 | ||
c368d904 RD |
1290 | wxExecute = misc2c.wxExecute |
1291 | ||
4dfaa61e RD |
1292 | def wxWaveData(*_args, **_kwargs): |
1293 | val = apply(misc2c.wxWaveData,_args,_kwargs) | |
1294 | if val: val = wxWavePtr(val); val.thisown = 1 | |
1295 | return val | |
1296 | ||
1893b029 RD |
1297 | def wxSystemSettings_GetColour(*_args, **_kwargs): |
1298 | val = apply(misc2c.wxSystemSettings_GetColour,_args,_kwargs) | |
1299 | if val: val = wxColourPtr(val); val.thisown = 1 | |
1300 | return val | |
1301 | ||
1302 | def wxSystemSettings_GetFont(*_args, **_kwargs): | |
1303 | val = apply(misc2c.wxSystemSettings_GetFont,_args,_kwargs) | |
1304 | if val: val = wxFontPtr(val); val.thisown = 1 | |
1305 | return val | |
1306 | ||
1307 | wxSystemSettings_GetMetric = misc2c.wxSystemSettings_GetMetric | |
1308 | ||
1309 | wxSystemSettings_HasFeature = misc2c.wxSystemSettings_HasFeature | |
1310 | ||
298ae144 | 1311 | wxSystemSettings_GetScreenType = misc2c.wxSystemSettings_GetScreenType |
12d1116b | 1312 | |
298ae144 | 1313 | wxSystemSettings_SetScreenType = misc2c.wxSystemSettings_SetScreenType |
12d1116b | 1314 | |
9a08cd12 RD |
1315 | wxToolTip_Enable = misc2c.wxToolTip_Enable |
1316 | ||
1317 | wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay | |
1318 | ||
f6bcfd97 BP |
1319 | wxLog_IsEnabled = misc2c.wxLog_IsEnabled |
1320 | ||
1321 | wxLog_EnableLogging = misc2c.wxLog_EnableLogging | |
1322 | ||
1323 | wxLog_OnLog = misc2c.wxLog_OnLog | |
1324 | ||
1325 | wxLog_FlushActive = misc2c.wxLog_FlushActive | |
1326 | ||
1327 | def wxLog_GetActiveTarget(*_args, **_kwargs): | |
1328 | val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs) | |
1329 | if val: val = wxLogPtr(val) | |
1330 | return val | |
1331 | ||
1332 | def wxLog_SetActiveTarget(*_args, **_kwargs): | |
1333 | val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs) | |
1334 | if val: val = wxLogPtr(val) | |
1335 | return val | |
1336 | ||
1337 | wxLog_Suspend = misc2c.wxLog_Suspend | |
1338 | ||
1339 | wxLog_Resume = misc2c.wxLog_Resume | |
1340 | ||
a323d3bd RD |
1341 | wxLog_SetVerbose = misc2c.wxLog_SetVerbose |
1342 | ||
f6bcfd97 BP |
1343 | wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand |
1344 | ||
1345 | wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask | |
1346 | ||
1347 | wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask | |
1348 | ||
1349 | wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask | |
1350 | ||
0220cbc1 RD |
1351 | wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks |
1352 | ||
4eb65923 RD |
1353 | wxLog_GetTraceMasks = misc2c.wxLog_GetTraceMasks |
1354 | ||
0220cbc1 RD |
1355 | wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp |
1356 | ||
1357 | wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp | |
1358 | ||
f6bcfd97 BP |
1359 | wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask |
1360 | ||
1361 | wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask | |
1362 | ||
b67a9327 RD |
1363 | wxLog_SetLogLevel = misc2c.wxLog_SetLogLevel |
1364 | ||
1365 | wxLog_GetLogLevel = misc2c.wxLog_GetLogLevel | |
1366 | ||
11449283 RD |
1367 | wxProcess_Kill = misc2c.wxProcess_Kill |
1368 | ||
1369 | wxProcess_Exists = misc2c.wxProcess_Exists | |
1370 | ||
1371 | def wxProcess_Open(*_args, **_kwargs): | |
1372 | val = apply(misc2c.wxProcess_Open,_args,_kwargs) | |
1373 | if val: val = wxProcessPtr(val) | |
1374 | return val | |
1375 | ||
5c0282d5 RD |
1376 | wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand |
1377 | ||
1378 | wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType | |
1379 | ||
8f8b0a8d RD |
1380 | wxArtProvider_PushProvider = misc2c.wxArtProvider_PushProvider |
1381 | ||
1382 | wxArtProvider_PopProvider = misc2c.wxArtProvider_PopProvider | |
1383 | ||
1384 | wxArtProvider_RemoveProvider = misc2c.wxArtProvider_RemoveProvider | |
1385 | ||
1386 | def wxArtProvider_GetBitmap(*_args, **_kwargs): | |
1387 | val = apply(misc2c.wxArtProvider_GetBitmap,_args,_kwargs) | |
1388 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
1389 | return val | |
1390 | ||
1391 | def wxArtProvider_GetIcon(*_args, **_kwargs): | |
1392 | val = apply(misc2c.wxArtProvider_GetIcon,_args,_kwargs) | |
1393 | if val: val = wxIconPtr(val); val.thisown = 1 | |
1394 | return val | |
1395 | ||
d24a34bb RD |
1396 | |
1397 | ||
1398 | #-------------- VARIABLE WRAPPERS ------------------ | |
1399 | ||
bc29c5e0 RD |
1400 | wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT |
1401 | wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT | |
1402 | wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT | |
1403 | wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT | |
1404 | wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT | |
1405 | wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE | |
1406 | wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT | |
1407 | wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT | |
1408 | wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR | |
1409 | wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND | |
5d413391 | 1410 | wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP |
bc29c5e0 RD |
1411 | wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION |
1412 | wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION | |
1413 | wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU | |
1414 | wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW | |
1415 | wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME | |
1416 | wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT | |
1417 | wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT | |
1418 | wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT | |
1419 | wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER | |
1420 | wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER | |
1421 | wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE | |
1422 | wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT | |
1423 | wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT | |
1424 | wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE | |
5d413391 | 1425 | wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE |
bc29c5e0 | 1426 | wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW |
5d413391 | 1427 | wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW |
bc29c5e0 RD |
1428 | wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT |
1429 | wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT | |
1430 | wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT | |
1431 | wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT | |
5d413391 RD |
1432 | wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT |
1433 | wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT | |
1434 | wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT | |
bc29c5e0 RD |
1435 | wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW |
1436 | wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT | |
1437 | wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT | |
1438 | wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK | |
1893b029 | 1439 | wxSYS_COLOUR_LISTBOX = misc2c.wxSYS_COLOUR_LISTBOX |
5d413391 RD |
1440 | wxSYS_COLOUR_HOTLIGHT = misc2c.wxSYS_COLOUR_HOTLIGHT |
1441 | wxSYS_COLOUR_GRADIENTACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTACTIVECAPTION | |
1442 | wxSYS_COLOUR_GRADIENTINACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTINACTIVECAPTION | |
1443 | wxSYS_COLOUR_MENUHILIGHT = misc2c.wxSYS_COLOUR_MENUHILIGHT | |
1444 | wxSYS_COLOUR_MENUBAR = misc2c.wxSYS_COLOUR_MENUBAR | |
1445 | wxSYS_COLOUR_MAX = misc2c.wxSYS_COLOUR_MAX | |
bc29c5e0 RD |
1446 | wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS |
1447 | wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X | |
1448 | wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y | |
1449 | wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X | |
1450 | wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y | |
1451 | wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X | |
1452 | wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y | |
1453 | wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X | |
1454 | wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y | |
1455 | wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X | |
1456 | wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y | |
1457 | wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X | |
1458 | wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y | |
1459 | wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X | |
1460 | wxSYS_ICON_X = misc2c.wxSYS_ICON_X | |
1461 | wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y | |
1462 | wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X | |
1463 | wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y | |
1464 | wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X | |
1465 | wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y | |
1466 | wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X | |
1467 | wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y | |
1468 | wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X | |
1469 | wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y | |
1470 | wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X | |
1471 | wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y | |
1472 | wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y | |
1473 | wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X | |
1474 | wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X | |
1475 | wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y | |
1476 | wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y | |
1477 | wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y | |
1478 | wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y | |
1479 | wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT | |
1480 | wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT | |
1481 | wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS | |
1482 | wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS | |
1893b029 RD |
1483 | wxSYS_CAN_DRAW_FRAME_DECORATIONS = misc2c.wxSYS_CAN_DRAW_FRAME_DECORATIONS |
1484 | wxSYS_CAN_ICONIZE_FRAME = misc2c.wxSYS_CAN_ICONIZE_FRAME | |
ef12d2e2 | 1485 | wxSYS_SCREEN_NONE = misc2c.wxSYS_SCREEN_NONE |
ef12d2e2 | 1486 | wxSYS_SCREEN_TINY = misc2c.wxSYS_SCREEN_TINY |
298ae144 RD |
1487 | wxSYS_SCREEN_PDA = misc2c.wxSYS_SCREEN_PDA |
1488 | wxSYS_SCREEN_SMALL = misc2c.wxSYS_SCREEN_SMALL | |
1489 | wxSYS_SCREEN_DESKTOP = misc2c.wxSYS_SCREEN_DESKTOP | |
f6bcfd97 BP |
1490 | wxLOG_FatalError = misc2c.wxLOG_FatalError |
1491 | wxLOG_Error = misc2c.wxLOG_Error | |
1492 | wxLOG_Warning = misc2c.wxLOG_Warning | |
1493 | wxLOG_Message = misc2c.wxLOG_Message | |
1494 | wxLOG_Info = misc2c.wxLOG_Info | |
1495 | wxLOG_Status = misc2c.wxLOG_Status | |
1496 | wxLOG_Debug = misc2c.wxLOG_Debug | |
1497 | wxLOG_Trace = misc2c.wxLOG_Trace | |
1498 | wxLOG_Progress = misc2c.wxLOG_Progress | |
1499 | wxLOG_User = misc2c.wxLOG_User | |
9f873a51 RD |
1500 | wxTRACE_MemAlloc = misc2c.wxTRACE_MemAlloc |
1501 | wxTRACE_Messages = misc2c.wxTRACE_Messages | |
1502 | wxTRACE_ResAlloc = misc2c.wxTRACE_ResAlloc | |
1503 | wxTRACE_RefCount = misc2c.wxTRACE_RefCount | |
1504 | wxTraceMemAlloc = misc2c.wxTraceMemAlloc | |
1505 | wxTraceMessages = misc2c.wxTraceMessages | |
1506 | wxTraceResAlloc = misc2c.wxTraceResAlloc | |
1507 | wxTraceRefCount = misc2c.wxTraceRefCount | |
11449283 RD |
1508 | wxKILL_OK = misc2c.wxKILL_OK |
1509 | wxKILL_BAD_SIGNAL = misc2c.wxKILL_BAD_SIGNAL | |
1510 | wxKILL_ACCESS_DENIED = misc2c.wxKILL_ACCESS_DENIED | |
1511 | wxKILL_NO_PROCESS = misc2c.wxKILL_NO_PROCESS | |
1512 | wxKILL_ERROR = misc2c.wxKILL_ERROR | |
1513 | wxSIGNONE = misc2c.wxSIGNONE | |
1514 | wxSIGHUP = misc2c.wxSIGHUP | |
1515 | wxSIGINT = misc2c.wxSIGINT | |
1516 | wxSIGQUIT = misc2c.wxSIGQUIT | |
1517 | wxSIGILL = misc2c.wxSIGILL | |
1518 | wxSIGTRAP = misc2c.wxSIGTRAP | |
1519 | wxSIGABRT = misc2c.wxSIGABRT | |
1520 | wxSIGIOT = misc2c.wxSIGIOT | |
1521 | wxSIGEMT = misc2c.wxSIGEMT | |
1522 | wxSIGFPE = misc2c.wxSIGFPE | |
1523 | wxSIGKILL = misc2c.wxSIGKILL | |
1524 | wxSIGBUS = misc2c.wxSIGBUS | |
1525 | wxSIGSEGV = misc2c.wxSIGSEGV | |
1526 | wxSIGSYS = misc2c.wxSIGSYS | |
1527 | wxSIGPIPE = misc2c.wxSIGPIPE | |
1528 | wxSIGALRM = misc2c.wxSIGALRM | |
1529 | wxSIGTERM = misc2c.wxSIGTERM | |
9c4165ad | 1530 | wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS |
be86ffe3 RD |
1531 | wxEXEC_ASYNC = misc2c.wxEXEC_ASYNC |
1532 | wxEXEC_SYNC = misc2c.wxEXEC_SYNC | |
1533 | wxEXEC_NOHIDE = misc2c.wxEXEC_NOHIDE | |
a323d3bd | 1534 | wxEXEC_MAKE_GROUP_LEADER = misc2c.wxEXEC_MAKE_GROUP_LEADER |
ba77f390 RD |
1535 | wxJOYSTICK1 = misc2c.wxJOYSTICK1 |
1536 | wxJOYSTICK2 = misc2c.wxJOYSTICK2 | |
1537 | wxJOY_BUTTON_ANY = misc2c.wxJOY_BUTTON_ANY | |
1538 | wxJOY_BUTTON1 = misc2c.wxJOY_BUTTON1 | |
1539 | wxJOY_BUTTON2 = misc2c.wxJOY_BUTTON2 | |
1540 | wxJOY_BUTTON3 = misc2c.wxJOY_BUTTON3 | |
1541 | wxJOY_BUTTON4 = misc2c.wxJOY_BUTTON4 | |
5c0282d5 RD |
1542 | wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD |
1543 | wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE | |
1544 | wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE | |
1545 | wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME | |
1546 | wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL | |
1547 | cvar = misc2c.cvar | |
1548 | wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager) |