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
):
190 def _setCallbackInfo(self
, *_args
, **_kwargs
):
191 val
= apply(misc2c
.wxPyTipProvider__setCallbackInfo
,(self
,) + _args
, _kwargs
)
194 return "<C wxPyTipProvider instance at %s>" % (self
.this
,)
195 class wxPyTipProvider(wxPyTipProviderPtr
):
196 def __init__(self
,*_args
,**_kwargs
):
197 self
.this
= apply(misc2c
.new_wxPyTipProvider
,_args
,_kwargs
)
199 self
._setCallbackInfo
(self
, wxPyTipProvider
)
204 class wxDragImagePtr(wxObjectPtr
):
205 def __init__(self
,this
):
208 def __del__(self
,misc2c
=misc2c
):
209 if self
.thisown
== 1 :
210 misc2c
.delete_wxDragImage(self
)
211 def SetBackingBitmap(self
, *_args
, **_kwargs
):
212 val
= apply(misc2c
.wxDragImage_SetBackingBitmap
,(self
,) + _args
, _kwargs
)
214 def BeginDrag(self
, *_args
, **_kwargs
):
215 val
= apply(misc2c
.wxDragImage_BeginDrag
,(self
,) + _args
, _kwargs
)
217 def BeginDrag2(self
, *_args
, **_kwargs
):
218 val
= apply(misc2c
.wxDragImage_BeginDrag2
,(self
,) + _args
, _kwargs
)
220 def EndDrag(self
, *_args
, **_kwargs
):
221 val
= apply(misc2c
.wxDragImage_EndDrag
,(self
,) + _args
, _kwargs
)
223 def Move(self
, *_args
, **_kwargs
):
224 val
= apply(misc2c
.wxDragImage_Move
,(self
,) + _args
, _kwargs
)
226 def Show(self
, *_args
, **_kwargs
):
227 val
= apply(misc2c
.wxDragImage_Show
,(self
,) + _args
, _kwargs
)
229 def Hide(self
, *_args
, **_kwargs
):
230 val
= apply(misc2c
.wxDragImage_Hide
,(self
,) + _args
, _kwargs
)
232 def GetImageRect(self
, *_args
, **_kwargs
):
233 val
= apply(misc2c
.wxDragImage_GetImageRect
,(self
,) + _args
, _kwargs
)
234 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
236 def RedrawImage(self
, *_args
, **_kwargs
):
237 val
= apply(misc2c
.wxDragImage_RedrawImage
,(self
,) + _args
, _kwargs
)
240 return "<C wxDragImage instance at %s>" % (self
.this
,)
241 class wxDragImage(wxDragImagePtr
):
242 def __init__(self
,*_args
,**_kwargs
):
243 self
.this
= apply(misc2c
.new_wxDragImage
,_args
,_kwargs
)
248 def wxDragIcon(*_args
,**_kwargs
):
249 val
= wxDragImagePtr(apply(misc2c
.new_wxDragIcon
,_args
,_kwargs
))
253 def wxDragString(*_args
,**_kwargs
):
254 val
= wxDragImagePtr(apply(misc2c
.new_wxDragString
,_args
,_kwargs
))
258 def wxDragTreeItem(*_args
,**_kwargs
):
259 val
= wxDragImagePtr(apply(misc2c
.new_wxDragTreeItem
,_args
,_kwargs
))
263 def wxDragListItem(*_args
,**_kwargs
):
264 val
= wxDragImagePtr(apply(misc2c
.new_wxDragListItem
,_args
,_kwargs
))
269 class wxPyTimerPtr(wxObjectPtr
):
270 def __init__(self
,this
):
273 def __del__(self
,misc2c
=misc2c
):
274 if self
.thisown
== 1 :
275 misc2c
.delete_wxPyTimer(self
)
276 def GetInterval(self
, *_args
, **_kwargs
):
277 val
= apply(misc2c
.wxPyTimer_GetInterval
,(self
,) + _args
, _kwargs
)
279 def IsOneShot(self
, *_args
, **_kwargs
):
280 val
= apply(misc2c
.wxPyTimer_IsOneShot
,(self
,) + _args
, _kwargs
)
282 def IsRunning(self
, *_args
, **_kwargs
):
283 val
= apply(misc2c
.wxPyTimer_IsRunning
,(self
,) + _args
, _kwargs
)
285 def SetOwner(self
, *_args
, **_kwargs
):
286 val
= apply(misc2c
.wxPyTimer_SetOwner
,(self
,) + _args
, _kwargs
)
288 def Start(self
, *_args
, **_kwargs
):
289 val
= apply(misc2c
.wxPyTimer_Start
,(self
,) + _args
, _kwargs
)
291 def Stop(self
, *_args
, **_kwargs
):
292 val
= apply(misc2c
.wxPyTimer_Stop
,(self
,) + _args
, _kwargs
)
295 return "<C wxPyTimer instance at %s>" % (self
.this
,)
296 class wxPyTimer(wxPyTimerPtr
):
297 def __init__(self
,*_args
,**_kwargs
):
298 self
.this
= apply(misc2c
.new_wxPyTimer
,_args
,_kwargs
)
304 class wxStopWatchPtr
:
305 def __init__(self
,this
):
308 def __del__(self
,misc2c
=misc2c
):
309 if self
.thisown
== 1 :
310 misc2c
.delete_wxStopWatch(self
)
311 def Start(self
, *_args
, **_kwargs
):
312 val
= apply(misc2c
.wxStopWatch_Start
,(self
,) + _args
, _kwargs
)
314 def Pause(self
, *_args
, **_kwargs
):
315 val
= apply(misc2c
.wxStopWatch_Pause
,(self
,) + _args
, _kwargs
)
317 def Resume(self
, *_args
, **_kwargs
):
318 val
= apply(misc2c
.wxStopWatch_Resume
,(self
,) + _args
, _kwargs
)
320 def Time(self
, *_args
, **_kwargs
):
321 val
= apply(misc2c
.wxStopWatch_Time
,(self
,) + _args
, _kwargs
)
324 return "<C wxStopWatch instance at %s>" % (self
.this
,)
325 class wxStopWatch(wxStopWatchPtr
):
326 def __init__(self
,*_args
,**_kwargs
):
327 self
.this
= apply(misc2c
.new_wxStopWatch
,_args
,_kwargs
)
334 def __init__(self
,this
):
337 def Flush(self
, *_args
, **_kwargs
):
338 val
= apply(misc2c
.wxLog_Flush
,(self
,) + _args
, _kwargs
)
340 def HasPendingMessages(self
, *_args
, **_kwargs
):
341 val
= apply(misc2c
.wxLog_HasPendingMessages
,(self
,) + _args
, _kwargs
)
343 def GetVerbose(self
, *_args
, **_kwargs
):
344 val
= apply(misc2c
.wxLog_GetVerbose
,(self
,) + _args
, _kwargs
)
346 def TimeStamp(self
, *_args
, **_kwargs
):
347 val
= apply(misc2c
.wxLog_TimeStamp
,(self
,) + _args
, _kwargs
)
350 return "<C wxLog instance at %s>" % (self
.this
,)
351 class wxLog(wxLogPtr
):
352 def __init__(self
,*_args
,**_kwargs
):
353 self
.this
= apply(misc2c
.new_wxLog
,_args
,_kwargs
)
359 class wxLogStderrPtr(wxLogPtr
):
360 def __init__(self
,this
):
364 return "<C wxLogStderr instance at %s>" % (self
.this
,)
365 class wxLogStderr(wxLogStderrPtr
):
366 def __init__(self
,*_args
,**_kwargs
):
367 self
.this
= apply(misc2c
.new_wxLogStderr
,_args
,_kwargs
)
373 class wxLogTextCtrlPtr(wxLogPtr
):
374 def __init__(self
,this
):
378 return "<C wxLogTextCtrl instance at %s>" % (self
.this
,)
379 class wxLogTextCtrl(wxLogTextCtrlPtr
):
380 def __init__(self
,*_args
,**_kwargs
):
381 self
.this
= apply(misc2c
.new_wxLogTextCtrl
,_args
,_kwargs
)
387 class wxLogGuiPtr(wxLogPtr
):
388 def __init__(self
,this
):
392 return "<C wxLogGui instance at %s>" % (self
.this
,)
393 class wxLogGui(wxLogGuiPtr
):
394 def __init__(self
,*_args
,**_kwargs
):
395 self
.this
= apply(misc2c
.new_wxLogGui
,_args
,_kwargs
)
401 class wxLogWindowPtr(wxLogPtr
):
402 def __init__(self
,this
):
405 def Show(self
, *_args
, **_kwargs
):
406 val
= apply(misc2c
.wxLogWindow_Show
,(self
,) + _args
, _kwargs
)
408 def GetFrame(self
, *_args
, **_kwargs
):
409 val
= apply(misc2c
.wxLogWindow_GetFrame
,(self
,) + _args
, _kwargs
)
411 def GetOldLog(self
, *_args
, **_kwargs
):
412 val
= apply(misc2c
.wxLogWindow_GetOldLog
,(self
,) + _args
, _kwargs
)
413 if val
: val
= wxLogPtr(val
)
415 def IsPassingMessages(self
, *_args
, **_kwargs
):
416 val
= apply(misc2c
.wxLogWindow_IsPassingMessages
,(self
,) + _args
, _kwargs
)
418 def PassMessages(self
, *_args
, **_kwargs
):
419 val
= apply(misc2c
.wxLogWindow_PassMessages
,(self
,) + _args
, _kwargs
)
422 return "<C wxLogWindow instance at %s>" % (self
.this
,)
423 class wxLogWindow(wxLogWindowPtr
):
424 def __init__(self
,*_args
,**_kwargs
):
425 self
.this
= apply(misc2c
.new_wxLogWindow
,_args
,_kwargs
)
431 class wxLogChainPtr(wxLogPtr
):
432 def __init__(self
,this
):
435 def SetLog(self
, *_args
, **_kwargs
):
436 val
= apply(misc2c
.wxLogChain_SetLog
,(self
,) + _args
, _kwargs
)
438 def PassMessages(self
, *_args
, **_kwargs
):
439 val
= apply(misc2c
.wxLogChain_PassMessages
,(self
,) + _args
, _kwargs
)
441 def IsPassingMessages(self
, *_args
, **_kwargs
):
442 val
= apply(misc2c
.wxLogChain_IsPassingMessages
,(self
,) + _args
, _kwargs
)
444 def GetOldLog(self
, *_args
, **_kwargs
):
445 val
= apply(misc2c
.wxLogChain_GetOldLog
,(self
,) + _args
, _kwargs
)
446 if val
: val
= wxLogPtr(val
)
449 return "<C wxLogChain instance at %s>" % (self
.this
,)
450 class wxLogChain(wxLogChainPtr
):
451 def __init__(self
,*_args
,**_kwargs
):
452 self
.this
= apply(misc2c
.new_wxLogChain
,_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 wxPyLogPtr(wxLogPtr
):
476 def __init__(self
,this
):
479 def _setCallbackInfo(self
, *_args
, **_kwargs
):
480 val
= apply(misc2c
.wxPyLog__setCallbackInfo
,(self
,) + _args
, _kwargs
)
482 def Destroy(self
, *_args
, **_kwargs
):
483 val
= apply(misc2c
.wxPyLog_Destroy
,(self
,) + _args
, _kwargs
)
486 return "<C wxPyLog instance at %s>" % (self
.this
,)
487 class wxPyLog(wxPyLogPtr
):
488 def __init__(self
,*_args
,**_kwargs
):
489 self
.this
= apply(misc2c
.new_wxPyLog
,_args
,_kwargs
)
491 self
._setCallbackInfo
(self
, wxPyLog
)
496 class wxProcessEventPtr(wxEventPtr
):
497 def __init__(self
,this
):
500 def GetPid(self
, *_args
, **_kwargs
):
501 val
= apply(misc2c
.wxProcessEvent_GetPid
,(self
,) + _args
, _kwargs
)
503 def GetExitCode(self
, *_args
, **_kwargs
):
504 val
= apply(misc2c
.wxProcessEvent_GetExitCode
,(self
,) + _args
, _kwargs
)
506 def __setattr__(self
,name
,value
):
508 misc2c
.wxProcessEvent_m_pid_set(self
,value
)
510 if name
== "m_exitcode" :
511 misc2c
.wxProcessEvent_m_exitcode_set(self
,value
)
513 self
.__dict
__[name
] = value
514 def __getattr__(self
,name
):
516 return misc2c
.wxProcessEvent_m_pid_get(self
)
517 if name
== "m_exitcode" :
518 return misc2c
.wxProcessEvent_m_exitcode_get(self
)
519 raise AttributeError,name
521 return "<C wxProcessEvent instance at %s>" % (self
.this
,)
522 class wxProcessEvent(wxProcessEventPtr
):
523 def __init__(self
,*_args
,**_kwargs
):
524 self
.this
= apply(misc2c
.new_wxProcessEvent
,_args
,_kwargs
)
530 class wxProcessPtr(wxEvtHandlerPtr
):
531 def __init__(self
,this
):
534 def Destroy(self
, *_args
, **_kwargs
):
535 val
= apply(misc2c
.wxProcess_Destroy
,(self
,) + _args
, _kwargs
)
537 def _setCallbackInfo(self
, *_args
, **_kwargs
):
538 val
= apply(misc2c
.wxProcess__setCallbackInfo
,(self
,) + _args
, _kwargs
)
540 def base_OnTerminate(self
, *_args
, **_kwargs
):
541 val
= apply(misc2c
.wxProcess_base_OnTerminate
,(self
,) + _args
, _kwargs
)
543 def Redirect(self
, *_args
, **_kwargs
):
544 val
= apply(misc2c
.wxProcess_Redirect
,(self
,) + _args
, _kwargs
)
546 def IsRedirected(self
, *_args
, **_kwargs
):
547 val
= apply(misc2c
.wxProcess_IsRedirected
,(self
,) + _args
, _kwargs
)
549 def Detach(self
, *_args
, **_kwargs
):
550 val
= apply(misc2c
.wxProcess_Detach
,(self
,) + _args
, _kwargs
)
552 def GetInputStream(self
, *_args
, **_kwargs
):
553 val
= apply(misc2c
.wxProcess_GetInputStream
,(self
,) + _args
, _kwargs
)
555 def GetErrorStream(self
, *_args
, **_kwargs
):
556 val
= apply(misc2c
.wxProcess_GetErrorStream
,(self
,) + _args
, _kwargs
)
558 def GetOutputStream(self
, *_args
, **_kwargs
):
559 val
= apply(misc2c
.wxProcess_GetOutputStream
,(self
,) + _args
, _kwargs
)
560 if val
: val
= wxOutputStreamPtr(val
)
562 def CloseOutput(self
, *_args
, **_kwargs
):
563 val
= apply(misc2c
.wxProcess_CloseOutput
,(self
,) + _args
, _kwargs
)
566 return "<C wxProcess instance at %s>" % (self
.this
,)
567 class wxProcess(wxProcessPtr
):
568 def __init__(self
,*_args
,**_kwargs
):
569 self
.this
= apply(misc2c
.new_wxProcess
,_args
,_kwargs
)
571 self
._setCallbackInfo
(self
, wxProcess
)
576 class wxJoystickPtr(wxObjectPtr
):
577 def __init__(self
,this
):
580 def __del__(self
,misc2c
=misc2c
):
581 if self
.thisown
== 1 :
582 misc2c
.delete_wxJoystick(self
)
583 def GetPosition(self
, *_args
, **_kwargs
):
584 val
= apply(misc2c
.wxJoystick_GetPosition
,(self
,) + _args
, _kwargs
)
585 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
587 def GetZPosition(self
, *_args
, **_kwargs
):
588 val
= apply(misc2c
.wxJoystick_GetZPosition
,(self
,) + _args
, _kwargs
)
590 def GetButtonState(self
, *_args
, **_kwargs
):
591 val
= apply(misc2c
.wxJoystick_GetButtonState
,(self
,) + _args
, _kwargs
)
593 def GetPOVPosition(self
, *_args
, **_kwargs
):
594 val
= apply(misc2c
.wxJoystick_GetPOVPosition
,(self
,) + _args
, _kwargs
)
596 def GetPOVCTSPosition(self
, *_args
, **_kwargs
):
597 val
= apply(misc2c
.wxJoystick_GetPOVCTSPosition
,(self
,) + _args
, _kwargs
)
599 def GetRudderPosition(self
, *_args
, **_kwargs
):
600 val
= apply(misc2c
.wxJoystick_GetRudderPosition
,(self
,) + _args
, _kwargs
)
602 def GetUPosition(self
, *_args
, **_kwargs
):
603 val
= apply(misc2c
.wxJoystick_GetUPosition
,(self
,) + _args
, _kwargs
)
605 def GetVPosition(self
, *_args
, **_kwargs
):
606 val
= apply(misc2c
.wxJoystick_GetVPosition
,(self
,) + _args
, _kwargs
)
608 def GetMovementThreshold(self
, *_args
, **_kwargs
):
609 val
= apply(misc2c
.wxJoystick_GetMovementThreshold
,(self
,) + _args
, _kwargs
)
611 def SetMovementThreshold(self
, *_args
, **_kwargs
):
612 val
= apply(misc2c
.wxJoystick_SetMovementThreshold
,(self
,) + _args
, _kwargs
)
614 def IsOk(self
, *_args
, **_kwargs
):
615 val
= apply(misc2c
.wxJoystick_IsOk
,(self
,) + _args
, _kwargs
)
617 def GetNumberJoysticks(self
, *_args
, **_kwargs
):
618 val
= apply(misc2c
.wxJoystick_GetNumberJoysticks
,(self
,) + _args
, _kwargs
)
620 def GetManufacturerId(self
, *_args
, **_kwargs
):
621 val
= apply(misc2c
.wxJoystick_GetManufacturerId
,(self
,) + _args
, _kwargs
)
623 def GetProductId(self
, *_args
, **_kwargs
):
624 val
= apply(misc2c
.wxJoystick_GetProductId
,(self
,) + _args
, _kwargs
)
626 def GetProductName(self
, *_args
, **_kwargs
):
627 val
= apply(misc2c
.wxJoystick_GetProductName
,(self
,) + _args
, _kwargs
)
629 def GetXMin(self
, *_args
, **_kwargs
):
630 val
= apply(misc2c
.wxJoystick_GetXMin
,(self
,) + _args
, _kwargs
)
632 def GetYMin(self
, *_args
, **_kwargs
):
633 val
= apply(misc2c
.wxJoystick_GetYMin
,(self
,) + _args
, _kwargs
)
635 def GetZMin(self
, *_args
, **_kwargs
):
636 val
= apply(misc2c
.wxJoystick_GetZMin
,(self
,) + _args
, _kwargs
)
638 def GetXMax(self
, *_args
, **_kwargs
):
639 val
= apply(misc2c
.wxJoystick_GetXMax
,(self
,) + _args
, _kwargs
)
641 def GetYMax(self
, *_args
, **_kwargs
):
642 val
= apply(misc2c
.wxJoystick_GetYMax
,(self
,) + _args
, _kwargs
)
644 def GetZMax(self
, *_args
, **_kwargs
):
645 val
= apply(misc2c
.wxJoystick_GetZMax
,(self
,) + _args
, _kwargs
)
647 def GetNumberButtons(self
, *_args
, **_kwargs
):
648 val
= apply(misc2c
.wxJoystick_GetNumberButtons
,(self
,) + _args
, _kwargs
)
650 def GetNumberAxes(self
, *_args
, **_kwargs
):
651 val
= apply(misc2c
.wxJoystick_GetNumberAxes
,(self
,) + _args
, _kwargs
)
653 def GetMaxButtons(self
, *_args
, **_kwargs
):
654 val
= apply(misc2c
.wxJoystick_GetMaxButtons
,(self
,) + _args
, _kwargs
)
656 def GetMaxAxes(self
, *_args
, **_kwargs
):
657 val
= apply(misc2c
.wxJoystick_GetMaxAxes
,(self
,) + _args
, _kwargs
)
659 def GetPollingMin(self
, *_args
, **_kwargs
):
660 val
= apply(misc2c
.wxJoystick_GetPollingMin
,(self
,) + _args
, _kwargs
)
662 def GetPollingMax(self
, *_args
, **_kwargs
):
663 val
= apply(misc2c
.wxJoystick_GetPollingMax
,(self
,) + _args
, _kwargs
)
665 def GetRudderMin(self
, *_args
, **_kwargs
):
666 val
= apply(misc2c
.wxJoystick_GetRudderMin
,(self
,) + _args
, _kwargs
)
668 def GetRudderMax(self
, *_args
, **_kwargs
):
669 val
= apply(misc2c
.wxJoystick_GetRudderMax
,(self
,) + _args
, _kwargs
)
671 def GetUMin(self
, *_args
, **_kwargs
):
672 val
= apply(misc2c
.wxJoystick_GetUMin
,(self
,) + _args
, _kwargs
)
674 def GetUMax(self
, *_args
, **_kwargs
):
675 val
= apply(misc2c
.wxJoystick_GetUMax
,(self
,) + _args
, _kwargs
)
677 def GetVMin(self
, *_args
, **_kwargs
):
678 val
= apply(misc2c
.wxJoystick_GetVMin
,(self
,) + _args
, _kwargs
)
680 def GetVMax(self
, *_args
, **_kwargs
):
681 val
= apply(misc2c
.wxJoystick_GetVMax
,(self
,) + _args
, _kwargs
)
683 def HasRudder(self
, *_args
, **_kwargs
):
684 val
= apply(misc2c
.wxJoystick_HasRudder
,(self
,) + _args
, _kwargs
)
686 def HasZ(self
, *_args
, **_kwargs
):
687 val
= apply(misc2c
.wxJoystick_HasZ
,(self
,) + _args
, _kwargs
)
689 def HasU(self
, *_args
, **_kwargs
):
690 val
= apply(misc2c
.wxJoystick_HasU
,(self
,) + _args
, _kwargs
)
692 def HasV(self
, *_args
, **_kwargs
):
693 val
= apply(misc2c
.wxJoystick_HasV
,(self
,) + _args
, _kwargs
)
695 def HasPOV(self
, *_args
, **_kwargs
):
696 val
= apply(misc2c
.wxJoystick_HasPOV
,(self
,) + _args
, _kwargs
)
698 def HasPOV4Dir(self
, *_args
, **_kwargs
):
699 val
= apply(misc2c
.wxJoystick_HasPOV4Dir
,(self
,) + _args
, _kwargs
)
701 def HasPOVCTS(self
, *_args
, **_kwargs
):
702 val
= apply(misc2c
.wxJoystick_HasPOVCTS
,(self
,) + _args
, _kwargs
)
704 def SetCapture(self
, *_args
, **_kwargs
):
705 val
= apply(misc2c
.wxJoystick_SetCapture
,(self
,) + _args
, _kwargs
)
707 def ReleaseCapture(self
, *_args
, **_kwargs
):
708 val
= apply(misc2c
.wxJoystick_ReleaseCapture
,(self
,) + _args
, _kwargs
)
711 return "<C wxJoystick instance at %s>" % (self
.this
,)
712 class wxJoystick(wxJoystickPtr
):
713 def __init__(self
,*_args
,**_kwargs
):
714 self
.this
= apply(misc2c
.new_wxJoystick
,_args
,_kwargs
)
720 class wxWavePtr(wxObjectPtr
):
721 def __init__(self
,this
):
724 def __del__(self
,misc2c
=misc2c
):
725 if self
.thisown
== 1 :
726 misc2c
.delete_wxWave(self
)
727 def IsOk(self
, *_args
, **_kwargs
):
728 val
= apply(misc2c
.wxWave_IsOk
,(self
,) + _args
, _kwargs
)
730 def Play(self
, *_args
, **_kwargs
):
731 val
= apply(misc2c
.wxWave_Play
,(self
,) + _args
, _kwargs
)
734 return "<C wxWave instance at %s>" % (self
.this
,)
735 class wxWave(wxWavePtr
):
736 def __init__(self
,*_args
,**_kwargs
):
737 self
.this
= apply(misc2c
.new_wxWave
,_args
,_kwargs
)
743 class wxFileTypeInfoPtr
:
744 def __init__(self
,this
):
747 def IsValid(self
, *_args
, **_kwargs
):
748 val
= apply(misc2c
.wxFileTypeInfo_IsValid
,(self
,) + _args
, _kwargs
)
750 def SetIcon(self
, *_args
, **_kwargs
):
751 val
= apply(misc2c
.wxFileTypeInfo_SetIcon
,(self
,) + _args
, _kwargs
)
753 def SetShortDesc(self
, *_args
, **_kwargs
):
754 val
= apply(misc2c
.wxFileTypeInfo_SetShortDesc
,(self
,) + _args
, _kwargs
)
756 def GetMimeType(self
, *_args
, **_kwargs
):
757 val
= apply(misc2c
.wxFileTypeInfo_GetMimeType
,(self
,) + _args
, _kwargs
)
759 def GetOpenCommand(self
, *_args
, **_kwargs
):
760 val
= apply(misc2c
.wxFileTypeInfo_GetOpenCommand
,(self
,) + _args
, _kwargs
)
762 def GetPrintCommand(self
, *_args
, **_kwargs
):
763 val
= apply(misc2c
.wxFileTypeInfo_GetPrintCommand
,(self
,) + _args
, _kwargs
)
765 def GetShortDesc(self
, *_args
, **_kwargs
):
766 val
= apply(misc2c
.wxFileTypeInfo_GetShortDesc
,(self
,) + _args
, _kwargs
)
768 def GetDescription(self
, *_args
, **_kwargs
):
769 val
= apply(misc2c
.wxFileTypeInfo_GetDescription
,(self
,) + _args
, _kwargs
)
771 def GetExtensions(self
, *_args
, **_kwargs
):
772 val
= apply(misc2c
.wxFileTypeInfo_GetExtensions
,(self
,) + _args
, _kwargs
)
774 def GetExtensionsCount(self
, *_args
, **_kwargs
):
775 val
= apply(misc2c
.wxFileTypeInfo_GetExtensionsCount
,(self
,) + _args
, _kwargs
)
777 def GetIconFile(self
, *_args
, **_kwargs
):
778 val
= apply(misc2c
.wxFileTypeInfo_GetIconFile
,(self
,) + _args
, _kwargs
)
780 def GetIconIndex(self
, *_args
, **_kwargs
):
781 val
= apply(misc2c
.wxFileTypeInfo_GetIconIndex
,(self
,) + _args
, _kwargs
)
784 return "<C wxFileTypeInfo instance at %s>" % (self
.this
,)
785 class wxFileTypeInfo(wxFileTypeInfoPtr
):
786 def __init__(self
,*_args
,**_kwargs
):
787 self
.this
= apply(misc2c
.new_wxFileTypeInfo
,_args
,_kwargs
)
792 def wxFileTypeInfoSequence(*_args
,**_kwargs
):
793 val
= wxFileTypeInfoPtr(apply(misc2c
.new_wxFileTypeInfoSequence
,_args
,_kwargs
))
797 def wxNullFileTypeInfo(*_args
,**_kwargs
):
798 val
= wxFileTypeInfoPtr(apply(misc2c
.new_wxNullFileTypeInfo
,_args
,_kwargs
))
803 class wxFileTypePtr
:
804 def __init__(self
,this
):
807 def GetMimeType(self
, *_args
, **_kwargs
):
808 val
= apply(misc2c
.wxFileType_GetMimeType
,(self
,) + _args
, _kwargs
)
810 def GetMimeTypes(self
, *_args
, **_kwargs
):
811 val
= apply(misc2c
.wxFileType_GetMimeTypes
,(self
,) + _args
, _kwargs
)
813 def GetExtensions(self
, *_args
, **_kwargs
):
814 val
= apply(misc2c
.wxFileType_GetExtensions
,(self
,) + _args
, _kwargs
)
816 def GetIcon(self
, *_args
, **_kwargs
):
817 val
= apply(misc2c
.wxFileType_GetIcon
,(self
,) + _args
, _kwargs
)
818 if val
: val
= wxIconPtr(val
) ; val
.thisown
= 1
820 def GetIconInfo(self
, *_args
, **_kwargs
):
821 val
= apply(misc2c
.wxFileType_GetIconInfo
,(self
,) + _args
, _kwargs
)
823 def GetDescription(self
, *_args
, **_kwargs
):
824 val
= apply(misc2c
.wxFileType_GetDescription
,(self
,) + _args
, _kwargs
)
826 def GetOpenCommand(self
, *_args
, **_kwargs
):
827 val
= apply(misc2c
.wxFileType_GetOpenCommand
,(self
,) + _args
, _kwargs
)
829 def GetPrintCommand(self
, *_args
, **_kwargs
):
830 val
= apply(misc2c
.wxFileType_GetPrintCommand
,(self
,) + _args
, _kwargs
)
832 def GetAllCommands(self
, *_args
, **_kwargs
):
833 val
= apply(misc2c
.wxFileType_GetAllCommands
,(self
,) + _args
, _kwargs
)
835 def SetCommand(self
, *_args
, **_kwargs
):
836 val
= apply(misc2c
.wxFileType_SetCommand
,(self
,) + _args
, _kwargs
)
838 def SetDefaultIcon(self
, *_args
, **_kwargs
):
839 val
= apply(misc2c
.wxFileType_SetDefaultIcon
,(self
,) + _args
, _kwargs
)
841 def Unassociate(self
, *_args
, **_kwargs
):
842 val
= apply(misc2c
.wxFileType_Unassociate
,(self
,) + _args
, _kwargs
)
844 def __del__(self
,misc2c
=misc2c
):
845 if self
.thisown
== 1 :
846 misc2c
.delete_wxFileType(self
)
848 return "<C wxFileType instance at %s>" % (self
.this
,)
849 class wxFileType(wxFileTypePtr
):
850 def __init__(self
,*_args
,**_kwargs
):
851 self
.this
= apply(misc2c
.new_wxFileType
,_args
,_kwargs
)
857 class wxMimeTypesManagerPtr
:
858 def __init__(self
,this
):
861 def Initialize(self
, *_args
, **_kwargs
):
862 val
= apply(misc2c
.wxMimeTypesManager_Initialize
,(self
,) + _args
, _kwargs
)
864 def ClearData(self
, *_args
, **_kwargs
):
865 val
= apply(misc2c
.wxMimeTypesManager_ClearData
,(self
,) + _args
, _kwargs
)
867 def GetFileTypeFromExtension(self
, *_args
, **_kwargs
):
868 val
= apply(misc2c
.wxMimeTypesManager_GetFileTypeFromExtension
,(self
,) + _args
, _kwargs
)
869 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
871 def GetFileTypeFromMimeType(self
, *_args
, **_kwargs
):
872 val
= apply(misc2c
.wxMimeTypesManager_GetFileTypeFromMimeType
,(self
,) + _args
, _kwargs
)
873 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
875 def ReadMailcap(self
, *_args
, **_kwargs
):
876 val
= apply(misc2c
.wxMimeTypesManager_ReadMailcap
,(self
,) + _args
, _kwargs
)
878 def ReadMimeTypes(self
, *_args
, **_kwargs
):
879 val
= apply(misc2c
.wxMimeTypesManager_ReadMimeTypes
,(self
,) + _args
, _kwargs
)
881 def EnumAllFileTypes(self
, *_args
, **_kwargs
):
882 val
= apply(misc2c
.wxMimeTypesManager_EnumAllFileTypes
,(self
,) + _args
, _kwargs
)
884 def AddFallback(self
, *_args
, **_kwargs
):
885 val
= apply(misc2c
.wxMimeTypesManager_AddFallback
,(self
,) + _args
, _kwargs
)
887 def Associate(self
, *_args
, **_kwargs
):
888 val
= apply(misc2c
.wxMimeTypesManager_Associate
,(self
,) + _args
, _kwargs
)
889 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
891 def Unassociate(self
, *_args
, **_kwargs
):
892 val
= apply(misc2c
.wxMimeTypesManager_Unassociate
,(self
,) + _args
, _kwargs
)
894 def __del__(self
,misc2c
=misc2c
):
895 if self
.thisown
== 1 :
896 misc2c
.delete_wxMimeTypesManager(self
)
898 return "<C wxMimeTypesManager instance at %s>" % (self
.this
,)
899 class wxMimeTypesManager(wxMimeTypesManagerPtr
):
900 def __init__(self
,*_args
,**_kwargs
):
901 self
.this
= apply(misc2c
.new_wxMimeTypesManager
,_args
,_kwargs
)
907 class wxArtProviderPtr(wxObjectPtr
):
908 def __init__(self
,this
):
911 def _setCallbackInfo(self
, *_args
, **_kwargs
):
912 val
= apply(misc2c
.wxArtProvider__setCallbackInfo
,(self
,) + _args
, _kwargs
)
915 return "<C wxArtProvider instance at %s>" % (self
.this
,)
916 class wxArtProvider(wxArtProviderPtr
):
917 def __init__(self
,*_args
,**_kwargs
):
918 self
.this
= apply(misc2c
.new_wxArtProvider
,_args
,_kwargs
)
920 self
._setCallbackInfo
(self
, wxArtProvider
)
925 class wxFileHistoryPtr(wxObjectPtr
):
926 def __init__(self
,this
):
929 def __del__(self
,misc2c
=misc2c
):
930 if self
.thisown
== 1 :
931 misc2c
.delete_wxFileHistory(self
)
932 def AddFileToHistory(self
, *_args
, **_kwargs
):
933 val
= apply(misc2c
.wxFileHistory_AddFileToHistory
,(self
,) + _args
, _kwargs
)
935 def RemoveFileFromHistory(self
, *_args
, **_kwargs
):
936 val
= apply(misc2c
.wxFileHistory_RemoveFileFromHistory
,(self
,) + _args
, _kwargs
)
938 def GetMaxFiles(self
, *_args
, **_kwargs
):
939 val
= apply(misc2c
.wxFileHistory_GetMaxFiles
,(self
,) + _args
, _kwargs
)
941 def UseMenu(self
, *_args
, **_kwargs
):
942 val
= apply(misc2c
.wxFileHistory_UseMenu
,(self
,) + _args
, _kwargs
)
944 def RemoveMenu(self
, *_args
, **_kwargs
):
945 val
= apply(misc2c
.wxFileHistory_RemoveMenu
,(self
,) + _args
, _kwargs
)
947 def Load(self
, *_args
, **_kwargs
):
948 val
= apply(misc2c
.wxFileHistory_Load
,(self
,) + _args
, _kwargs
)
950 def Save(self
, *_args
, **_kwargs
):
951 val
= apply(misc2c
.wxFileHistory_Save
,(self
,) + _args
, _kwargs
)
953 def AddFilesToMenu(self
, *_args
, **_kwargs
):
954 val
= apply(misc2c
.wxFileHistory_AddFilesToMenu
,(self
,) + _args
, _kwargs
)
956 def AddFilesToThisMenu(self
, *_args
, **_kwargs
):
957 val
= apply(misc2c
.wxFileHistory_AddFilesToThisMenu
,(self
,) + _args
, _kwargs
)
959 def GetHistoryFile(self
, *_args
, **_kwargs
):
960 val
= apply(misc2c
.wxFileHistory_GetHistoryFile
,(self
,) + _args
, _kwargs
)
962 def GetCount(self
, *_args
, **_kwargs
):
963 val
= apply(misc2c
.wxFileHistory_GetCount
,(self
,) + _args
, _kwargs
)
965 def GetNoHistoryFiles(self
, *_args
, **_kwargs
):
966 val
= apply(misc2c
.wxFileHistory_GetNoHistoryFiles
,(self
,) + _args
, _kwargs
)
969 return "<C wxFileHistory instance at %s>" % (self
.this
,)
970 class wxFileHistory(wxFileHistoryPtr
):
971 def __init__(self
,*_args
,**_kwargs
):
972 self
.this
= apply(misc2c
.new_wxFileHistory
,_args
,_kwargs
)
980 #-------------- FUNCTION WRAPPERS ------------------
982 wxFileSelector
= misc2c
.wxFileSelector
984 wxLoadFileSelector
= misc2c
.wxLoadFileSelector
986 wxSaveFileSelector
= misc2c
.wxSaveFileSelector
988 wxDirSelector
= misc2c
.wxDirSelector
990 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
992 wxGetPasswordFromUser
= misc2c
.wxGetPasswordFromUser
994 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
996 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
998 wxMessageBox
= misc2c
.wxMessageBox
1000 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
1002 wxColourDisplay
= misc2c
.wxColourDisplay
1004 wxDisplayDepth
= misc2c
.wxDisplayDepth
1006 wxGetDisplayDepth
= misc2c
.wxGetDisplayDepth
1008 wxDisplaySize
= misc2c
.wxDisplaySize
1010 def wxGetDisplaySize(*_args
, **_kwargs
):
1011 val
= apply(misc2c
.wxGetDisplaySize
,_args
,_kwargs
)
1012 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1015 wxDisplaySizeMM
= misc2c
.wxDisplaySizeMM
1017 def wxGetDisplaySizeMM(*_args
, **_kwargs
):
1018 val
= apply(misc2c
.wxGetDisplaySizeMM
,_args
,_kwargs
)
1019 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1022 wxClientDisplayRect
= misc2c
.wxClientDisplayRect
1024 def wxGetClientDisplayRect(*_args
, **_kwargs
):
1025 val
= apply(misc2c
.wxGetClientDisplayRect
,_args
,_kwargs
)
1026 if val
: val
= wxRectPtr(val
); val
.thisown
= 1
1029 wxSetCursor
= misc2c
.wxSetCursor
1031 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
1033 def wxGetActiveWindow(*_args
, **_kwargs
):
1034 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
1037 def wxGenericFindWindowAtPoint(*_args
, **_kwargs
):
1038 val
= apply(misc2c
.wxGenericFindWindowAtPoint
,_args
,_kwargs
)
1041 def wxFindWindowAtPoint(*_args
, **_kwargs
):
1042 val
= apply(misc2c
.wxFindWindowAtPoint
,_args
,_kwargs
)
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 wxMutexGuiEnter
= misc2c
.wxMutexGuiEnter
1087 wxMutexGuiLeave
= misc2c
.wxMutexGuiLeave
1089 wxThread_IsMain
= misc2c
.wxThread_IsMain
1091 wxShowTip
= misc2c
.wxShowTip
1093 def wxCreateFileTipProvider(*_args
, **_kwargs
):
1094 val
= apply(misc2c
.wxCreateFileTipProvider
,_args
,_kwargs
)
1095 if val
: val
= wxTipProviderPtr(val
); val
.thisown
= 1
1098 wxSysErrorCode
= misc2c
.wxSysErrorCode
1100 wxSysErrorMsg
= misc2c
.wxSysErrorMsg
1102 wxLogFatalError
= misc2c
.wxLogFatalError
1104 wxLogError
= misc2c
.wxLogError
1106 wxLogWarning
= misc2c
.wxLogWarning
1108 wxLogMessage
= misc2c
.wxLogMessage
1110 wxLogInfo
= misc2c
.wxLogInfo
1112 wxLogVerbose
= misc2c
.wxLogVerbose
1114 wxLogStatus
= misc2c
.wxLogStatus
1116 wxLogStatusFrame
= misc2c
.wxLogStatusFrame
1118 wxLogSysError
= misc2c
.wxLogSysError
1120 wxLogTrace
= misc2c
.wxLogTrace
1122 wxLogTraceMask
= misc2c
.wxLogTraceMask
1124 wxLogGeneric
= misc2c
.wxLogGeneric
1126 wxSafeShowMessage
= misc2c
.wxSafeShowMessage
1128 wxExecute
= misc2c
.wxExecute
1130 def wxWaveData(*_args
, **_kwargs
):
1131 val
= apply(misc2c
.wxWaveData
,_args
,_kwargs
)
1132 if val
: val
= wxWavePtr(val
); val
.thisown
= 1
1135 def wxSystemSettings_GetColour(*_args
, **_kwargs
):
1136 val
= apply(misc2c
.wxSystemSettings_GetColour
,_args
,_kwargs
)
1137 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1140 def wxSystemSettings_GetFont(*_args
, **_kwargs
):
1141 val
= apply(misc2c
.wxSystemSettings_GetFont
,_args
,_kwargs
)
1142 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
1145 wxSystemSettings_GetMetric
= misc2c
.wxSystemSettings_GetMetric
1147 wxSystemSettings_HasFeature
= misc2c
.wxSystemSettings_HasFeature
1149 wxSystemSettings_GetScreenType
= misc2c
.wxSystemSettings_GetScreenType
1151 wxSystemSettings_SetScreenType
= misc2c
.wxSystemSettings_SetScreenType
1153 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
1155 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
1157 wxLog_IsEnabled
= misc2c
.wxLog_IsEnabled
1159 wxLog_EnableLogging
= misc2c
.wxLog_EnableLogging
1161 wxLog_OnLog
= misc2c
.wxLog_OnLog
1163 wxLog_FlushActive
= misc2c
.wxLog_FlushActive
1165 def wxLog_GetActiveTarget(*_args
, **_kwargs
):
1166 val
= apply(misc2c
.wxLog_GetActiveTarget
,_args
,_kwargs
)
1167 if val
: val
= wxLogPtr(val
)
1170 def wxLog_SetActiveTarget(*_args
, **_kwargs
):
1171 val
= apply(misc2c
.wxLog_SetActiveTarget
,_args
,_kwargs
)
1172 if val
: val
= wxLogPtr(val
)
1175 wxLog_Suspend
= misc2c
.wxLog_Suspend
1177 wxLog_Resume
= misc2c
.wxLog_Resume
1179 wxLog_SetVerbose
= misc2c
.wxLog_SetVerbose
1181 wxLog_DontCreateOnDemand
= misc2c
.wxLog_DontCreateOnDemand
1183 wxLog_SetTraceMask
= misc2c
.wxLog_SetTraceMask
1185 wxLog_AddTraceMask
= misc2c
.wxLog_AddTraceMask
1187 wxLog_RemoveTraceMask
= misc2c
.wxLog_RemoveTraceMask
1189 wxLog_ClearTraceMasks
= misc2c
.wxLog_ClearTraceMasks
1191 wxLog_SetTimestamp
= misc2c
.wxLog_SetTimestamp
1193 wxLog_GetTimestamp
= misc2c
.wxLog_GetTimestamp
1195 wxLog_GetTraceMask
= misc2c
.wxLog_GetTraceMask
1197 wxLog_IsAllowedTraceMask
= misc2c
.wxLog_IsAllowedTraceMask
1199 wxProcess_Kill
= misc2c
.wxProcess_Kill
1201 wxProcess_Exists
= misc2c
.wxProcess_Exists
1203 def wxProcess_Open(*_args
, **_kwargs
):
1204 val
= apply(misc2c
.wxProcess_Open
,_args
,_kwargs
)
1205 if val
: val
= wxProcessPtr(val
)
1208 wxFileType_ExpandCommand
= misc2c
.wxFileType_ExpandCommand
1210 wxMimeTypesManager_IsOfType
= misc2c
.wxMimeTypesManager_IsOfType
1212 wxArtProvider_PushProvider
= misc2c
.wxArtProvider_PushProvider
1214 wxArtProvider_PopProvider
= misc2c
.wxArtProvider_PopProvider
1216 wxArtProvider_RemoveProvider
= misc2c
.wxArtProvider_RemoveProvider
1218 def wxArtProvider_GetBitmap(*_args
, **_kwargs
):
1219 val
= apply(misc2c
.wxArtProvider_GetBitmap
,_args
,_kwargs
)
1220 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1223 def wxArtProvider_GetIcon(*_args
, **_kwargs
):
1224 val
= apply(misc2c
.wxArtProvider_GetIcon
,_args
,_kwargs
)
1225 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1228 wxArtProvider_CleanUpProviders
= misc2c
.wxArtProvider_CleanUpProviders
1232 #-------------- VARIABLE WRAPPERS ------------------
1234 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
1235 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
1236 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
1237 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
1238 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
1239 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
1240 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
1241 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
1242 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
1243 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
1244 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
1245 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
1246 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
1247 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
1248 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
1249 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
1250 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
1251 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
1252 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
1253 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
1254 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
1255 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
1256 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
1257 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
1258 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
1259 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
1260 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
1261 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
1262 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
1263 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
1264 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1265 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
1266 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
1267 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
1268 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
1269 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
1270 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
1271 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
1272 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
1273 wxSYS_COLOUR_LISTBOX
= misc2c
.wxSYS_COLOUR_LISTBOX
1274 wxSYS_COLOUR_HOTLIGHT
= misc2c
.wxSYS_COLOUR_HOTLIGHT
1275 wxSYS_COLOUR_GRADIENTACTIVECAPTION
= misc2c
.wxSYS_COLOUR_GRADIENTACTIVECAPTION
1276 wxSYS_COLOUR_GRADIENTINACTIVECAPTION
= misc2c
.wxSYS_COLOUR_GRADIENTINACTIVECAPTION
1277 wxSYS_COLOUR_MENUHILIGHT
= misc2c
.wxSYS_COLOUR_MENUHILIGHT
1278 wxSYS_COLOUR_MENUBAR
= misc2c
.wxSYS_COLOUR_MENUBAR
1279 wxSYS_COLOUR_MAX
= misc2c
.wxSYS_COLOUR_MAX
1280 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
1281 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
1282 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
1283 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
1284 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
1285 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
1286 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
1287 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
1288 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
1289 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
1290 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
1291 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
1292 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
1293 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
1294 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
1295 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
1296 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
1297 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
1298 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
1299 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
1300 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
1301 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
1302 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
1303 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
1304 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
1305 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
1306 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
1307 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
1308 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
1309 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
1310 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
1311 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
1312 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
1313 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
1314 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
1315 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
1316 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS
1317 wxSYS_CAN_DRAW_FRAME_DECORATIONS
= misc2c
.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1318 wxSYS_CAN_ICONIZE_FRAME
= misc2c
.wxSYS_CAN_ICONIZE_FRAME
1319 wxSYS_SCREEN_NONE
= misc2c
.wxSYS_SCREEN_NONE
1320 wxSYS_SCREEN_TINY
= misc2c
.wxSYS_SCREEN_TINY
1321 wxSYS_SCREEN_PDA
= misc2c
.wxSYS_SCREEN_PDA
1322 wxSYS_SCREEN_SMALL
= misc2c
.wxSYS_SCREEN_SMALL
1323 wxSYS_SCREEN_DESKTOP
= misc2c
.wxSYS_SCREEN_DESKTOP
1324 wxLOG_FatalError
= misc2c
.wxLOG_FatalError
1325 wxLOG_Error
= misc2c
.wxLOG_Error
1326 wxLOG_Warning
= misc2c
.wxLOG_Warning
1327 wxLOG_Message
= misc2c
.wxLOG_Message
1328 wxLOG_Info
= misc2c
.wxLOG_Info
1329 wxLOG_Status
= misc2c
.wxLOG_Status
1330 wxLOG_Debug
= misc2c
.wxLOG_Debug
1331 wxLOG_Trace
= misc2c
.wxLOG_Trace
1332 wxLOG_Progress
= misc2c
.wxLOG_Progress
1333 wxLOG_User
= misc2c
.wxLOG_User
1334 wxTRACE_MemAlloc
= misc2c
.wxTRACE_MemAlloc
1335 wxTRACE_Messages
= misc2c
.wxTRACE_Messages
1336 wxTRACE_ResAlloc
= misc2c
.wxTRACE_ResAlloc
1337 wxTRACE_RefCount
= misc2c
.wxTRACE_RefCount
1338 wxTraceMemAlloc
= misc2c
.wxTraceMemAlloc
1339 wxTraceMessages
= misc2c
.wxTraceMessages
1340 wxTraceResAlloc
= misc2c
.wxTraceResAlloc
1341 wxTraceRefCount
= misc2c
.wxTraceRefCount
1342 wxKILL_OK
= misc2c
.wxKILL_OK
1343 wxKILL_BAD_SIGNAL
= misc2c
.wxKILL_BAD_SIGNAL
1344 wxKILL_ACCESS_DENIED
= misc2c
.wxKILL_ACCESS_DENIED
1345 wxKILL_NO_PROCESS
= misc2c
.wxKILL_NO_PROCESS
1346 wxKILL_ERROR
= misc2c
.wxKILL_ERROR
1347 wxSIGNONE
= misc2c
.wxSIGNONE
1348 wxSIGHUP
= misc2c
.wxSIGHUP
1349 wxSIGINT
= misc2c
.wxSIGINT
1350 wxSIGQUIT
= misc2c
.wxSIGQUIT
1351 wxSIGILL
= misc2c
.wxSIGILL
1352 wxSIGTRAP
= misc2c
.wxSIGTRAP
1353 wxSIGABRT
= misc2c
.wxSIGABRT
1354 wxSIGIOT
= misc2c
.wxSIGIOT
1355 wxSIGEMT
= misc2c
.wxSIGEMT
1356 wxSIGFPE
= misc2c
.wxSIGFPE
1357 wxSIGKILL
= misc2c
.wxSIGKILL
1358 wxSIGBUS
= misc2c
.wxSIGBUS
1359 wxSIGSEGV
= misc2c
.wxSIGSEGV
1360 wxSIGSYS
= misc2c
.wxSIGSYS
1361 wxSIGPIPE
= misc2c
.wxSIGPIPE
1362 wxSIGALRM
= misc2c
.wxSIGALRM
1363 wxSIGTERM
= misc2c
.wxSIGTERM
1364 wxEVT_END_PROCESS
= misc2c
.wxEVT_END_PROCESS
1365 wxEXEC_ASYNC
= misc2c
.wxEXEC_ASYNC
1366 wxEXEC_SYNC
= misc2c
.wxEXEC_SYNC
1367 wxEXEC_NOHIDE
= misc2c
.wxEXEC_NOHIDE
1368 wxEXEC_MAKE_GROUP_LEADER
= misc2c
.wxEXEC_MAKE_GROUP_LEADER
1369 wxJOYSTICK1
= misc2c
.wxJOYSTICK1
1370 wxJOYSTICK2
= misc2c
.wxJOYSTICK2
1371 wxJOY_BUTTON_ANY
= misc2c
.wxJOY_BUTTON_ANY
1372 wxJOY_BUTTON1
= misc2c
.wxJOY_BUTTON1
1373 wxJOY_BUTTON2
= misc2c
.wxJOY_BUTTON2
1374 wxJOY_BUTTON3
= misc2c
.wxJOY_BUTTON3
1375 wxJOY_BUTTON4
= misc2c
.wxJOY_BUTTON4
1376 wxMAILCAP_STANDARD
= misc2c
.wxMAILCAP_STANDARD
1377 wxMAILCAP_NETSCAPE
= misc2c
.wxMAILCAP_NETSCAPE
1378 wxMAILCAP_KDE
= misc2c
.wxMAILCAP_KDE
1379 wxMAILCAP_GNOME
= misc2c
.wxMAILCAP_GNOME
1380 wxMAILCAP_ALL
= misc2c
.wxMAILCAP_ALL
1382 wxTheMimeTypesManager
= wxMimeTypesManagerPtr(misc2c
.cvar
.wxTheMimeTypesManager
)
1383 wxART_TOOLBAR
= misc2c
.wxART_TOOLBAR
1384 wxART_MENU
= misc2c
.wxART_MENU
1385 wxART_FRAME_ICON
= misc2c
.wxART_FRAME_ICON
1386 wxART_CMN_DIALOG
= misc2c
.wxART_CMN_DIALOG
1387 wxART_HELP_BROWSER
= misc2c
.wxART_HELP_BROWSER
1388 wxART_MESSAGE_BOX
= misc2c
.wxART_MESSAGE_BOX
1389 wxART_OTHER
= misc2c
.wxART_OTHER
1390 wxART_ADD_BOOKMARK
= misc2c
.wxART_ADD_BOOKMARK
1391 wxART_DEL_BOOKMARK
= misc2c
.wxART_DEL_BOOKMARK
1392 wxART_HELP_SIDE_PANEL
= misc2c
.wxART_HELP_SIDE_PANEL
1393 wxART_HELP_SETTINGS
= misc2c
.wxART_HELP_SETTINGS
1394 wxART_HELP_BOOK
= misc2c
.wxART_HELP_BOOK
1395 wxART_HELP_FOLDER
= misc2c
.wxART_HELP_FOLDER
1396 wxART_HELP_PAGE
= misc2c
.wxART_HELP_PAGE
1397 wxART_GO_BACK
= misc2c
.wxART_GO_BACK
1398 wxART_GO_FORWARD
= misc2c
.wxART_GO_FORWARD
1399 wxART_GO_UP
= misc2c
.wxART_GO_UP
1400 wxART_GO_DOWN
= misc2c
.wxART_GO_DOWN
1401 wxART_GO_TO_PARENT
= misc2c
.wxART_GO_TO_PARENT
1402 wxART_GO_HOME
= misc2c
.wxART_GO_HOME
1403 wxART_FILE_OPEN
= misc2c
.wxART_FILE_OPEN
1404 wxART_PRINT
= misc2c
.wxART_PRINT
1405 wxART_HELP
= misc2c
.wxART_HELP
1406 wxART_TIP
= misc2c
.wxART_TIP
1407 wxART_REPORT_VIEW
= misc2c
.wxART_REPORT_VIEW
1408 wxART_LIST_VIEW
= misc2c
.wxART_LIST_VIEW
1409 wxART_NEW_DIR
= misc2c
.wxART_NEW_DIR
1410 wxART_FOLDER
= misc2c
.wxART_FOLDER
1411 wxART_GO_DIR_UP
= misc2c
.wxART_GO_DIR_UP
1412 wxART_EXECUTABLE_FILE
= misc2c
.wxART_EXECUTABLE_FILE
1413 wxART_NORMAL_FILE
= misc2c
.wxART_NORMAL_FILE
1414 wxART_TICK_MARK
= misc2c
.wxART_TICK_MARK
1415 wxART_CROSS_MARK
= misc2c
.wxART_CROSS_MARK
1416 wxART_ERROR
= misc2c
.wxART_ERROR
1417 wxART_QUESTION
= misc2c
.wxART_QUESTION
1418 wxART_WARNING
= misc2c
.wxART_WARNING
1419 wxART_INFORMATION
= misc2c
.wxART_INFORMATION