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 wxCheckForInterrupt
= misc2c
.wxCheckForInterrupt
1047 wxFlushEvents
= misc2c
.wxFlushEvents
1049 def wxGetTopLevelParent(*_args
, **_kwargs
):
1050 val
= apply(misc2c
.wxGetTopLevelParent
,_args
,_kwargs
)
1053 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
1055 wxResourceClear
= misc2c
.wxResourceClear
1057 def wxResourceCreateBitmap(*_args
, **_kwargs
):
1058 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
1059 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1062 def wxResourceCreateIcon(*_args
, **_kwargs
):
1063 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
1064 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1067 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
1068 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
1071 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
1073 wxResourceParseData
= misc2c
.wxResourceParseData
1075 wxResourceParseFile
= misc2c
.wxResourceParseFile
1077 wxResourceParseString
= misc2c
.wxResourceParseString
1079 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
1081 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
1083 wxSafeYield
= misc2c
.wxSafeYield
1085 wxPostEvent
= misc2c
.wxPostEvent
1087 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
1089 wxWakeUpMainThread
= misc2c
.wxWakeUpMainThread
1091 wxMutexGuiEnter
= misc2c
.wxMutexGuiEnter
1093 wxMutexGuiLeave
= misc2c
.wxMutexGuiLeave
1095 wxThread_IsMain
= misc2c
.wxThread_IsMain
1097 wxShowTip
= misc2c
.wxShowTip
1099 def wxCreateFileTipProvider(*_args
, **_kwargs
):
1100 val
= apply(misc2c
.wxCreateFileTipProvider
,_args
,_kwargs
)
1101 if val
: val
= wxTipProviderPtr(val
); val
.thisown
= 1
1104 wxSysErrorCode
= misc2c
.wxSysErrorCode
1106 wxSysErrorMsg
= misc2c
.wxSysErrorMsg
1108 wxLogFatalError
= misc2c
.wxLogFatalError
1110 wxLogError
= misc2c
.wxLogError
1112 wxLogWarning
= misc2c
.wxLogWarning
1114 wxLogMessage
= misc2c
.wxLogMessage
1116 wxLogInfo
= misc2c
.wxLogInfo
1118 wxLogVerbose
= misc2c
.wxLogVerbose
1120 wxLogStatus
= misc2c
.wxLogStatus
1122 wxLogStatusFrame
= misc2c
.wxLogStatusFrame
1124 wxLogSysError
= misc2c
.wxLogSysError
1126 wxLogTrace
= misc2c
.wxLogTrace
1128 wxLogTraceMask
= misc2c
.wxLogTraceMask
1130 wxLogGeneric
= misc2c
.wxLogGeneric
1132 wxSafeShowMessage
= misc2c
.wxSafeShowMessage
1134 wxExecute
= misc2c
.wxExecute
1136 def wxWaveData(*_args
, **_kwargs
):
1137 val
= apply(misc2c
.wxWaveData
,_args
,_kwargs
)
1138 if val
: val
= wxWavePtr(val
); val
.thisown
= 1
1141 def wxSystemSettings_GetColour(*_args
, **_kwargs
):
1142 val
= apply(misc2c
.wxSystemSettings_GetColour
,_args
,_kwargs
)
1143 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1146 def wxSystemSettings_GetFont(*_args
, **_kwargs
):
1147 val
= apply(misc2c
.wxSystemSettings_GetFont
,_args
,_kwargs
)
1148 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
1151 wxSystemSettings_GetMetric
= misc2c
.wxSystemSettings_GetMetric
1153 wxSystemSettings_HasFeature
= misc2c
.wxSystemSettings_HasFeature
1155 wxSystemSettings_GetScreenType
= misc2c
.wxSystemSettings_GetScreenType
1157 wxSystemSettings_SetScreenType
= misc2c
.wxSystemSettings_SetScreenType
1159 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
1161 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
1163 wxLog_IsEnabled
= misc2c
.wxLog_IsEnabled
1165 wxLog_EnableLogging
= misc2c
.wxLog_EnableLogging
1167 wxLog_OnLog
= misc2c
.wxLog_OnLog
1169 wxLog_FlushActive
= misc2c
.wxLog_FlushActive
1171 def wxLog_GetActiveTarget(*_args
, **_kwargs
):
1172 val
= apply(misc2c
.wxLog_GetActiveTarget
,_args
,_kwargs
)
1173 if val
: val
= wxLogPtr(val
)
1176 def wxLog_SetActiveTarget(*_args
, **_kwargs
):
1177 val
= apply(misc2c
.wxLog_SetActiveTarget
,_args
,_kwargs
)
1178 if val
: val
= wxLogPtr(val
)
1181 wxLog_Suspend
= misc2c
.wxLog_Suspend
1183 wxLog_Resume
= misc2c
.wxLog_Resume
1185 wxLog_SetVerbose
= misc2c
.wxLog_SetVerbose
1187 wxLog_DontCreateOnDemand
= misc2c
.wxLog_DontCreateOnDemand
1189 wxLog_SetTraceMask
= misc2c
.wxLog_SetTraceMask
1191 wxLog_AddTraceMask
= misc2c
.wxLog_AddTraceMask
1193 wxLog_RemoveTraceMask
= misc2c
.wxLog_RemoveTraceMask
1195 wxLog_ClearTraceMasks
= misc2c
.wxLog_ClearTraceMasks
1197 wxLog_SetTimestamp
= misc2c
.wxLog_SetTimestamp
1199 wxLog_GetTimestamp
= misc2c
.wxLog_GetTimestamp
1201 wxLog_GetTraceMask
= misc2c
.wxLog_GetTraceMask
1203 wxLog_IsAllowedTraceMask
= misc2c
.wxLog_IsAllowedTraceMask
1205 wxProcess_Kill
= misc2c
.wxProcess_Kill
1207 wxProcess_Exists
= misc2c
.wxProcess_Exists
1209 def wxProcess_Open(*_args
, **_kwargs
):
1210 val
= apply(misc2c
.wxProcess_Open
,_args
,_kwargs
)
1211 if val
: val
= wxProcessPtr(val
)
1214 wxFileType_ExpandCommand
= misc2c
.wxFileType_ExpandCommand
1216 wxMimeTypesManager_IsOfType
= misc2c
.wxMimeTypesManager_IsOfType
1218 wxArtProvider_PushProvider
= misc2c
.wxArtProvider_PushProvider
1220 wxArtProvider_PopProvider
= misc2c
.wxArtProvider_PopProvider
1222 wxArtProvider_RemoveProvider
= misc2c
.wxArtProvider_RemoveProvider
1224 def wxArtProvider_GetBitmap(*_args
, **_kwargs
):
1225 val
= apply(misc2c
.wxArtProvider_GetBitmap
,_args
,_kwargs
)
1226 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1229 def wxArtProvider_GetIcon(*_args
, **_kwargs
):
1230 val
= apply(misc2c
.wxArtProvider_GetIcon
,_args
,_kwargs
)
1231 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1234 wxArtProvider_CleanUpProviders
= misc2c
.wxArtProvider_CleanUpProviders
1238 #-------------- VARIABLE WRAPPERS ------------------
1240 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
1241 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
1242 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
1243 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
1244 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
1245 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
1246 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
1247 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
1248 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
1249 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
1250 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
1251 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
1252 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
1253 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
1254 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
1255 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
1256 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
1257 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
1258 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
1259 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
1260 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
1261 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
1262 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
1263 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
1264 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
1265 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
1266 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
1267 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
1268 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
1269 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
1270 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1271 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
1272 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
1273 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
1274 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
1275 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
1276 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
1277 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
1278 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
1279 wxSYS_COLOUR_LISTBOX
= misc2c
.wxSYS_COLOUR_LISTBOX
1280 wxSYS_COLOUR_HOTLIGHT
= misc2c
.wxSYS_COLOUR_HOTLIGHT
1281 wxSYS_COLOUR_GRADIENTACTIVECAPTION
= misc2c
.wxSYS_COLOUR_GRADIENTACTIVECAPTION
1282 wxSYS_COLOUR_GRADIENTINACTIVECAPTION
= misc2c
.wxSYS_COLOUR_GRADIENTINACTIVECAPTION
1283 wxSYS_COLOUR_MENUHILIGHT
= misc2c
.wxSYS_COLOUR_MENUHILIGHT
1284 wxSYS_COLOUR_MENUBAR
= misc2c
.wxSYS_COLOUR_MENUBAR
1285 wxSYS_COLOUR_MAX
= misc2c
.wxSYS_COLOUR_MAX
1286 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
1287 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
1288 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
1289 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
1290 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
1291 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
1292 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
1293 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
1294 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
1295 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
1296 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
1297 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
1298 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
1299 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
1300 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
1301 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
1302 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
1303 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
1304 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
1305 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
1306 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
1307 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
1308 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
1309 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
1310 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
1311 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
1312 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
1313 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
1314 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
1315 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
1316 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
1317 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
1318 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
1319 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
1320 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
1321 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
1322 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS
1323 wxSYS_CAN_DRAW_FRAME_DECORATIONS
= misc2c
.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1324 wxSYS_CAN_ICONIZE_FRAME
= misc2c
.wxSYS_CAN_ICONIZE_FRAME
1325 wxSYS_SCREEN_NONE
= misc2c
.wxSYS_SCREEN_NONE
1326 wxSYS_SCREEN_TINY
= misc2c
.wxSYS_SCREEN_TINY
1327 wxSYS_SCREEN_PDA
= misc2c
.wxSYS_SCREEN_PDA
1328 wxSYS_SCREEN_SMALL
= misc2c
.wxSYS_SCREEN_SMALL
1329 wxSYS_SCREEN_DESKTOP
= misc2c
.wxSYS_SCREEN_DESKTOP
1330 wxLOG_FatalError
= misc2c
.wxLOG_FatalError
1331 wxLOG_Error
= misc2c
.wxLOG_Error
1332 wxLOG_Warning
= misc2c
.wxLOG_Warning
1333 wxLOG_Message
= misc2c
.wxLOG_Message
1334 wxLOG_Info
= misc2c
.wxLOG_Info
1335 wxLOG_Status
= misc2c
.wxLOG_Status
1336 wxLOG_Debug
= misc2c
.wxLOG_Debug
1337 wxLOG_Trace
= misc2c
.wxLOG_Trace
1338 wxLOG_Progress
= misc2c
.wxLOG_Progress
1339 wxLOG_User
= misc2c
.wxLOG_User
1340 wxTRACE_MemAlloc
= misc2c
.wxTRACE_MemAlloc
1341 wxTRACE_Messages
= misc2c
.wxTRACE_Messages
1342 wxTRACE_ResAlloc
= misc2c
.wxTRACE_ResAlloc
1343 wxTRACE_RefCount
= misc2c
.wxTRACE_RefCount
1344 wxTRACE_OleCalls
= misc2c
.wxTRACE_OleCalls
1345 wxTraceMemAlloc
= misc2c
.wxTraceMemAlloc
1346 wxTraceMessages
= misc2c
.wxTraceMessages
1347 wxTraceResAlloc
= misc2c
.wxTraceResAlloc
1348 wxTraceRefCount
= misc2c
.wxTraceRefCount
1349 wxTraceOleCalls
= misc2c
.wxTraceOleCalls
1350 wxKILL_OK
= misc2c
.wxKILL_OK
1351 wxKILL_BAD_SIGNAL
= misc2c
.wxKILL_BAD_SIGNAL
1352 wxKILL_ACCESS_DENIED
= misc2c
.wxKILL_ACCESS_DENIED
1353 wxKILL_NO_PROCESS
= misc2c
.wxKILL_NO_PROCESS
1354 wxKILL_ERROR
= misc2c
.wxKILL_ERROR
1355 wxSIGNONE
= misc2c
.wxSIGNONE
1356 wxSIGHUP
= misc2c
.wxSIGHUP
1357 wxSIGINT
= misc2c
.wxSIGINT
1358 wxSIGQUIT
= misc2c
.wxSIGQUIT
1359 wxSIGILL
= misc2c
.wxSIGILL
1360 wxSIGTRAP
= misc2c
.wxSIGTRAP
1361 wxSIGABRT
= misc2c
.wxSIGABRT
1362 wxSIGIOT
= misc2c
.wxSIGIOT
1363 wxSIGEMT
= misc2c
.wxSIGEMT
1364 wxSIGFPE
= misc2c
.wxSIGFPE
1365 wxSIGKILL
= misc2c
.wxSIGKILL
1366 wxSIGBUS
= misc2c
.wxSIGBUS
1367 wxSIGSEGV
= misc2c
.wxSIGSEGV
1368 wxSIGSYS
= misc2c
.wxSIGSYS
1369 wxSIGPIPE
= misc2c
.wxSIGPIPE
1370 wxSIGALRM
= misc2c
.wxSIGALRM
1371 wxSIGTERM
= misc2c
.wxSIGTERM
1372 wxEVT_END_PROCESS
= misc2c
.wxEVT_END_PROCESS
1373 wxEXEC_ASYNC
= misc2c
.wxEXEC_ASYNC
1374 wxEXEC_SYNC
= misc2c
.wxEXEC_SYNC
1375 wxEXEC_NOHIDE
= misc2c
.wxEXEC_NOHIDE
1376 wxEXEC_MAKE_GROUP_LEADER
= misc2c
.wxEXEC_MAKE_GROUP_LEADER
1377 wxJOYSTICK1
= misc2c
.wxJOYSTICK1
1378 wxJOYSTICK2
= misc2c
.wxJOYSTICK2
1379 wxJOY_BUTTON_ANY
= misc2c
.wxJOY_BUTTON_ANY
1380 wxJOY_BUTTON1
= misc2c
.wxJOY_BUTTON1
1381 wxJOY_BUTTON2
= misc2c
.wxJOY_BUTTON2
1382 wxJOY_BUTTON3
= misc2c
.wxJOY_BUTTON3
1383 wxJOY_BUTTON4
= misc2c
.wxJOY_BUTTON4
1384 wxMAILCAP_STANDARD
= misc2c
.wxMAILCAP_STANDARD
1385 wxMAILCAP_NETSCAPE
= misc2c
.wxMAILCAP_NETSCAPE
1386 wxMAILCAP_KDE
= misc2c
.wxMAILCAP_KDE
1387 wxMAILCAP_GNOME
= misc2c
.wxMAILCAP_GNOME
1388 wxMAILCAP_ALL
= misc2c
.wxMAILCAP_ALL
1390 wxTheMimeTypesManager
= wxMimeTypesManagerPtr(misc2c
.cvar
.wxTheMimeTypesManager
)
1391 wxART_TOOLBAR
= misc2c
.wxART_TOOLBAR
1392 wxART_MENU
= misc2c
.wxART_MENU
1393 wxART_FRAME_ICON
= misc2c
.wxART_FRAME_ICON
1394 wxART_CMN_DIALOG
= misc2c
.wxART_CMN_DIALOG
1395 wxART_HELP_BROWSER
= misc2c
.wxART_HELP_BROWSER
1396 wxART_MESSAGE_BOX
= misc2c
.wxART_MESSAGE_BOX
1397 wxART_OTHER
= misc2c
.wxART_OTHER
1398 wxART_ADD_BOOKMARK
= misc2c
.wxART_ADD_BOOKMARK
1399 wxART_DEL_BOOKMARK
= misc2c
.wxART_DEL_BOOKMARK
1400 wxART_HELP_SIDE_PANEL
= misc2c
.wxART_HELP_SIDE_PANEL
1401 wxART_HELP_SETTINGS
= misc2c
.wxART_HELP_SETTINGS
1402 wxART_HELP_BOOK
= misc2c
.wxART_HELP_BOOK
1403 wxART_HELP_FOLDER
= misc2c
.wxART_HELP_FOLDER
1404 wxART_HELP_PAGE
= misc2c
.wxART_HELP_PAGE
1405 wxART_GO_BACK
= misc2c
.wxART_GO_BACK
1406 wxART_GO_FORWARD
= misc2c
.wxART_GO_FORWARD
1407 wxART_GO_UP
= misc2c
.wxART_GO_UP
1408 wxART_GO_DOWN
= misc2c
.wxART_GO_DOWN
1409 wxART_GO_TO_PARENT
= misc2c
.wxART_GO_TO_PARENT
1410 wxART_GO_HOME
= misc2c
.wxART_GO_HOME
1411 wxART_FILE_OPEN
= misc2c
.wxART_FILE_OPEN
1412 wxART_PRINT
= misc2c
.wxART_PRINT
1413 wxART_HELP
= misc2c
.wxART_HELP
1414 wxART_TIP
= misc2c
.wxART_TIP
1415 wxART_REPORT_VIEW
= misc2c
.wxART_REPORT_VIEW
1416 wxART_LIST_VIEW
= misc2c
.wxART_LIST_VIEW
1417 wxART_NEW_DIR
= misc2c
.wxART_NEW_DIR
1418 wxART_FOLDER
= misc2c
.wxART_FOLDER
1419 wxART_GO_DIR_UP
= misc2c
.wxART_GO_DIR_UP
1420 wxART_EXECUTABLE_FILE
= misc2c
.wxART_EXECUTABLE_FILE
1421 wxART_NORMAL_FILE
= misc2c
.wxART_NORMAL_FILE
1422 wxART_TICK_MARK
= misc2c
.wxART_TICK_MARK
1423 wxART_CROSS_MARK
= misc2c
.wxART_CROSS_MARK
1424 wxART_ERROR
= misc2c
.wxART_ERROR
1425 wxART_QUESTION
= misc2c
.wxART_QUESTION
1426 wxART_WARNING
= misc2c
.wxART_WARNING
1427 wxART_INFORMATION
= misc2c
.wxART_INFORMATION