]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/misc2.py
reverted my locale change
[wxWidgets.git] / wxPython / src / msw / 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 *
7dbce44a
RD
15
16from utils import *
b5a5d647
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
9416aa89 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)
0122b7e3
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
8af26133 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
6e18ca6c
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
9416aa89 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)
10e07c70
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
cdf14688
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
9416aa89 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
b37c7e1d
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
76bfdc78
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
76bfdc78
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
0122b7e3
RD
506 def _setCallbackInfo(self, *_args, **_kwargs):
507 val = apply(misc2c.wxPyLog__setCallbackInfo,(self,) + _args, _kwargs)
76bfdc78
RD
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
0122b7e3 518 self._setCallbackInfo(self, wxPyLog)
76bfdc78
RD
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
0122b7e3
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
0122b7e3 598 self._setCallbackInfo(self, wxProcess)
c368d904
RD
599
600
601
602
9416aa89 603class wxJoystickPtr(wxObjectPtr):
185d7c3e
RD
604 def __init__(self,this):
605 self.this = this
606 self.thisown = 0
ac346f50
RD
607 def __del__(self,misc2c=misc2c):
608 if self.thisown == 1 :
609 misc2c.delete_wxJoystick(self)
185d7c3e
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
493f1553
RD
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
b37c7e1d
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
7dbce44a
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
1e7ecb7b
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
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
91c41b30
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
493f1553
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
1056wxCheckForInterrupt = misc2c.wxCheckForInterrupt
1057
25832b3f
RD
1058wxFlushEvents = misc2c.wxFlushEvents
1059
bc29c5e0
RD
1060wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
1061
1062wxResourceClear = misc2c.wxResourceClear
1063
1064def wxResourceCreateBitmap(*_args, **_kwargs):
1065 val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
1066 if val: val = wxBitmapPtr(val); val.thisown = 1
1067 return val
1068
1069def wxResourceCreateIcon(*_args, **_kwargs):
1070 val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
1071 if val: val = wxIconPtr(val); val.thisown = 1
1072 return val
1073
1074def wxResourceCreateMenuBar(*_args, **_kwargs):
1075 val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
bc29c5e0
RD
1076 return val
1077
1078wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
1079
1080wxResourceParseData = misc2c.wxResourceParseData
1081
1082wxResourceParseFile = misc2c.wxResourceParseFile
1083
1084wxResourceParseString = misc2c.wxResourceParseString
1085
8f17924e
RD
1086wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
1087
1088wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
1089
6e18ca6c
RD
1090wxSafeYield = misc2c.wxSafeYield
1091
4120ef2b
RD
1092wxPostEvent = misc2c.wxPostEvent
1093
d29aba2f
RD
1094wxWakeUpIdle = misc2c.wxWakeUpIdle
1095
6e18ca6c
RD
1096wxWakeUpMainThread = misc2c.wxWakeUpMainThread
1097
1098wxMutexGuiEnter = misc2c.wxMutexGuiEnter
1099
1100wxMutexGuiLeave = misc2c.wxMutexGuiLeave
1101
1102wxThread_IsMain = misc2c.wxThread_IsMain
c368d904 1103
f6bcfd97
BP
1104wxShowTip = misc2c.wxShowTip
1105
1106def wxCreateFileTipProvider(*_args, **_kwargs):
1107 val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs)
1108 if val: val = wxTipProviderPtr(val); val.thisown = 1
1109 return val
1110
f6bcfd97
BP
1111wxSysErrorCode = misc2c.wxSysErrorCode
1112
1113wxSysErrorMsg = misc2c.wxSysErrorMsg
1114
1115wxLogFatalError = misc2c.wxLogFatalError
1116
1117wxLogError = misc2c.wxLogError
1118
1119wxLogWarning = misc2c.wxLogWarning
1120
1121wxLogMessage = misc2c.wxLogMessage
1122
1123wxLogInfo = misc2c.wxLogInfo
1124
1125wxLogVerbose = misc2c.wxLogVerbose
1126
1127wxLogStatus = misc2c.wxLogStatus
1128
1129wxLogStatusFrame = misc2c.wxLogStatusFrame
1130
1131wxLogSysError = misc2c.wxLogSysError
1132
c368d904
RD
1133wxExecute = misc2c.wxExecute
1134
493f1553
RD
1135def wxWaveData(*_args, **_kwargs):
1136 val = apply(misc2c.wxWaveData,_args,_kwargs)
1137 if val: val = wxWavePtr(val); val.thisown = 1
1138 return val
1139
b5a5d647
RD
1140def wxSystemSettings_GetColour(*_args, **_kwargs):
1141 val = apply(misc2c.wxSystemSettings_GetColour,_args,_kwargs)
1142 if val: val = wxColourPtr(val); val.thisown = 1
1143 return val
1144
1145def wxSystemSettings_GetFont(*_args, **_kwargs):
1146 val = apply(misc2c.wxSystemSettings_GetFont,_args,_kwargs)
1147 if val: val = wxFontPtr(val); val.thisown = 1
1148 return val
1149
1150wxSystemSettings_GetMetric = misc2c.wxSystemSettings_GetMetric
1151
1152wxSystemSettings_HasFeature = misc2c.wxSystemSettings_HasFeature
1153
1154def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
1155 val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs)
1156 if val: val = wxColourPtr(val); val.thisown = 1
1157 return val
1158
1159def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
1160 val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs)
1161 if val: val = wxFontPtr(val); val.thisown = 1
1162 return val
1163
1164wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric
1165
edf2f43e
RD
1166wxToolTip_Enable = misc2c.wxToolTip_Enable
1167
1168wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
1169
f6bcfd97
BP
1170wxLog_IsEnabled = misc2c.wxLog_IsEnabled
1171
1172wxLog_EnableLogging = misc2c.wxLog_EnableLogging
1173
1174wxLog_OnLog = misc2c.wxLog_OnLog
1175
1176wxLog_FlushActive = misc2c.wxLog_FlushActive
1177
1178def wxLog_GetActiveTarget(*_args, **_kwargs):
1179 val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs)
1180 if val: val = wxLogPtr(val)
1181 return val
1182
1183def wxLog_SetActiveTarget(*_args, **_kwargs):
1184 val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs)
1185 if val: val = wxLogPtr(val)
1186 return val
1187
1188wxLog_Suspend = misc2c.wxLog_Suspend
1189
1190wxLog_Resume = misc2c.wxLog_Resume
1191
1192wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
1193
1194wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
1195
1196wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
1197
1198wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
1199
76bfdc78
RD
1200wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks
1201
1202wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp
1203
1204wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp
1205
f6bcfd97
BP
1206wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
1207
1208wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
1209
b37c7e1d
RD
1210wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand
1211
1212wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType
1213
d24a34bb
RD
1214
1215
1216#-------------- VARIABLE WRAPPERS ------------------
1217
bc29c5e0
RD
1218wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
1219wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
1220wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
1221wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
1222wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
1223wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
1224wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
1225wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
1226wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
1227wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
1228wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
1229wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
1230wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
1231wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
1232wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
1233wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
1234wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
1235wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
1236wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
1237wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
1238wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
1239wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
1240wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
1241wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
1242wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
1243wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT
1244wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT
1245wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1246wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT
1247wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
1248wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
1249wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
1250wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
b5a5d647 1251wxSYS_COLOUR_LISTBOX = misc2c.wxSYS_COLOUR_LISTBOX
bc29c5e0
RD
1252wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
1253wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
1254wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
1255wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
1256wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
1257wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
1258wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
1259wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
1260wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
1261wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
1262wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
1263wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
1264wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
1265wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
1266wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
1267wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
1268wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
1269wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
1270wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
1271wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
1272wxSYS_ICON_X = misc2c.wxSYS_ICON_X
1273wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
1274wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
1275wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
1276wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
1277wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
1278wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
1279wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
1280wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
1281wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
1282wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
1283wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
1284wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
1285wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
1286wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
1287wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
1288wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
1289wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
1290wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
1291wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
1292wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
1293wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
1294wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
b5a5d647
RD
1295wxSYS_CAN_DRAW_FRAME_DECORATIONS = misc2c.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1296wxSYS_CAN_ICONIZE_FRAME = misc2c.wxSYS_CAN_ICONIZE_FRAME
f6bcfd97
BP
1297wxLOG_FatalError = misc2c.wxLOG_FatalError
1298wxLOG_Error = misc2c.wxLOG_Error
1299wxLOG_Warning = misc2c.wxLOG_Warning
1300wxLOG_Message = misc2c.wxLOG_Message
1301wxLOG_Info = misc2c.wxLOG_Info
1302wxLOG_Status = misc2c.wxLOG_Status
1303wxLOG_Debug = misc2c.wxLOG_Debug
1304wxLOG_Trace = misc2c.wxLOG_Trace
1305wxLOG_Progress = misc2c.wxLOG_Progress
1306wxLOG_User = misc2c.wxLOG_User
1b62f00d 1307wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS
b37c7e1d
RD
1308wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD
1309wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE
1310wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE
1311wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME
1312wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL
1313cvar = misc2c.cvar
1314wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager)