1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
21 wxART_TOOLBAR
= 'wxART_TOOLBAR_C'
22 wxART_MENU
= 'wxART_MENU_C'
23 wxART_FRAME_ICON
= 'wxART_FRAME_ICON_C'
24 wxART_CMN_DIALOG
= 'wxART_CMN_DIALOG_C'
25 wxART_HELP_BROWSER
= 'wxART_HELP_BROWSER_C'
26 wxART_MESSAGE_BOX
= 'wxART_MESSAGE_BOX_C'
27 wxART_OTHER
= 'wxART_OTHER_C'
30 wxART_ADD_BOOKMARK
= 'wxART_ADD_BOOKMARK'
31 wxART_DEL_BOOKMARK
= 'wxART_DEL_BOOKMARK'
32 wxART_HELP_SIDE_PANEL
= 'wxART_HELP_SIDE_PANEL'
33 wxART_HELP_SETTINGS
= 'wxART_HELP_SETTINGS'
34 wxART_HELP_BOOK
= 'wxART_HELP_BOOK'
35 wxART_HELP_FOLDER
= 'wxART_HELP_FOLDER'
36 wxART_HELP_PAGE
= 'wxART_HELP_PAGE'
37 wxART_GO_BACK
= 'wxART_GO_BACK'
38 wxART_GO_FORWARD
= 'wxART_GO_FORWARD'
39 wxART_GO_UP
= 'wxART_GO_UP'
40 wxART_GO_DOWN
= 'wxART_GO_DOWN'
41 wxART_GO_TO_PARENT
= 'wxART_GO_TO_PARENT'
42 wxART_GO_HOME
= 'wxART_GO_HOME'
43 wxART_FILE_OPEN
= 'wxART_FILE_OPEN'
44 wxART_PRINT
= 'wxART_PRINT'
45 wxART_HELP
= 'wxART_HELP'
46 wxART_TIP
= 'wxART_TIP'
47 wxART_REPORT_VIEW
= 'wxART_REPORT_VIEW'
48 wxART_LIST_VIEW
= 'wxART_LIST_VIEW'
49 wxART_NEW_DIR
= 'wxART_NEW_DIR'
50 wxART_FOLDER
= 'wxART_FOLDER'
51 wxART_GO_DIR_UP
= 'wxART_GO_DIR_UP'
52 wxART_EXECUTABLE_FILE
= 'wxART_EXECUTABLE_FILE'
53 wxART_NORMAL_FILE
= 'wxART_NORMAL_FILE'
54 wxART_TICK_MARK
= 'wxART_TICK_MARK'
55 wxART_CROSS_MARK
= 'wxART_CROSS_MARK'
56 wxART_ERROR
= 'wxART_ERROR'
57 wxART_QUESTION
= 'wxART_QUESTION'
58 wxART_WARNING
= 'wxART_WARNING'
59 wxART_INFORMATION
= 'wxART_INFORMATION'
61 class wxSystemSettingsPtr
:
62 def __init__(self
,this
):
66 return "<C wxSystemSettings instance at %s>" % (self
.this
,)
67 class wxSystemSettings(wxSystemSettingsPtr
):
68 def __init__(self
,this
):
74 class wxToolTipPtr(wxObjectPtr
):
75 def __init__(self
,this
):
78 def SetTip(self
, *_args
, **_kwargs
):
79 val
= apply(misc2c
.wxToolTip_SetTip
,(self
,) + _args
, _kwargs
)
81 def GetTip(self
, *_args
, **_kwargs
):
82 val
= apply(misc2c
.wxToolTip_GetTip
,(self
,) + _args
, _kwargs
)
84 def GetWindow(self
, *_args
, **_kwargs
):
85 val
= apply(misc2c
.wxToolTip_GetWindow
,(self
,) + _args
, _kwargs
)
88 return "<C wxToolTip instance at %s>" % (self
.this
,)
89 class wxToolTip(wxToolTipPtr
):
90 def __init__(self
,*_args
,**_kwargs
):
91 self
.this
= apply(misc2c
.new_wxToolTip
,_args
,_kwargs
)
98 def __init__(self
,this
):
101 def __del__(self
,misc2c
=misc2c
):
102 if self
.thisown
== 1 :
103 misc2c
.delete_wxCaret(self
)
104 def IsOk(self
, *_args
, **_kwargs
):
105 val
= apply(misc2c
.wxCaret_IsOk
,(self
,) + _args
, _kwargs
)
107 def IsVisible(self
, *_args
, **_kwargs
):
108 val
= apply(misc2c
.wxCaret_IsVisible
,(self
,) + _args
, _kwargs
)
110 def GetPositionTuple(self
, *_args
, **_kwargs
):
111 val
= apply(misc2c
.wxCaret_GetPositionTuple
,(self
,) + _args
, _kwargs
)
113 def GetPosition(self
, *_args
, **_kwargs
):
114 val
= apply(misc2c
.wxCaret_GetPosition
,(self
,) + _args
, _kwargs
)
115 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
117 def GetSizeTuple(self
, *_args
, **_kwargs
):
118 val
= apply(misc2c
.wxCaret_GetSizeTuple
,(self
,) + _args
, _kwargs
)
120 def GetSize(self
, *_args
, **_kwargs
):
121 val
= apply(misc2c
.wxCaret_GetSize
,(self
,) + _args
, _kwargs
)
122 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
124 def GetWindow(self
, *_args
, **_kwargs
):
125 val
= apply(misc2c
.wxCaret_GetWindow
,(self
,) + _args
, _kwargs
)
127 def MoveXY(self
, *_args
, **_kwargs
):
128 val
= apply(misc2c
.wxCaret_MoveXY
,(self
,) + _args
, _kwargs
)
130 def Move(self
, *_args
, **_kwargs
):
131 val
= apply(misc2c
.wxCaret_Move
,(self
,) + _args
, _kwargs
)
133 def SetSizeWH(self
, *_args
, **_kwargs
):
134 val
= apply(misc2c
.wxCaret_SetSizeWH
,(self
,) + _args
, _kwargs
)
136 def SetSize(self
, *_args
, **_kwargs
):
137 val
= apply(misc2c
.wxCaret_SetSize
,(self
,) + _args
, _kwargs
)
139 def Show(self
, *_args
, **_kwargs
):
140 val
= apply(misc2c
.wxCaret_Show
,(self
,) + _args
, _kwargs
)
142 def Hide(self
, *_args
, **_kwargs
):
143 val
= apply(misc2c
.wxCaret_Hide
,(self
,) + _args
, _kwargs
)
146 return "<C wxCaret instance at %s>" % (self
.this
,)
147 class wxCaret(wxCaretPtr
):
148 def __init__(self
,*_args
,**_kwargs
):
149 self
.this
= apply(misc2c
.new_wxCaret
,_args
,_kwargs
)
155 class wxBusyCursorPtr
:
156 def __init__(self
,this
):
159 def __del__(self
,misc2c
=misc2c
):
160 if self
.thisown
== 1 :
161 misc2c
.delete_wxBusyCursor(self
)
163 return "<C wxBusyCursor instance at %s>" % (self
.this
,)
164 class wxBusyCursor(wxBusyCursorPtr
):
165 def __init__(self
,*_args
,**_kwargs
):
166 self
.this
= apply(misc2c
.new_wxBusyCursor
,_args
,_kwargs
)
172 class wxWindowDisablerPtr
:
173 def __init__(self
,this
):
176 def __del__(self
,misc2c
=misc2c
):
177 if self
.thisown
== 1 :
178 misc2c
.delete_wxWindowDisabler(self
)
180 return "<C wxWindowDisabler instance at %s>" % (self
.this
,)
181 class wxWindowDisabler(wxWindowDisablerPtr
):
182 def __init__(self
,*_args
,**_kwargs
):
183 self
.this
= apply(misc2c
.new_wxWindowDisabler
,_args
,_kwargs
)
189 class wxMutexGuiLockerPtr
:
190 def __init__(self
,this
):
193 def __del__(self
,misc2c
=misc2c
):
194 if self
.thisown
== 1 :
195 misc2c
.delete_wxMutexGuiLocker(self
)
197 return "<C wxMutexGuiLocker instance at %s>" % (self
.this
,)
198 class wxMutexGuiLocker(wxMutexGuiLockerPtr
):
199 def __init__(self
,*_args
,**_kwargs
):
200 self
.this
= apply(misc2c
.new_wxMutexGuiLocker
,_args
,_kwargs
)
206 class wxTipProviderPtr
:
207 def __init__(self
,this
):
210 def __del__(self
,misc2c
=misc2c
):
211 if self
.thisown
== 1 :
212 misc2c
.delete_wxTipProvider(self
)
213 def GetTip(self
, *_args
, **_kwargs
):
214 val
= apply(misc2c
.wxTipProvider_GetTip
,(self
,) + _args
, _kwargs
)
216 def GetCurrentTip(self
, *_args
, **_kwargs
):
217 val
= apply(misc2c
.wxTipProvider_GetCurrentTip
,(self
,) + _args
, _kwargs
)
220 return "<C wxTipProvider instance at %s>" % (self
.this
,)
221 class wxTipProvider(wxTipProviderPtr
):
222 def __init__(self
,this
):
228 class wxPyTipProviderPtr(wxTipProviderPtr
):
229 def __init__(self
,this
):
232 def _setCallbackInfo(self
, *_args
, **_kwargs
):
233 val
= apply(misc2c
.wxPyTipProvider__setCallbackInfo
,(self
,) + _args
, _kwargs
)
236 return "<C wxPyTipProvider instance at %s>" % (self
.this
,)
237 class wxPyTipProvider(wxPyTipProviderPtr
):
238 def __init__(self
,*_args
,**_kwargs
):
239 self
.this
= apply(misc2c
.new_wxPyTipProvider
,_args
,_kwargs
)
241 self
._setCallbackInfo
(self
, wxPyTipProvider
)
246 class wxDragImagePtr(wxObjectPtr
):
247 def __init__(self
,this
):
250 def __del__(self
,misc2c
=misc2c
):
251 if self
.thisown
== 1 :
252 misc2c
.delete_wxDragImage(self
)
253 def SetBackingBitmap(self
, *_args
, **_kwargs
):
254 val
= apply(misc2c
.wxDragImage_SetBackingBitmap
,(self
,) + _args
, _kwargs
)
256 def BeginDrag(self
, *_args
, **_kwargs
):
257 val
= apply(misc2c
.wxDragImage_BeginDrag
,(self
,) + _args
, _kwargs
)
259 def BeginDrag2(self
, *_args
, **_kwargs
):
260 val
= apply(misc2c
.wxDragImage_BeginDrag2
,(self
,) + _args
, _kwargs
)
262 def EndDrag(self
, *_args
, **_kwargs
):
263 val
= apply(misc2c
.wxDragImage_EndDrag
,(self
,) + _args
, _kwargs
)
265 def Move(self
, *_args
, **_kwargs
):
266 val
= apply(misc2c
.wxDragImage_Move
,(self
,) + _args
, _kwargs
)
268 def Show(self
, *_args
, **_kwargs
):
269 val
= apply(misc2c
.wxDragImage_Show
,(self
,) + _args
, _kwargs
)
271 def Hide(self
, *_args
, **_kwargs
):
272 val
= apply(misc2c
.wxDragImage_Hide
,(self
,) + _args
, _kwargs
)
274 def GetImageRect(self
, *_args
, **_kwargs
):
275 val
= apply(misc2c
.wxDragImage_GetImageRect
,(self
,) + _args
, _kwargs
)
276 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
278 def RedrawImage(self
, *_args
, **_kwargs
):
279 val
= apply(misc2c
.wxDragImage_RedrawImage
,(self
,) + _args
, _kwargs
)
282 return "<C wxDragImage instance at %s>" % (self
.this
,)
283 class wxDragImage(wxDragImagePtr
):
284 def __init__(self
,*_args
,**_kwargs
):
285 self
.this
= apply(misc2c
.new_wxDragImage
,_args
,_kwargs
)
290 def wxDragIcon(*_args
,**_kwargs
):
291 val
= wxDragImagePtr(apply(misc2c
.new_wxDragIcon
,_args
,_kwargs
))
295 def wxDragString(*_args
,**_kwargs
):
296 val
= wxDragImagePtr(apply(misc2c
.new_wxDragString
,_args
,_kwargs
))
300 def wxDragTreeItem(*_args
,**_kwargs
):
301 val
= wxDragImagePtr(apply(misc2c
.new_wxDragTreeItem
,_args
,_kwargs
))
305 def wxDragListItem(*_args
,**_kwargs
):
306 val
= wxDragImagePtr(apply(misc2c
.new_wxDragListItem
,_args
,_kwargs
))
311 class wxPyTimerPtr(wxObjectPtr
):
312 def __init__(self
,this
):
315 def __del__(self
,misc2c
=misc2c
):
316 if self
.thisown
== 1 :
317 misc2c
.delete_wxPyTimer(self
)
318 def GetInterval(self
, *_args
, **_kwargs
):
319 val
= apply(misc2c
.wxPyTimer_GetInterval
,(self
,) + _args
, _kwargs
)
321 def IsOneShot(self
, *_args
, **_kwargs
):
322 val
= apply(misc2c
.wxPyTimer_IsOneShot
,(self
,) + _args
, _kwargs
)
324 def IsRunning(self
, *_args
, **_kwargs
):
325 val
= apply(misc2c
.wxPyTimer_IsRunning
,(self
,) + _args
, _kwargs
)
327 def SetOwner(self
, *_args
, **_kwargs
):
328 val
= apply(misc2c
.wxPyTimer_SetOwner
,(self
,) + _args
, _kwargs
)
330 def Start(self
, *_args
, **_kwargs
):
331 val
= apply(misc2c
.wxPyTimer_Start
,(self
,) + _args
, _kwargs
)
333 def Stop(self
, *_args
, **_kwargs
):
334 val
= apply(misc2c
.wxPyTimer_Stop
,(self
,) + _args
, _kwargs
)
337 return "<C wxPyTimer instance at %s>" % (self
.this
,)
338 class wxPyTimer(wxPyTimerPtr
):
339 def __init__(self
,*_args
,**_kwargs
):
340 self
.this
= apply(misc2c
.new_wxPyTimer
,_args
,_kwargs
)
346 class wxStopWatchPtr
:
347 def __init__(self
,this
):
350 def __del__(self
,misc2c
=misc2c
):
351 if self
.thisown
== 1 :
352 misc2c
.delete_wxStopWatch(self
)
353 def Start(self
, *_args
, **_kwargs
):
354 val
= apply(misc2c
.wxStopWatch_Start
,(self
,) + _args
, _kwargs
)
356 def Pause(self
, *_args
, **_kwargs
):
357 val
= apply(misc2c
.wxStopWatch_Pause
,(self
,) + _args
, _kwargs
)
359 def Resume(self
, *_args
, **_kwargs
):
360 val
= apply(misc2c
.wxStopWatch_Resume
,(self
,) + _args
, _kwargs
)
362 def Time(self
, *_args
, **_kwargs
):
363 val
= apply(misc2c
.wxStopWatch_Time
,(self
,) + _args
, _kwargs
)
366 return "<C wxStopWatch instance at %s>" % (self
.this
,)
367 class wxStopWatch(wxStopWatchPtr
):
368 def __init__(self
,*_args
,**_kwargs
):
369 self
.this
= apply(misc2c
.new_wxStopWatch
,_args
,_kwargs
)
376 def __init__(self
,this
):
379 def Flush(self
, *_args
, **_kwargs
):
380 val
= apply(misc2c
.wxLog_Flush
,(self
,) + _args
, _kwargs
)
382 def HasPendingMessages(self
, *_args
, **_kwargs
):
383 val
= apply(misc2c
.wxLog_HasPendingMessages
,(self
,) + _args
, _kwargs
)
385 def GetVerbose(self
, *_args
, **_kwargs
):
386 val
= apply(misc2c
.wxLog_GetVerbose
,(self
,) + _args
, _kwargs
)
388 def TimeStamp(self
, *_args
, **_kwargs
):
389 val
= apply(misc2c
.wxLog_TimeStamp
,(self
,) + _args
, _kwargs
)
392 return "<C wxLog instance at %s>" % (self
.this
,)
393 class wxLog(wxLogPtr
):
394 def __init__(self
,*_args
,**_kwargs
):
395 self
.this
= apply(misc2c
.new_wxLog
,_args
,_kwargs
)
401 class wxLogStderrPtr(wxLogPtr
):
402 def __init__(self
,this
):
406 return "<C wxLogStderr instance at %s>" % (self
.this
,)
407 class wxLogStderr(wxLogStderrPtr
):
408 def __init__(self
,*_args
,**_kwargs
):
409 self
.this
= apply(misc2c
.new_wxLogStderr
,_args
,_kwargs
)
415 class wxLogTextCtrlPtr(wxLogPtr
):
416 def __init__(self
,this
):
420 return "<C wxLogTextCtrl instance at %s>" % (self
.this
,)
421 class wxLogTextCtrl(wxLogTextCtrlPtr
):
422 def __init__(self
,*_args
,**_kwargs
):
423 self
.this
= apply(misc2c
.new_wxLogTextCtrl
,_args
,_kwargs
)
429 class wxLogGuiPtr(wxLogPtr
):
430 def __init__(self
,this
):
434 return "<C wxLogGui instance at %s>" % (self
.this
,)
435 class wxLogGui(wxLogGuiPtr
):
436 def __init__(self
,*_args
,**_kwargs
):
437 self
.this
= apply(misc2c
.new_wxLogGui
,_args
,_kwargs
)
443 class wxLogWindowPtr(wxLogPtr
):
444 def __init__(self
,this
):
447 def Show(self
, *_args
, **_kwargs
):
448 val
= apply(misc2c
.wxLogWindow_Show
,(self
,) + _args
, _kwargs
)
450 def GetFrame(self
, *_args
, **_kwargs
):
451 val
= apply(misc2c
.wxLogWindow_GetFrame
,(self
,) + _args
, _kwargs
)
453 def GetOldLog(self
, *_args
, **_kwargs
):
454 val
= apply(misc2c
.wxLogWindow_GetOldLog
,(self
,) + _args
, _kwargs
)
455 if val
: val
= wxLogPtr(val
)
457 def IsPassingMessages(self
, *_args
, **_kwargs
):
458 val
= apply(misc2c
.wxLogWindow_IsPassingMessages
,(self
,) + _args
, _kwargs
)
460 def PassMessages(self
, *_args
, **_kwargs
):
461 val
= apply(misc2c
.wxLogWindow_PassMessages
,(self
,) + _args
, _kwargs
)
464 return "<C wxLogWindow instance at %s>" % (self
.this
,)
465 class wxLogWindow(wxLogWindowPtr
):
466 def __init__(self
,*_args
,**_kwargs
):
467 self
.this
= apply(misc2c
.new_wxLogWindow
,_args
,_kwargs
)
473 class wxLogChainPtr(wxLogPtr
):
474 def __init__(self
,this
):
477 def SetLog(self
, *_args
, **_kwargs
):
478 val
= apply(misc2c
.wxLogChain_SetLog
,(self
,) + _args
, _kwargs
)
480 def PassMessages(self
, *_args
, **_kwargs
):
481 val
= apply(misc2c
.wxLogChain_PassMessages
,(self
,) + _args
, _kwargs
)
483 def IsPassingMessages(self
, *_args
, **_kwargs
):
484 val
= apply(misc2c
.wxLogChain_IsPassingMessages
,(self
,) + _args
, _kwargs
)
486 def GetOldLog(self
, *_args
, **_kwargs
):
487 val
= apply(misc2c
.wxLogChain_GetOldLog
,(self
,) + _args
, _kwargs
)
488 if val
: val
= wxLogPtr(val
)
491 return "<C wxLogChain instance at %s>" % (self
.this
,)
492 class wxLogChain(wxLogChainPtr
):
493 def __init__(self
,*_args
,**_kwargs
):
494 self
.this
= apply(misc2c
.new_wxLogChain
,_args
,_kwargs
)
501 def __init__(self
,this
):
504 def __del__(self
,misc2c
=misc2c
):
505 if self
.thisown
== 1 :
506 misc2c
.delete_wxLogNull(self
)
508 return "<C wxLogNull instance at %s>" % (self
.this
,)
509 class wxLogNull(wxLogNullPtr
):
510 def __init__(self
,*_args
,**_kwargs
):
511 self
.this
= apply(misc2c
.new_wxLogNull
,_args
,_kwargs
)
517 class wxPyLogPtr(wxLogPtr
):
518 def __init__(self
,this
):
521 def _setCallbackInfo(self
, *_args
, **_kwargs
):
522 val
= apply(misc2c
.wxPyLog__setCallbackInfo
,(self
,) + _args
, _kwargs
)
524 def Destroy(self
, *_args
, **_kwargs
):
525 val
= apply(misc2c
.wxPyLog_Destroy
,(self
,) + _args
, _kwargs
)
528 return "<C wxPyLog instance at %s>" % (self
.this
,)
529 class wxPyLog(wxPyLogPtr
):
530 def __init__(self
,*_args
,**_kwargs
):
531 self
.this
= apply(misc2c
.new_wxPyLog
,_args
,_kwargs
)
533 self
._setCallbackInfo
(self
, wxPyLog
)
538 class wxProcessEventPtr(wxEventPtr
):
539 def __init__(self
,this
):
542 def GetPid(self
, *_args
, **_kwargs
):
543 val
= apply(misc2c
.wxProcessEvent_GetPid
,(self
,) + _args
, _kwargs
)
545 def GetExitCode(self
, *_args
, **_kwargs
):
546 val
= apply(misc2c
.wxProcessEvent_GetExitCode
,(self
,) + _args
, _kwargs
)
548 def __setattr__(self
,name
,value
):
550 misc2c
.wxProcessEvent_m_pid_set(self
,value
)
552 if name
== "m_exitcode" :
553 misc2c
.wxProcessEvent_m_exitcode_set(self
,value
)
555 self
.__dict
__[name
] = value
556 def __getattr__(self
,name
):
558 return misc2c
.wxProcessEvent_m_pid_get(self
)
559 if name
== "m_exitcode" :
560 return misc2c
.wxProcessEvent_m_exitcode_get(self
)
561 raise AttributeError,name
563 return "<C wxProcessEvent instance at %s>" % (self
.this
,)
564 class wxProcessEvent(wxProcessEventPtr
):
565 def __init__(self
,*_args
,**_kwargs
):
566 self
.this
= apply(misc2c
.new_wxProcessEvent
,_args
,_kwargs
)
572 class wxProcessPtr(wxEvtHandlerPtr
):
573 def __init__(self
,this
):
576 def Destroy(self
, *_args
, **_kwargs
):
577 val
= apply(misc2c
.wxProcess_Destroy
,(self
,) + _args
, _kwargs
)
579 def _setCallbackInfo(self
, *_args
, **_kwargs
):
580 val
= apply(misc2c
.wxProcess__setCallbackInfo
,(self
,) + _args
, _kwargs
)
582 def base_OnTerminate(self
, *_args
, **_kwargs
):
583 val
= apply(misc2c
.wxProcess_base_OnTerminate
,(self
,) + _args
, _kwargs
)
585 def Redirect(self
, *_args
, **_kwargs
):
586 val
= apply(misc2c
.wxProcess_Redirect
,(self
,) + _args
, _kwargs
)
588 def IsRedirected(self
, *_args
, **_kwargs
):
589 val
= apply(misc2c
.wxProcess_IsRedirected
,(self
,) + _args
, _kwargs
)
591 def Detach(self
, *_args
, **_kwargs
):
592 val
= apply(misc2c
.wxProcess_Detach
,(self
,) + _args
, _kwargs
)
594 def GetInputStream(self
, *_args
, **_kwargs
):
595 val
= apply(misc2c
.wxProcess_GetInputStream
,(self
,) + _args
, _kwargs
)
597 def GetErrorStream(self
, *_args
, **_kwargs
):
598 val
= apply(misc2c
.wxProcess_GetErrorStream
,(self
,) + _args
, _kwargs
)
600 def GetOutputStream(self
, *_args
, **_kwargs
):
601 val
= apply(misc2c
.wxProcess_GetOutputStream
,(self
,) + _args
, _kwargs
)
602 if val
: val
= wxOutputStreamPtr(val
)
604 def CloseOutput(self
, *_args
, **_kwargs
):
605 val
= apply(misc2c
.wxProcess_CloseOutput
,(self
,) + _args
, _kwargs
)
607 def IsInputOpened(self
, *_args
, **_kwargs
):
608 val
= apply(misc2c
.wxProcess_IsInputOpened
,(self
,) + _args
, _kwargs
)
610 def IsInputAvailable(self
, *_args
, **_kwargs
):
611 val
= apply(misc2c
.wxProcess_IsInputAvailable
,(self
,) + _args
, _kwargs
)
613 def IsErrorAvailable(self
, *_args
, **_kwargs
):
614 val
= apply(misc2c
.wxProcess_IsErrorAvailable
,(self
,) + _args
, _kwargs
)
617 return "<C wxProcess instance at %s>" % (self
.this
,)
618 class wxProcess(wxProcessPtr
):
619 def __init__(self
,*_args
,**_kwargs
):
620 self
.this
= apply(misc2c
.new_wxProcess
,_args
,_kwargs
)
622 self
._setCallbackInfo
(self
, wxProcess
)
627 class wxJoystickPtr(wxObjectPtr
):
628 def __init__(self
,this
):
631 def __del__(self
,misc2c
=misc2c
):
632 if self
.thisown
== 1 :
633 misc2c
.delete_wxJoystick(self
)
634 def GetPosition(self
, *_args
, **_kwargs
):
635 val
= apply(misc2c
.wxJoystick_GetPosition
,(self
,) + _args
, _kwargs
)
636 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
638 def GetZPosition(self
, *_args
, **_kwargs
):
639 val
= apply(misc2c
.wxJoystick_GetZPosition
,(self
,) + _args
, _kwargs
)
641 def GetButtonState(self
, *_args
, **_kwargs
):
642 val
= apply(misc2c
.wxJoystick_GetButtonState
,(self
,) + _args
, _kwargs
)
644 def GetPOVPosition(self
, *_args
, **_kwargs
):
645 val
= apply(misc2c
.wxJoystick_GetPOVPosition
,(self
,) + _args
, _kwargs
)
647 def GetPOVCTSPosition(self
, *_args
, **_kwargs
):
648 val
= apply(misc2c
.wxJoystick_GetPOVCTSPosition
,(self
,) + _args
, _kwargs
)
650 def GetRudderPosition(self
, *_args
, **_kwargs
):
651 val
= apply(misc2c
.wxJoystick_GetRudderPosition
,(self
,) + _args
, _kwargs
)
653 def GetUPosition(self
, *_args
, **_kwargs
):
654 val
= apply(misc2c
.wxJoystick_GetUPosition
,(self
,) + _args
, _kwargs
)
656 def GetVPosition(self
, *_args
, **_kwargs
):
657 val
= apply(misc2c
.wxJoystick_GetVPosition
,(self
,) + _args
, _kwargs
)
659 def GetMovementThreshold(self
, *_args
, **_kwargs
):
660 val
= apply(misc2c
.wxJoystick_GetMovementThreshold
,(self
,) + _args
, _kwargs
)
662 def SetMovementThreshold(self
, *_args
, **_kwargs
):
663 val
= apply(misc2c
.wxJoystick_SetMovementThreshold
,(self
,) + _args
, _kwargs
)
665 def IsOk(self
, *_args
, **_kwargs
):
666 val
= apply(misc2c
.wxJoystick_IsOk
,(self
,) + _args
, _kwargs
)
668 def GetNumberJoysticks(self
, *_args
, **_kwargs
):
669 val
= apply(misc2c
.wxJoystick_GetNumberJoysticks
,(self
,) + _args
, _kwargs
)
671 def GetManufacturerId(self
, *_args
, **_kwargs
):
672 val
= apply(misc2c
.wxJoystick_GetManufacturerId
,(self
,) + _args
, _kwargs
)
674 def GetProductId(self
, *_args
, **_kwargs
):
675 val
= apply(misc2c
.wxJoystick_GetProductId
,(self
,) + _args
, _kwargs
)
677 def GetProductName(self
, *_args
, **_kwargs
):
678 val
= apply(misc2c
.wxJoystick_GetProductName
,(self
,) + _args
, _kwargs
)
680 def GetXMin(self
, *_args
, **_kwargs
):
681 val
= apply(misc2c
.wxJoystick_GetXMin
,(self
,) + _args
, _kwargs
)
683 def GetYMin(self
, *_args
, **_kwargs
):
684 val
= apply(misc2c
.wxJoystick_GetYMin
,(self
,) + _args
, _kwargs
)
686 def GetZMin(self
, *_args
, **_kwargs
):
687 val
= apply(misc2c
.wxJoystick_GetZMin
,(self
,) + _args
, _kwargs
)
689 def GetXMax(self
, *_args
, **_kwargs
):
690 val
= apply(misc2c
.wxJoystick_GetXMax
,(self
,) + _args
, _kwargs
)
692 def GetYMax(self
, *_args
, **_kwargs
):
693 val
= apply(misc2c
.wxJoystick_GetYMax
,(self
,) + _args
, _kwargs
)
695 def GetZMax(self
, *_args
, **_kwargs
):
696 val
= apply(misc2c
.wxJoystick_GetZMax
,(self
,) + _args
, _kwargs
)
698 def GetNumberButtons(self
, *_args
, **_kwargs
):
699 val
= apply(misc2c
.wxJoystick_GetNumberButtons
,(self
,) + _args
, _kwargs
)
701 def GetNumberAxes(self
, *_args
, **_kwargs
):
702 val
= apply(misc2c
.wxJoystick_GetNumberAxes
,(self
,) + _args
, _kwargs
)
704 def GetMaxButtons(self
, *_args
, **_kwargs
):
705 val
= apply(misc2c
.wxJoystick_GetMaxButtons
,(self
,) + _args
, _kwargs
)
707 def GetMaxAxes(self
, *_args
, **_kwargs
):
708 val
= apply(misc2c
.wxJoystick_GetMaxAxes
,(self
,) + _args
, _kwargs
)
710 def GetPollingMin(self
, *_args
, **_kwargs
):
711 val
= apply(misc2c
.wxJoystick_GetPollingMin
,(self
,) + _args
, _kwargs
)
713 def GetPollingMax(self
, *_args
, **_kwargs
):
714 val
= apply(misc2c
.wxJoystick_GetPollingMax
,(self
,) + _args
, _kwargs
)
716 def GetRudderMin(self
, *_args
, **_kwargs
):
717 val
= apply(misc2c
.wxJoystick_GetRudderMin
,(self
,) + _args
, _kwargs
)
719 def GetRudderMax(self
, *_args
, **_kwargs
):
720 val
= apply(misc2c
.wxJoystick_GetRudderMax
,(self
,) + _args
, _kwargs
)
722 def GetUMin(self
, *_args
, **_kwargs
):
723 val
= apply(misc2c
.wxJoystick_GetUMin
,(self
,) + _args
, _kwargs
)
725 def GetUMax(self
, *_args
, **_kwargs
):
726 val
= apply(misc2c
.wxJoystick_GetUMax
,(self
,) + _args
, _kwargs
)
728 def GetVMin(self
, *_args
, **_kwargs
):
729 val
= apply(misc2c
.wxJoystick_GetVMin
,(self
,) + _args
, _kwargs
)
731 def GetVMax(self
, *_args
, **_kwargs
):
732 val
= apply(misc2c
.wxJoystick_GetVMax
,(self
,) + _args
, _kwargs
)
734 def HasRudder(self
, *_args
, **_kwargs
):
735 val
= apply(misc2c
.wxJoystick_HasRudder
,(self
,) + _args
, _kwargs
)
737 def HasZ(self
, *_args
, **_kwargs
):
738 val
= apply(misc2c
.wxJoystick_HasZ
,(self
,) + _args
, _kwargs
)
740 def HasU(self
, *_args
, **_kwargs
):
741 val
= apply(misc2c
.wxJoystick_HasU
,(self
,) + _args
, _kwargs
)
743 def HasV(self
, *_args
, **_kwargs
):
744 val
= apply(misc2c
.wxJoystick_HasV
,(self
,) + _args
, _kwargs
)
746 def HasPOV(self
, *_args
, **_kwargs
):
747 val
= apply(misc2c
.wxJoystick_HasPOV
,(self
,) + _args
, _kwargs
)
749 def HasPOV4Dir(self
, *_args
, **_kwargs
):
750 val
= apply(misc2c
.wxJoystick_HasPOV4Dir
,(self
,) + _args
, _kwargs
)
752 def HasPOVCTS(self
, *_args
, **_kwargs
):
753 val
= apply(misc2c
.wxJoystick_HasPOVCTS
,(self
,) + _args
, _kwargs
)
755 def SetCapture(self
, *_args
, **_kwargs
):
756 val
= apply(misc2c
.wxJoystick_SetCapture
,(self
,) + _args
, _kwargs
)
758 def ReleaseCapture(self
, *_args
, **_kwargs
):
759 val
= apply(misc2c
.wxJoystick_ReleaseCapture
,(self
,) + _args
, _kwargs
)
762 return "<C wxJoystick instance at %s>" % (self
.this
,)
763 class wxJoystick(wxJoystickPtr
):
764 def __init__(self
,*_args
,**_kwargs
):
765 self
.this
= apply(misc2c
.new_wxJoystick
,_args
,_kwargs
)
771 class wxWavePtr(wxObjectPtr
):
772 def __init__(self
,this
):
775 def __del__(self
,misc2c
=misc2c
):
776 if self
.thisown
== 1 :
777 misc2c
.delete_wxWave(self
)
778 def IsOk(self
, *_args
, **_kwargs
):
779 val
= apply(misc2c
.wxWave_IsOk
,(self
,) + _args
, _kwargs
)
781 def Play(self
, *_args
, **_kwargs
):
782 val
= apply(misc2c
.wxWave_Play
,(self
,) + _args
, _kwargs
)
785 return "<C wxWave instance at %s>" % (self
.this
,)
786 class wxWave(wxWavePtr
):
787 def __init__(self
,*_args
,**_kwargs
):
788 self
.this
= apply(misc2c
.new_wxWave
,_args
,_kwargs
)
794 class wxFileTypeInfoPtr
:
795 def __init__(self
,this
):
798 def IsValid(self
, *_args
, **_kwargs
):
799 val
= apply(misc2c
.wxFileTypeInfo_IsValid
,(self
,) + _args
, _kwargs
)
801 def SetIcon(self
, *_args
, **_kwargs
):
802 val
= apply(misc2c
.wxFileTypeInfo_SetIcon
,(self
,) + _args
, _kwargs
)
804 def SetShortDesc(self
, *_args
, **_kwargs
):
805 val
= apply(misc2c
.wxFileTypeInfo_SetShortDesc
,(self
,) + _args
, _kwargs
)
807 def GetMimeType(self
, *_args
, **_kwargs
):
808 val
= apply(misc2c
.wxFileTypeInfo_GetMimeType
,(self
,) + _args
, _kwargs
)
810 def GetOpenCommand(self
, *_args
, **_kwargs
):
811 val
= apply(misc2c
.wxFileTypeInfo_GetOpenCommand
,(self
,) + _args
, _kwargs
)
813 def GetPrintCommand(self
, *_args
, **_kwargs
):
814 val
= apply(misc2c
.wxFileTypeInfo_GetPrintCommand
,(self
,) + _args
, _kwargs
)
816 def GetShortDesc(self
, *_args
, **_kwargs
):
817 val
= apply(misc2c
.wxFileTypeInfo_GetShortDesc
,(self
,) + _args
, _kwargs
)
819 def GetDescription(self
, *_args
, **_kwargs
):
820 val
= apply(misc2c
.wxFileTypeInfo_GetDescription
,(self
,) + _args
, _kwargs
)
822 def GetExtensions(self
, *_args
, **_kwargs
):
823 val
= apply(misc2c
.wxFileTypeInfo_GetExtensions
,(self
,) + _args
, _kwargs
)
825 def GetExtensionsCount(self
, *_args
, **_kwargs
):
826 val
= apply(misc2c
.wxFileTypeInfo_GetExtensionsCount
,(self
,) + _args
, _kwargs
)
828 def GetIconFile(self
, *_args
, **_kwargs
):
829 val
= apply(misc2c
.wxFileTypeInfo_GetIconFile
,(self
,) + _args
, _kwargs
)
831 def GetIconIndex(self
, *_args
, **_kwargs
):
832 val
= apply(misc2c
.wxFileTypeInfo_GetIconIndex
,(self
,) + _args
, _kwargs
)
835 return "<C wxFileTypeInfo instance at %s>" % (self
.this
,)
836 class wxFileTypeInfo(wxFileTypeInfoPtr
):
837 def __init__(self
,*_args
,**_kwargs
):
838 self
.this
= apply(misc2c
.new_wxFileTypeInfo
,_args
,_kwargs
)
843 def wxFileTypeInfoSequence(*_args
,**_kwargs
):
844 val
= wxFileTypeInfoPtr(apply(misc2c
.new_wxFileTypeInfoSequence
,_args
,_kwargs
))
848 def wxNullFileTypeInfo(*_args
,**_kwargs
):
849 val
= wxFileTypeInfoPtr(apply(misc2c
.new_wxNullFileTypeInfo
,_args
,_kwargs
))
854 class wxFileTypePtr
:
855 def __init__(self
,this
):
858 def GetMimeType(self
, *_args
, **_kwargs
):
859 val
= apply(misc2c
.wxFileType_GetMimeType
,(self
,) + _args
, _kwargs
)
861 def GetMimeTypes(self
, *_args
, **_kwargs
):
862 val
= apply(misc2c
.wxFileType_GetMimeTypes
,(self
,) + _args
, _kwargs
)
864 def GetExtensions(self
, *_args
, **_kwargs
):
865 val
= apply(misc2c
.wxFileType_GetExtensions
,(self
,) + _args
, _kwargs
)
867 def GetIcon(self
, *_args
, **_kwargs
):
868 val
= apply(misc2c
.wxFileType_GetIcon
,(self
,) + _args
, _kwargs
)
869 if val
: val
= wxIconPtr(val
) ; val
.thisown
= 1
871 def GetIconInfo(self
, *_args
, **_kwargs
):
872 val
= apply(misc2c
.wxFileType_GetIconInfo
,(self
,) + _args
, _kwargs
)
874 def GetDescription(self
, *_args
, **_kwargs
):
875 val
= apply(misc2c
.wxFileType_GetDescription
,(self
,) + _args
, _kwargs
)
877 def GetOpenCommand(self
, *_args
, **_kwargs
):
878 val
= apply(misc2c
.wxFileType_GetOpenCommand
,(self
,) + _args
, _kwargs
)
880 def GetPrintCommand(self
, *_args
, **_kwargs
):
881 val
= apply(misc2c
.wxFileType_GetPrintCommand
,(self
,) + _args
, _kwargs
)
883 def GetAllCommands(self
, *_args
, **_kwargs
):
884 val
= apply(misc2c
.wxFileType_GetAllCommands
,(self
,) + _args
, _kwargs
)
886 def SetCommand(self
, *_args
, **_kwargs
):
887 val
= apply(misc2c
.wxFileType_SetCommand
,(self
,) + _args
, _kwargs
)
889 def SetDefaultIcon(self
, *_args
, **_kwargs
):
890 val
= apply(misc2c
.wxFileType_SetDefaultIcon
,(self
,) + _args
, _kwargs
)
892 def Unassociate(self
, *_args
, **_kwargs
):
893 val
= apply(misc2c
.wxFileType_Unassociate
,(self
,) + _args
, _kwargs
)
895 def __del__(self
,misc2c
=misc2c
):
896 if self
.thisown
== 1 :
897 misc2c
.delete_wxFileType(self
)
899 return "<C wxFileType instance at %s>" % (self
.this
,)
900 class wxFileType(wxFileTypePtr
):
901 def __init__(self
,*_args
,**_kwargs
):
902 self
.this
= apply(misc2c
.new_wxFileType
,_args
,_kwargs
)
908 class wxMimeTypesManagerPtr
:
909 def __init__(self
,this
):
912 def Initialize(self
, *_args
, **_kwargs
):
913 val
= apply(misc2c
.wxMimeTypesManager_Initialize
,(self
,) + _args
, _kwargs
)
915 def ClearData(self
, *_args
, **_kwargs
):
916 val
= apply(misc2c
.wxMimeTypesManager_ClearData
,(self
,) + _args
, _kwargs
)
918 def GetFileTypeFromExtension(self
, *_args
, **_kwargs
):
919 val
= apply(misc2c
.wxMimeTypesManager_GetFileTypeFromExtension
,(self
,) + _args
, _kwargs
)
920 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
922 def GetFileTypeFromMimeType(self
, *_args
, **_kwargs
):
923 val
= apply(misc2c
.wxMimeTypesManager_GetFileTypeFromMimeType
,(self
,) + _args
, _kwargs
)
924 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
926 def ReadMailcap(self
, *_args
, **_kwargs
):
927 val
= apply(misc2c
.wxMimeTypesManager_ReadMailcap
,(self
,) + _args
, _kwargs
)
929 def ReadMimeTypes(self
, *_args
, **_kwargs
):
930 val
= apply(misc2c
.wxMimeTypesManager_ReadMimeTypes
,(self
,) + _args
, _kwargs
)
932 def EnumAllFileTypes(self
, *_args
, **_kwargs
):
933 val
= apply(misc2c
.wxMimeTypesManager_EnumAllFileTypes
,(self
,) + _args
, _kwargs
)
935 def AddFallback(self
, *_args
, **_kwargs
):
936 val
= apply(misc2c
.wxMimeTypesManager_AddFallback
,(self
,) + _args
, _kwargs
)
938 def Associate(self
, *_args
, **_kwargs
):
939 val
= apply(misc2c
.wxMimeTypesManager_Associate
,(self
,) + _args
, _kwargs
)
940 if val
: val
= wxFileTypePtr(val
) ; val
.thisown
= 1
942 def Unassociate(self
, *_args
, **_kwargs
):
943 val
= apply(misc2c
.wxMimeTypesManager_Unassociate
,(self
,) + _args
, _kwargs
)
945 def __del__(self
,misc2c
=misc2c
):
946 if self
.thisown
== 1 :
947 misc2c
.delete_wxMimeTypesManager(self
)
949 return "<C wxMimeTypesManager instance at %s>" % (self
.this
,)
950 class wxMimeTypesManager(wxMimeTypesManagerPtr
):
951 def __init__(self
,*_args
,**_kwargs
):
952 self
.this
= apply(misc2c
.new_wxMimeTypesManager
,_args
,_kwargs
)
958 class wxArtProviderPtr(wxObjectPtr
):
959 def __init__(self
,this
):
962 def _setCallbackInfo(self
, *_args
, **_kwargs
):
963 val
= apply(misc2c
.wxArtProvider__setCallbackInfo
,(self
,) + _args
, _kwargs
)
966 return "<C wxArtProvider instance at %s>" % (self
.this
,)
967 class wxArtProvider(wxArtProviderPtr
):
968 def __init__(self
,*_args
,**_kwargs
):
969 self
.this
= apply(misc2c
.new_wxArtProvider
,_args
,_kwargs
)
971 self
._setCallbackInfo
(self
, wxArtProvider
)
976 class wxFileHistoryPtr(wxObjectPtr
):
977 def __init__(self
,this
):
980 def __del__(self
,misc2c
=misc2c
):
981 if self
.thisown
== 1 :
982 misc2c
.delete_wxFileHistory(self
)
983 def AddFileToHistory(self
, *_args
, **_kwargs
):
984 val
= apply(misc2c
.wxFileHistory_AddFileToHistory
,(self
,) + _args
, _kwargs
)
986 def RemoveFileFromHistory(self
, *_args
, **_kwargs
):
987 val
= apply(misc2c
.wxFileHistory_RemoveFileFromHistory
,(self
,) + _args
, _kwargs
)
989 def GetMaxFiles(self
, *_args
, **_kwargs
):
990 val
= apply(misc2c
.wxFileHistory_GetMaxFiles
,(self
,) + _args
, _kwargs
)
992 def UseMenu(self
, *_args
, **_kwargs
):
993 val
= apply(misc2c
.wxFileHistory_UseMenu
,(self
,) + _args
, _kwargs
)
995 def RemoveMenu(self
, *_args
, **_kwargs
):
996 val
= apply(misc2c
.wxFileHistory_RemoveMenu
,(self
,) + _args
, _kwargs
)
998 def Load(self
, *_args
, **_kwargs
):
999 val
= apply(misc2c
.wxFileHistory_Load
,(self
,) + _args
, _kwargs
)
1001 def Save(self
, *_args
, **_kwargs
):
1002 val
= apply(misc2c
.wxFileHistory_Save
,(self
,) + _args
, _kwargs
)
1004 def AddFilesToMenu(self
, *_args
, **_kwargs
):
1005 val
= apply(misc2c
.wxFileHistory_AddFilesToMenu
,(self
,) + _args
, _kwargs
)
1007 def AddFilesToThisMenu(self
, *_args
, **_kwargs
):
1008 val
= apply(misc2c
.wxFileHistory_AddFilesToThisMenu
,(self
,) + _args
, _kwargs
)
1010 def GetHistoryFile(self
, *_args
, **_kwargs
):
1011 val
= apply(misc2c
.wxFileHistory_GetHistoryFile
,(self
,) + _args
, _kwargs
)
1013 def GetCount(self
, *_args
, **_kwargs
):
1014 val
= apply(misc2c
.wxFileHistory_GetCount
,(self
,) + _args
, _kwargs
)
1016 def GetNoHistoryFiles(self
, *_args
, **_kwargs
):
1017 val
= apply(misc2c
.wxFileHistory_GetNoHistoryFiles
,(self
,) + _args
, _kwargs
)
1020 return "<C wxFileHistory instance at %s>" % (self
.this
,)
1021 class wxFileHistory(wxFileHistoryPtr
):
1022 def __init__(self
,*_args
,**_kwargs
):
1023 self
.this
= apply(misc2c
.new_wxFileHistory
,_args
,_kwargs
)
1031 #-------------- FUNCTION WRAPPERS ------------------
1033 wxFileSelector
= misc2c
.wxFileSelector
1035 wxLoadFileSelector
= misc2c
.wxLoadFileSelector
1037 wxSaveFileSelector
= misc2c
.wxSaveFileSelector
1039 wxDirSelector
= misc2c
.wxDirSelector
1041 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
1043 wxGetPasswordFromUser
= misc2c
.wxGetPasswordFromUser
1045 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
1047 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
1049 wxMessageBox
= misc2c
.wxMessageBox
1051 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
1053 wxColourDisplay
= misc2c
.wxColourDisplay
1055 wxDisplayDepth
= misc2c
.wxDisplayDepth
1057 wxGetDisplayDepth
= misc2c
.wxGetDisplayDepth
1059 wxDisplaySize
= misc2c
.wxDisplaySize
1061 def wxGetDisplaySize(*_args
, **_kwargs
):
1062 val
= apply(misc2c
.wxGetDisplaySize
,_args
,_kwargs
)
1063 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1066 wxDisplaySizeMM
= misc2c
.wxDisplaySizeMM
1068 def wxGetDisplaySizeMM(*_args
, **_kwargs
):
1069 val
= apply(misc2c
.wxGetDisplaySizeMM
,_args
,_kwargs
)
1070 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1073 wxClientDisplayRect
= misc2c
.wxClientDisplayRect
1075 def wxGetClientDisplayRect(*_args
, **_kwargs
):
1076 val
= apply(misc2c
.wxGetClientDisplayRect
,_args
,_kwargs
)
1077 if val
: val
= wxRectPtr(val
); val
.thisown
= 1
1080 wxSetCursor
= misc2c
.wxSetCursor
1082 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
1084 def wxGetActiveWindow(*_args
, **_kwargs
):
1085 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
1088 def wxGenericFindWindowAtPoint(*_args
, **_kwargs
):
1089 val
= apply(misc2c
.wxGenericFindWindowAtPoint
,_args
,_kwargs
)
1092 def wxFindWindowAtPoint(*_args
, **_kwargs
):
1093 val
= apply(misc2c
.wxFindWindowAtPoint
,_args
,_kwargs
)
1096 def wxGetTopLevelParent(*_args
, **_kwargs
):
1097 val
= apply(misc2c
.wxGetTopLevelParent
,_args
,_kwargs
)
1100 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
1102 wxResourceClear
= misc2c
.wxResourceClear
1104 def wxResourceCreateBitmap(*_args
, **_kwargs
):
1105 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
1106 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1109 def wxResourceCreateIcon(*_args
, **_kwargs
):
1110 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
1111 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1114 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
1115 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
1118 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
1120 wxResourceParseData
= misc2c
.wxResourceParseData
1122 wxResourceParseFile
= misc2c
.wxResourceParseFile
1124 wxResourceParseString
= misc2c
.wxResourceParseString
1126 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
1128 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
1130 wxSafeYield
= misc2c
.wxSafeYield
1132 wxPostEvent
= misc2c
.wxPostEvent
1134 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
1136 wxMutexGuiEnter
= misc2c
.wxMutexGuiEnter
1138 wxMutexGuiLeave
= misc2c
.wxMutexGuiLeave
1140 wxThread_IsMain
= misc2c
.wxThread_IsMain
1142 wxShowTip
= misc2c
.wxShowTip
1144 def wxCreateFileTipProvider(*_args
, **_kwargs
):
1145 val
= apply(misc2c
.wxCreateFileTipProvider
,_args
,_kwargs
)
1146 if val
: val
= wxTipProviderPtr(val
); val
.thisown
= 1
1149 wxSysErrorCode
= misc2c
.wxSysErrorCode
1151 wxSysErrorMsg
= misc2c
.wxSysErrorMsg
1153 wxLogFatalError
= misc2c
.wxLogFatalError
1155 wxLogError
= misc2c
.wxLogError
1157 wxLogWarning
= misc2c
.wxLogWarning
1159 wxLogMessage
= misc2c
.wxLogMessage
1161 wxLogInfo
= misc2c
.wxLogInfo
1163 wxLogVerbose
= misc2c
.wxLogVerbose
1165 wxLogStatus
= misc2c
.wxLogStatus
1167 wxLogStatusFrame
= misc2c
.wxLogStatusFrame
1169 wxLogSysError
= misc2c
.wxLogSysError
1171 wxLogTrace
= misc2c
.wxLogTrace
1173 wxLogTraceMask
= misc2c
.wxLogTraceMask
1175 wxLogGeneric
= misc2c
.wxLogGeneric
1177 wxSafeShowMessage
= misc2c
.wxSafeShowMessage
1179 wxExecute
= misc2c
.wxExecute
1181 def wxWaveData(*_args
, **_kwargs
):
1182 val
= apply(misc2c
.wxWaveData
,_args
,_kwargs
)
1183 if val
: val
= wxWavePtr(val
); val
.thisown
= 1
1186 def wxSystemSettings_GetColour(*_args
, **_kwargs
):
1187 val
= apply(misc2c
.wxSystemSettings_GetColour
,_args
,_kwargs
)
1188 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1191 def wxSystemSettings_GetFont(*_args
, **_kwargs
):
1192 val
= apply(misc2c
.wxSystemSettings_GetFont
,_args
,_kwargs
)
1193 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
1196 wxSystemSettings_GetMetric
= misc2c
.wxSystemSettings_GetMetric
1198 wxSystemSettings_HasFeature
= misc2c
.wxSystemSettings_HasFeature
1200 wxSystemSettings_GetScreenType
= misc2c
.wxSystemSettings_GetScreenType
1202 wxSystemSettings_SetScreenType
= misc2c
.wxSystemSettings_SetScreenType
1204 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
1206 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
1208 wxLog_IsEnabled
= misc2c
.wxLog_IsEnabled
1210 wxLog_EnableLogging
= misc2c
.wxLog_EnableLogging
1212 wxLog_OnLog
= misc2c
.wxLog_OnLog
1214 wxLog_FlushActive
= misc2c
.wxLog_FlushActive
1216 def wxLog_GetActiveTarget(*_args
, **_kwargs
):
1217 val
= apply(misc2c
.wxLog_GetActiveTarget
,_args
,_kwargs
)
1218 if val
: val
= wxLogPtr(val
)
1221 def wxLog_SetActiveTarget(*_args
, **_kwargs
):
1222 val
= apply(misc2c
.wxLog_SetActiveTarget
,_args
,_kwargs
)
1223 if val
: val
= wxLogPtr(val
)
1226 wxLog_Suspend
= misc2c
.wxLog_Suspend
1228 wxLog_Resume
= misc2c
.wxLog_Resume
1230 wxLog_SetVerbose
= misc2c
.wxLog_SetVerbose
1232 wxLog_DontCreateOnDemand
= misc2c
.wxLog_DontCreateOnDemand
1234 wxLog_SetTraceMask
= misc2c
.wxLog_SetTraceMask
1236 wxLog_AddTraceMask
= misc2c
.wxLog_AddTraceMask
1238 wxLog_RemoveTraceMask
= misc2c
.wxLog_RemoveTraceMask
1240 wxLog_ClearTraceMasks
= misc2c
.wxLog_ClearTraceMasks
1242 wxLog_SetTimestamp
= misc2c
.wxLog_SetTimestamp
1244 wxLog_GetTimestamp
= misc2c
.wxLog_GetTimestamp
1246 wxLog_GetTraceMask
= misc2c
.wxLog_GetTraceMask
1248 wxLog_IsAllowedTraceMask
= misc2c
.wxLog_IsAllowedTraceMask
1250 wxProcess_Kill
= misc2c
.wxProcess_Kill
1252 wxProcess_Exists
= misc2c
.wxProcess_Exists
1254 def wxProcess_Open(*_args
, **_kwargs
):
1255 val
= apply(misc2c
.wxProcess_Open
,_args
,_kwargs
)
1256 if val
: val
= wxProcessPtr(val
)
1259 wxFileType_ExpandCommand
= misc2c
.wxFileType_ExpandCommand
1261 wxMimeTypesManager_IsOfType
= misc2c
.wxMimeTypesManager_IsOfType
1263 wxArtProvider_PushProvider
= misc2c
.wxArtProvider_PushProvider
1265 wxArtProvider_PopProvider
= misc2c
.wxArtProvider_PopProvider
1267 wxArtProvider_RemoveProvider
= misc2c
.wxArtProvider_RemoveProvider
1269 def wxArtProvider_GetBitmap(*_args
, **_kwargs
):
1270 val
= apply(misc2c
.wxArtProvider_GetBitmap
,_args
,_kwargs
)
1271 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1274 def wxArtProvider_GetIcon(*_args
, **_kwargs
):
1275 val
= apply(misc2c
.wxArtProvider_GetIcon
,_args
,_kwargs
)
1276 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1279 wxArtProvider_CleanUpProviders
= misc2c
.wxArtProvider_CleanUpProviders
1283 #-------------- VARIABLE WRAPPERS ------------------
1285 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
1286 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
1287 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
1288 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
1289 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
1290 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
1291 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
1292 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
1293 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
1294 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
1295 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
1296 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
1297 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
1298 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
1299 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
1300 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
1301 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
1302 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
1303 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
1304 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
1305 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
1306 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
1307 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
1308 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
1309 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
1310 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
1311 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
1312 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
1313 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
1314 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
1315 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1316 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
1317 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
1318 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
1319 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
1320 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
1321 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
1322 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
1323 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
1324 wxSYS_COLOUR_LISTBOX
= misc2c
.wxSYS_COLOUR_LISTBOX
1325 wxSYS_COLOUR_HOTLIGHT
= misc2c
.wxSYS_COLOUR_HOTLIGHT
1326 wxSYS_COLOUR_GRADIENTACTIVECAPTION
= misc2c
.wxSYS_COLOUR_GRADIENTACTIVECAPTION
1327 wxSYS_COLOUR_GRADIENTINACTIVECAPTION
= misc2c
.wxSYS_COLOUR_GRADIENTINACTIVECAPTION
1328 wxSYS_COLOUR_MENUHILIGHT
= misc2c
.wxSYS_COLOUR_MENUHILIGHT
1329 wxSYS_COLOUR_MENUBAR
= misc2c
.wxSYS_COLOUR_MENUBAR
1330 wxSYS_COLOUR_MAX
= misc2c
.wxSYS_COLOUR_MAX
1331 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
1332 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
1333 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
1334 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
1335 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
1336 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
1337 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
1338 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
1339 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
1340 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
1341 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
1342 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
1343 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
1344 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
1345 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
1346 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
1347 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
1348 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
1349 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
1350 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
1351 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
1352 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
1353 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
1354 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
1355 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
1356 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
1357 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
1358 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
1359 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
1360 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
1361 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
1362 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
1363 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
1364 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
1365 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
1366 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
1367 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS
1368 wxSYS_CAN_DRAW_FRAME_DECORATIONS
= misc2c
.wxSYS_CAN_DRAW_FRAME_DECORATIONS
1369 wxSYS_CAN_ICONIZE_FRAME
= misc2c
.wxSYS_CAN_ICONIZE_FRAME
1370 wxSYS_SCREEN_NONE
= misc2c
.wxSYS_SCREEN_NONE
1371 wxSYS_SCREEN_TINY
= misc2c
.wxSYS_SCREEN_TINY
1372 wxSYS_SCREEN_PDA
= misc2c
.wxSYS_SCREEN_PDA
1373 wxSYS_SCREEN_SMALL
= misc2c
.wxSYS_SCREEN_SMALL
1374 wxSYS_SCREEN_DESKTOP
= misc2c
.wxSYS_SCREEN_DESKTOP
1375 wxLOG_FatalError
= misc2c
.wxLOG_FatalError
1376 wxLOG_Error
= misc2c
.wxLOG_Error
1377 wxLOG_Warning
= misc2c
.wxLOG_Warning
1378 wxLOG_Message
= misc2c
.wxLOG_Message
1379 wxLOG_Info
= misc2c
.wxLOG_Info
1380 wxLOG_Status
= misc2c
.wxLOG_Status
1381 wxLOG_Debug
= misc2c
.wxLOG_Debug
1382 wxLOG_Trace
= misc2c
.wxLOG_Trace
1383 wxLOG_Progress
= misc2c
.wxLOG_Progress
1384 wxLOG_User
= misc2c
.wxLOG_User
1385 wxTRACE_MemAlloc
= misc2c
.wxTRACE_MemAlloc
1386 wxTRACE_Messages
= misc2c
.wxTRACE_Messages
1387 wxTRACE_ResAlloc
= misc2c
.wxTRACE_ResAlloc
1388 wxTRACE_RefCount
= misc2c
.wxTRACE_RefCount
1389 wxTraceMemAlloc
= misc2c
.wxTraceMemAlloc
1390 wxTraceMessages
= misc2c
.wxTraceMessages
1391 wxTraceResAlloc
= misc2c
.wxTraceResAlloc
1392 wxTraceRefCount
= misc2c
.wxTraceRefCount
1393 wxKILL_OK
= misc2c
.wxKILL_OK
1394 wxKILL_BAD_SIGNAL
= misc2c
.wxKILL_BAD_SIGNAL
1395 wxKILL_ACCESS_DENIED
= misc2c
.wxKILL_ACCESS_DENIED
1396 wxKILL_NO_PROCESS
= misc2c
.wxKILL_NO_PROCESS
1397 wxKILL_ERROR
= misc2c
.wxKILL_ERROR
1398 wxSIGNONE
= misc2c
.wxSIGNONE
1399 wxSIGHUP
= misc2c
.wxSIGHUP
1400 wxSIGINT
= misc2c
.wxSIGINT
1401 wxSIGQUIT
= misc2c
.wxSIGQUIT
1402 wxSIGILL
= misc2c
.wxSIGILL
1403 wxSIGTRAP
= misc2c
.wxSIGTRAP
1404 wxSIGABRT
= misc2c
.wxSIGABRT
1405 wxSIGIOT
= misc2c
.wxSIGIOT
1406 wxSIGEMT
= misc2c
.wxSIGEMT
1407 wxSIGFPE
= misc2c
.wxSIGFPE
1408 wxSIGKILL
= misc2c
.wxSIGKILL
1409 wxSIGBUS
= misc2c
.wxSIGBUS
1410 wxSIGSEGV
= misc2c
.wxSIGSEGV
1411 wxSIGSYS
= misc2c
.wxSIGSYS
1412 wxSIGPIPE
= misc2c
.wxSIGPIPE
1413 wxSIGALRM
= misc2c
.wxSIGALRM
1414 wxSIGTERM
= misc2c
.wxSIGTERM
1415 wxEVT_END_PROCESS
= misc2c
.wxEVT_END_PROCESS
1416 wxEXEC_ASYNC
= misc2c
.wxEXEC_ASYNC
1417 wxEXEC_SYNC
= misc2c
.wxEXEC_SYNC
1418 wxEXEC_NOHIDE
= misc2c
.wxEXEC_NOHIDE
1419 wxEXEC_MAKE_GROUP_LEADER
= misc2c
.wxEXEC_MAKE_GROUP_LEADER
1420 wxJOYSTICK1
= misc2c
.wxJOYSTICK1
1421 wxJOYSTICK2
= misc2c
.wxJOYSTICK2
1422 wxJOY_BUTTON_ANY
= misc2c
.wxJOY_BUTTON_ANY
1423 wxJOY_BUTTON1
= misc2c
.wxJOY_BUTTON1
1424 wxJOY_BUTTON2
= misc2c
.wxJOY_BUTTON2
1425 wxJOY_BUTTON3
= misc2c
.wxJOY_BUTTON3
1426 wxJOY_BUTTON4
= misc2c
.wxJOY_BUTTON4
1427 wxMAILCAP_STANDARD
= misc2c
.wxMAILCAP_STANDARD
1428 wxMAILCAP_NETSCAPE
= misc2c
.wxMAILCAP_NETSCAPE
1429 wxMAILCAP_KDE
= misc2c
.wxMAILCAP_KDE
1430 wxMAILCAP_GNOME
= misc2c
.wxMAILCAP_GNOME
1431 wxMAILCAP_ALL
= misc2c
.wxMAILCAP_ALL
1433 wxTheMimeTypesManager
= wxMimeTypesManagerPtr(misc2c
.cvar
.wxTheMimeTypesManager
)