1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
17 class wxSystemSettingsPtr
:
18 def __init__(self
,this
):
22 return "<C wxSystemSettings instance at %s>" % (self
.this
,)
23 class wxSystemSettings(wxSystemSettingsPtr
):
24 def __init__(self
,this
):
30 class wxToolTipPtr(wxObjectPtr
):
31 def __init__(self
,this
):
34 def SetTip(self
, *_args
, **_kwargs
):
35 val
= apply(misc2c
.wxToolTip_SetTip
,(self
,) + _args
, _kwargs
)
37 def GetTip(self
, *_args
, **_kwargs
):
38 val
= apply(misc2c
.wxToolTip_GetTip
,(self
,) + _args
, _kwargs
)
40 def GetWindow(self
, *_args
, **_kwargs
):
41 val
= apply(misc2c
.wxToolTip_GetWindow
,(self
,) + _args
, _kwargs
)
44 return "<C wxToolTip instance at %s>" % (self
.this
,)
45 class wxToolTip(wxToolTipPtr
):
46 def __init__(self
,*_args
,**_kwargs
):
47 self
.this
= apply(misc2c
.new_wxToolTip
,_args
,_kwargs
)
54 def __init__(self
,this
):
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
)
63 def IsVisible(self
, *_args
, **_kwargs
):
64 val
= apply(misc2c
.wxCaret_IsVisible
,(self
,) + _args
, _kwargs
)
66 def GetPositionTuple(self
, *_args
, **_kwargs
):
67 val
= apply(misc2c
.wxCaret_GetPositionTuple
,(self
,) + _args
, _kwargs
)
69 def GetPosition(self
, *_args
, **_kwargs
):
70 val
= apply(misc2c
.wxCaret_GetPosition
,(self
,) + _args
, _kwargs
)
71 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
73 def GetSizeTuple(self
, *_args
, **_kwargs
):
74 val
= apply(misc2c
.wxCaret_GetSizeTuple
,(self
,) + _args
, _kwargs
)
76 def GetSize(self
, *_args
, **_kwargs
):
77 val
= apply(misc2c
.wxCaret_GetSize
,(self
,) + _args
, _kwargs
)
78 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
80 def GetWindow(self
, *_args
, **_kwargs
):
81 val
= apply(misc2c
.wxCaret_GetWindow
,(self
,) + _args
, _kwargs
)
83 def MoveXY(self
, *_args
, **_kwargs
):
84 val
= apply(misc2c
.wxCaret_MoveXY
,(self
,) + _args
, _kwargs
)
86 def Move(self
, *_args
, **_kwargs
):
87 val
= apply(misc2c
.wxCaret_Move
,(self
,) + _args
, _kwargs
)
89 def SetSizeWH(self
, *_args
, **_kwargs
):
90 val
= apply(misc2c
.wxCaret_SetSizeWH
,(self
,) + _args
, _kwargs
)
92 def SetSize(self
, *_args
, **_kwargs
):
93 val
= apply(misc2c
.wxCaret_SetSize
,(self
,) + _args
, _kwargs
)
95 def Show(self
, *_args
, **_kwargs
):
96 val
= apply(misc2c
.wxCaret_Show
,(self
,) + _args
, _kwargs
)
98 def Hide(self
, *_args
, **_kwargs
):
99 val
= apply(misc2c
.wxCaret_Hide
,(self
,) + _args
, _kwargs
)
102 return "<C wxCaret instance at %s>" % (self
.this
,)
103 class wxCaret(wxCaretPtr
):
104 def __init__(self
,*_args
,**_kwargs
):
105 self
.this
= apply(misc2c
.new_wxCaret
,_args
,_kwargs
)
111 class wxFontEnumeratorPtr
:
112 def __init__(self
,this
):
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
)
121 def EnumerateFacenames(self
, *_args
, **_kwargs
):
122 val
= apply(misc2c
.wxFontEnumerator_EnumerateFacenames
,(self
,) + _args
, _kwargs
)
124 def EnumerateEncodings(self
, *_args
, **_kwargs
):
125 val
= apply(misc2c
.wxFontEnumerator_EnumerateEncodings
,(self
,) + _args
, _kwargs
)
127 def GetEncodings(self
, *_args
, **_kwargs
):
128 val
= apply(misc2c
.wxFontEnumerator_GetEncodings
,(self
,) + _args
, _kwargs
)
130 def GetFacenames(self
, *_args
, **_kwargs
):
131 val
= apply(misc2c
.wxFontEnumerator_GetFacenames
,(self
,) + _args
, _kwargs
)
134 return "<C wxFontEnumerator instance at %s>" % (self
.this
,)
135 class wxFontEnumerator(wxFontEnumeratorPtr
):
136 def __init__(self
,*_args
,**_kwargs
):
137 self
.this
= apply(misc2c
.new_wxFontEnumerator
,_args
,_kwargs
)
139 self
._setCallbackInfo
(self
, wxFontEnumerator
, 0)
144 class wxBusyCursorPtr
:
145 def __init__(self
,this
):
148 def __del__(self
,misc2c
=misc2c
):
149 if self
.thisown
== 1 :
150 misc2c
.delete_wxBusyCursor(self
)
152 return "<C wxBusyCursor instance at %s>" % (self
.this
,)
153 class wxBusyCursor(wxBusyCursorPtr
):
154 def __init__(self
,*_args
,**_kwargs
):
155 self
.this
= apply(misc2c
.new_wxBusyCursor
,_args
,_kwargs
)
161 class wxWindowDisablerPtr
:
162 def __init__(self
,this
):
165 def __del__(self
,misc2c
=misc2c
):
166 if self
.thisown
== 1 :
167 misc2c
.delete_wxWindowDisabler(self
)
169 return "<C wxWindowDisabler instance at %s>" % (self
.this
,)
170 class wxWindowDisabler(wxWindowDisablerPtr
):
171 def __init__(self
,*_args
,**_kwargs
):
172 self
.this
= apply(misc2c
.new_wxWindowDisabler
,_args
,_kwargs
)
178 class wxMutexGuiLockerPtr
:
179 def __init__(self
,this
):
182 def __del__(self
,misc2c
=misc2c
):
183 if self
.thisown
== 1 :
184 misc2c
.delete_wxMutexGuiLocker(self
)
186 return "<C wxMutexGuiLocker instance at %s>" % (self
.this
,)
187 class wxMutexGuiLocker(wxMutexGuiLockerPtr
):
188 def __init__(self
,*_args
,**_kwargs
):
189 self
.this
= apply(misc2c
.new_wxMutexGuiLocker
,_args
,_kwargs
)
195 class wxTipProviderPtr
:
196 def __init__(self
,this
):
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
)
205 def GetCurrentTip(self
, *_args
, **_kwargs
):
206 val
= apply(misc2c
.wxTipProvider_GetCurrentTip
,(self
,) + _args
, _kwargs
)
209 return "<C wxTipProvider instance at %s>" % (self
.this
,)
210 class wxTipProvider(wxTipProviderPtr
):
211 def __init__(self
,this
):
217 class wxPyTipProviderPtr(wxTipProviderPtr
):
218 def __init__(self
,this
):
222 return "<C wxPyTipProvider instance at %s>" % (self
.this
,)
223 class wxPyTipProvider(wxPyTipProviderPtr
):
224 def __init__(self
,*_args
,**_kwargs
):
225 self
.this
= apply(misc2c
.new_wxPyTipProvider
,_args
,_kwargs
)
231 class wxDragImagePtr(wxObjectPtr
):
232 def __init__(self
,this
):
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
)
241 def BeginDrag(self
, *_args
, **_kwargs
):
242 val
= apply(misc2c
.wxDragImage_BeginDrag
,(self
,) + _args
, _kwargs
)
244 def BeginDrag2(self
, *_args
, **_kwargs
):
245 val
= apply(misc2c
.wxDragImage_BeginDrag2
,(self
,) + _args
, _kwargs
)
247 def EndDrag(self
, *_args
, **_kwargs
):
248 val
= apply(misc2c
.wxDragImage_EndDrag
,(self
,) + _args
, _kwargs
)
250 def Move(self
, *_args
, **_kwargs
):
251 val
= apply(misc2c
.wxDragImage_Move
,(self
,) + _args
, _kwargs
)
253 def Show(self
, *_args
, **_kwargs
):
254 val
= apply(misc2c
.wxDragImage_Show
,(self
,) + _args
, _kwargs
)
256 def Hide(self
, *_args
, **_kwargs
):
257 val
= apply(misc2c
.wxDragImage_Hide
,(self
,) + _args
, _kwargs
)
259 def GetImageRect(self
, *_args
, **_kwargs
):
260 val
= apply(misc2c
.wxDragImage_GetImageRect
,(self
,) + _args
, _kwargs
)
261 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
263 def RedrawImage(self
, *_args
, **_kwargs
):
264 val
= apply(misc2c
.wxDragImage_RedrawImage
,(self
,) + _args
, _kwargs
)
267 return "<C wxDragImage instance at %s>" % (self
.this
,)
268 class wxDragImage(wxDragImagePtr
):
269 def __init__(self
,*_args
,**_kwargs
):
270 self
.this
= apply(misc2c
.new_wxDragImage
,_args
,_kwargs
)
275 def wxDragIcon(*_args
,**_kwargs
):
276 val
= wxDragImagePtr(apply(misc2c
.new_wxDragIcon
,_args
,_kwargs
))
280 def wxDragString(*_args
,**_kwargs
):
281 val
= wxDragImagePtr(apply(misc2c
.new_wxDragString
,_args
,_kwargs
))
285 def wxDragTreeItem(*_args
,**_kwargs
):
286 val
= wxDragImagePtr(apply(misc2c
.new_wxDragTreeItem
,_args
,_kwargs
))
290 def wxDragListItem(*_args
,**_kwargs
):
291 val
= wxDragImagePtr(apply(misc2c
.new_wxDragListItem
,_args
,_kwargs
))
296 class wxPyTimerPtr(wxObjectPtr
):
297 def __init__(self
,this
):
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
)
306 def IsOneShot(self
, *_args
, **_kwargs
):
307 val
= apply(misc2c
.wxPyTimer_IsOneShot
,(self
,) + _args
, _kwargs
)
309 def IsRunning(self
, *_args
, **_kwargs
):
310 val
= apply(misc2c
.wxPyTimer_IsRunning
,(self
,) + _args
, _kwargs
)
312 def SetOwner(self
, *_args
, **_kwargs
):
313 val
= apply(misc2c
.wxPyTimer_SetOwner
,(self
,) + _args
, _kwargs
)
315 def Start(self
, *_args
, **_kwargs
):
316 val
= apply(misc2c
.wxPyTimer_Start
,(self
,) + _args
, _kwargs
)
318 def Stop(self
, *_args
, **_kwargs
):
319 val
= apply(misc2c
.wxPyTimer_Stop
,(self
,) + _args
, _kwargs
)
322 return "<C wxPyTimer instance at %s>" % (self
.this
,)
323 class wxPyTimer(wxPyTimerPtr
):
324 def __init__(self
,*_args
,**_kwargs
):
325 self
.this
= apply(misc2c
.new_wxPyTimer
,_args
,_kwargs
)
331 class wxStopWatchPtr
:
332 def __init__(self
,this
):
335 def Start(self
, *_args
, **_kwargs
):
336 val
= apply(misc2c
.wxStopWatch_Start
,(self
,) + _args
, _kwargs
)
338 def Pause(self
, *_args
, **_kwargs
):
339 val
= apply(misc2c
.wxStopWatch_Pause
,(self
,) + _args
, _kwargs
)
341 def Resume(self
, *_args
, **_kwargs
):
342 val
= apply(misc2c
.wxStopWatch_Resume
,(self
,) + _args
, _kwargs
)
344 def Time(self
, *_args
, **_kwargs
):
345 val
= apply(misc2c
.wxStopWatch_Time
,(self
,) + _args
, _kwargs
)
348 return "<C wxStopWatch instance at %s>" % (self
.this
,)
349 class wxStopWatch(wxStopWatchPtr
):
350 def __init__(self
,*_args
,**_kwargs
):
351 self
.this
= apply(misc2c
.new_wxStopWatch
,_args
,_kwargs
)
358 def __init__(self
,this
):
361 def Flush(self
, *_args
, **_kwargs
):
362 val
= apply(misc2c
.wxLog_Flush
,(self
,) + _args
, _kwargs
)
364 def HasPendingMessages(self
, *_args
, **_kwargs
):
365 val
= apply(misc2c
.wxLog_HasPendingMessages
,(self
,) + _args
, _kwargs
)
367 def SetVerbose(self
, *_args
, **_kwargs
):
368 val
= apply(misc2c
.wxLog_SetVerbose
,(self
,) + _args
, _kwargs
)
370 def GetVerbose(self
, *_args
, **_kwargs
):
371 val
= apply(misc2c
.wxLog_GetVerbose
,(self
,) + _args
, _kwargs
)
373 def TimeStamp(self
, *_args
, **_kwargs
):
374 val
= apply(misc2c
.wxLog_TimeStamp
,(self
,) + _args
, _kwargs
)
377 return "<C wxLog instance at %s>" % (self
.this
,)
378 class wxLog(wxLogPtr
):
379 def __init__(self
,*_args
,**_kwargs
):
380 self
.this
= apply(misc2c
.new_wxLog
,_args
,_kwargs
)
386 class wxLogStderrPtr(wxLogPtr
):
387 def __init__(self
,this
):
391 return "<C wxLogStderr instance at %s>" % (self
.this
,)
392 class wxLogStderr(wxLogStderrPtr
):
393 def __init__(self
,*_args
,**_kwargs
):
394 self
.this
= apply(misc2c
.new_wxLogStderr
,_args
,_kwargs
)
400 class wxLogTextCtrlPtr(wxLogPtr
):
401 def __init__(self
,this
):
405 return "<C wxLogTextCtrl instance at %s>" % (self
.this
,)
406 class wxLogTextCtrl(wxLogTextCtrlPtr
):
407 def __init__(self
,*_args
,**_kwargs
):
408 self
.this
= apply(misc2c
.new_wxLogTextCtrl
,_args
,_kwargs
)
414 class wxLogGuiPtr(wxLogPtr
):
415 def __init__(self
,this
):
419 return "<C wxLogGui instance at %s>" % (self
.this
,)
420 class wxLogGui(wxLogGuiPtr
):
421 def __init__(self
,*_args
,**_kwargs
):
422 self
.this
= apply(misc2c
.new_wxLogGui
,_args
,_kwargs
)
428 class wxLogWindowPtr(wxLogPtr
):
429 def __init__(self
,this
):
432 def Show(self
, *_args
, **_kwargs
):
433 val
= apply(misc2c
.wxLogWindow_Show
,(self
,) + _args
, _kwargs
)
435 def GetFrame(self
, *_args
, **_kwargs
):
436 val
= apply(misc2c
.wxLogWindow_GetFrame
,(self
,) + _args
, _kwargs
)
438 def GetOldLog(self
, *_args
, **_kwargs
):
439 val
= apply(misc2c
.wxLogWindow_GetOldLog
,(self
,) + _args
, _kwargs
)
440 if val
: val
= wxLogPtr(val
)
442 def IsPassingMessages(self
, *_args
, **_kwargs
):
443 val
= apply(misc2c
.wxLogWindow_IsPassingMessages
,(self
,) + _args
, _kwargs
)
445 def PassMessages(self
, *_args
, **_kwargs
):
446 val
= apply(misc2c
.wxLogWindow_PassMessages
,(self
,) + _args
, _kwargs
)
449 return "<C wxLogWindow instance at %s>" % (self
.this
,)
450 class wxLogWindow(wxLogWindowPtr
):
451 def __init__(self
,*_args
,**_kwargs
):
452 self
.this
= apply(misc2c
.new_wxLogWindow
,_args
,_kwargs
)
459 def __init__(self
,this
):
462 def __del__(self
,misc2c
=misc2c
):
463 if self
.thisown
== 1 :
464 misc2c
.delete_wxLogNull(self
)
466 return "<C wxLogNull instance at %s>" % (self
.this
,)
467 class wxLogNull(wxLogNullPtr
):
468 def __init__(self
,*_args
,**_kwargs
):
469 self
.this
= apply(misc2c
.new_wxLogNull
,_args
,_kwargs
)
475 class wxLogChainPtr(wxLogPtr
):
476 def __init__(self
,this
):
479 def SetLog(self
, *_args
, **_kwargs
):
480 val
= apply(misc2c
.wxLogChain_SetLog
,(self
,) + _args
, _kwargs
)
482 def PassMessages(self
, *_args
, **_kwargs
):
483 val
= apply(misc2c
.wxLogChain_PassMessages
,(self
,) + _args
, _kwargs
)
485 def IsPassingMessages(self
, *_args
, **_kwargs
):
486 val
= apply(misc2c
.wxLogChain_IsPassingMessages
,(self
,) + _args
, _kwargs
)
488 def GetOldLog(self
, *_args
, **_kwargs
):
489 val
= apply(misc2c
.wxLogChain_GetOldLog
,(self
,) + _args
, _kwargs
)
490 if val
: val
= wxLogPtr(val
)
493 return "<C wxLogChain instance at %s>" % (self
.this
,)
494 class wxLogChain(wxLogChainPtr
):
495 def __init__(self
,*_args
,**_kwargs
):
496 self
.this
= apply(misc2c
.new_wxLogChain
,_args
,_kwargs
)
502 class wxPyLogPtr(wxLogPtr
):
503 def __init__(self
,this
):
506 def _setCallbackInfo(self
, *_args
, **_kwargs
):
507 val
= apply(misc2c
.wxPyLog__setCallbackInfo
,(self
,) + _args
, _kwargs
)
509 def Destroy(self
, *_args
, **_kwargs
):
510 val
= apply(misc2c
.wxPyLog_Destroy
,(self
,) + _args
, _kwargs
)
513 return "<C wxPyLog instance at %s>" % (self
.this
,)
514 class wxPyLog(wxPyLogPtr
):
515 def __init__(self
,*_args
,**_kwargs
):
516 self
.this
= apply(misc2c
.new_wxPyLog
,_args
,_kwargs
)
518 self
._setCallbackInfo
(self
, wxPyLog
)
523 class wxProcessEventPtr(wxEventPtr
):
524 def __init__(self
,this
):
527 def GetPid(self
, *_args
, **_kwargs
):
528 val
= apply(misc2c
.wxProcessEvent_GetPid
,(self
,) + _args
, _kwargs
)
530 def GetExitCode(self
, *_args
, **_kwargs
):
531 val
= apply(misc2c
.wxProcessEvent_GetExitCode
,(self
,) + _args
, _kwargs
)
533 def __setattr__(self
,name
,value
):
535 misc2c
.wxProcessEvent_m_pid_set(self
,value
)
537 if name
== "m_exitcode" :
538 misc2c
.wxProcessEvent_m_exitcode_set(self
,value
)
540 self
.__dict
__[name
] = value
541 def __getattr__(self
,name
):
543 return misc2c
.wxProcessEvent_m_pid_get(self
)
544 if name
== "m_exitcode" :
545 return misc2c
.wxProcessEvent_m_exitcode_get(self
)
546 raise AttributeError,name
548 return "<C wxProcessEvent instance at %s>" % (self
.this
,)
549 class wxProcessEvent(wxProcessEventPtr
):
550 def __init__(self
,*_args
,**_kwargs
):
551 self
.this
= apply(misc2c
.new_wxProcessEvent
,_args
,_kwargs
)
557 class wxProcessPtr(wxEvtHandlerPtr
):
558 def __init__(self
,this
):
561 def Destroy(self
, *_args
, **_kwargs
):
562 val
= apply(misc2c
.wxProcess_Destroy
,(self
,) + _args
, _kwargs
)
564 def _setCallbackInfo(self
, *_args
, **_kwargs
):
565 val
= apply(misc2c
.wxProcess__setCallbackInfo
,(self
,) + _args
, _kwargs
)
567 def base_OnTerminate(self
, *_args
, **_kwargs
):
568 val
= apply(misc2c
.wxProcess_base_OnTerminate
,(self
,) + _args
, _kwargs
)
570 def Redirect(self
, *_args
, **_kwargs
):
571 val
= apply(misc2c
.wxProcess_Redirect
,(self
,) + _args
, _kwargs
)
573 def IsRedirected(self
, *_args
, **_kwargs
):
574 val
= apply(misc2c
.wxProcess_IsRedirected
,(self
,) + _args
, _kwargs
)
576 def Detach(self
, *_args
, **_kwargs
):
577 val
= apply(misc2c
.wxProcess_Detach
,(self
,) + _args
, _kwargs
)
579 def GetInputStream(self
, *_args
, **_kwargs
):
580 val
= apply(misc2c
.wxProcess_GetInputStream
,(self
,) + _args
, _kwargs
)
582 def GetErrorStream(self
, *_args
, **_kwargs
):
583 val
= apply(misc2c
.wxProcess_GetErrorStream
,(self
,) + _args
, _kwargs
)
585 def GetOutputStream(self
, *_args
, **_kwargs
):
586 val
= apply(misc2c
.wxProcess_GetOutputStream
,(self
,) + _args
, _kwargs
)
587 if val
: val
= wxOutputStreamPtr(val
)
589 def CloseOutput(self
, *_args
, **_kwargs
):
590 val
= apply(misc2c
.wxProcess_CloseOutput
,(self
,) + _args
, _kwargs
)
593 return "<C wxProcess instance at %s>" % (self
.this
,)
594 class wxProcess(wxProcessPtr
):
595 def __init__(self
,*_args
,**_kwargs
):
596 self
.this
= apply(misc2c
.new_wxProcess
,_args
,_kwargs
)
598 self
._setCallbackInfo
(self
, wxProcess
)
603 class wxJoystickPtr(wxObjectPtr
):
604 def __init__(self
,this
):
607 def __del__(self
,misc2c
=misc2c
):
608 if self
.thisown
== 1 :
609 misc2c
.delete_wxJoystick(self
)
610 def GetPosition(self
, *_args
, **_kwargs
):
611 val
= apply(misc2c
.wxJoystick_GetPosition
,(self
,) + _args
, _kwargs
)
612 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
614 def GetZPosition(self
, *_args
, **_kwargs
):
615 val
= apply(misc2c
.wxJoystick_GetZPosition
,(self
,) + _args
, _kwargs
)
617 def GetButtonState(self
, *_args
, **_kwargs
):
618 val
= apply(misc2c
.wxJoystick_GetButtonState
,(self
,) + _args
, _kwargs
)
620 def GetPOVPosition(self
, *_args
, **_kwargs
):
621 val
= apply(misc2c
.wxJoystick_GetPOVPosition
,(self
,) + _args
, _kwargs
)
623 def GetPOVCTSPosition(self
, *_args
, **_kwargs
):
624 val
= apply(misc2c
.wxJoystick_GetPOVCTSPosition
,(self
,) + _args
, _kwargs
)
626 def GetRudderPosition(self
, *_args
, **_kwargs
):
627 val
= apply(misc2c
.wxJoystick_GetRudderPosition
,(self
,) + _args
, _kwargs
)
629 def GetUPosition(self
, *_args
, **_kwargs
):
630 val
= apply(misc2c
.wxJoystick_GetUPosition
,(self
,) + _args
, _kwargs
)
632 def GetVPosition(self
, *_args
, **_kwargs
):
633 val
= apply(misc2c
.wxJoystick_GetVPosition
,(self
,) + _args
, _kwargs
)
635 def GetMovementThreshold(self
, *_args
, **_kwargs
):
636 val
= apply(misc2c
.wxJoystick_GetMovementThreshold
,(self
,) + _args
, _kwargs
)
638 def SetMovementThreshold(self
, *_args
, **_kwargs
):
639 val
= apply(misc2c
.wxJoystick_SetMovementThreshold
,(self
,) + _args
, _kwargs
)
641 def IsOk(self
, *_args
, **_kwargs
):
642 val
= apply(misc2c
.wxJoystick_IsOk
,(self
,) + _args
, _kwargs
)
644 def GetNumberJoysticks(self
, *_args
, **_kwargs
):
645 val
= apply(misc2c
.wxJoystick_GetNumberJoysticks
,(self
,) + _args
, _kwargs
)
647 def GetManufacturerId(self
, *_args
, **_kwargs
):
648 val
= apply(misc2c
.wxJoystick_GetManufacturerId
,(self
,) + _args
, _kwargs
)
650 def GetProductId(self
, *_args
, **_kwargs
):
651 val
= apply(misc2c
.wxJoystick_GetProductId
,(self
,) + _args
, _kwargs
)
653 def GetProductName(self
, *_args
, **_kwargs
):
654 val
= apply(misc2c
.wxJoystick_GetProductName
,(self
,) + _args
, _kwargs
)
656 def GetXMin(self
, *_args
, **_kwargs
):
657 val
= apply(misc2c
.wxJoystick_GetXMin
,(self
,) + _args
, _kwargs
)
659 def GetYMin(self
, *_args
, **_kwargs
):
660 val
= apply(misc2c
.wxJoystick_GetYMin
,(self
,) + _args
, _kwargs
)
662 def GetZMin(self
, *_args
, **_kwargs
):
663 val
= apply(misc2c
.wxJoystick_GetZMin
,(self
,) + _args
, _kwargs
)
665 def GetXMax(self
, *_args
, **_kwargs
):
666 val
= apply(misc2c
.wxJoystick_GetXMax
,(self
,) + _args
, _kwargs
)
668 def GetYMax(self
, *_args
, **_kwargs
):
669 val
= apply(misc2c
.wxJoystick_GetYMax
,(self
,) + _args
, _kwargs
)
671 def GetZMax(self
, *_args
, **_kwargs
):
672 val
= apply(misc2c
.wxJoystick_GetZMax
,(self
,) + _args
, _kwargs
)
674 def GetNumberButtons(self
, *_args
, **_kwargs
):
675 val
= apply(misc2c
.wxJoystick_GetNumberButtons
,(self
,) + _args
, _kwargs
)
677 def GetNumberAxes(self
, *_args
, **_kwargs
):
678 val
= apply(misc2c
.wxJoystick_GetNumberAxes
,(self
,) + _args
, _kwargs
)
680 def GetMaxButtons(self
, *_args
, **_kwargs
):
681 val
= apply(misc2c
.wxJoystick_GetMaxButtons
,(self
,) + _args
, _kwargs
)
683 def GetMaxAxes(self
, *_args
, **_kwargs
):
684 val
= apply(misc2c
.wxJoystick_GetMaxAxes
,(self
,) + _args
, _kwargs
)
686 def GetPollingMin(self
, *_args
, **_kwargs
):
687 val
= apply(misc2c
.wxJoystick_GetPollingMin
,(self
,) + _args
, _kwargs
)
689 def GetPollingMax(self
, *_args
, **_kwargs
):
690 val
= apply(misc2c
.wxJoystick_GetPollingMax
,(self
,) + _args
, _kwargs
)
692 def GetRudderMin(self
, *_args
, **_kwargs
):
693 val
= apply(misc2c
.wxJoystick_GetRudderMin
,(self
,) + _args
, _kwargs
)
695 def GetRudderMax(self
, *_args
, **_kwargs
):
696 val
= apply(misc2c
.wxJoystick_GetRudderMax
,(self
,) + _args
, _kwargs
)
698 def GetUMin(self
, *_args
, **_kwargs
):
699 val
= apply(misc2c
.wxJoystick_GetUMin
,(self
,) + _args
, _kwargs
)
701 def GetUMax(self
, *_args
, **_kwargs
):
702 val
= apply(misc2c
.wxJoystick_GetUMax
,(self
,) + _args
, _kwargs
)
704 def GetVMin(self
, *_args
, **_kwargs
):
705 val
= apply(misc2c
.wxJoystick_GetVMin
,(self
,) + _args
, _kwargs
)
707 def GetVMax(self
, *_args
, **_kwargs
):
708 val
= apply(misc2c
.wxJoystick_GetVMax
,(self
,) + _args
, _kwargs
)
710 def HasRudder(self
, *_args
, **_kwargs
):
711 val
= apply(misc2c
.wxJoystick_HasRudder
,(self
,) + _args
, _kwargs
)
713 def HasZ(self
, *_args
, **_kwargs
):
714 val
= apply(misc2c
.wxJoystick_HasZ
,(self
,) + _args
, _kwargs
)
716 def HasU(self
, *_args
, **_kwargs
):
717 val
= apply(misc2c
.wxJoystick_HasU
,(self
,) + _args
, _kwargs
)
719 def HasV(self
, *_args
, **_kwargs
):
720 val
= apply(misc2c
.wxJoystick_HasV
,(self
,) + _args
, _kwargs
)
722 def HasPOV(self
, *_args
, **_kwargs
):
723 val
= apply(misc2c
.wxJoystick_HasPOV
,(self
,) + _args
, _kwargs
)
725 def HasPOV4Dir(self
, *_args
, **_kwargs
):
726 val
= apply(misc2c
.wxJoystick_HasPOV4Dir
,(self
,) + _args
, _kwargs
)
728 def HasPOVCTS(self
, *_args
, **_kwargs
):
729 val
= apply(misc2c
.wxJoystick_HasPOVCTS
,(self
,) + _args
, _kwargs
)
731 def SetCapture(self
, *_args
, **_kwargs
):
732 val
= apply(misc2c
.wxJoystick_SetCapture
,(self
,) + _args
, _kwargs
)
734 def ReleaseCapture(self
, *_args
, **_kwargs
):
735 val
= apply(misc2c
.wxJoystick_ReleaseCapture
,(self
,) + _args
, _kwargs
)
738 return "<C wxJoystick instance at %s>" % (self
.this
,)
739 class wxJoystick(wxJoystickPtr
):
740 def __init__(self
,*_args
,**_kwargs
):
741 self
.this
= apply(misc2c
.new_wxJoystick
,_args
,_kwargs
)
747 class wxWavePtr(wxObjectPtr
):
748 def __init__(self
,this
):
751 def __del__(self
,misc2c
=misc2c
):
752 if self
.thisown
== 1 :
753 misc2c
.delete_wxWave(self
)
754 def IsOk(self
, *_args
, **_kwargs
):
755 val
= apply(misc2c
.wxWave_IsOk
,(self
,) + _args
, _kwargs
)
757 def Play(self
, *_args
, **_kwargs
):
758 val
= apply(misc2c
.wxWave_Play
,(self
,) + _args
, _kwargs
)
761 return "<C wxWave instance at %s>" % (self
.this
,)
762 class wxWave(wxWavePtr
):
763 def __init__(self
,*_args
,**_kwargs
):
764 self
.this
= apply(misc2c
.new_wxWave
,_args
,_kwargs
)
770 class wxFileTypeInfoPtr
:
771 def __init__(self
,this
):
774 def IsValid(self
, *_args
, **_kwargs
):
775 val
= apply(misc2c
.wxFileTypeInfo_IsValid
,(self
,) + _args
, _kwargs
)
777 def SetIcon(self
, *_args
, **_kwargs
):
778 val
= apply(misc2c
.wxFileTypeInfo_SetIcon
,(self
,) + _args
, _kwargs
)
780 def SetShortDesc(self
, *_args
, **_kwargs
):
781 val
= apply(misc2c
.wxFileTypeInfo_SetShortDesc
,(self
,) + _args
, _kwargs
)
783 def GetMimeType(self
, *_args
, **_kwargs
):
784 val
= apply(misc2c
.wxFileTypeInfo_GetMimeType
,(self
,) + _args
, _kwargs
)
786 def GetOpenCommand(self
, *_args
, **_kwargs
):
787 val
= apply(misc2c
.wxFileTypeInfo_GetOpenCommand
,(self
,) + _args
, _kwargs
)
789 def GetPrintCommand(self
, *_args
, **_kwargs
):
790 val
= apply(misc2c
.wxFileTypeInfo_GetPrintCommand
,(self
,) + _args
, _kwargs
)
792 def GetShortDesc(self
, *_args
, **_kwargs
):
793 val
= apply(misc2c
.wxFileTypeInfo_GetShortDesc
,(self
,) + _args
, _kwargs
)
795 def GetDescription(self
, *_args
, **_kwargs
):
796 val
= apply(misc2c
.wxFileTypeInfo_GetDescription
,(self
,) + _args
, _kwargs
)
798 def GetExtensions(self
, *_args
, **_kwargs
):
799 val
= apply(misc2c
.wxFileTypeInfo_GetExtensions
,(self
,) + _args
, _kwargs
)
801 def GetExtensionsCount(self
, *_args
, **_kwargs
):
802 val
= apply(misc2c
.wxFileTypeInfo_GetExtensionsCount
,(self
,) + _args
, _kwargs
)
804 def GetIconFile(self
, *_args
, **_kwargs
):
805 val
= apply(misc2c
.wxFileTypeInfo_GetIconFile
,(self
,) + _args
, _kwargs
)
807 def GetIconIndex(self
, *_args
, **_kwargs
):
808 val
= apply(misc2c
.wxFileTypeInfo_GetIconIndex
,(self
,) + _args
, _kwargs
)
811 return "<C wxFileTypeInfo instance at %s>" % (self
.this
,)
812 class wxFileTypeInfo(wxFileTypeInfoPtr
):
813 def __init__(self
,*_args
,**_kwargs
):
814 self
.this
= apply(misc2c
.new_wxFileTypeInfo
,_args
,_kwargs
)
819 def wxFileTypeInfoSequence(*_args
,**_kwargs
):
820 val
= wxFileTypeInfoPtr(apply(misc2c
.new_wxFileTypeInfoSequence
,_args
,_kwargs
))
824 def wxNullFileTypeInfo(*_args
,**_kwargs
):
825 val
= wxFileTypeInfoPtr(apply(misc2c
.new_wxNullFileTypeInfo
,_args
,_kwargs
))
830 class wxFileTypePtr
:
831 def __init__(self
,this
):
834 def GetMimeType(self
, *_args
, **_kwargs
):
835 val
= apply(misc2c
.wxFileType_GetMimeType
,(self
,) + _args
, _kwargs
)
837 def GetMimeTypes(self
, *_args
, **_kwargs
):
838 val
= apply(misc2c
.wxFileType_GetMimeTypes
,(self
,) + _args
, _kwargs
)
840 def GetExtensions(self
, *_args
, **_kwargs
):
841 val
= apply(misc2c
.wxFileType_GetExtensions
,(self
,) + _args
, _kwargs
)
843 def GetIcon(self
, *_args
, **_kwargs
):
844 val
= apply(misc2c
.wxFileType_GetIcon
,(self
,) + _args
, _kwargs
)
845 if val
: val
= wxIconPtr(val
) ; val
.thisown
= 1
847 def GetIconInfo(self
, *_args
, **_kwargs
):
848 val
= apply(misc2c
.wxFileType_GetIconInfo
,(self
,) + _args
, _kwargs
)
850 def GetDescription(self
, *_args
, **_kwargs
):
851 val
= apply(misc2c
.wxFileType_GetDescription
,(self
,) + _args
, _kwargs
)
853 def GetOpenCommand(self
, *_args
, **_kwargs
):
854 val
= apply(misc2c
.wxFileType_GetOpenCommand
,(self
,) + _args
, _kwargs
)
856 def GetPrintCommand(self
, *_args
, **_kwargs
):
857 val
= apply(misc2c
.wxFileType_GetPrintCommand
,(self
,) + _args
, _kwargs
)
859 def GetAllCommands(self
, *_args
, **_kwargs
):
860 val
= apply(misc2c
.wxFileType_GetAllCommands
,(self
,) + _args
, _kwargs
)
862 def SetCommand(self
, *_args
, **_kwargs
):
863 val
= apply(misc2c
.wxFileType_SetCommand
,(self
,) + _args
, _kwargs
)
865 def SetDefaultIcon(self
, *_args
, **_kwargs
):
866 val
= apply(misc2c
.wxFileType_SetDefaultIcon
,(self
,) + _args
, _kwargs
)
868 def Unassociate(self
, *_args
, **_kwargs
):
869 val
= apply(misc2c
.wxFileType_Unassociate
,(self
,) + _args
, _kwargs
)
871 def __del__(self
,misc2c
=misc2c
):
872 if self
.thisown
== 1 :
873 misc2c
.delete_wxFileType(self
)
875 return "<C wxFileType instance at %s>" % (self
.this
,)
876 class wxFileType(wxFileTypePtr
):
877 def __init__(self
,*_args
,**_kwargs
):
878 self
.this
= apply(misc2c
.new_wxFileType
,_args
,_kwargs
)
884 class wxMimeTypesManagerPtr
:
885 def __init__(self
,this
):
888 def Initialize(self
, *_args
, **_kwargs
):
889 val
= apply(misc2c
.wxMimeTypesManager_Initialize
,(self
,) + _args
, _kwargs
)
891 def ClearData(self
, *_args
, **_kwargs
):
892 val
= apply(misc2c
.wxMimeTypesManager_ClearData
,(self
,) + _args
, _kwargs
)
894 def GetFileTypeFromExtension(self
, *_args
, **_kwargs
):
895 val
= apply(misc2c
.wxMimeTypesManager_GetFileTypeFromExtension
,(self
,) + _args
, _kwargs
)
896 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
898 def GetFileTypeFromMimeType(self
, *_args
, **_kwargs
):
899 val
= apply(misc2c
.wxMimeTypesManager_GetFileTypeFromMimeType
,(self
,) + _args
, _kwargs
)
900 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
902 def ReadMailcap(self
, *_args
, **_kwargs
):
903 val
= apply(misc2c
.wxMimeTypesManager_ReadMailcap
,(self
,) + _args
, _kwargs
)
905 def ReadMimeTypes(self
, *_args
, **_kwargs
):
906 val
= apply(misc2c
.wxMimeTypesManager_ReadMimeTypes
,(self
,) + _args
, _kwargs
)
908 def EnumAllFileTypes(self
, *_args
, **_kwargs
):
909 val
= apply(misc2c
.wxMimeTypesManager_EnumAllFileTypes
,(self
,) + _args
, _kwargs
)
911 def AddFallback(self
, *_args
, **_kwargs
):
912 val
= apply(misc2c
.wxMimeTypesManager_AddFallback
,(self
,) + _args
, _kwargs
)
914 def Associate(self
, *_args
, **_kwargs
):
915 val
= apply(misc2c
.wxMimeTypesManager_Associate
,(self
,) + _args
, _kwargs
)
916 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
918 def Unassociate(self
, *_args
, **_kwargs
):
919 val
= apply(misc2c
.wxMimeTypesManager_Unassociate
,(self
,) + _args
, _kwargs
)
921 def __del__(self
,misc2c
=misc2c
):
922 if self
.thisown
== 1 :
923 misc2c
.delete_wxMimeTypesManager(self
)
925 return "<C wxMimeTypesManager instance at %s>" % (self
.this
,)
926 class wxMimeTypesManager(wxMimeTypesManagerPtr
):
927 def __init__(self
,*_args
,**_kwargs
):
928 self
.this
= apply(misc2c
.new_wxMimeTypesManager
,_args
,_kwargs
)
934 class wxFileHistoryPtr(wxObjectPtr
):
935 def __init__(self
,this
):
938 def __del__(self
,misc2c
=misc2c
):
939 if self
.thisown
== 1 :
940 misc2c
.delete_wxFileHistory(self
)
941 def AddFileToHistory(self
, *_args
, **_kwargs
):
942 val
= apply(misc2c
.wxFileHistory_AddFileToHistory
,(self
,) + _args
, _kwargs
)
944 def RemoveFileFromHistory(self
, *_args
, **_kwargs
):
945 val
= apply(misc2c
.wxFileHistory_RemoveFileFromHistory
,(self
,) + _args
, _kwargs
)
947 def GetMaxFiles(self
, *_args
, **_kwargs
):
948 val
= apply(misc2c
.wxFileHistory_GetMaxFiles
,(self
,) + _args
, _kwargs
)
950 def UseMenu(self
, *_args
, **_kwargs
):
951 val
= apply(misc2c
.wxFileHistory_UseMenu
,(self
,) + _args
, _kwargs
)
953 def RemoveMenu(self
, *_args
, **_kwargs
):
954 val
= apply(misc2c
.wxFileHistory_RemoveMenu
,(self
,) + _args
, _kwargs
)
956 def Load(self
, *_args
, **_kwargs
):
957 val
= apply(misc2c
.wxFileHistory_Load
,(self
,) + _args
, _kwargs
)
959 def Save(self
, *_args
, **_kwargs
):
960 val
= apply(misc2c
.wxFileHistory_Save
,(self
,) + _args
, _kwargs
)
962 def AddFilesToMenu(self
, *_args
, **_kwargs
):
963 val
= apply(misc2c
.wxFileHistory_AddFilesToMenu
,(self
,) + _args
, _kwargs
)
965 def AddFilesToSingleMenu(self
, *_args
, **_kwargs
):
966 val
= apply(misc2c
.wxFileHistory_AddFilesToSingleMenu
,(self
,) + _args
, _kwargs
)
968 def GetHistoryFile(self
, *_args
, **_kwargs
):
969 val
= apply(misc2c
.wxFileHistory_GetHistoryFile
,(self
,) + _args
, _kwargs
)
971 def GetCount(self
, *_args
, **_kwargs
):
972 val
= apply(misc2c
.wxFileHistory_GetCount
,(self
,) + _args
, _kwargs
)
974 def GetNoHistoryFiles(self
, *_args
, **_kwargs
):
975 val
= apply(misc2c
.wxFileHistory_GetNoHistoryFiles
,(self
,) + _args
, _kwargs
)
978 return "<C wxFileHistory instance at %s>" % (self
.this
,)
979 class wxFileHistory(wxFileHistoryPtr
):
980 def __init__(self
,*_args
,**_kwargs
):
981 self
.this
= apply(misc2c
.new_wxFileHistory
,_args
,_kwargs
)
989 #-------------- FUNCTION WRAPPERS ------------------
991 wxFileSelector
= misc2c
.wxFileSelector
993 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
995 wxGetPasswordFromUser
= misc2c
.wxGetPasswordFromUser
997 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
999 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
1001 wxMessageBox
= misc2c
.wxMessageBox
1003 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
1005 wxColourDisplay
= misc2c
.wxColourDisplay
1007 wxDisplayDepth
= misc2c
.wxDisplayDepth
1009 wxGetDisplayDepth
= misc2c
.wxGetDisplayDepth
1011 wxDisplaySize
= misc2c
.wxDisplaySize
1013 def wxGetDisplaySize(*_args
, **_kwargs
):
1014 val
= apply(misc2c
.wxGetDisplaySize
,_args
,_kwargs
)
1015 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1018 wxDisplaySizeMM
= misc2c
.wxDisplaySizeMM
1020 def wxGetDisplaySizeMM(*_args
, **_kwargs
):
1021 val
= apply(misc2c
.wxGetDisplaySizeMM
,_args
,_kwargs
)
1022 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1025 wxClientDisplayRect
= misc2c
.wxClientDisplayRect
1027 def wxGetClientDisplayRect(*_args
, **_kwargs
):
1028 val
= apply(misc2c
.wxGetClientDisplayRect
,_args
,_kwargs
)
1029 if val
: val
= wxRectPtr(val
); val
.thisown
= 1
1032 wxSetCursor
= misc2c
.wxSetCursor
1034 def wxFindWindowByLabel(*_args
, **_kwargs
):
1035 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
1038 def wxFindWindowByName(*_args
, **_kwargs
):
1039 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
1042 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
1044 def wxGetActiveWindow(*_args
, **_kwargs
):
1045 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
1048 def wxGenericFindWindowAtPoint(*_args
, **_kwargs
):
1049 val
= apply(misc2c
.wxGenericFindWindowAtPoint
,_args
,_kwargs
)
1052 def wxFindWindowAtPoint(*_args
, **_kwargs
):
1053 val
= apply(misc2c
.wxFindWindowAtPoint
,_args
,_kwargs
)
1056 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
1058 wxResourceClear
= misc2c
.wxResourceClear
1060 def wxResourceCreateBitmap(*_args
, **_kwargs
):
1061 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
1062 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1065 def wxResourceCreateIcon(*_args
, **_kwargs
):
1066 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
1067 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1070 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
1071 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
1074 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
1076 wxResourceParseData
= misc2c
.wxResourceParseData
1078 wxResourceParseFile
= misc2c
.wxResourceParseFile
1080 wxResourceParseString
= misc2c
.wxResourceParseString
1082 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
1084 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
1086 wxSafeYield
= misc2c
.wxSafeYield
1088 wxPostEvent
= misc2c
.wxPostEvent
1090 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
1092 wxMutexGuiEnter
= misc2c
.wxMutexGuiEnter
1094 wxMutexGuiLeave
= misc2c
.wxMutexGuiLeave
1096 wxThread_IsMain
= misc2c
.wxThread_IsMain
1098 wxShowTip
= misc2c
.wxShowTip
1100 def wxCreateFileTipProvider(*_args
, **_kwargs
):
1101 val
= apply(misc2c
.wxCreateFileTipProvider
,_args
,_kwargs
)
1102 if val
: val
= wxTipProviderPtr(val
); val
.thisown
= 1
1105 wxSysErrorCode
= misc2c
.wxSysErrorCode
1107 wxSysErrorMsg
= misc2c
.wxSysErrorMsg
1109 wxLogFatalError
= misc2c
.wxLogFatalError
1111 wxLogError
= misc2c
.wxLogError
1113 wxLogWarning
= misc2c
.wxLogWarning
1115 wxLogMessage
= misc2c
.wxLogMessage
1117 wxLogInfo
= misc2c
.wxLogInfo
1119 wxLogVerbose
= misc2c
.wxLogVerbose
1121 wxLogStatus
= misc2c
.wxLogStatus
1123 wxLogStatusFrame
= misc2c
.wxLogStatusFrame
1125 wxLogSysError
= misc2c
.wxLogSysError
1127 wxExecute
= misc2c
.wxExecute
1129 def wxWaveData(*_args
, **_kwargs
):
1130 val
= apply(misc2c
.wxWaveData
,_args
,_kwargs
)
1131 if val
: val
= wxWavePtr(val
); val
.thisown
= 1
1134 def wxSystemSettings_GetColour(*_args
, **_kwargs
):
1135 val
= apply(misc2c
.wxSystemSettings_GetColour
,_args
,_kwargs
)
1136 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1139 def wxSystemSettings_GetFont(*_args
, **_kwargs
):
1140 val
= apply(misc2c
.wxSystemSettings_GetFont
,_args
,_kwargs
)
1141 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
1144 wxSystemSettings_GetMetric
= misc2c
.wxSystemSettings_GetMetric
1146 wxSystemSettings_HasFeature
= misc2c
.wxSystemSettings_HasFeature
1148 def wxSystemSettings_GetSystemColour(*_args
, **_kwargs
):
1149 val
= apply(misc2c
.wxSystemSettings_GetSystemColour
,_args
,_kwargs
)
1150 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1153 def wxSystemSettings_GetSystemFont(*_args
, **_kwargs
):
1154 val
= apply(misc2c
.wxSystemSettings_GetSystemFont
,_args
,_kwargs
)
1155 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
1158 wxSystemSettings_GetSystemMetric
= misc2c
.wxSystemSettings_GetSystemMetric
1160 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
1162 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
1164 wxLog_IsEnabled
= misc2c
.wxLog_IsEnabled
1166 wxLog_EnableLogging
= misc2c
.wxLog_EnableLogging
1168 wxLog_OnLog
= misc2c
.wxLog_OnLog
1170 wxLog_FlushActive
= misc2c
.wxLog_FlushActive
1172 def wxLog_GetActiveTarget(*_args
, **_kwargs
):
1173 val
= apply(misc2c
.wxLog_GetActiveTarget
,_args
,_kwargs
)
1174 if val
: val
= wxLogPtr(val
)
1177 def wxLog_SetActiveTarget(*_args
, **_kwargs
):
1178 val
= apply(misc2c
.wxLog_SetActiveTarget
,_args
,_kwargs
)
1179 if val
: val
= wxLogPtr(val
)
1182 wxLog_Suspend
= misc2c
.wxLog_Suspend
1184 wxLog_Resume
= misc2c
.wxLog_Resume
1186 wxLog_DontCreateOnDemand
= misc2c
.wxLog_DontCreateOnDemand
1188 wxLog_SetTraceMask
= misc2c
.wxLog_SetTraceMask
1190 wxLog_AddTraceMask
= misc2c
.wxLog_AddTraceMask
1192 wxLog_RemoveTraceMask
= misc2c
.wxLog_RemoveTraceMask
1194 wxLog_ClearTraceMasks
= misc2c
.wxLog_ClearTraceMasks
1196 wxLog_SetTimestamp
= misc2c
.wxLog_SetTimestamp
1198 wxLog_GetTimestamp
= misc2c
.wxLog_GetTimestamp
1200 wxLog_GetTraceMask
= misc2c
.wxLog_GetTraceMask
1202 wxLog_IsAllowedTraceMask
= misc2c
.wxLog_IsAllowedTraceMask
1204 wxFileType_ExpandCommand
= misc2c
.wxFileType_ExpandCommand
1206 wxMimeTypesManager_IsOfType
= misc2c
.wxMimeTypesManager_IsOfType
1210 #-------------- VARIABLE WRAPPERS ------------------
1212 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
1213 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
1214 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
1215 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
1216 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
1217 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
1218 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
1219 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
1220 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
1221 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
1222 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
1223 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
1224 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
1225 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
1226 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
1227 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
1228 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
1229 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
1230 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
1231 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
1232 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
1233 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
1234 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
1235 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
1236 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
1237 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
1238 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
1239 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1240 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
1241 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
1242 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
1243 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
1244 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
1245 wxSYS_COLOUR_LISTBOX
= misc2c
.wxSYS_COLOUR_LISTBOX
1246 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
1247 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
1248 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
1249 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
1250 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
1251 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
1252 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
1253 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
1254 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
1255 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
1256 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
1257 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
1258 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
1259 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
1260 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
1261 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
1262 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
1263 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
1264 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
1265 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
1266 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
1267 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
1268 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
1269 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
1270 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
1271 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
1272 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
1273 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
1274 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
1275 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
1276 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
1277 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
1278 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
1279 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
1280 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
1281 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
1282 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
1283 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
1284 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
1285 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
1286 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
1287 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
1288 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS
1289 wxSYS_CAN_DRAW_FRAME_DECORATIONS
= misc2c
.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1290 wxSYS_CAN_ICONIZE_FRAME
= misc2c
.wxSYS_CAN_ICONIZE_FRAME
1291 wxLOG_FatalError
= misc2c
.wxLOG_FatalError
1292 wxLOG_Error
= misc2c
.wxLOG_Error
1293 wxLOG_Warning
= misc2c
.wxLOG_Warning
1294 wxLOG_Message
= misc2c
.wxLOG_Message
1295 wxLOG_Info
= misc2c
.wxLOG_Info
1296 wxLOG_Status
= misc2c
.wxLOG_Status
1297 wxLOG_Debug
= misc2c
.wxLOG_Debug
1298 wxLOG_Trace
= misc2c
.wxLOG_Trace
1299 wxLOG_Progress
= misc2c
.wxLOG_Progress
1300 wxLOG_User
= misc2c
.wxLOG_User
1301 wxEVT_END_PROCESS
= misc2c
.wxEVT_END_PROCESS
1302 wxMAILCAP_STANDARD
= misc2c
.wxMAILCAP_STANDARD
1303 wxMAILCAP_NETSCAPE
= misc2c
.wxMAILCAP_NETSCAPE
1304 wxMAILCAP_KDE
= misc2c
.wxMAILCAP_KDE
1305 wxMAILCAP_GNOME
= misc2c
.wxMAILCAP_GNOME
1306 wxMAILCAP_ALL
= misc2c
.wxMAILCAP_ALL
1308 wxTheMimeTypesManager
= wxMimeTypesManagerPtr(misc2c
.cvar
.wxTheMimeTypesManager
)