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