]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/misc2.py
use generic timer in wxMGL and wxX11
[wxWidgets.git] / wxPython / src / msw / misc2.py
... / ...
CommitLineData
1# This file was created automatically by SWIG.
2import misc2c
3
4from windows import *
5
6from misc import *
7
8from gdi import *
9
10from clip_dnd import *
11
12from events import *
13
14from streams import *
15
16from utils import *
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
30class wxToolTipPtr(wxObjectPtr):
31 def __init__(self,this):
32 self.this = this
33 self.thisown = 0
34 def SetTip(self, *_args, **_kwargs):
35 val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
36 return val
37 def GetTip(self, *_args, **_kwargs):
38 val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
39 return val
40 def GetWindow(self, *_args, **_kwargs):
41 val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
42 return val
43 def __repr__(self):
44 return "<C wxToolTip instance at %s>" % (self.this,)
45class wxToolTip(wxToolTipPtr):
46 def __init__(self,*_args,**_kwargs):
47 self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
48 self.thisown = 1
49
50
51
52
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)
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
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
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
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
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)
118 def _setCallbackInfo(self, *_args, **_kwargs):
119 val = apply(misc2c.wxFontEnumerator__setCallbackInfo,(self,) + _args, _kwargs)
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
139 self._setCallbackInfo(self, wxFontEnumerator, 0)
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
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
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
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
231class wxDragImagePtr(wxObjectPtr):
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)
238 def SetBackingBitmap(self, *_args, **_kwargs):
239 val = apply(misc2c.wxDragImage_SetBackingBitmap,(self,) + _args, _kwargs)
240 return val
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
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
295
296class wxPyTimerPtr(wxObjectPtr):
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
331class wxStopWatchPtr :
332 def __init__(self,this):
333 self.this = this
334 self.thisown = 0
335 def __del__(self,misc2c=misc2c):
336 if self.thisown == 1 :
337 misc2c.delete_wxStopWatch(self)
338 def Start(self, *_args, **_kwargs):
339 val = apply(misc2c.wxStopWatch_Start,(self,) + _args, _kwargs)
340 return val
341 def Pause(self, *_args, **_kwargs):
342 val = apply(misc2c.wxStopWatch_Pause,(self,) + _args, _kwargs)
343 return val
344 def Resume(self, *_args, **_kwargs):
345 val = apply(misc2c.wxStopWatch_Resume,(self,) + _args, _kwargs)
346 return val
347 def Time(self, *_args, **_kwargs):
348 val = apply(misc2c.wxStopWatch_Time,(self,) + _args, _kwargs)
349 return val
350 def __repr__(self):
351 return "<C wxStopWatch instance at %s>" % (self.this,)
352class wxStopWatch(wxStopWatchPtr):
353 def __init__(self,*_args,**_kwargs):
354 self.this = apply(misc2c.new_wxStopWatch,_args,_kwargs)
355 self.thisown = 1
356
357
358
359
360class wxLogPtr :
361 def __init__(self,this):
362 self.this = this
363 self.thisown = 0
364 def Flush(self, *_args, **_kwargs):
365 val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs)
366 return val
367 def HasPendingMessages(self, *_args, **_kwargs):
368 val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs)
369 return val
370 def SetVerbose(self, *_args, **_kwargs):
371 val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs)
372 return val
373 def GetVerbose(self, *_args, **_kwargs):
374 val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs)
375 return val
376 def TimeStamp(self, *_args, **_kwargs):
377 val = apply(misc2c.wxLog_TimeStamp,(self,) + _args, _kwargs)
378 return val
379 def __repr__(self):
380 return "<C wxLog instance at %s>" % (self.this,)
381class wxLog(wxLogPtr):
382 def __init__(self,*_args,**_kwargs):
383 self.this = apply(misc2c.new_wxLog,_args,_kwargs)
384 self.thisown = 1
385
386
387
388
389class wxLogStderrPtr(wxLogPtr):
390 def __init__(self,this):
391 self.this = this
392 self.thisown = 0
393 def __repr__(self):
394 return "<C wxLogStderr instance at %s>" % (self.this,)
395class wxLogStderr(wxLogStderrPtr):
396 def __init__(self,*_args,**_kwargs):
397 self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs)
398 self.thisown = 1
399
400
401
402
403class wxLogTextCtrlPtr(wxLogPtr):
404 def __init__(self,this):
405 self.this = this
406 self.thisown = 0
407 def __repr__(self):
408 return "<C wxLogTextCtrl instance at %s>" % (self.this,)
409class wxLogTextCtrl(wxLogTextCtrlPtr):
410 def __init__(self,*_args,**_kwargs):
411 self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs)
412 self.thisown = 1
413
414
415
416
417class wxLogGuiPtr(wxLogPtr):
418 def __init__(self,this):
419 self.this = this
420 self.thisown = 0
421 def __repr__(self):
422 return "<C wxLogGui instance at %s>" % (self.this,)
423class wxLogGui(wxLogGuiPtr):
424 def __init__(self,*_args,**_kwargs):
425 self.this = apply(misc2c.new_wxLogGui,_args,_kwargs)
426 self.thisown = 1
427
428
429
430
431class wxLogWindowPtr(wxLogPtr):
432 def __init__(self,this):
433 self.this = this
434 self.thisown = 0
435 def Show(self, *_args, **_kwargs):
436 val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs)
437 return val
438 def GetFrame(self, *_args, **_kwargs):
439 val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs)
440 return val
441 def GetOldLog(self, *_args, **_kwargs):
442 val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs)
443 if val: val = wxLogPtr(val)
444 return val
445 def IsPassingMessages(self, *_args, **_kwargs):
446 val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs)
447 return val
448 def PassMessages(self, *_args, **_kwargs):
449 val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs)
450 return val
451 def __repr__(self):
452 return "<C wxLogWindow instance at %s>" % (self.this,)
453class wxLogWindow(wxLogWindowPtr):
454 def __init__(self,*_args,**_kwargs):
455 self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs)
456 self.thisown = 1
457
458
459
460
461class wxLogNullPtr :
462 def __init__(self,this):
463 self.this = this
464 self.thisown = 0
465 def __del__(self,misc2c=misc2c):
466 if self.thisown == 1 :
467 misc2c.delete_wxLogNull(self)
468 def __repr__(self):
469 return "<C wxLogNull instance at %s>" % (self.this,)
470class wxLogNull(wxLogNullPtr):
471 def __init__(self,*_args,**_kwargs):
472 self.this = apply(misc2c.new_wxLogNull,_args,_kwargs)
473 self.thisown = 1
474
475
476
477
478class wxLogChainPtr(wxLogPtr):
479 def __init__(self,this):
480 self.this = this
481 self.thisown = 0
482 def SetLog(self, *_args, **_kwargs):
483 val = apply(misc2c.wxLogChain_SetLog,(self,) + _args, _kwargs)
484 return val
485 def PassMessages(self, *_args, **_kwargs):
486 val = apply(misc2c.wxLogChain_PassMessages,(self,) + _args, _kwargs)
487 return val
488 def IsPassingMessages(self, *_args, **_kwargs):
489 val = apply(misc2c.wxLogChain_IsPassingMessages,(self,) + _args, _kwargs)
490 return val
491 def GetOldLog(self, *_args, **_kwargs):
492 val = apply(misc2c.wxLogChain_GetOldLog,(self,) + _args, _kwargs)
493 if val: val = wxLogPtr(val)
494 return val
495 def __repr__(self):
496 return "<C wxLogChain instance at %s>" % (self.this,)
497class wxLogChain(wxLogChainPtr):
498 def __init__(self,*_args,**_kwargs):
499 self.this = apply(misc2c.new_wxLogChain,_args,_kwargs)
500 self.thisown = 1
501
502
503
504
505class wxPyLogPtr(wxLogPtr):
506 def __init__(self,this):
507 self.this = this
508 self.thisown = 0
509 def _setCallbackInfo(self, *_args, **_kwargs):
510 val = apply(misc2c.wxPyLog__setCallbackInfo,(self,) + _args, _kwargs)
511 return val
512 def Destroy(self, *_args, **_kwargs):
513 val = apply(misc2c.wxPyLog_Destroy,(self,) + _args, _kwargs)
514 return val
515 def __repr__(self):
516 return "<C wxPyLog instance at %s>" % (self.this,)
517class wxPyLog(wxPyLogPtr):
518 def __init__(self,*_args,**_kwargs):
519 self.this = apply(misc2c.new_wxPyLog,_args,_kwargs)
520 self.thisown = 1
521 self._setCallbackInfo(self, wxPyLog)
522
523
524
525
526class wxProcessEventPtr(wxEventPtr):
527 def __init__(self,this):
528 self.this = this
529 self.thisown = 0
530 def GetPid(self, *_args, **_kwargs):
531 val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs)
532 return val
533 def GetExitCode(self, *_args, **_kwargs):
534 val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs)
535 return val
536 def __setattr__(self,name,value):
537 if name == "m_pid" :
538 misc2c.wxProcessEvent_m_pid_set(self,value)
539 return
540 if name == "m_exitcode" :
541 misc2c.wxProcessEvent_m_exitcode_set(self,value)
542 return
543 self.__dict__[name] = value
544 def __getattr__(self,name):
545 if name == "m_pid" :
546 return misc2c.wxProcessEvent_m_pid_get(self)
547 if name == "m_exitcode" :
548 return misc2c.wxProcessEvent_m_exitcode_get(self)
549 raise AttributeError,name
550 def __repr__(self):
551 return "<C wxProcessEvent instance at %s>" % (self.this,)
552class wxProcessEvent(wxProcessEventPtr):
553 def __init__(self,*_args,**_kwargs):
554 self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs)
555 self.thisown = 1
556
557
558
559
560class wxProcessPtr(wxEvtHandlerPtr):
561 def __init__(self,this):
562 self.this = this
563 self.thisown = 0
564 def Destroy(self, *_args, **_kwargs):
565 val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs)
566 return val
567 def _setCallbackInfo(self, *_args, **_kwargs):
568 val = apply(misc2c.wxProcess__setCallbackInfo,(self,) + _args, _kwargs)
569 return val
570 def base_OnTerminate(self, *_args, **_kwargs):
571 val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs)
572 return val
573 def Redirect(self, *_args, **_kwargs):
574 val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs)
575 return val
576 def IsRedirected(self, *_args, **_kwargs):
577 val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs)
578 return val
579 def Detach(self, *_args, **_kwargs):
580 val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs)
581 return val
582 def GetInputStream(self, *_args, **_kwargs):
583 val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs)
584 return val
585 def GetErrorStream(self, *_args, **_kwargs):
586 val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs)
587 return val
588 def GetOutputStream(self, *_args, **_kwargs):
589 val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs)
590 if val: val = wxOutputStreamPtr(val)
591 return val
592 def CloseOutput(self, *_args, **_kwargs):
593 val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs)
594 return val
595 def __repr__(self):
596 return "<C wxProcess instance at %s>" % (self.this,)
597class wxProcess(wxProcessPtr):
598 def __init__(self,*_args,**_kwargs):
599 self.this = apply(misc2c.new_wxProcess,_args,_kwargs)
600 self.thisown = 1
601 self._setCallbackInfo(self, wxProcess)
602
603
604
605
606class wxJoystickPtr(wxObjectPtr):
607 def __init__(self,this):
608 self.this = this
609 self.thisown = 0
610 def __del__(self,misc2c=misc2c):
611 if self.thisown == 1 :
612 misc2c.delete_wxJoystick(self)
613 def GetPosition(self, *_args, **_kwargs):
614 val = apply(misc2c.wxJoystick_GetPosition,(self,) + _args, _kwargs)
615 if val: val = wxPointPtr(val) ; val.thisown = 1
616 return val
617 def GetZPosition(self, *_args, **_kwargs):
618 val = apply(misc2c.wxJoystick_GetZPosition,(self,) + _args, _kwargs)
619 return val
620 def GetButtonState(self, *_args, **_kwargs):
621 val = apply(misc2c.wxJoystick_GetButtonState,(self,) + _args, _kwargs)
622 return val
623 def GetPOVPosition(self, *_args, **_kwargs):
624 val = apply(misc2c.wxJoystick_GetPOVPosition,(self,) + _args, _kwargs)
625 return val
626 def GetPOVCTSPosition(self, *_args, **_kwargs):
627 val = apply(misc2c.wxJoystick_GetPOVCTSPosition,(self,) + _args, _kwargs)
628 return val
629 def GetRudderPosition(self, *_args, **_kwargs):
630 val = apply(misc2c.wxJoystick_GetRudderPosition,(self,) + _args, _kwargs)
631 return val
632 def GetUPosition(self, *_args, **_kwargs):
633 val = apply(misc2c.wxJoystick_GetUPosition,(self,) + _args, _kwargs)
634 return val
635 def GetVPosition(self, *_args, **_kwargs):
636 val = apply(misc2c.wxJoystick_GetVPosition,(self,) + _args, _kwargs)
637 return val
638 def GetMovementThreshold(self, *_args, **_kwargs):
639 val = apply(misc2c.wxJoystick_GetMovementThreshold,(self,) + _args, _kwargs)
640 return val
641 def SetMovementThreshold(self, *_args, **_kwargs):
642 val = apply(misc2c.wxJoystick_SetMovementThreshold,(self,) + _args, _kwargs)
643 return val
644 def IsOk(self, *_args, **_kwargs):
645 val = apply(misc2c.wxJoystick_IsOk,(self,) + _args, _kwargs)
646 return val
647 def GetNumberJoysticks(self, *_args, **_kwargs):
648 val = apply(misc2c.wxJoystick_GetNumberJoysticks,(self,) + _args, _kwargs)
649 return val
650 def GetManufacturerId(self, *_args, **_kwargs):
651 val = apply(misc2c.wxJoystick_GetManufacturerId,(self,) + _args, _kwargs)
652 return val
653 def GetProductId(self, *_args, **_kwargs):
654 val = apply(misc2c.wxJoystick_GetProductId,(self,) + _args, _kwargs)
655 return val
656 def GetProductName(self, *_args, **_kwargs):
657 val = apply(misc2c.wxJoystick_GetProductName,(self,) + _args, _kwargs)
658 return val
659 def GetXMin(self, *_args, **_kwargs):
660 val = apply(misc2c.wxJoystick_GetXMin,(self,) + _args, _kwargs)
661 return val
662 def GetYMin(self, *_args, **_kwargs):
663 val = apply(misc2c.wxJoystick_GetYMin,(self,) + _args, _kwargs)
664 return val
665 def GetZMin(self, *_args, **_kwargs):
666 val = apply(misc2c.wxJoystick_GetZMin,(self,) + _args, _kwargs)
667 return val
668 def GetXMax(self, *_args, **_kwargs):
669 val = apply(misc2c.wxJoystick_GetXMax,(self,) + _args, _kwargs)
670 return val
671 def GetYMax(self, *_args, **_kwargs):
672 val = apply(misc2c.wxJoystick_GetYMax,(self,) + _args, _kwargs)
673 return val
674 def GetZMax(self, *_args, **_kwargs):
675 val = apply(misc2c.wxJoystick_GetZMax,(self,) + _args, _kwargs)
676 return val
677 def GetNumberButtons(self, *_args, **_kwargs):
678 val = apply(misc2c.wxJoystick_GetNumberButtons,(self,) + _args, _kwargs)
679 return val
680 def GetNumberAxes(self, *_args, **_kwargs):
681 val = apply(misc2c.wxJoystick_GetNumberAxes,(self,) + _args, _kwargs)
682 return val
683 def GetMaxButtons(self, *_args, **_kwargs):
684 val = apply(misc2c.wxJoystick_GetMaxButtons,(self,) + _args, _kwargs)
685 return val
686 def GetMaxAxes(self, *_args, **_kwargs):
687 val = apply(misc2c.wxJoystick_GetMaxAxes,(self,) + _args, _kwargs)
688 return val
689 def GetPollingMin(self, *_args, **_kwargs):
690 val = apply(misc2c.wxJoystick_GetPollingMin,(self,) + _args, _kwargs)
691 return val
692 def GetPollingMax(self, *_args, **_kwargs):
693 val = apply(misc2c.wxJoystick_GetPollingMax,(self,) + _args, _kwargs)
694 return val
695 def GetRudderMin(self, *_args, **_kwargs):
696 val = apply(misc2c.wxJoystick_GetRudderMin,(self,) + _args, _kwargs)
697 return val
698 def GetRudderMax(self, *_args, **_kwargs):
699 val = apply(misc2c.wxJoystick_GetRudderMax,(self,) + _args, _kwargs)
700 return val
701 def GetUMin(self, *_args, **_kwargs):
702 val = apply(misc2c.wxJoystick_GetUMin,(self,) + _args, _kwargs)
703 return val
704 def GetUMax(self, *_args, **_kwargs):
705 val = apply(misc2c.wxJoystick_GetUMax,(self,) + _args, _kwargs)
706 return val
707 def GetVMin(self, *_args, **_kwargs):
708 val = apply(misc2c.wxJoystick_GetVMin,(self,) + _args, _kwargs)
709 return val
710 def GetVMax(self, *_args, **_kwargs):
711 val = apply(misc2c.wxJoystick_GetVMax,(self,) + _args, _kwargs)
712 return val
713 def HasRudder(self, *_args, **_kwargs):
714 val = apply(misc2c.wxJoystick_HasRudder,(self,) + _args, _kwargs)
715 return val
716 def HasZ(self, *_args, **_kwargs):
717 val = apply(misc2c.wxJoystick_HasZ,(self,) + _args, _kwargs)
718 return val
719 def HasU(self, *_args, **_kwargs):
720 val = apply(misc2c.wxJoystick_HasU,(self,) + _args, _kwargs)
721 return val
722 def HasV(self, *_args, **_kwargs):
723 val = apply(misc2c.wxJoystick_HasV,(self,) + _args, _kwargs)
724 return val
725 def HasPOV(self, *_args, **_kwargs):
726 val = apply(misc2c.wxJoystick_HasPOV,(self,) + _args, _kwargs)
727 return val
728 def HasPOV4Dir(self, *_args, **_kwargs):
729 val = apply(misc2c.wxJoystick_HasPOV4Dir,(self,) + _args, _kwargs)
730 return val
731 def HasPOVCTS(self, *_args, **_kwargs):
732 val = apply(misc2c.wxJoystick_HasPOVCTS,(self,) + _args, _kwargs)
733 return val
734 def SetCapture(self, *_args, **_kwargs):
735 val = apply(misc2c.wxJoystick_SetCapture,(self,) + _args, _kwargs)
736 return val
737 def ReleaseCapture(self, *_args, **_kwargs):
738 val = apply(misc2c.wxJoystick_ReleaseCapture,(self,) + _args, _kwargs)
739 return val
740 def __repr__(self):
741 return "<C wxJoystick instance at %s>" % (self.this,)
742class wxJoystick(wxJoystickPtr):
743 def __init__(self,*_args,**_kwargs):
744 self.this = apply(misc2c.new_wxJoystick,_args,_kwargs)
745 self.thisown = 1
746
747
748
749
750class wxWavePtr(wxObjectPtr):
751 def __init__(self,this):
752 self.this = this
753 self.thisown = 0
754 def __del__(self,misc2c=misc2c):
755 if self.thisown == 1 :
756 misc2c.delete_wxWave(self)
757 def IsOk(self, *_args, **_kwargs):
758 val = apply(misc2c.wxWave_IsOk,(self,) + _args, _kwargs)
759 return val
760 def Play(self, *_args, **_kwargs):
761 val = apply(misc2c.wxWave_Play,(self,) + _args, _kwargs)
762 return val
763 def __repr__(self):
764 return "<C wxWave instance at %s>" % (self.this,)
765class wxWave(wxWavePtr):
766 def __init__(self,*_args,**_kwargs):
767 self.this = apply(misc2c.new_wxWave,_args,_kwargs)
768 self.thisown = 1
769
770
771
772
773class wxFileTypeInfoPtr :
774 def __init__(self,this):
775 self.this = this
776 self.thisown = 0
777 def IsValid(self, *_args, **_kwargs):
778 val = apply(misc2c.wxFileTypeInfo_IsValid,(self,) + _args, _kwargs)
779 return val
780 def SetIcon(self, *_args, **_kwargs):
781 val = apply(misc2c.wxFileTypeInfo_SetIcon,(self,) + _args, _kwargs)
782 return val
783 def SetShortDesc(self, *_args, **_kwargs):
784 val = apply(misc2c.wxFileTypeInfo_SetShortDesc,(self,) + _args, _kwargs)
785 return val
786 def GetMimeType(self, *_args, **_kwargs):
787 val = apply(misc2c.wxFileTypeInfo_GetMimeType,(self,) + _args, _kwargs)
788 return val
789 def GetOpenCommand(self, *_args, **_kwargs):
790 val = apply(misc2c.wxFileTypeInfo_GetOpenCommand,(self,) + _args, _kwargs)
791 return val
792 def GetPrintCommand(self, *_args, **_kwargs):
793 val = apply(misc2c.wxFileTypeInfo_GetPrintCommand,(self,) + _args, _kwargs)
794 return val
795 def GetShortDesc(self, *_args, **_kwargs):
796 val = apply(misc2c.wxFileTypeInfo_GetShortDesc,(self,) + _args, _kwargs)
797 return val
798 def GetDescription(self, *_args, **_kwargs):
799 val = apply(misc2c.wxFileTypeInfo_GetDescription,(self,) + _args, _kwargs)
800 return val
801 def GetExtensions(self, *_args, **_kwargs):
802 val = apply(misc2c.wxFileTypeInfo_GetExtensions,(self,) + _args, _kwargs)
803 return val
804 def GetExtensionsCount(self, *_args, **_kwargs):
805 val = apply(misc2c.wxFileTypeInfo_GetExtensionsCount,(self,) + _args, _kwargs)
806 return val
807 def GetIconFile(self, *_args, **_kwargs):
808 val = apply(misc2c.wxFileTypeInfo_GetIconFile,(self,) + _args, _kwargs)
809 return val
810 def GetIconIndex(self, *_args, **_kwargs):
811 val = apply(misc2c.wxFileTypeInfo_GetIconIndex,(self,) + _args, _kwargs)
812 return val
813 def __repr__(self):
814 return "<C wxFileTypeInfo instance at %s>" % (self.this,)
815class wxFileTypeInfo(wxFileTypeInfoPtr):
816 def __init__(self,*_args,**_kwargs):
817 self.this = apply(misc2c.new_wxFileTypeInfo,_args,_kwargs)
818 self.thisown = 1
819
820
821
822def wxFileTypeInfoSequence(*_args,**_kwargs):
823 val = wxFileTypeInfoPtr(apply(misc2c.new_wxFileTypeInfoSequence,_args,_kwargs))
824 val.thisown = 1
825 return val
826
827def wxNullFileTypeInfo(*_args,**_kwargs):
828 val = wxFileTypeInfoPtr(apply(misc2c.new_wxNullFileTypeInfo,_args,_kwargs))
829 val.thisown = 1
830 return val
831
832
833class wxFileTypePtr :
834 def __init__(self,this):
835 self.this = this
836 self.thisown = 0
837 def GetMimeType(self, *_args, **_kwargs):
838 val = apply(misc2c.wxFileType_GetMimeType,(self,) + _args, _kwargs)
839 return val
840 def GetMimeTypes(self, *_args, **_kwargs):
841 val = apply(misc2c.wxFileType_GetMimeTypes,(self,) + _args, _kwargs)
842 return val
843 def GetExtensions(self, *_args, **_kwargs):
844 val = apply(misc2c.wxFileType_GetExtensions,(self,) + _args, _kwargs)
845 return val
846 def GetIcon(self, *_args, **_kwargs):
847 val = apply(misc2c.wxFileType_GetIcon,(self,) + _args, _kwargs)
848 if val: val = wxIconPtr(val) ; val.thisown = 1
849 return val
850 def GetIconInfo(self, *_args, **_kwargs):
851 val = apply(misc2c.wxFileType_GetIconInfo,(self,) + _args, _kwargs)
852 return val
853 def GetDescription(self, *_args, **_kwargs):
854 val = apply(misc2c.wxFileType_GetDescription,(self,) + _args, _kwargs)
855 return val
856 def GetOpenCommand(self, *_args, **_kwargs):
857 val = apply(misc2c.wxFileType_GetOpenCommand,(self,) + _args, _kwargs)
858 return val
859 def GetPrintCommand(self, *_args, **_kwargs):
860 val = apply(misc2c.wxFileType_GetPrintCommand,(self,) + _args, _kwargs)
861 return val
862 def GetAllCommands(self, *_args, **_kwargs):
863 val = apply(misc2c.wxFileType_GetAllCommands,(self,) + _args, _kwargs)
864 return val
865 def SetCommand(self, *_args, **_kwargs):
866 val = apply(misc2c.wxFileType_SetCommand,(self,) + _args, _kwargs)
867 return val
868 def SetDefaultIcon(self, *_args, **_kwargs):
869 val = apply(misc2c.wxFileType_SetDefaultIcon,(self,) + _args, _kwargs)
870 return val
871 def Unassociate(self, *_args, **_kwargs):
872 val = apply(misc2c.wxFileType_Unassociate,(self,) + _args, _kwargs)
873 return val
874 def __del__(self,misc2c=misc2c):
875 if self.thisown == 1 :
876 misc2c.delete_wxFileType(self)
877 def __repr__(self):
878 return "<C wxFileType instance at %s>" % (self.this,)
879class wxFileType(wxFileTypePtr):
880 def __init__(self,*_args,**_kwargs):
881 self.this = apply(misc2c.new_wxFileType,_args,_kwargs)
882 self.thisown = 1
883
884
885
886
887class wxMimeTypesManagerPtr :
888 def __init__(self,this):
889 self.this = this
890 self.thisown = 0
891 def Initialize(self, *_args, **_kwargs):
892 val = apply(misc2c.wxMimeTypesManager_Initialize,(self,) + _args, _kwargs)
893 return val
894 def ClearData(self, *_args, **_kwargs):
895 val = apply(misc2c.wxMimeTypesManager_ClearData,(self,) + _args, _kwargs)
896 return val
897 def GetFileTypeFromExtension(self, *_args, **_kwargs):
898 val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromExtension,(self,) + _args, _kwargs)
899 if val: val = wxFileTypePtr(val) ; val.thisown = 1
900 return val
901 def GetFileTypeFromMimeType(self, *_args, **_kwargs):
902 val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromMimeType,(self,) + _args, _kwargs)
903 if val: val = wxFileTypePtr(val) ; val.thisown = 1
904 return val
905 def ReadMailcap(self, *_args, **_kwargs):
906 val = apply(misc2c.wxMimeTypesManager_ReadMailcap,(self,) + _args, _kwargs)
907 return val
908 def ReadMimeTypes(self, *_args, **_kwargs):
909 val = apply(misc2c.wxMimeTypesManager_ReadMimeTypes,(self,) + _args, _kwargs)
910 return val
911 def EnumAllFileTypes(self, *_args, **_kwargs):
912 val = apply(misc2c.wxMimeTypesManager_EnumAllFileTypes,(self,) + _args, _kwargs)
913 return val
914 def AddFallback(self, *_args, **_kwargs):
915 val = apply(misc2c.wxMimeTypesManager_AddFallback,(self,) + _args, _kwargs)
916 return val
917 def Associate(self, *_args, **_kwargs):
918 val = apply(misc2c.wxMimeTypesManager_Associate,(self,) + _args, _kwargs)
919 if val: val = wxFileTypePtr(val) ; val.thisown = 1
920 return val
921 def Unassociate(self, *_args, **_kwargs):
922 val = apply(misc2c.wxMimeTypesManager_Unassociate,(self,) + _args, _kwargs)
923 return val
924 def __del__(self,misc2c=misc2c):
925 if self.thisown == 1 :
926 misc2c.delete_wxMimeTypesManager(self)
927 def __repr__(self):
928 return "<C wxMimeTypesManager instance at %s>" % (self.this,)
929class wxMimeTypesManager(wxMimeTypesManagerPtr):
930 def __init__(self,*_args,**_kwargs):
931 self.this = apply(misc2c.new_wxMimeTypesManager,_args,_kwargs)
932 self.thisown = 1
933
934
935
936
937class wxFileHistoryPtr(wxObjectPtr):
938 def __init__(self,this):
939 self.this = this
940 self.thisown = 0
941 def __del__(self,misc2c=misc2c):
942 if self.thisown == 1 :
943 misc2c.delete_wxFileHistory(self)
944 def AddFileToHistory(self, *_args, **_kwargs):
945 val = apply(misc2c.wxFileHistory_AddFileToHistory,(self,) + _args, _kwargs)
946 return val
947 def RemoveFileFromHistory(self, *_args, **_kwargs):
948 val = apply(misc2c.wxFileHistory_RemoveFileFromHistory,(self,) + _args, _kwargs)
949 return val
950 def GetMaxFiles(self, *_args, **_kwargs):
951 val = apply(misc2c.wxFileHistory_GetMaxFiles,(self,) + _args, _kwargs)
952 return val
953 def UseMenu(self, *_args, **_kwargs):
954 val = apply(misc2c.wxFileHistory_UseMenu,(self,) + _args, _kwargs)
955 return val
956 def RemoveMenu(self, *_args, **_kwargs):
957 val = apply(misc2c.wxFileHistory_RemoveMenu,(self,) + _args, _kwargs)
958 return val
959 def Load(self, *_args, **_kwargs):
960 val = apply(misc2c.wxFileHistory_Load,(self,) + _args, _kwargs)
961 return val
962 def Save(self, *_args, **_kwargs):
963 val = apply(misc2c.wxFileHistory_Save,(self,) + _args, _kwargs)
964 return val
965 def AddFilesToMenu(self, *_args, **_kwargs):
966 val = apply(misc2c.wxFileHistory_AddFilesToMenu,(self,) + _args, _kwargs)
967 return val
968 def AddFilesToSingleMenu(self, *_args, **_kwargs):
969 val = apply(misc2c.wxFileHistory_AddFilesToSingleMenu,(self,) + _args, _kwargs)
970 return val
971 def GetHistoryFile(self, *_args, **_kwargs):
972 val = apply(misc2c.wxFileHistory_GetHistoryFile,(self,) + _args, _kwargs)
973 return val
974 def GetCount(self, *_args, **_kwargs):
975 val = apply(misc2c.wxFileHistory_GetCount,(self,) + _args, _kwargs)
976 return val
977 def GetNoHistoryFiles(self, *_args, **_kwargs):
978 val = apply(misc2c.wxFileHistory_GetNoHistoryFiles,(self,) + _args, _kwargs)
979 return val
980 def __repr__(self):
981 return "<C wxFileHistory instance at %s>" % (self.this,)
982class wxFileHistory(wxFileHistoryPtr):
983 def __init__(self,*_args,**_kwargs):
984 self.this = apply(misc2c.new_wxFileHistory,_args,_kwargs)
985 self.thisown = 1
986
987
988
989
990
991
992#-------------- FUNCTION WRAPPERS ------------------
993
994wxFileSelector = misc2c.wxFileSelector
995
996wxGetTextFromUser = misc2c.wxGetTextFromUser
997
998wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser
999
1000wxGetSingleChoice = misc2c.wxGetSingleChoice
1001
1002wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
1003
1004wxMessageBox = misc2c.wxMessageBox
1005
1006wxGetNumberFromUser = misc2c.wxGetNumberFromUser
1007
1008wxColourDisplay = misc2c.wxColourDisplay
1009
1010wxDisplayDepth = misc2c.wxDisplayDepth
1011
1012wxGetDisplayDepth = misc2c.wxGetDisplayDepth
1013
1014wxDisplaySize = misc2c.wxDisplaySize
1015
1016def wxGetDisplaySize(*_args, **_kwargs):
1017 val = apply(misc2c.wxGetDisplaySize,_args,_kwargs)
1018 if val: val = wxSizePtr(val); val.thisown = 1
1019 return val
1020
1021wxDisplaySizeMM = misc2c.wxDisplaySizeMM
1022
1023def wxGetDisplaySizeMM(*_args, **_kwargs):
1024 val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs)
1025 if val: val = wxSizePtr(val); val.thisown = 1
1026 return val
1027
1028wxClientDisplayRect = misc2c.wxClientDisplayRect
1029
1030def wxGetClientDisplayRect(*_args, **_kwargs):
1031 val = apply(misc2c.wxGetClientDisplayRect,_args,_kwargs)
1032 if val: val = wxRectPtr(val); val.thisown = 1
1033 return val
1034
1035wxSetCursor = misc2c.wxSetCursor
1036
1037def wxFindWindowByLabel(*_args, **_kwargs):
1038 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
1039 return val
1040
1041def wxFindWindowByName(*_args, **_kwargs):
1042 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
1043 return val
1044
1045wxBeginBusyCursor = misc2c.wxBeginBusyCursor
1046
1047def wxGetActiveWindow(*_args, **_kwargs):
1048 val = apply(misc2c.wxGetActiveWindow,_args,_kwargs)
1049 return val
1050
1051def wxGenericFindWindowAtPoint(*_args, **_kwargs):
1052 val = apply(misc2c.wxGenericFindWindowAtPoint,_args,_kwargs)
1053 return val
1054
1055def wxFindWindowAtPoint(*_args, **_kwargs):
1056 val = apply(misc2c.wxFindWindowAtPoint,_args,_kwargs)
1057 return val
1058
1059wxCheckForInterrupt = misc2c.wxCheckForInterrupt
1060
1061wxFlushEvents = misc2c.wxFlushEvents
1062
1063wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
1064
1065wxResourceClear = misc2c.wxResourceClear
1066
1067def wxResourceCreateBitmap(*_args, **_kwargs):
1068 val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
1069 if val: val = wxBitmapPtr(val); val.thisown = 1
1070 return val
1071
1072def wxResourceCreateIcon(*_args, **_kwargs):
1073 val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
1074 if val: val = wxIconPtr(val); val.thisown = 1
1075 return val
1076
1077def wxResourceCreateMenuBar(*_args, **_kwargs):
1078 val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
1079 return val
1080
1081wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
1082
1083wxResourceParseData = misc2c.wxResourceParseData
1084
1085wxResourceParseFile = misc2c.wxResourceParseFile
1086
1087wxResourceParseString = misc2c.wxResourceParseString
1088
1089wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
1090
1091wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
1092
1093wxSafeYield = misc2c.wxSafeYield
1094
1095wxPostEvent = misc2c.wxPostEvent
1096
1097wxWakeUpIdle = misc2c.wxWakeUpIdle
1098
1099wxWakeUpMainThread = misc2c.wxWakeUpMainThread
1100
1101wxMutexGuiEnter = misc2c.wxMutexGuiEnter
1102
1103wxMutexGuiLeave = misc2c.wxMutexGuiLeave
1104
1105wxThread_IsMain = misc2c.wxThread_IsMain
1106
1107wxShowTip = misc2c.wxShowTip
1108
1109def wxCreateFileTipProvider(*_args, **_kwargs):
1110 val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs)
1111 if val: val = wxTipProviderPtr(val); val.thisown = 1
1112 return val
1113
1114wxSysErrorCode = misc2c.wxSysErrorCode
1115
1116wxSysErrorMsg = misc2c.wxSysErrorMsg
1117
1118wxLogFatalError = misc2c.wxLogFatalError
1119
1120wxLogError = misc2c.wxLogError
1121
1122wxLogWarning = misc2c.wxLogWarning
1123
1124wxLogMessage = misc2c.wxLogMessage
1125
1126wxLogInfo = misc2c.wxLogInfo
1127
1128wxLogVerbose = misc2c.wxLogVerbose
1129
1130wxLogStatus = misc2c.wxLogStatus
1131
1132wxLogStatusFrame = misc2c.wxLogStatusFrame
1133
1134wxLogSysError = misc2c.wxLogSysError
1135
1136wxExecute = misc2c.wxExecute
1137
1138def wxWaveData(*_args, **_kwargs):
1139 val = apply(misc2c.wxWaveData,_args,_kwargs)
1140 if val: val = wxWavePtr(val); val.thisown = 1
1141 return val
1142
1143def wxSystemSettings_GetColour(*_args, **_kwargs):
1144 val = apply(misc2c.wxSystemSettings_GetColour,_args,_kwargs)
1145 if val: val = wxColourPtr(val); val.thisown = 1
1146 return val
1147
1148def wxSystemSettings_GetFont(*_args, **_kwargs):
1149 val = apply(misc2c.wxSystemSettings_GetFont,_args,_kwargs)
1150 if val: val = wxFontPtr(val); val.thisown = 1
1151 return val
1152
1153wxSystemSettings_GetMetric = misc2c.wxSystemSettings_GetMetric
1154
1155wxSystemSettings_HasFeature = misc2c.wxSystemSettings_HasFeature
1156
1157wxToolTip_Enable = misc2c.wxToolTip_Enable
1158
1159wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
1160
1161wxLog_IsEnabled = misc2c.wxLog_IsEnabled
1162
1163wxLog_EnableLogging = misc2c.wxLog_EnableLogging
1164
1165wxLog_OnLog = misc2c.wxLog_OnLog
1166
1167wxLog_FlushActive = misc2c.wxLog_FlushActive
1168
1169def wxLog_GetActiveTarget(*_args, **_kwargs):
1170 val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs)
1171 if val: val = wxLogPtr(val)
1172 return val
1173
1174def wxLog_SetActiveTarget(*_args, **_kwargs):
1175 val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs)
1176 if val: val = wxLogPtr(val)
1177 return val
1178
1179wxLog_Suspend = misc2c.wxLog_Suspend
1180
1181wxLog_Resume = misc2c.wxLog_Resume
1182
1183wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
1184
1185wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
1186
1187wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
1188
1189wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
1190
1191wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks
1192
1193wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp
1194
1195wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp
1196
1197wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
1198
1199wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
1200
1201wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand
1202
1203wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType
1204
1205
1206
1207#-------------- VARIABLE WRAPPERS ------------------
1208
1209wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
1210wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
1211wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
1212wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
1213wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
1214wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
1215wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
1216wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
1217wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
1218wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
1219wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
1220wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
1221wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
1222wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
1223wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
1224wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
1225wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
1226wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
1227wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
1228wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
1229wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
1230wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
1231wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
1232wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
1233wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
1234wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
1235wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
1236wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
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_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
1242wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
1243wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
1244wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
1245wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
1246wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
1247wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
1248wxSYS_COLOUR_LISTBOX = misc2c.wxSYS_COLOUR_LISTBOX
1249wxSYS_COLOUR_HOTLIGHT = misc2c.wxSYS_COLOUR_HOTLIGHT
1250wxSYS_COLOUR_GRADIENTACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTACTIVECAPTION
1251wxSYS_COLOUR_GRADIENTINACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTINACTIVECAPTION
1252wxSYS_COLOUR_MENUHILIGHT = misc2c.wxSYS_COLOUR_MENUHILIGHT
1253wxSYS_COLOUR_MENUBAR = misc2c.wxSYS_COLOUR_MENUBAR
1254wxSYS_COLOUR_MAX = misc2c.wxSYS_COLOUR_MAX
1255wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
1256wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
1257wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
1258wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
1259wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
1260wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
1261wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
1262wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
1263wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
1264wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
1265wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
1266wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
1267wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
1268wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
1269wxSYS_ICON_X = misc2c.wxSYS_ICON_X
1270wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
1271wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
1272wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
1273wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
1274wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
1275wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
1276wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
1277wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
1278wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
1279wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
1280wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
1281wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
1282wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
1283wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
1284wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
1285wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
1286wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
1287wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
1288wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
1289wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
1290wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
1291wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
1292wxSYS_CAN_DRAW_FRAME_DECORATIONS = misc2c.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1293wxSYS_CAN_ICONIZE_FRAME = misc2c.wxSYS_CAN_ICONIZE_FRAME
1294wxLOG_FatalError = misc2c.wxLOG_FatalError
1295wxLOG_Error = misc2c.wxLOG_Error
1296wxLOG_Warning = misc2c.wxLOG_Warning
1297wxLOG_Message = misc2c.wxLOG_Message
1298wxLOG_Info = misc2c.wxLOG_Info
1299wxLOG_Status = misc2c.wxLOG_Status
1300wxLOG_Debug = misc2c.wxLOG_Debug
1301wxLOG_Trace = misc2c.wxLOG_Trace
1302wxLOG_Progress = misc2c.wxLOG_Progress
1303wxLOG_User = misc2c.wxLOG_User
1304wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS
1305wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD
1306wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE
1307wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE
1308wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME
1309wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL
1310cvar = misc2c.cvar
1311wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager)