1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
19 class wxSystemSettingsPtr
:
20 def __init__(self
,this
):
24 return "<C wxSystemSettings instance at %s>" % (self
.this
,)
25 class wxSystemSettings(wxSystemSettingsPtr
):
26 def __init__(self
,this
):
32 class wxToolTipPtr(wxObjectPtr
):
33 def __init__(self
,this
):
36 def SetTip(self
, *_args
, **_kwargs
):
37 val
= apply(misc2c
.wxToolTip_SetTip
,(self
,) + _args
, _kwargs
)
39 def GetTip(self
, *_args
, **_kwargs
):
40 val
= apply(misc2c
.wxToolTip_GetTip
,(self
,) + _args
, _kwargs
)
42 def GetWindow(self
, *_args
, **_kwargs
):
43 val
= apply(misc2c
.wxToolTip_GetWindow
,(self
,) + _args
, _kwargs
)
46 return "<C wxToolTip instance at %s>" % (self
.this
,)
47 class wxToolTip(wxToolTipPtr
):
48 def __init__(self
,*_args
,**_kwargs
):
49 self
.this
= apply(misc2c
.new_wxToolTip
,_args
,_kwargs
)
56 def __init__(self
,this
):
59 def __del__(self
,misc2c
=misc2c
):
60 if self
.thisown
== 1 :
61 misc2c
.delete_wxCaret(self
)
62 def IsOk(self
, *_args
, **_kwargs
):
63 val
= apply(misc2c
.wxCaret_IsOk
,(self
,) + _args
, _kwargs
)
65 def IsVisible(self
, *_args
, **_kwargs
):
66 val
= apply(misc2c
.wxCaret_IsVisible
,(self
,) + _args
, _kwargs
)
68 def GetPositionTuple(self
, *_args
, **_kwargs
):
69 val
= apply(misc2c
.wxCaret_GetPositionTuple
,(self
,) + _args
, _kwargs
)
71 def GetPosition(self
, *_args
, **_kwargs
):
72 val
= apply(misc2c
.wxCaret_GetPosition
,(self
,) + _args
, _kwargs
)
73 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
75 def GetSizeTuple(self
, *_args
, **_kwargs
):
76 val
= apply(misc2c
.wxCaret_GetSizeTuple
,(self
,) + _args
, _kwargs
)
78 def GetSize(self
, *_args
, **_kwargs
):
79 val
= apply(misc2c
.wxCaret_GetSize
,(self
,) + _args
, _kwargs
)
80 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
82 def GetWindow(self
, *_args
, **_kwargs
):
83 val
= apply(misc2c
.wxCaret_GetWindow
,(self
,) + _args
, _kwargs
)
85 def MoveXY(self
, *_args
, **_kwargs
):
86 val
= apply(misc2c
.wxCaret_MoveXY
,(self
,) + _args
, _kwargs
)
88 def Move(self
, *_args
, **_kwargs
):
89 val
= apply(misc2c
.wxCaret_Move
,(self
,) + _args
, _kwargs
)
91 def SetSizeWH(self
, *_args
, **_kwargs
):
92 val
= apply(misc2c
.wxCaret_SetSizeWH
,(self
,) + _args
, _kwargs
)
94 def SetSize(self
, *_args
, **_kwargs
):
95 val
= apply(misc2c
.wxCaret_SetSize
,(self
,) + _args
, _kwargs
)
97 def Show(self
, *_args
, **_kwargs
):
98 val
= apply(misc2c
.wxCaret_Show
,(self
,) + _args
, _kwargs
)
100 def Hide(self
, *_args
, **_kwargs
):
101 val
= apply(misc2c
.wxCaret_Hide
,(self
,) + _args
, _kwargs
)
104 return "<C wxCaret instance at %s>" % (self
.this
,)
105 class wxCaret(wxCaretPtr
):
106 def __init__(self
,*_args
,**_kwargs
):
107 self
.this
= apply(misc2c
.new_wxCaret
,_args
,_kwargs
)
113 class wxBusyCursorPtr
:
114 def __init__(self
,this
):
117 def __del__(self
,misc2c
=misc2c
):
118 if self
.thisown
== 1 :
119 misc2c
.delete_wxBusyCursor(self
)
121 return "<C wxBusyCursor instance at %s>" % (self
.this
,)
122 class wxBusyCursor(wxBusyCursorPtr
):
123 def __init__(self
,*_args
,**_kwargs
):
124 self
.this
= apply(misc2c
.new_wxBusyCursor
,_args
,_kwargs
)
130 class wxWindowDisablerPtr
:
131 def __init__(self
,this
):
134 def __del__(self
,misc2c
=misc2c
):
135 if self
.thisown
== 1 :
136 misc2c
.delete_wxWindowDisabler(self
)
138 return "<C wxWindowDisabler instance at %s>" % (self
.this
,)
139 class wxWindowDisabler(wxWindowDisablerPtr
):
140 def __init__(self
,*_args
,**_kwargs
):
141 self
.this
= apply(misc2c
.new_wxWindowDisabler
,_args
,_kwargs
)
147 class wxMutexGuiLockerPtr
:
148 def __init__(self
,this
):
151 def __del__(self
,misc2c
=misc2c
):
152 if self
.thisown
== 1 :
153 misc2c
.delete_wxMutexGuiLocker(self
)
155 return "<C wxMutexGuiLocker instance at %s>" % (self
.this
,)
156 class wxMutexGuiLocker(wxMutexGuiLockerPtr
):
157 def __init__(self
,*_args
,**_kwargs
):
158 self
.this
= apply(misc2c
.new_wxMutexGuiLocker
,_args
,_kwargs
)
164 class wxTipProviderPtr
:
165 def __init__(self
,this
):
168 def __del__(self
,misc2c
=misc2c
):
169 if self
.thisown
== 1 :
170 misc2c
.delete_wxTipProvider(self
)
171 def GetTip(self
, *_args
, **_kwargs
):
172 val
= apply(misc2c
.wxTipProvider_GetTip
,(self
,) + _args
, _kwargs
)
174 def GetCurrentTip(self
, *_args
, **_kwargs
):
175 val
= apply(misc2c
.wxTipProvider_GetCurrentTip
,(self
,) + _args
, _kwargs
)
178 return "<C wxTipProvider instance at %s>" % (self
.this
,)
179 class wxTipProvider(wxTipProviderPtr
):
180 def __init__(self
,this
):
186 class wxPyTipProviderPtr(wxTipProviderPtr
):
187 def __init__(self
,this
):
191 return "<C wxPyTipProvider instance at %s>" % (self
.this
,)
192 class wxPyTipProvider(wxPyTipProviderPtr
):
193 def __init__(self
,*_args
,**_kwargs
):
194 self
.this
= apply(misc2c
.new_wxPyTipProvider
,_args
,_kwargs
)
200 class wxDragImagePtr(wxObjectPtr
):
201 def __init__(self
,this
):
204 def __del__(self
,misc2c
=misc2c
):
205 if self
.thisown
== 1 :
206 misc2c
.delete_wxDragImage(self
)
207 def SetBackingBitmap(self
, *_args
, **_kwargs
):
208 val
= apply(misc2c
.wxDragImage_SetBackingBitmap
,(self
,) + _args
, _kwargs
)
210 def BeginDrag(self
, *_args
, **_kwargs
):
211 val
= apply(misc2c
.wxDragImage_BeginDrag
,(self
,) + _args
, _kwargs
)
213 def BeginDrag2(self
, *_args
, **_kwargs
):
214 val
= apply(misc2c
.wxDragImage_BeginDrag2
,(self
,) + _args
, _kwargs
)
216 def EndDrag(self
, *_args
, **_kwargs
):
217 val
= apply(misc2c
.wxDragImage_EndDrag
,(self
,) + _args
, _kwargs
)
219 def Move(self
, *_args
, **_kwargs
):
220 val
= apply(misc2c
.wxDragImage_Move
,(self
,) + _args
, _kwargs
)
222 def Show(self
, *_args
, **_kwargs
):
223 val
= apply(misc2c
.wxDragImage_Show
,(self
,) + _args
, _kwargs
)
225 def Hide(self
, *_args
, **_kwargs
):
226 val
= apply(misc2c
.wxDragImage_Hide
,(self
,) + _args
, _kwargs
)
228 def GetImageRect(self
, *_args
, **_kwargs
):
229 val
= apply(misc2c
.wxDragImage_GetImageRect
,(self
,) + _args
, _kwargs
)
230 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
232 def RedrawImage(self
, *_args
, **_kwargs
):
233 val
= apply(misc2c
.wxDragImage_RedrawImage
,(self
,) + _args
, _kwargs
)
236 return "<C wxDragImage instance at %s>" % (self
.this
,)
237 class wxDragImage(wxDragImagePtr
):
238 def __init__(self
,*_args
,**_kwargs
):
239 self
.this
= apply(misc2c
.new_wxDragImage
,_args
,_kwargs
)
244 def wxDragIcon(*_args
,**_kwargs
):
245 val
= wxDragImagePtr(apply(misc2c
.new_wxDragIcon
,_args
,_kwargs
))
249 def wxDragString(*_args
,**_kwargs
):
250 val
= wxDragImagePtr(apply(misc2c
.new_wxDragString
,_args
,_kwargs
))
254 def wxDragTreeItem(*_args
,**_kwargs
):
255 val
= wxDragImagePtr(apply(misc2c
.new_wxDragTreeItem
,_args
,_kwargs
))
259 def wxDragListItem(*_args
,**_kwargs
):
260 val
= wxDragImagePtr(apply(misc2c
.new_wxDragListItem
,_args
,_kwargs
))
265 class wxPyTimerPtr(wxObjectPtr
):
266 def __init__(self
,this
):
269 def __del__(self
,misc2c
=misc2c
):
270 if self
.thisown
== 1 :
271 misc2c
.delete_wxPyTimer(self
)
272 def GetInterval(self
, *_args
, **_kwargs
):
273 val
= apply(misc2c
.wxPyTimer_GetInterval
,(self
,) + _args
, _kwargs
)
275 def IsOneShot(self
, *_args
, **_kwargs
):
276 val
= apply(misc2c
.wxPyTimer_IsOneShot
,(self
,) + _args
, _kwargs
)
278 def IsRunning(self
, *_args
, **_kwargs
):
279 val
= apply(misc2c
.wxPyTimer_IsRunning
,(self
,) + _args
, _kwargs
)
281 def SetOwner(self
, *_args
, **_kwargs
):
282 val
= apply(misc2c
.wxPyTimer_SetOwner
,(self
,) + _args
, _kwargs
)
284 def Start(self
, *_args
, **_kwargs
):
285 val
= apply(misc2c
.wxPyTimer_Start
,(self
,) + _args
, _kwargs
)
287 def Stop(self
, *_args
, **_kwargs
):
288 val
= apply(misc2c
.wxPyTimer_Stop
,(self
,) + _args
, _kwargs
)
291 return "<C wxPyTimer instance at %s>" % (self
.this
,)
292 class wxPyTimer(wxPyTimerPtr
):
293 def __init__(self
,*_args
,**_kwargs
):
294 self
.this
= apply(misc2c
.new_wxPyTimer
,_args
,_kwargs
)
300 class wxStopWatchPtr
:
301 def __init__(self
,this
):
304 def __del__(self
,misc2c
=misc2c
):
305 if self
.thisown
== 1 :
306 misc2c
.delete_wxStopWatch(self
)
307 def Start(self
, *_args
, **_kwargs
):
308 val
= apply(misc2c
.wxStopWatch_Start
,(self
,) + _args
, _kwargs
)
310 def Pause(self
, *_args
, **_kwargs
):
311 val
= apply(misc2c
.wxStopWatch_Pause
,(self
,) + _args
, _kwargs
)
313 def Resume(self
, *_args
, **_kwargs
):
314 val
= apply(misc2c
.wxStopWatch_Resume
,(self
,) + _args
, _kwargs
)
316 def Time(self
, *_args
, **_kwargs
):
317 val
= apply(misc2c
.wxStopWatch_Time
,(self
,) + _args
, _kwargs
)
320 return "<C wxStopWatch instance at %s>" % (self
.this
,)
321 class wxStopWatch(wxStopWatchPtr
):
322 def __init__(self
,*_args
,**_kwargs
):
323 self
.this
= apply(misc2c
.new_wxStopWatch
,_args
,_kwargs
)
330 def __init__(self
,this
):
333 def Flush(self
, *_args
, **_kwargs
):
334 val
= apply(misc2c
.wxLog_Flush
,(self
,) + _args
, _kwargs
)
336 def HasPendingMessages(self
, *_args
, **_kwargs
):
337 val
= apply(misc2c
.wxLog_HasPendingMessages
,(self
,) + _args
, _kwargs
)
339 def GetVerbose(self
, *_args
, **_kwargs
):
340 val
= apply(misc2c
.wxLog_GetVerbose
,(self
,) + _args
, _kwargs
)
342 def TimeStamp(self
, *_args
, **_kwargs
):
343 val
= apply(misc2c
.wxLog_TimeStamp
,(self
,) + _args
, _kwargs
)
346 return "<C wxLog instance at %s>" % (self
.this
,)
347 class wxLog(wxLogPtr
):
348 def __init__(self
,*_args
,**_kwargs
):
349 self
.this
= apply(misc2c
.new_wxLog
,_args
,_kwargs
)
355 class wxLogStderrPtr(wxLogPtr
):
356 def __init__(self
,this
):
360 return "<C wxLogStderr instance at %s>" % (self
.this
,)
361 class wxLogStderr(wxLogStderrPtr
):
362 def __init__(self
,*_args
,**_kwargs
):
363 self
.this
= apply(misc2c
.new_wxLogStderr
,_args
,_kwargs
)
369 class wxLogTextCtrlPtr(wxLogPtr
):
370 def __init__(self
,this
):
374 return "<C wxLogTextCtrl instance at %s>" % (self
.this
,)
375 class wxLogTextCtrl(wxLogTextCtrlPtr
):
376 def __init__(self
,*_args
,**_kwargs
):
377 self
.this
= apply(misc2c
.new_wxLogTextCtrl
,_args
,_kwargs
)
383 class wxLogGuiPtr(wxLogPtr
):
384 def __init__(self
,this
):
388 return "<C wxLogGui instance at %s>" % (self
.this
,)
389 class wxLogGui(wxLogGuiPtr
):
390 def __init__(self
,*_args
,**_kwargs
):
391 self
.this
= apply(misc2c
.new_wxLogGui
,_args
,_kwargs
)
397 class wxLogWindowPtr(wxLogPtr
):
398 def __init__(self
,this
):
401 def Show(self
, *_args
, **_kwargs
):
402 val
= apply(misc2c
.wxLogWindow_Show
,(self
,) + _args
, _kwargs
)
404 def GetFrame(self
, *_args
, **_kwargs
):
405 val
= apply(misc2c
.wxLogWindow_GetFrame
,(self
,) + _args
, _kwargs
)
407 def GetOldLog(self
, *_args
, **_kwargs
):
408 val
= apply(misc2c
.wxLogWindow_GetOldLog
,(self
,) + _args
, _kwargs
)
409 if val
: val
= wxLogPtr(val
)
411 def IsPassingMessages(self
, *_args
, **_kwargs
):
412 val
= apply(misc2c
.wxLogWindow_IsPassingMessages
,(self
,) + _args
, _kwargs
)
414 def PassMessages(self
, *_args
, **_kwargs
):
415 val
= apply(misc2c
.wxLogWindow_PassMessages
,(self
,) + _args
, _kwargs
)
418 return "<C wxLogWindow instance at %s>" % (self
.this
,)
419 class wxLogWindow(wxLogWindowPtr
):
420 def __init__(self
,*_args
,**_kwargs
):
421 self
.this
= apply(misc2c
.new_wxLogWindow
,_args
,_kwargs
)
427 class wxLogChainPtr(wxLogPtr
):
428 def __init__(self
,this
):
431 def SetLog(self
, *_args
, **_kwargs
):
432 val
= apply(misc2c
.wxLogChain_SetLog
,(self
,) + _args
, _kwargs
)
434 def PassMessages(self
, *_args
, **_kwargs
):
435 val
= apply(misc2c
.wxLogChain_PassMessages
,(self
,) + _args
, _kwargs
)
437 def IsPassingMessages(self
, *_args
, **_kwargs
):
438 val
= apply(misc2c
.wxLogChain_IsPassingMessages
,(self
,) + _args
, _kwargs
)
440 def GetOldLog(self
, *_args
, **_kwargs
):
441 val
= apply(misc2c
.wxLogChain_GetOldLog
,(self
,) + _args
, _kwargs
)
442 if val
: val
= wxLogPtr(val
)
445 return "<C wxLogChain instance at %s>" % (self
.this
,)
446 class wxLogChain(wxLogChainPtr
):
447 def __init__(self
,*_args
,**_kwargs
):
448 self
.this
= apply(misc2c
.new_wxLogChain
,_args
,_kwargs
)
455 def __init__(self
,this
):
458 def __del__(self
,misc2c
=misc2c
):
459 if self
.thisown
== 1 :
460 misc2c
.delete_wxLogNull(self
)
462 return "<C wxLogNull instance at %s>" % (self
.this
,)
463 class wxLogNull(wxLogNullPtr
):
464 def __init__(self
,*_args
,**_kwargs
):
465 self
.this
= apply(misc2c
.new_wxLogNull
,_args
,_kwargs
)
471 class wxPyLogPtr(wxLogPtr
):
472 def __init__(self
,this
):
475 def _setCallbackInfo(self
, *_args
, **_kwargs
):
476 val
= apply(misc2c
.wxPyLog__setCallbackInfo
,(self
,) + _args
, _kwargs
)
478 def Destroy(self
, *_args
, **_kwargs
):
479 val
= apply(misc2c
.wxPyLog_Destroy
,(self
,) + _args
, _kwargs
)
482 return "<C wxPyLog instance at %s>" % (self
.this
,)
483 class wxPyLog(wxPyLogPtr
):
484 def __init__(self
,*_args
,**_kwargs
):
485 self
.this
= apply(misc2c
.new_wxPyLog
,_args
,_kwargs
)
487 self
._setCallbackInfo
(self
, wxPyLog
)
492 class wxProcessEventPtr(wxEventPtr
):
493 def __init__(self
,this
):
496 def GetPid(self
, *_args
, **_kwargs
):
497 val
= apply(misc2c
.wxProcessEvent_GetPid
,(self
,) + _args
, _kwargs
)
499 def GetExitCode(self
, *_args
, **_kwargs
):
500 val
= apply(misc2c
.wxProcessEvent_GetExitCode
,(self
,) + _args
, _kwargs
)
502 def __setattr__(self
,name
,value
):
504 misc2c
.wxProcessEvent_m_pid_set(self
,value
)
506 if name
== "m_exitcode" :
507 misc2c
.wxProcessEvent_m_exitcode_set(self
,value
)
509 self
.__dict
__[name
] = value
510 def __getattr__(self
,name
):
512 return misc2c
.wxProcessEvent_m_pid_get(self
)
513 if name
== "m_exitcode" :
514 return misc2c
.wxProcessEvent_m_exitcode_get(self
)
515 raise AttributeError,name
517 return "<C wxProcessEvent instance at %s>" % (self
.this
,)
518 class wxProcessEvent(wxProcessEventPtr
):
519 def __init__(self
,*_args
,**_kwargs
):
520 self
.this
= apply(misc2c
.new_wxProcessEvent
,_args
,_kwargs
)
526 class wxProcessPtr(wxEvtHandlerPtr
):
527 def __init__(self
,this
):
530 def Destroy(self
, *_args
, **_kwargs
):
531 val
= apply(misc2c
.wxProcess_Destroy
,(self
,) + _args
, _kwargs
)
533 def _setCallbackInfo(self
, *_args
, **_kwargs
):
534 val
= apply(misc2c
.wxProcess__setCallbackInfo
,(self
,) + _args
, _kwargs
)
536 def base_OnTerminate(self
, *_args
, **_kwargs
):
537 val
= apply(misc2c
.wxProcess_base_OnTerminate
,(self
,) + _args
, _kwargs
)
539 def Redirect(self
, *_args
, **_kwargs
):
540 val
= apply(misc2c
.wxProcess_Redirect
,(self
,) + _args
, _kwargs
)
542 def IsRedirected(self
, *_args
, **_kwargs
):
543 val
= apply(misc2c
.wxProcess_IsRedirected
,(self
,) + _args
, _kwargs
)
545 def Detach(self
, *_args
, **_kwargs
):
546 val
= apply(misc2c
.wxProcess_Detach
,(self
,) + _args
, _kwargs
)
548 def GetInputStream(self
, *_args
, **_kwargs
):
549 val
= apply(misc2c
.wxProcess_GetInputStream
,(self
,) + _args
, _kwargs
)
551 def GetErrorStream(self
, *_args
, **_kwargs
):
552 val
= apply(misc2c
.wxProcess_GetErrorStream
,(self
,) + _args
, _kwargs
)
554 def GetOutputStream(self
, *_args
, **_kwargs
):
555 val
= apply(misc2c
.wxProcess_GetOutputStream
,(self
,) + _args
, _kwargs
)
556 if val
: val
= wxOutputStreamPtr(val
)
558 def CloseOutput(self
, *_args
, **_kwargs
):
559 val
= apply(misc2c
.wxProcess_CloseOutput
,(self
,) + _args
, _kwargs
)
562 return "<C wxProcess instance at %s>" % (self
.this
,)
563 class wxProcess(wxProcessPtr
):
564 def __init__(self
,*_args
,**_kwargs
):
565 self
.this
= apply(misc2c
.new_wxProcess
,_args
,_kwargs
)
567 self
._setCallbackInfo
(self
, wxProcess
)
572 class wxJoystickPtr(wxObjectPtr
):
573 def __init__(self
,this
):
576 def __del__(self
,misc2c
=misc2c
):
577 if self
.thisown
== 1 :
578 misc2c
.delete_wxJoystick(self
)
579 def GetPosition(self
, *_args
, **_kwargs
):
580 val
= apply(misc2c
.wxJoystick_GetPosition
,(self
,) + _args
, _kwargs
)
581 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
583 def GetZPosition(self
, *_args
, **_kwargs
):
584 val
= apply(misc2c
.wxJoystick_GetZPosition
,(self
,) + _args
, _kwargs
)
586 def GetButtonState(self
, *_args
, **_kwargs
):
587 val
= apply(misc2c
.wxJoystick_GetButtonState
,(self
,) + _args
, _kwargs
)
589 def GetPOVPosition(self
, *_args
, **_kwargs
):
590 val
= apply(misc2c
.wxJoystick_GetPOVPosition
,(self
,) + _args
, _kwargs
)
592 def GetPOVCTSPosition(self
, *_args
, **_kwargs
):
593 val
= apply(misc2c
.wxJoystick_GetPOVCTSPosition
,(self
,) + _args
, _kwargs
)
595 def GetRudderPosition(self
, *_args
, **_kwargs
):
596 val
= apply(misc2c
.wxJoystick_GetRudderPosition
,(self
,) + _args
, _kwargs
)
598 def GetUPosition(self
, *_args
, **_kwargs
):
599 val
= apply(misc2c
.wxJoystick_GetUPosition
,(self
,) + _args
, _kwargs
)
601 def GetVPosition(self
, *_args
, **_kwargs
):
602 val
= apply(misc2c
.wxJoystick_GetVPosition
,(self
,) + _args
, _kwargs
)
604 def GetMovementThreshold(self
, *_args
, **_kwargs
):
605 val
= apply(misc2c
.wxJoystick_GetMovementThreshold
,(self
,) + _args
, _kwargs
)
607 def SetMovementThreshold(self
, *_args
, **_kwargs
):
608 val
= apply(misc2c
.wxJoystick_SetMovementThreshold
,(self
,) + _args
, _kwargs
)
610 def IsOk(self
, *_args
, **_kwargs
):
611 val
= apply(misc2c
.wxJoystick_IsOk
,(self
,) + _args
, _kwargs
)
613 def GetNumberJoysticks(self
, *_args
, **_kwargs
):
614 val
= apply(misc2c
.wxJoystick_GetNumberJoysticks
,(self
,) + _args
, _kwargs
)
616 def GetManufacturerId(self
, *_args
, **_kwargs
):
617 val
= apply(misc2c
.wxJoystick_GetManufacturerId
,(self
,) + _args
, _kwargs
)
619 def GetProductId(self
, *_args
, **_kwargs
):
620 val
= apply(misc2c
.wxJoystick_GetProductId
,(self
,) + _args
, _kwargs
)
622 def GetProductName(self
, *_args
, **_kwargs
):
623 val
= apply(misc2c
.wxJoystick_GetProductName
,(self
,) + _args
, _kwargs
)
625 def GetXMin(self
, *_args
, **_kwargs
):
626 val
= apply(misc2c
.wxJoystick_GetXMin
,(self
,) + _args
, _kwargs
)
628 def GetYMin(self
, *_args
, **_kwargs
):
629 val
= apply(misc2c
.wxJoystick_GetYMin
,(self
,) + _args
, _kwargs
)
631 def GetZMin(self
, *_args
, **_kwargs
):
632 val
= apply(misc2c
.wxJoystick_GetZMin
,(self
,) + _args
, _kwargs
)
634 def GetXMax(self
, *_args
, **_kwargs
):
635 val
= apply(misc2c
.wxJoystick_GetXMax
,(self
,) + _args
, _kwargs
)
637 def GetYMax(self
, *_args
, **_kwargs
):
638 val
= apply(misc2c
.wxJoystick_GetYMax
,(self
,) + _args
, _kwargs
)
640 def GetZMax(self
, *_args
, **_kwargs
):
641 val
= apply(misc2c
.wxJoystick_GetZMax
,(self
,) + _args
, _kwargs
)
643 def GetNumberButtons(self
, *_args
, **_kwargs
):
644 val
= apply(misc2c
.wxJoystick_GetNumberButtons
,(self
,) + _args
, _kwargs
)
646 def GetNumberAxes(self
, *_args
, **_kwargs
):
647 val
= apply(misc2c
.wxJoystick_GetNumberAxes
,(self
,) + _args
, _kwargs
)
649 def GetMaxButtons(self
, *_args
, **_kwargs
):
650 val
= apply(misc2c
.wxJoystick_GetMaxButtons
,(self
,) + _args
, _kwargs
)
652 def GetMaxAxes(self
, *_args
, **_kwargs
):
653 val
= apply(misc2c
.wxJoystick_GetMaxAxes
,(self
,) + _args
, _kwargs
)
655 def GetPollingMin(self
, *_args
, **_kwargs
):
656 val
= apply(misc2c
.wxJoystick_GetPollingMin
,(self
,) + _args
, _kwargs
)
658 def GetPollingMax(self
, *_args
, **_kwargs
):
659 val
= apply(misc2c
.wxJoystick_GetPollingMax
,(self
,) + _args
, _kwargs
)
661 def GetRudderMin(self
, *_args
, **_kwargs
):
662 val
= apply(misc2c
.wxJoystick_GetRudderMin
,(self
,) + _args
, _kwargs
)
664 def GetRudderMax(self
, *_args
, **_kwargs
):
665 val
= apply(misc2c
.wxJoystick_GetRudderMax
,(self
,) + _args
, _kwargs
)
667 def GetUMin(self
, *_args
, **_kwargs
):
668 val
= apply(misc2c
.wxJoystick_GetUMin
,(self
,) + _args
, _kwargs
)
670 def GetUMax(self
, *_args
, **_kwargs
):
671 val
= apply(misc2c
.wxJoystick_GetUMax
,(self
,) + _args
, _kwargs
)
673 def GetVMin(self
, *_args
, **_kwargs
):
674 val
= apply(misc2c
.wxJoystick_GetVMin
,(self
,) + _args
, _kwargs
)
676 def GetVMax(self
, *_args
, **_kwargs
):
677 val
= apply(misc2c
.wxJoystick_GetVMax
,(self
,) + _args
, _kwargs
)
679 def HasRudder(self
, *_args
, **_kwargs
):
680 val
= apply(misc2c
.wxJoystick_HasRudder
,(self
,) + _args
, _kwargs
)
682 def HasZ(self
, *_args
, **_kwargs
):
683 val
= apply(misc2c
.wxJoystick_HasZ
,(self
,) + _args
, _kwargs
)
685 def HasU(self
, *_args
, **_kwargs
):
686 val
= apply(misc2c
.wxJoystick_HasU
,(self
,) + _args
, _kwargs
)
688 def HasV(self
, *_args
, **_kwargs
):
689 val
= apply(misc2c
.wxJoystick_HasV
,(self
,) + _args
, _kwargs
)
691 def HasPOV(self
, *_args
, **_kwargs
):
692 val
= apply(misc2c
.wxJoystick_HasPOV
,(self
,) + _args
, _kwargs
)
694 def HasPOV4Dir(self
, *_args
, **_kwargs
):
695 val
= apply(misc2c
.wxJoystick_HasPOV4Dir
,(self
,) + _args
, _kwargs
)
697 def HasPOVCTS(self
, *_args
, **_kwargs
):
698 val
= apply(misc2c
.wxJoystick_HasPOVCTS
,(self
,) + _args
, _kwargs
)
700 def SetCapture(self
, *_args
, **_kwargs
):
701 val
= apply(misc2c
.wxJoystick_SetCapture
,(self
,) + _args
, _kwargs
)
703 def ReleaseCapture(self
, *_args
, **_kwargs
):
704 val
= apply(misc2c
.wxJoystick_ReleaseCapture
,(self
,) + _args
, _kwargs
)
707 return "<C wxJoystick instance at %s>" % (self
.this
,)
708 class wxJoystick(wxJoystickPtr
):
709 def __init__(self
,*_args
,**_kwargs
):
710 self
.this
= apply(misc2c
.new_wxJoystick
,_args
,_kwargs
)
716 class wxWavePtr(wxObjectPtr
):
717 def __init__(self
,this
):
720 def __del__(self
,misc2c
=misc2c
):
721 if self
.thisown
== 1 :
722 misc2c
.delete_wxWave(self
)
723 def IsOk(self
, *_args
, **_kwargs
):
724 val
= apply(misc2c
.wxWave_IsOk
,(self
,) + _args
, _kwargs
)
726 def Play(self
, *_args
, **_kwargs
):
727 val
= apply(misc2c
.wxWave_Play
,(self
,) + _args
, _kwargs
)
730 return "<C wxWave instance at %s>" % (self
.this
,)
731 class wxWave(wxWavePtr
):
732 def __init__(self
,*_args
,**_kwargs
):
733 self
.this
= apply(misc2c
.new_wxWave
,_args
,_kwargs
)
739 class wxFileTypeInfoPtr
:
740 def __init__(self
,this
):
743 def IsValid(self
, *_args
, **_kwargs
):
744 val
= apply(misc2c
.wxFileTypeInfo_IsValid
,(self
,) + _args
, _kwargs
)
746 def SetIcon(self
, *_args
, **_kwargs
):
747 val
= apply(misc2c
.wxFileTypeInfo_SetIcon
,(self
,) + _args
, _kwargs
)
749 def SetShortDesc(self
, *_args
, **_kwargs
):
750 val
= apply(misc2c
.wxFileTypeInfo_SetShortDesc
,(self
,) + _args
, _kwargs
)
752 def GetMimeType(self
, *_args
, **_kwargs
):
753 val
= apply(misc2c
.wxFileTypeInfo_GetMimeType
,(self
,) + _args
, _kwargs
)
755 def GetOpenCommand(self
, *_args
, **_kwargs
):
756 val
= apply(misc2c
.wxFileTypeInfo_GetOpenCommand
,(self
,) + _args
, _kwargs
)
758 def GetPrintCommand(self
, *_args
, **_kwargs
):
759 val
= apply(misc2c
.wxFileTypeInfo_GetPrintCommand
,(self
,) + _args
, _kwargs
)
761 def GetShortDesc(self
, *_args
, **_kwargs
):
762 val
= apply(misc2c
.wxFileTypeInfo_GetShortDesc
,(self
,) + _args
, _kwargs
)
764 def GetDescription(self
, *_args
, **_kwargs
):
765 val
= apply(misc2c
.wxFileTypeInfo_GetDescription
,(self
,) + _args
, _kwargs
)
767 def GetExtensions(self
, *_args
, **_kwargs
):
768 val
= apply(misc2c
.wxFileTypeInfo_GetExtensions
,(self
,) + _args
, _kwargs
)
770 def GetExtensionsCount(self
, *_args
, **_kwargs
):
771 val
= apply(misc2c
.wxFileTypeInfo_GetExtensionsCount
,(self
,) + _args
, _kwargs
)
773 def GetIconFile(self
, *_args
, **_kwargs
):
774 val
= apply(misc2c
.wxFileTypeInfo_GetIconFile
,(self
,) + _args
, _kwargs
)
776 def GetIconIndex(self
, *_args
, **_kwargs
):
777 val
= apply(misc2c
.wxFileTypeInfo_GetIconIndex
,(self
,) + _args
, _kwargs
)
780 return "<C wxFileTypeInfo instance at %s>" % (self
.this
,)
781 class wxFileTypeInfo(wxFileTypeInfoPtr
):
782 def __init__(self
,*_args
,**_kwargs
):
783 self
.this
= apply(misc2c
.new_wxFileTypeInfo
,_args
,_kwargs
)
788 def wxFileTypeInfoSequence(*_args
,**_kwargs
):
789 val
= wxFileTypeInfoPtr(apply(misc2c
.new_wxFileTypeInfoSequence
,_args
,_kwargs
))
793 def wxNullFileTypeInfo(*_args
,**_kwargs
):
794 val
= wxFileTypeInfoPtr(apply(misc2c
.new_wxNullFileTypeInfo
,_args
,_kwargs
))
799 class wxFileTypePtr
:
800 def __init__(self
,this
):
803 def GetMimeType(self
, *_args
, **_kwargs
):
804 val
= apply(misc2c
.wxFileType_GetMimeType
,(self
,) + _args
, _kwargs
)
806 def GetMimeTypes(self
, *_args
, **_kwargs
):
807 val
= apply(misc2c
.wxFileType_GetMimeTypes
,(self
,) + _args
, _kwargs
)
809 def GetExtensions(self
, *_args
, **_kwargs
):
810 val
= apply(misc2c
.wxFileType_GetExtensions
,(self
,) + _args
, _kwargs
)
812 def GetIcon(self
, *_args
, **_kwargs
):
813 val
= apply(misc2c
.wxFileType_GetIcon
,(self
,) + _args
, _kwargs
)
814 if val
: val
= wxIconPtr(val
) ; val
.thisown
= 1
816 def GetIconInfo(self
, *_args
, **_kwargs
):
817 val
= apply(misc2c
.wxFileType_GetIconInfo
,(self
,) + _args
, _kwargs
)
819 def GetDescription(self
, *_args
, **_kwargs
):
820 val
= apply(misc2c
.wxFileType_GetDescription
,(self
,) + _args
, _kwargs
)
822 def GetOpenCommand(self
, *_args
, **_kwargs
):
823 val
= apply(misc2c
.wxFileType_GetOpenCommand
,(self
,) + _args
, _kwargs
)
825 def GetPrintCommand(self
, *_args
, **_kwargs
):
826 val
= apply(misc2c
.wxFileType_GetPrintCommand
,(self
,) + _args
, _kwargs
)
828 def GetAllCommands(self
, *_args
, **_kwargs
):
829 val
= apply(misc2c
.wxFileType_GetAllCommands
,(self
,) + _args
, _kwargs
)
831 def SetCommand(self
, *_args
, **_kwargs
):
832 val
= apply(misc2c
.wxFileType_SetCommand
,(self
,) + _args
, _kwargs
)
834 def SetDefaultIcon(self
, *_args
, **_kwargs
):
835 val
= apply(misc2c
.wxFileType_SetDefaultIcon
,(self
,) + _args
, _kwargs
)
837 def Unassociate(self
, *_args
, **_kwargs
):
838 val
= apply(misc2c
.wxFileType_Unassociate
,(self
,) + _args
, _kwargs
)
840 def __del__(self
,misc2c
=misc2c
):
841 if self
.thisown
== 1 :
842 misc2c
.delete_wxFileType(self
)
844 return "<C wxFileType instance at %s>" % (self
.this
,)
845 class wxFileType(wxFileTypePtr
):
846 def __init__(self
,*_args
,**_kwargs
):
847 self
.this
= apply(misc2c
.new_wxFileType
,_args
,_kwargs
)
853 class wxMimeTypesManagerPtr
:
854 def __init__(self
,this
):
857 def Initialize(self
, *_args
, **_kwargs
):
858 val
= apply(misc2c
.wxMimeTypesManager_Initialize
,(self
,) + _args
, _kwargs
)
860 def ClearData(self
, *_args
, **_kwargs
):
861 val
= apply(misc2c
.wxMimeTypesManager_ClearData
,(self
,) + _args
, _kwargs
)
863 def GetFileTypeFromExtension(self
, *_args
, **_kwargs
):
864 val
= apply(misc2c
.wxMimeTypesManager_GetFileTypeFromExtension
,(self
,) + _args
, _kwargs
)
865 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
867 def GetFileTypeFromMimeType(self
, *_args
, **_kwargs
):
868 val
= apply(misc2c
.wxMimeTypesManager_GetFileTypeFromMimeType
,(self
,) + _args
, _kwargs
)
869 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
871 def ReadMailcap(self
, *_args
, **_kwargs
):
872 val
= apply(misc2c
.wxMimeTypesManager_ReadMailcap
,(self
,) + _args
, _kwargs
)
874 def ReadMimeTypes(self
, *_args
, **_kwargs
):
875 val
= apply(misc2c
.wxMimeTypesManager_ReadMimeTypes
,(self
,) + _args
, _kwargs
)
877 def EnumAllFileTypes(self
, *_args
, **_kwargs
):
878 val
= apply(misc2c
.wxMimeTypesManager_EnumAllFileTypes
,(self
,) + _args
, _kwargs
)
880 def AddFallback(self
, *_args
, **_kwargs
):
881 val
= apply(misc2c
.wxMimeTypesManager_AddFallback
,(self
,) + _args
, _kwargs
)
883 def Associate(self
, *_args
, **_kwargs
):
884 val
= apply(misc2c
.wxMimeTypesManager_Associate
,(self
,) + _args
, _kwargs
)
885 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
887 def Unassociate(self
, *_args
, **_kwargs
):
888 val
= apply(misc2c
.wxMimeTypesManager_Unassociate
,(self
,) + _args
, _kwargs
)
890 def __del__(self
,misc2c
=misc2c
):
891 if self
.thisown
== 1 :
892 misc2c
.delete_wxMimeTypesManager(self
)
894 return "<C wxMimeTypesManager instance at %s>" % (self
.this
,)
895 class wxMimeTypesManager(wxMimeTypesManagerPtr
):
896 def __init__(self
,*_args
,**_kwargs
):
897 self
.this
= apply(misc2c
.new_wxMimeTypesManager
,_args
,_kwargs
)
903 class wxArtProviderPtr(wxObjectPtr
):
904 def __init__(self
,this
):
907 def _setCallbackInfo(self
, *_args
, **_kwargs
):
908 val
= apply(misc2c
.wxArtProvider__setCallbackInfo
,(self
,) + _args
, _kwargs
)
911 return "<C wxArtProvider instance at %s>" % (self
.this
,)
912 class wxArtProvider(wxArtProviderPtr
):
913 def __init__(self
,*_args
,**_kwargs
):
914 self
.this
= apply(misc2c
.new_wxArtProvider
,_args
,_kwargs
)
916 self
._setCallbackInfo
(self
, wxArtProvider
)
921 class wxFileHistoryPtr(wxObjectPtr
):
922 def __init__(self
,this
):
925 def __del__(self
,misc2c
=misc2c
):
926 if self
.thisown
== 1 :
927 misc2c
.delete_wxFileHistory(self
)
928 def AddFileToHistory(self
, *_args
, **_kwargs
):
929 val
= apply(misc2c
.wxFileHistory_AddFileToHistory
,(self
,) + _args
, _kwargs
)
931 def RemoveFileFromHistory(self
, *_args
, **_kwargs
):
932 val
= apply(misc2c
.wxFileHistory_RemoveFileFromHistory
,(self
,) + _args
, _kwargs
)
934 def GetMaxFiles(self
, *_args
, **_kwargs
):
935 val
= apply(misc2c
.wxFileHistory_GetMaxFiles
,(self
,) + _args
, _kwargs
)
937 def UseMenu(self
, *_args
, **_kwargs
):
938 val
= apply(misc2c
.wxFileHistory_UseMenu
,(self
,) + _args
, _kwargs
)
940 def RemoveMenu(self
, *_args
, **_kwargs
):
941 val
= apply(misc2c
.wxFileHistory_RemoveMenu
,(self
,) + _args
, _kwargs
)
943 def Load(self
, *_args
, **_kwargs
):
944 val
= apply(misc2c
.wxFileHistory_Load
,(self
,) + _args
, _kwargs
)
946 def Save(self
, *_args
, **_kwargs
):
947 val
= apply(misc2c
.wxFileHistory_Save
,(self
,) + _args
, _kwargs
)
949 def AddFilesToMenu(self
, *_args
, **_kwargs
):
950 val
= apply(misc2c
.wxFileHistory_AddFilesToMenu
,(self
,) + _args
, _kwargs
)
952 def AddFilesToThisMenu(self
, *_args
, **_kwargs
):
953 val
= apply(misc2c
.wxFileHistory_AddFilesToThisMenu
,(self
,) + _args
, _kwargs
)
955 def GetHistoryFile(self
, *_args
, **_kwargs
):
956 val
= apply(misc2c
.wxFileHistory_GetHistoryFile
,(self
,) + _args
, _kwargs
)
958 def GetCount(self
, *_args
, **_kwargs
):
959 val
= apply(misc2c
.wxFileHistory_GetCount
,(self
,) + _args
, _kwargs
)
961 def GetNoHistoryFiles(self
, *_args
, **_kwargs
):
962 val
= apply(misc2c
.wxFileHistory_GetNoHistoryFiles
,(self
,) + _args
, _kwargs
)
965 return "<C wxFileHistory instance at %s>" % (self
.this
,)
966 class wxFileHistory(wxFileHistoryPtr
):
967 def __init__(self
,*_args
,**_kwargs
):
968 self
.this
= apply(misc2c
.new_wxFileHistory
,_args
,_kwargs
)
976 #-------------- FUNCTION WRAPPERS ------------------
978 wxFileSelector
= misc2c
.wxFileSelector
980 wxLoadFileSelector
= misc2c
.wxLoadFileSelector
982 wxSaveFileSelector
= misc2c
.wxSaveFileSelector
984 wxDirSelector
= misc2c
.wxDirSelector
986 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
988 wxGetPasswordFromUser
= misc2c
.wxGetPasswordFromUser
990 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
992 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
994 wxMessageBox
= misc2c
.wxMessageBox
996 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
998 wxColourDisplay
= misc2c
.wxColourDisplay
1000 wxDisplayDepth
= misc2c
.wxDisplayDepth
1002 wxGetDisplayDepth
= misc2c
.wxGetDisplayDepth
1004 wxDisplaySize
= misc2c
.wxDisplaySize
1006 def wxGetDisplaySize(*_args
, **_kwargs
):
1007 val
= apply(misc2c
.wxGetDisplaySize
,_args
,_kwargs
)
1008 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1011 wxDisplaySizeMM
= misc2c
.wxDisplaySizeMM
1013 def wxGetDisplaySizeMM(*_args
, **_kwargs
):
1014 val
= apply(misc2c
.wxGetDisplaySizeMM
,_args
,_kwargs
)
1015 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1018 wxClientDisplayRect
= misc2c
.wxClientDisplayRect
1020 def wxGetClientDisplayRect(*_args
, **_kwargs
):
1021 val
= apply(misc2c
.wxGetClientDisplayRect
,_args
,_kwargs
)
1022 if val
: val
= wxRectPtr(val
); val
.thisown
= 1
1025 wxSetCursor
= misc2c
.wxSetCursor
1027 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
1029 def wxGetActiveWindow(*_args
, **_kwargs
):
1030 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
1033 def wxGenericFindWindowAtPoint(*_args
, **_kwargs
):
1034 val
= apply(misc2c
.wxGenericFindWindowAtPoint
,_args
,_kwargs
)
1037 def wxFindWindowAtPoint(*_args
, **_kwargs
):
1038 val
= apply(misc2c
.wxFindWindowAtPoint
,_args
,_kwargs
)
1041 wxCheckForInterrupt
= misc2c
.wxCheckForInterrupt
1043 wxFlushEvents
= misc2c
.wxFlushEvents
1045 def wxGetTopLevelParent(*_args
, **_kwargs
):
1046 val
= apply(misc2c
.wxGetTopLevelParent
,_args
,_kwargs
)
1049 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
1051 wxResourceClear
= misc2c
.wxResourceClear
1053 def wxResourceCreateBitmap(*_args
, **_kwargs
):
1054 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
1055 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1058 def wxResourceCreateIcon(*_args
, **_kwargs
):
1059 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
1060 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1063 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
1064 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
1067 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
1069 wxResourceParseData
= misc2c
.wxResourceParseData
1071 wxResourceParseFile
= misc2c
.wxResourceParseFile
1073 wxResourceParseString
= misc2c
.wxResourceParseString
1075 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
1077 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
1079 wxSafeYield
= misc2c
.wxSafeYield
1081 wxPostEvent
= misc2c
.wxPostEvent
1083 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
1085 wxWakeUpMainThread
= misc2c
.wxWakeUpMainThread
1087 wxMutexGuiEnter
= misc2c
.wxMutexGuiEnter
1089 wxMutexGuiLeave
= misc2c
.wxMutexGuiLeave
1091 wxThread_IsMain
= misc2c
.wxThread_IsMain
1093 wxShowTip
= misc2c
.wxShowTip
1095 def wxCreateFileTipProvider(*_args
, **_kwargs
):
1096 val
= apply(misc2c
.wxCreateFileTipProvider
,_args
,_kwargs
)
1097 if val
: val
= wxTipProviderPtr(val
); val
.thisown
= 1
1100 wxSysErrorCode
= misc2c
.wxSysErrorCode
1102 wxSysErrorMsg
= misc2c
.wxSysErrorMsg
1104 wxLogFatalError
= misc2c
.wxLogFatalError
1106 wxLogError
= misc2c
.wxLogError
1108 wxLogWarning
= misc2c
.wxLogWarning
1110 wxLogMessage
= misc2c
.wxLogMessage
1112 wxLogInfo
= misc2c
.wxLogInfo
1114 wxLogVerbose
= misc2c
.wxLogVerbose
1116 wxLogStatus
= misc2c
.wxLogStatus
1118 wxLogStatusFrame
= misc2c
.wxLogStatusFrame
1120 wxLogSysError
= misc2c
.wxLogSysError
1122 wxLogTrace
= misc2c
.wxLogTrace
1124 wxLogTraceMask
= misc2c
.wxLogTraceMask
1126 wxLogGeneric
= misc2c
.wxLogGeneric
1128 wxSafeShowMessage
= misc2c
.wxSafeShowMessage
1130 wxExecute
= misc2c
.wxExecute
1132 def wxWaveData(*_args
, **_kwargs
):
1133 val
= apply(misc2c
.wxWaveData
,_args
,_kwargs
)
1134 if val
: val
= wxWavePtr(val
); val
.thisown
= 1
1137 def wxSystemSettings_GetColour(*_args
, **_kwargs
):
1138 val
= apply(misc2c
.wxSystemSettings_GetColour
,_args
,_kwargs
)
1139 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1142 def wxSystemSettings_GetFont(*_args
, **_kwargs
):
1143 val
= apply(misc2c
.wxSystemSettings_GetFont
,_args
,_kwargs
)
1144 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
1147 wxSystemSettings_GetMetric
= misc2c
.wxSystemSettings_GetMetric
1149 wxSystemSettings_HasFeature
= misc2c
.wxSystemSettings_HasFeature
1151 wxSystemSettings_GetScreenType
= misc2c
.wxSystemSettings_GetScreenType
1153 wxSystemSettings_SetScreenType
= misc2c
.wxSystemSettings_SetScreenType
1155 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
1157 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
1159 wxLog_IsEnabled
= misc2c
.wxLog_IsEnabled
1161 wxLog_EnableLogging
= misc2c
.wxLog_EnableLogging
1163 wxLog_OnLog
= misc2c
.wxLog_OnLog
1165 wxLog_FlushActive
= misc2c
.wxLog_FlushActive
1167 def wxLog_GetActiveTarget(*_args
, **_kwargs
):
1168 val
= apply(misc2c
.wxLog_GetActiveTarget
,_args
,_kwargs
)
1169 if val
: val
= wxLogPtr(val
)
1172 def wxLog_SetActiveTarget(*_args
, **_kwargs
):
1173 val
= apply(misc2c
.wxLog_SetActiveTarget
,_args
,_kwargs
)
1174 if val
: val
= wxLogPtr(val
)
1177 wxLog_Suspend
= misc2c
.wxLog_Suspend
1179 wxLog_Resume
= misc2c
.wxLog_Resume
1181 wxLog_SetVerbose
= misc2c
.wxLog_SetVerbose
1183 wxLog_DontCreateOnDemand
= misc2c
.wxLog_DontCreateOnDemand
1185 wxLog_SetTraceMask
= misc2c
.wxLog_SetTraceMask
1187 wxLog_AddTraceMask
= misc2c
.wxLog_AddTraceMask
1189 wxLog_RemoveTraceMask
= misc2c
.wxLog_RemoveTraceMask
1191 wxLog_ClearTraceMasks
= misc2c
.wxLog_ClearTraceMasks
1193 wxLog_SetTimestamp
= misc2c
.wxLog_SetTimestamp
1195 wxLog_GetTimestamp
= misc2c
.wxLog_GetTimestamp
1197 wxLog_GetTraceMask
= misc2c
.wxLog_GetTraceMask
1199 wxLog_IsAllowedTraceMask
= misc2c
.wxLog_IsAllowedTraceMask
1201 wxProcess_Kill
= misc2c
.wxProcess_Kill
1203 wxProcess_Exists
= misc2c
.wxProcess_Exists
1205 def wxProcess_Open(*_args
, **_kwargs
):
1206 val
= apply(misc2c
.wxProcess_Open
,_args
,_kwargs
)
1207 if val
: val
= wxProcessPtr(val
)
1210 wxFileType_ExpandCommand
= misc2c
.wxFileType_ExpandCommand
1212 wxMimeTypesManager_IsOfType
= misc2c
.wxMimeTypesManager_IsOfType
1214 wxArtProvider_PushProvider
= misc2c
.wxArtProvider_PushProvider
1216 wxArtProvider_PopProvider
= misc2c
.wxArtProvider_PopProvider
1218 wxArtProvider_RemoveProvider
= misc2c
.wxArtProvider_RemoveProvider
1220 def wxArtProvider_GetBitmap(*_args
, **_kwargs
):
1221 val
= apply(misc2c
.wxArtProvider_GetBitmap
,_args
,_kwargs
)
1222 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1225 def wxArtProvider_GetIcon(*_args
, **_kwargs
):
1226 val
= apply(misc2c
.wxArtProvider_GetIcon
,_args
,_kwargs
)
1227 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1230 wxArtProvider_CleanUpProviders
= misc2c
.wxArtProvider_CleanUpProviders
1234 #-------------- VARIABLE WRAPPERS ------------------
1236 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
1237 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
1238 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
1239 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
1240 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
1241 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
1242 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
1243 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
1244 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
1245 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
1246 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
1247 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
1248 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
1249 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
1250 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
1251 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
1252 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
1253 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
1254 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
1255 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
1256 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
1257 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
1258 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
1259 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
1260 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
1261 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
1262 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
1263 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
1264 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
1265 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
1266 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1267 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
1268 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
1269 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
1270 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
1271 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
1272 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
1273 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
1274 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
1275 wxSYS_COLOUR_LISTBOX
= misc2c
.wxSYS_COLOUR_LISTBOX
1276 wxSYS_COLOUR_HOTLIGHT
= misc2c
.wxSYS_COLOUR_HOTLIGHT
1277 wxSYS_COLOUR_GRADIENTACTIVECAPTION
= misc2c
.wxSYS_COLOUR_GRADIENTACTIVECAPTION
1278 wxSYS_COLOUR_GRADIENTINACTIVECAPTION
= misc2c
.wxSYS_COLOUR_GRADIENTINACTIVECAPTION
1279 wxSYS_COLOUR_MENUHILIGHT
= misc2c
.wxSYS_COLOUR_MENUHILIGHT
1280 wxSYS_COLOUR_MENUBAR
= misc2c
.wxSYS_COLOUR_MENUBAR
1281 wxSYS_COLOUR_MAX
= misc2c
.wxSYS_COLOUR_MAX
1282 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
1283 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
1284 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
1285 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
1286 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
1287 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
1288 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
1289 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
1290 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
1291 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
1292 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
1293 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
1294 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
1295 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
1296 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
1297 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
1298 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
1299 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
1300 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
1301 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
1302 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
1303 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
1304 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
1305 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
1306 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
1307 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
1308 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
1309 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
1310 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
1311 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
1312 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
1313 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
1314 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
1315 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
1316 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
1317 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
1318 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS
1319 wxSYS_CAN_DRAW_FRAME_DECORATIONS
= misc2c
.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1320 wxSYS_CAN_ICONIZE_FRAME
= misc2c
.wxSYS_CAN_ICONIZE_FRAME
1321 wxSYS_SCREEN_NONE
= misc2c
.wxSYS_SCREEN_NONE
1322 wxSYS_SCREEN_TINY
= misc2c
.wxSYS_SCREEN_TINY
1323 wxSYS_SCREEN_PDA
= misc2c
.wxSYS_SCREEN_PDA
1324 wxSYS_SCREEN_SMALL
= misc2c
.wxSYS_SCREEN_SMALL
1325 wxSYS_SCREEN_DESKTOP
= misc2c
.wxSYS_SCREEN_DESKTOP
1326 wxLOG_FatalError
= misc2c
.wxLOG_FatalError
1327 wxLOG_Error
= misc2c
.wxLOG_Error
1328 wxLOG_Warning
= misc2c
.wxLOG_Warning
1329 wxLOG_Message
= misc2c
.wxLOG_Message
1330 wxLOG_Info
= misc2c
.wxLOG_Info
1331 wxLOG_Status
= misc2c
.wxLOG_Status
1332 wxLOG_Debug
= misc2c
.wxLOG_Debug
1333 wxLOG_Trace
= misc2c
.wxLOG_Trace
1334 wxLOG_Progress
= misc2c
.wxLOG_Progress
1335 wxLOG_User
= misc2c
.wxLOG_User
1336 wxTRACE_MemAlloc
= misc2c
.wxTRACE_MemAlloc
1337 wxTRACE_Messages
= misc2c
.wxTRACE_Messages
1338 wxTRACE_ResAlloc
= misc2c
.wxTRACE_ResAlloc
1339 wxTRACE_RefCount
= misc2c
.wxTRACE_RefCount
1340 wxTRACE_OleCalls
= misc2c
.wxTRACE_OleCalls
1341 wxTraceMemAlloc
= misc2c
.wxTraceMemAlloc
1342 wxTraceMessages
= misc2c
.wxTraceMessages
1343 wxTraceResAlloc
= misc2c
.wxTraceResAlloc
1344 wxTraceRefCount
= misc2c
.wxTraceRefCount
1345 wxTraceOleCalls
= misc2c
.wxTraceOleCalls
1346 wxEVT_END_PROCESS
= misc2c
.wxEVT_END_PROCESS
1347 wxKILL_OK
= misc2c
.wxKILL_OK
1348 wxKILL_BAD_SIGNAL
= misc2c
.wxKILL_BAD_SIGNAL
1349 wxKILL_ACCESS_DENIED
= misc2c
.wxKILL_ACCESS_DENIED
1350 wxKILL_NO_PROCESS
= misc2c
.wxKILL_NO_PROCESS
1351 wxKILL_ERROR
= misc2c
.wxKILL_ERROR
1352 wxEXEC_ASYNC
= misc2c
.wxEXEC_ASYNC
1353 wxEXEC_SYNC
= misc2c
.wxEXEC_SYNC
1354 wxEXEC_NOHIDE
= misc2c
.wxEXEC_NOHIDE
1355 wxEXEC_MAKE_GROUP_LEADER
= misc2c
.wxEXEC_MAKE_GROUP_LEADER
1356 wxJOYSTICK1
= misc2c
.wxJOYSTICK1
1357 wxJOYSTICK2
= misc2c
.wxJOYSTICK2
1358 wxJOY_BUTTON_ANY
= misc2c
.wxJOY_BUTTON_ANY
1359 wxJOY_BUTTON1
= misc2c
.wxJOY_BUTTON1
1360 wxJOY_BUTTON2
= misc2c
.wxJOY_BUTTON2
1361 wxJOY_BUTTON3
= misc2c
.wxJOY_BUTTON3
1362 wxJOY_BUTTON4
= misc2c
.wxJOY_BUTTON4
1363 wxMAILCAP_STANDARD
= misc2c
.wxMAILCAP_STANDARD
1364 wxMAILCAP_NETSCAPE
= misc2c
.wxMAILCAP_NETSCAPE
1365 wxMAILCAP_KDE
= misc2c
.wxMAILCAP_KDE
1366 wxMAILCAP_GNOME
= misc2c
.wxMAILCAP_GNOME
1367 wxMAILCAP_ALL
= misc2c
.wxMAILCAP_ALL
1369 wxTheMimeTypesManager
= wxMimeTypesManagerPtr(misc2c
.cvar
.wxTheMimeTypesManager
)
1370 wxART_TOOLBAR
= misc2c
.wxART_TOOLBAR
1371 wxART_MENU
= misc2c
.wxART_MENU
1372 wxART_FRAME_ICON
= misc2c
.wxART_FRAME_ICON
1373 wxART_CMN_DIALOG
= misc2c
.wxART_CMN_DIALOG
1374 wxART_HELP_BROWSER
= misc2c
.wxART_HELP_BROWSER
1375 wxART_MESSAGE_BOX
= misc2c
.wxART_MESSAGE_BOX
1376 wxART_OTHER
= misc2c
.wxART_OTHER
1377 wxART_ADD_BOOKMARK
= misc2c
.wxART_ADD_BOOKMARK
1378 wxART_DEL_BOOKMARK
= misc2c
.wxART_DEL_BOOKMARK
1379 wxART_HELP_SIDE_PANEL
= misc2c
.wxART_HELP_SIDE_PANEL
1380 wxART_HELP_SETTINGS
= misc2c
.wxART_HELP_SETTINGS
1381 wxART_HELP_BOOK
= misc2c
.wxART_HELP_BOOK
1382 wxART_HELP_FOLDER
= misc2c
.wxART_HELP_FOLDER
1383 wxART_HELP_PAGE
= misc2c
.wxART_HELP_PAGE
1384 wxART_GO_BACK
= misc2c
.wxART_GO_BACK
1385 wxART_GO_FORWARD
= misc2c
.wxART_GO_FORWARD
1386 wxART_GO_UP
= misc2c
.wxART_GO_UP
1387 wxART_GO_DOWN
= misc2c
.wxART_GO_DOWN
1388 wxART_GO_TO_PARENT
= misc2c
.wxART_GO_TO_PARENT
1389 wxART_GO_HOME
= misc2c
.wxART_GO_HOME
1390 wxART_FILE_OPEN
= misc2c
.wxART_FILE_OPEN
1391 wxART_PRINT
= misc2c
.wxART_PRINT
1392 wxART_HELP
= misc2c
.wxART_HELP
1393 wxART_TIP
= misc2c
.wxART_TIP
1394 wxART_REPORT_VIEW
= misc2c
.wxART_REPORT_VIEW
1395 wxART_LIST_VIEW
= misc2c
.wxART_LIST_VIEW
1396 wxART_NEW_DIR
= misc2c
.wxART_NEW_DIR
1397 wxART_FOLDER
= misc2c
.wxART_FOLDER
1398 wxART_GO_DIR_UP
= misc2c
.wxART_GO_DIR_UP
1399 wxART_EXECUTABLE_FILE
= misc2c
.wxART_EXECUTABLE_FILE
1400 wxART_NORMAL_FILE
= misc2c
.wxART_NORMAL_FILE
1401 wxART_TICK_MARK
= misc2c
.wxART_TICK_MARK
1402 wxART_CROSS_MARK
= misc2c
.wxART_CROSS_MARK
1403 wxART_ERROR
= misc2c
.wxART_ERROR
1404 wxART_QUESTION
= misc2c
.wxART_QUESTION
1405 wxART_WARNING
= misc2c
.wxART_WARNING
1406 wxART_INFORMATION
= misc2c
.wxART_INFORMATION