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