1 # This file was created automatically by SWIG.
9 class wxEventPtr(wxObjectPtr
):
10 def __init__(self
,this
):
13 def __del__(self
,eventsc
=eventsc
):
14 if self
.thisown
== 1 :
15 eventsc
.delete_wxEvent(self
)
16 def GetEventObject(self
, *_args
, **_kwargs
):
17 val
= apply(eventsc
.wxEvent_GetEventObject
,(self
,) + _args
, _kwargs
)
19 def GetEventType(self
, *_args
, **_kwargs
):
20 val
= apply(eventsc
.wxEvent_GetEventType
,(self
,) + _args
, _kwargs
)
22 def GetId(self
, *_args
, **_kwargs
):
23 val
= apply(eventsc
.wxEvent_GetId
,(self
,) + _args
, _kwargs
)
25 def GetSkipped(self
, *_args
, **_kwargs
):
26 val
= apply(eventsc
.wxEvent_GetSkipped
,(self
,) + _args
, _kwargs
)
28 def GetTimestamp(self
, *_args
, **_kwargs
):
29 val
= apply(eventsc
.wxEvent_GetTimestamp
,(self
,) + _args
, _kwargs
)
31 def SetEventObject(self
, *_args
, **_kwargs
):
32 val
= apply(eventsc
.wxEvent_SetEventObject
,(self
,) + _args
, _kwargs
)
34 def SetEventType(self
, *_args
, **_kwargs
):
35 val
= apply(eventsc
.wxEvent_SetEventType
,(self
,) + _args
, _kwargs
)
37 def SetId(self
, *_args
, **_kwargs
):
38 val
= apply(eventsc
.wxEvent_SetId
,(self
,) + _args
, _kwargs
)
40 def SetTimestamp(self
, *_args
, **_kwargs
):
41 val
= apply(eventsc
.wxEvent_SetTimestamp
,(self
,) + _args
, _kwargs
)
43 def Skip(self
, *_args
, **_kwargs
):
44 val
= apply(eventsc
.wxEvent_Skip
,(self
,) + _args
, _kwargs
)
46 def Clone(self
, *_args
, **_kwargs
):
47 val
= apply(eventsc
.wxEvent_Clone
,(self
,) + _args
, _kwargs
)
48 if val
: val
= wxEventPtr(val
)
51 return "<C wxEvent instance at %s>" % (self
.this
,)
52 class wxEvent(wxEventPtr
):
53 def __init__(self
,this
):
59 class wxSizeEventPtr(wxEventPtr
):
60 def __init__(self
,this
):
63 def GetSize(self
, *_args
, **_kwargs
):
64 val
= apply(eventsc
.wxSizeEvent_GetSize
,(self
,) + _args
, _kwargs
)
65 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
68 return "<C wxSizeEvent instance at %s>" % (self
.this
,)
69 class wxSizeEvent(wxSizeEventPtr
):
70 def __init__(self
,*_args
,**_kwargs
):
71 self
.this
= apply(eventsc
.new_wxSizeEvent
,_args
,_kwargs
)
77 class wxCloseEventPtr(wxEventPtr
):
78 def __init__(self
,this
):
81 def SetLoggingOff(self
, *_args
, **_kwargs
):
82 val
= apply(eventsc
.wxCloseEvent_SetLoggingOff
,(self
,) + _args
, _kwargs
)
84 def GetLoggingOff(self
, *_args
, **_kwargs
):
85 val
= apply(eventsc
.wxCloseEvent_GetLoggingOff
,(self
,) + _args
, _kwargs
)
87 def Veto(self
, *_args
, **_kwargs
):
88 val
= apply(eventsc
.wxCloseEvent_Veto
,(self
,) + _args
, _kwargs
)
90 def CanVeto(self
, *_args
, **_kwargs
):
91 val
= apply(eventsc
.wxCloseEvent_CanVeto
,(self
,) + _args
, _kwargs
)
93 def GetVeto(self
, *_args
, **_kwargs
):
94 val
= apply(eventsc
.wxCloseEvent_GetVeto
,(self
,) + _args
, _kwargs
)
96 def SetCanVeto(self
, *_args
, **_kwargs
):
97 val
= apply(eventsc
.wxCloseEvent_SetCanVeto
,(self
,) + _args
, _kwargs
)
100 return "<C wxCloseEvent instance at %s>" % (self
.this
,)
101 class wxCloseEvent(wxCloseEventPtr
):
102 def __init__(self
,*_args
,**_kwargs
):
103 self
.this
= apply(eventsc
.new_wxCloseEvent
,_args
,_kwargs
)
109 class wxCommandEventPtr(wxEventPtr
):
110 def __init__(self
,this
):
113 def IsChecked(self
, *_args
, **_kwargs
):
114 val
= apply(eventsc
.wxCommandEvent_IsChecked
,(self
,) + _args
, _kwargs
)
116 def Checked(self
, *_args
, **_kwargs
):
117 val
= apply(eventsc
.wxCommandEvent_Checked
,(self
,) + _args
, _kwargs
)
119 def GetExtraLong(self
, *_args
, **_kwargs
):
120 val
= apply(eventsc
.wxCommandEvent_GetExtraLong
,(self
,) + _args
, _kwargs
)
122 def GetInt(self
, *_args
, **_kwargs
):
123 val
= apply(eventsc
.wxCommandEvent_GetInt
,(self
,) + _args
, _kwargs
)
125 def GetSelection(self
, *_args
, **_kwargs
):
126 val
= apply(eventsc
.wxCommandEvent_GetSelection
,(self
,) + _args
, _kwargs
)
128 def GetString(self
, *_args
, **_kwargs
):
129 val
= apply(eventsc
.wxCommandEvent_GetString
,(self
,) + _args
, _kwargs
)
131 def IsSelection(self
, *_args
, **_kwargs
):
132 val
= apply(eventsc
.wxCommandEvent_IsSelection
,(self
,) + _args
, _kwargs
)
134 def SetString(self
, *_args
, **_kwargs
):
135 val
= apply(eventsc
.wxCommandEvent_SetString
,(self
,) + _args
, _kwargs
)
137 def SetExtraLong(self
, *_args
, **_kwargs
):
138 val
= apply(eventsc
.wxCommandEvent_SetExtraLong
,(self
,) + _args
, _kwargs
)
140 def SetInt(self
, *_args
, **_kwargs
):
141 val
= apply(eventsc
.wxCommandEvent_SetInt
,(self
,) + _args
, _kwargs
)
143 def GetClientData(self
, *_args
, **_kwargs
):
144 val
= apply(eventsc
.wxCommandEvent_GetClientData
,(self
,) + _args
, _kwargs
)
147 return "<C wxCommandEvent instance at %s>" % (self
.this
,)
148 class wxCommandEvent(wxCommandEventPtr
):
149 def __init__(self
,*_args
,**_kwargs
):
150 self
.this
= apply(eventsc
.new_wxCommandEvent
,_args
,_kwargs
)
156 class wxScrollEventPtr(wxCommandEventPtr
):
157 def __init__(self
,this
):
160 def GetOrientation(self
, *_args
, **_kwargs
):
161 val
= apply(eventsc
.wxScrollEvent_GetOrientation
,(self
,) + _args
, _kwargs
)
163 def GetPosition(self
, *_args
, **_kwargs
):
164 val
= apply(eventsc
.wxScrollEvent_GetPosition
,(self
,) + _args
, _kwargs
)
167 return "<C wxScrollEvent instance at %s>" % (self
.this
,)
168 class wxScrollEvent(wxScrollEventPtr
):
169 def __init__(self
,*_args
,**_kwargs
):
170 self
.this
= apply(eventsc
.new_wxScrollEvent
,_args
,_kwargs
)
176 class wxScrollWinEventPtr(wxEventPtr
):
177 def __init__(self
,this
):
180 def GetOrientation(self
, *_args
, **_kwargs
):
181 val
= apply(eventsc
.wxScrollWinEvent_GetOrientation
,(self
,) + _args
, _kwargs
)
183 def GetPosition(self
, *_args
, **_kwargs
):
184 val
= apply(eventsc
.wxScrollWinEvent_GetPosition
,(self
,) + _args
, _kwargs
)
187 return "<C wxScrollWinEvent instance at %s>" % (self
.this
,)
188 class wxScrollWinEvent(wxScrollWinEventPtr
):
189 def __init__(self
,*_args
,**_kwargs
):
190 self
.this
= apply(eventsc
.new_wxScrollWinEvent
,_args
,_kwargs
)
196 class wxSpinEventPtr(wxScrollEventPtr
):
197 def __init__(self
,this
):
201 return "<C wxSpinEvent instance at %s>" % (self
.this
,)
202 class wxSpinEvent(wxSpinEventPtr
):
203 def __init__(self
,*_args
,**_kwargs
):
204 self
.this
= apply(eventsc
.new_wxSpinEvent
,_args
,_kwargs
)
210 class wxMouseEventPtr(wxEventPtr
):
211 def __init__(self
,this
):
214 def IsButton(self
, *_args
, **_kwargs
):
215 val
= apply(eventsc
.wxMouseEvent_IsButton
,(self
,) + _args
, _kwargs
)
217 def ButtonDown(self
, *_args
, **_kwargs
):
218 val
= apply(eventsc
.wxMouseEvent_ButtonDown
,(self
,) + _args
, _kwargs
)
220 def ButtonDClick(self
, *_args
, **_kwargs
):
221 val
= apply(eventsc
.wxMouseEvent_ButtonDClick
,(self
,) + _args
, _kwargs
)
223 def ButtonUp(self
, *_args
, **_kwargs
):
224 val
= apply(eventsc
.wxMouseEvent_ButtonUp
,(self
,) + _args
, _kwargs
)
226 def Button(self
, *_args
, **_kwargs
):
227 val
= apply(eventsc
.wxMouseEvent_Button
,(self
,) + _args
, _kwargs
)
229 def ButtonIsDown(self
, *_args
, **_kwargs
):
230 val
= apply(eventsc
.wxMouseEvent_ButtonIsDown
,(self
,) + _args
, _kwargs
)
232 def ControlDown(self
, *_args
, **_kwargs
):
233 val
= apply(eventsc
.wxMouseEvent_ControlDown
,(self
,) + _args
, _kwargs
)
235 def MetaDown(self
, *_args
, **_kwargs
):
236 val
= apply(eventsc
.wxMouseEvent_MetaDown
,(self
,) + _args
, _kwargs
)
238 def AltDown(self
, *_args
, **_kwargs
):
239 val
= apply(eventsc
.wxMouseEvent_AltDown
,(self
,) + _args
, _kwargs
)
241 def ShiftDown(self
, *_args
, **_kwargs
):
242 val
= apply(eventsc
.wxMouseEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
244 def LeftDown(self
, *_args
, **_kwargs
):
245 val
= apply(eventsc
.wxMouseEvent_LeftDown
,(self
,) + _args
, _kwargs
)
247 def MiddleDown(self
, *_args
, **_kwargs
):
248 val
= apply(eventsc
.wxMouseEvent_MiddleDown
,(self
,) + _args
, _kwargs
)
250 def RightDown(self
, *_args
, **_kwargs
):
251 val
= apply(eventsc
.wxMouseEvent_RightDown
,(self
,) + _args
, _kwargs
)
253 def LeftUp(self
, *_args
, **_kwargs
):
254 val
= apply(eventsc
.wxMouseEvent_LeftUp
,(self
,) + _args
, _kwargs
)
256 def MiddleUp(self
, *_args
, **_kwargs
):
257 val
= apply(eventsc
.wxMouseEvent_MiddleUp
,(self
,) + _args
, _kwargs
)
259 def RightUp(self
, *_args
, **_kwargs
):
260 val
= apply(eventsc
.wxMouseEvent_RightUp
,(self
,) + _args
, _kwargs
)
262 def LeftDClick(self
, *_args
, **_kwargs
):
263 val
= apply(eventsc
.wxMouseEvent_LeftDClick
,(self
,) + _args
, _kwargs
)
265 def MiddleDClick(self
, *_args
, **_kwargs
):
266 val
= apply(eventsc
.wxMouseEvent_MiddleDClick
,(self
,) + _args
, _kwargs
)
268 def RightDClick(self
, *_args
, **_kwargs
):
269 val
= apply(eventsc
.wxMouseEvent_RightDClick
,(self
,) + _args
, _kwargs
)
271 def LeftIsDown(self
, *_args
, **_kwargs
):
272 val
= apply(eventsc
.wxMouseEvent_LeftIsDown
,(self
,) + _args
, _kwargs
)
274 def MiddleIsDown(self
, *_args
, **_kwargs
):
275 val
= apply(eventsc
.wxMouseEvent_MiddleIsDown
,(self
,) + _args
, _kwargs
)
277 def RightIsDown(self
, *_args
, **_kwargs
):
278 val
= apply(eventsc
.wxMouseEvent_RightIsDown
,(self
,) + _args
, _kwargs
)
280 def Dragging(self
, *_args
, **_kwargs
):
281 val
= apply(eventsc
.wxMouseEvent_Dragging
,(self
,) + _args
, _kwargs
)
283 def Moving(self
, *_args
, **_kwargs
):
284 val
= apply(eventsc
.wxMouseEvent_Moving
,(self
,) + _args
, _kwargs
)
286 def Entering(self
, *_args
, **_kwargs
):
287 val
= apply(eventsc
.wxMouseEvent_Entering
,(self
,) + _args
, _kwargs
)
289 def Leaving(self
, *_args
, **_kwargs
):
290 val
= apply(eventsc
.wxMouseEvent_Leaving
,(self
,) + _args
, _kwargs
)
292 def GetPosition(self
, *_args
, **_kwargs
):
293 val
= apply(eventsc
.wxMouseEvent_GetPosition
,(self
,) + _args
, _kwargs
)
294 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
296 def GetPositionTuple(self
, *_args
, **_kwargs
):
297 val
= apply(eventsc
.wxMouseEvent_GetPositionTuple
,(self
,) + _args
, _kwargs
)
299 def GetLogicalPosition(self
, *_args
, **_kwargs
):
300 val
= apply(eventsc
.wxMouseEvent_GetLogicalPosition
,(self
,) + _args
, _kwargs
)
301 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
303 def GetX(self
, *_args
, **_kwargs
):
304 val
= apply(eventsc
.wxMouseEvent_GetX
,(self
,) + _args
, _kwargs
)
306 def GetY(self
, *_args
, **_kwargs
):
307 val
= apply(eventsc
.wxMouseEvent_GetY
,(self
,) + _args
, _kwargs
)
309 def GetWheelRotation(self
, *_args
, **_kwargs
):
310 val
= apply(eventsc
.wxMouseEvent_GetWheelRotation
,(self
,) + _args
, _kwargs
)
312 def GetWheelDelta(self
, *_args
, **_kwargs
):
313 val
= apply(eventsc
.wxMouseEvent_GetWheelDelta
,(self
,) + _args
, _kwargs
)
315 def GetLinesPerAction(self
, *_args
, **_kwargs
):
316 val
= apply(eventsc
.wxMouseEvent_GetLinesPerAction
,(self
,) + _args
, _kwargs
)
318 def __setattr__(self
,name
,value
):
320 eventsc
.wxMouseEvent_m_x_set(self
,value
)
323 eventsc
.wxMouseEvent_m_y_set(self
,value
)
325 if name
== "m_leftDown" :
326 eventsc
.wxMouseEvent_m_leftDown_set(self
,value
)
328 if name
== "m_middleDown" :
329 eventsc
.wxMouseEvent_m_middleDown_set(self
,value
)
331 if name
== "m_rightDown" :
332 eventsc
.wxMouseEvent_m_rightDown_set(self
,value
)
334 if name
== "m_controlDown" :
335 eventsc
.wxMouseEvent_m_controlDown_set(self
,value
)
337 if name
== "m_shiftDown" :
338 eventsc
.wxMouseEvent_m_shiftDown_set(self
,value
)
340 if name
== "m_altDown" :
341 eventsc
.wxMouseEvent_m_altDown_set(self
,value
)
343 if name
== "m_metaDown" :
344 eventsc
.wxMouseEvent_m_metaDown_set(self
,value
)
346 if name
== "m_wheelRotation" :
347 eventsc
.wxMouseEvent_m_wheelRotation_set(self
,value
)
349 if name
== "m_wheelDelta" :
350 eventsc
.wxMouseEvent_m_wheelDelta_set(self
,value
)
352 if name
== "m_linesPerAction" :
353 eventsc
.wxMouseEvent_m_linesPerAction_set(self
,value
)
355 self
.__dict
__[name
] = value
356 def __getattr__(self
,name
):
358 return eventsc
.wxMouseEvent_m_x_get(self
)
360 return eventsc
.wxMouseEvent_m_y_get(self
)
361 if name
== "m_leftDown" :
362 return eventsc
.wxMouseEvent_m_leftDown_get(self
)
363 if name
== "m_middleDown" :
364 return eventsc
.wxMouseEvent_m_middleDown_get(self
)
365 if name
== "m_rightDown" :
366 return eventsc
.wxMouseEvent_m_rightDown_get(self
)
367 if name
== "m_controlDown" :
368 return eventsc
.wxMouseEvent_m_controlDown_get(self
)
369 if name
== "m_shiftDown" :
370 return eventsc
.wxMouseEvent_m_shiftDown_get(self
)
371 if name
== "m_altDown" :
372 return eventsc
.wxMouseEvent_m_altDown_get(self
)
373 if name
== "m_metaDown" :
374 return eventsc
.wxMouseEvent_m_metaDown_get(self
)
375 if name
== "m_wheelRotation" :
376 return eventsc
.wxMouseEvent_m_wheelRotation_get(self
)
377 if name
== "m_wheelDelta" :
378 return eventsc
.wxMouseEvent_m_wheelDelta_get(self
)
379 if name
== "m_linesPerAction" :
380 return eventsc
.wxMouseEvent_m_linesPerAction_get(self
)
381 raise AttributeError,name
383 return "<C wxMouseEvent instance at %s>" % (self
.this
,)
384 class wxMouseEvent(wxMouseEventPtr
):
385 def __init__(self
,*_args
,**_kwargs
):
386 self
.this
= apply(eventsc
.new_wxMouseEvent
,_args
,_kwargs
)
392 class wxMouseCaptureChangedEventPtr(wxEventPtr
):
393 def __init__(self
,this
):
396 def GetCapturedWindow(self
, *_args
, **_kwargs
):
397 val
= apply(eventsc
.wxMouseCaptureChangedEvent_GetCapturedWindow
,(self
,) + _args
, _kwargs
)
400 return "<C wxMouseCaptureChangedEvent instance at %s>" % (self
.this
,)
401 class wxMouseCaptureChangedEvent(wxMouseCaptureChangedEventPtr
):
402 def __init__(self
,*_args
,**_kwargs
):
403 self
.this
= apply(eventsc
.new_wxMouseCaptureChangedEvent
,_args
,_kwargs
)
409 class wxSetCursorEventPtr(wxEventPtr
):
410 def __init__(self
,this
):
413 def GetX(self
, *_args
, **_kwargs
):
414 val
= apply(eventsc
.wxSetCursorEvent_GetX
,(self
,) + _args
, _kwargs
)
416 def GetY(self
, *_args
, **_kwargs
):
417 val
= apply(eventsc
.wxSetCursorEvent_GetY
,(self
,) + _args
, _kwargs
)
419 def SetCursor(self
, *_args
, **_kwargs
):
420 val
= apply(eventsc
.wxSetCursorEvent_SetCursor
,(self
,) + _args
, _kwargs
)
422 def GetCursor(self
, *_args
, **_kwargs
):
423 val
= apply(eventsc
.wxSetCursorEvent_GetCursor
,(self
,) + _args
, _kwargs
)
424 if val
: val
= wxCursorPtr(val
)
426 def HasCursor(self
, *_args
, **_kwargs
):
427 val
= apply(eventsc
.wxSetCursorEvent_HasCursor
,(self
,) + _args
, _kwargs
)
430 return "<C wxSetCursorEvent instance at %s>" % (self
.this
,)
431 class wxSetCursorEvent(wxSetCursorEventPtr
):
432 def __init__(self
,*_args
,**_kwargs
):
433 self
.this
= apply(eventsc
.new_wxSetCursorEvent
,_args
,_kwargs
)
439 class wxKeyEventPtr(wxEventPtr
):
440 def __init__(self
,this
):
443 def ControlDown(self
, *_args
, **_kwargs
):
444 val
= apply(eventsc
.wxKeyEvent_ControlDown
,(self
,) + _args
, _kwargs
)
446 def MetaDown(self
, *_args
, **_kwargs
):
447 val
= apply(eventsc
.wxKeyEvent_MetaDown
,(self
,) + _args
, _kwargs
)
449 def AltDown(self
, *_args
, **_kwargs
):
450 val
= apply(eventsc
.wxKeyEvent_AltDown
,(self
,) + _args
, _kwargs
)
452 def ShiftDown(self
, *_args
, **_kwargs
):
453 val
= apply(eventsc
.wxKeyEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
455 def KeyCode(self
, *_args
, **_kwargs
):
456 val
= apply(eventsc
.wxKeyEvent_KeyCode
,(self
,) + _args
, _kwargs
)
458 def GetKeyCode(self
, *_args
, **_kwargs
):
459 val
= apply(eventsc
.wxKeyEvent_GetKeyCode
,(self
,) + _args
, _kwargs
)
461 def HasModifiers(self
, *_args
, **_kwargs
):
462 val
= apply(eventsc
.wxKeyEvent_HasModifiers
,(self
,) + _args
, _kwargs
)
464 def GetRawKeyCode(self
, *_args
, **_kwargs
):
465 val
= apply(eventsc
.wxKeyEvent_GetRawKeyCode
,(self
,) + _args
, _kwargs
)
467 def GetRawKeyFlags(self
, *_args
, **_kwargs
):
468 val
= apply(eventsc
.wxKeyEvent_GetRawKeyFlags
,(self
,) + _args
, _kwargs
)
470 def GetX(self
, *_args
, **_kwargs
):
471 val
= apply(eventsc
.wxKeyEvent_GetX
,(self
,) + _args
, _kwargs
)
473 def GetY(self
, *_args
, **_kwargs
):
474 val
= apply(eventsc
.wxKeyEvent_GetY
,(self
,) + _args
, _kwargs
)
476 def GetPosition(self
, *_args
, **_kwargs
):
477 val
= apply(eventsc
.wxKeyEvent_GetPosition
,(self
,) + _args
, _kwargs
)
478 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
480 def GetPositionTuple(self
, *_args
, **_kwargs
):
481 val
= apply(eventsc
.wxKeyEvent_GetPositionTuple
,(self
,) + _args
, _kwargs
)
483 def __setattr__(self
,name
,value
):
485 eventsc
.wxKeyEvent_m_x_set(self
,value
)
488 eventsc
.wxKeyEvent_m_y_set(self
,value
)
490 if name
== "m_keyCode" :
491 eventsc
.wxKeyEvent_m_keyCode_set(self
,value
)
493 if name
== "m_controlDown" :
494 eventsc
.wxKeyEvent_m_controlDown_set(self
,value
)
496 if name
== "m_shiftDown" :
497 eventsc
.wxKeyEvent_m_shiftDown_set(self
,value
)
499 if name
== "m_altDown" :
500 eventsc
.wxKeyEvent_m_altDown_set(self
,value
)
502 if name
== "m_metaDown" :
503 eventsc
.wxKeyEvent_m_metaDown_set(self
,value
)
505 if name
== "m_scanCode" :
506 eventsc
.wxKeyEvent_m_scanCode_set(self
,value
)
508 if name
== "m_rawCode" :
509 eventsc
.wxKeyEvent_m_rawCode_set(self
,value
)
511 if name
== "m_rawFlags" :
512 eventsc
.wxKeyEvent_m_rawFlags_set(self
,value
)
514 self
.__dict
__[name
] = value
515 def __getattr__(self
,name
):
517 return eventsc
.wxKeyEvent_m_x_get(self
)
519 return eventsc
.wxKeyEvent_m_y_get(self
)
520 if name
== "m_keyCode" :
521 return eventsc
.wxKeyEvent_m_keyCode_get(self
)
522 if name
== "m_controlDown" :
523 return eventsc
.wxKeyEvent_m_controlDown_get(self
)
524 if name
== "m_shiftDown" :
525 return eventsc
.wxKeyEvent_m_shiftDown_get(self
)
526 if name
== "m_altDown" :
527 return eventsc
.wxKeyEvent_m_altDown_get(self
)
528 if name
== "m_metaDown" :
529 return eventsc
.wxKeyEvent_m_metaDown_get(self
)
530 if name
== "m_scanCode" :
531 return eventsc
.wxKeyEvent_m_scanCode_get(self
)
532 if name
== "m_rawCode" :
533 return eventsc
.wxKeyEvent_m_rawCode_get(self
)
534 if name
== "m_rawFlags" :
535 return eventsc
.wxKeyEvent_m_rawFlags_get(self
)
536 raise AttributeError,name
538 return "<C wxKeyEvent instance at %s>" % (self
.this
,)
539 class wxKeyEvent(wxKeyEventPtr
):
540 def __init__(self
,*_args
,**_kwargs
):
541 self
.this
= apply(eventsc
.new_wxKeyEvent
,_args
,_kwargs
)
547 class wxNavigationKeyEventPtr(wxEventPtr
):
548 def __init__(self
,this
):
551 def GetDirection(self
, *_args
, **_kwargs
):
552 val
= apply(eventsc
.wxNavigationKeyEvent_GetDirection
,(self
,) + _args
, _kwargs
)
554 def SetDirection(self
, *_args
, **_kwargs
):
555 val
= apply(eventsc
.wxNavigationKeyEvent_SetDirection
,(self
,) + _args
, _kwargs
)
557 def IsWindowChange(self
, *_args
, **_kwargs
):
558 val
= apply(eventsc
.wxNavigationKeyEvent_IsWindowChange
,(self
,) + _args
, _kwargs
)
560 def SetWindowChange(self
, *_args
, **_kwargs
):
561 val
= apply(eventsc
.wxNavigationKeyEvent_SetWindowChange
,(self
,) + _args
, _kwargs
)
563 def GetCurrentFocus(self
, *_args
, **_kwargs
):
564 val
= apply(eventsc
.wxNavigationKeyEvent_GetCurrentFocus
,(self
,) + _args
, _kwargs
)
566 def SetCurrentFocus(self
, *_args
, **_kwargs
):
567 val
= apply(eventsc
.wxNavigationKeyEvent_SetCurrentFocus
,(self
,) + _args
, _kwargs
)
570 return "<C wxNavigationKeyEvent instance at %s>" % (self
.this
,)
571 class wxNavigationKeyEvent(wxNavigationKeyEventPtr
):
572 def __init__(self
,*_args
,**_kwargs
):
573 self
.this
= apply(eventsc
.new_wxNavigationKeyEvent
,_args
,_kwargs
)
579 class wxMoveEventPtr(wxEventPtr
):
580 def __init__(self
,this
):
583 def GetPosition(self
, *_args
, **_kwargs
):
584 val
= apply(eventsc
.wxMoveEvent_GetPosition
,(self
,) + _args
, _kwargs
)
585 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
588 return "<C wxMoveEvent instance at %s>" % (self
.this
,)
589 class wxMoveEvent(wxMoveEventPtr
):
590 def __init__(self
,*_args
,**_kwargs
):
591 self
.this
= apply(eventsc
.new_wxMoveEvent
,_args
,_kwargs
)
597 class wxPaintEventPtr(wxEventPtr
):
598 def __init__(self
,this
):
602 return "<C wxPaintEvent instance at %s>" % (self
.this
,)
603 class wxPaintEvent(wxPaintEventPtr
):
604 def __init__(self
,*_args
,**_kwargs
):
605 self
.this
= apply(eventsc
.new_wxPaintEvent
,_args
,_kwargs
)
611 class wxEraseEventPtr(wxEventPtr
):
612 def __init__(self
,this
):
615 def GetDC(self
, *_args
, **_kwargs
):
616 val
= apply(eventsc
.wxEraseEvent_GetDC
,(self
,) + _args
, _kwargs
)
619 return "<C wxEraseEvent instance at %s>" % (self
.this
,)
620 class wxEraseEvent(wxEraseEventPtr
):
621 def __init__(self
,*_args
,**_kwargs
):
622 self
.this
= apply(eventsc
.new_wxEraseEvent
,_args
,_kwargs
)
628 class wxFocusEventPtr(wxEventPtr
):
629 def __init__(self
,this
):
633 return "<C wxFocusEvent instance at %s>" % (self
.this
,)
634 class wxFocusEvent(wxFocusEventPtr
):
635 def __init__(self
,*_args
,**_kwargs
):
636 self
.this
= apply(eventsc
.new_wxFocusEvent
,_args
,_kwargs
)
642 class wxChildFocusEventPtr(wxCommandEventPtr
):
643 def __init__(self
,this
):
646 def GetWindow(self
, *_args
, **_kwargs
):
647 val
= apply(eventsc
.wxChildFocusEvent_GetWindow
,(self
,) + _args
, _kwargs
)
650 return "<C wxChildFocusEvent instance at %s>" % (self
.this
,)
651 class wxChildFocusEvent(wxChildFocusEventPtr
):
652 def __init__(self
,*_args
,**_kwargs
):
653 self
.this
= apply(eventsc
.new_wxChildFocusEvent
,_args
,_kwargs
)
659 class wxActivateEventPtr(wxEventPtr
):
660 def __init__(self
,this
):
663 def GetActive(self
, *_args
, **_kwargs
):
664 val
= apply(eventsc
.wxActivateEvent_GetActive
,(self
,) + _args
, _kwargs
)
667 return "<C wxActivateEvent instance at %s>" % (self
.this
,)
668 class wxActivateEvent(wxActivateEventPtr
):
669 def __init__(self
,*_args
,**_kwargs
):
670 self
.this
= apply(eventsc
.new_wxActivateEvent
,_args
,_kwargs
)
676 class wxInitDialogEventPtr(wxEventPtr
):
677 def __init__(self
,this
):
681 return "<C wxInitDialogEvent instance at %s>" % (self
.this
,)
682 class wxInitDialogEvent(wxInitDialogEventPtr
):
683 def __init__(self
,*_args
,**_kwargs
):
684 self
.this
= apply(eventsc
.new_wxInitDialogEvent
,_args
,_kwargs
)
690 class wxMenuEventPtr(wxEventPtr
):
691 def __init__(self
,this
):
694 def GetMenuId(self
, *_args
, **_kwargs
):
695 val
= apply(eventsc
.wxMenuEvent_GetMenuId
,(self
,) + _args
, _kwargs
)
697 def IsPopup(self
, *_args
, **_kwargs
):
698 val
= apply(eventsc
.wxMenuEvent_IsPopup
,(self
,) + _args
, _kwargs
)
701 return "<C wxMenuEvent instance at %s>" % (self
.this
,)
702 class wxMenuEvent(wxMenuEventPtr
):
703 def __init__(self
,*_args
,**_kwargs
):
704 self
.this
= apply(eventsc
.new_wxMenuEvent
,_args
,_kwargs
)
710 class wxShowEventPtr(wxEventPtr
):
711 def __init__(self
,this
):
714 def SetShow(self
, *_args
, **_kwargs
):
715 val
= apply(eventsc
.wxShowEvent_SetShow
,(self
,) + _args
, _kwargs
)
717 def GetShow(self
, *_args
, **_kwargs
):
718 val
= apply(eventsc
.wxShowEvent_GetShow
,(self
,) + _args
, _kwargs
)
721 return "<C wxShowEvent instance at %s>" % (self
.this
,)
722 class wxShowEvent(wxShowEventPtr
):
723 def __init__(self
,*_args
,**_kwargs
):
724 self
.this
= apply(eventsc
.new_wxShowEvent
,_args
,_kwargs
)
730 class wxIconizeEventPtr(wxEventPtr
):
731 def __init__(self
,this
):
734 def Iconized(self
, *_args
, **_kwargs
):
735 val
= apply(eventsc
.wxIconizeEvent_Iconized
,(self
,) + _args
, _kwargs
)
738 return "<C wxIconizeEvent instance at %s>" % (self
.this
,)
739 class wxIconizeEvent(wxIconizeEventPtr
):
740 def __init__(self
,*_args
,**_kwargs
):
741 self
.this
= apply(eventsc
.new_wxIconizeEvent
,_args
,_kwargs
)
747 class wxMaximizeEventPtr(wxEventPtr
):
748 def __init__(self
,this
):
752 return "<C wxMaximizeEvent instance at %s>" % (self
.this
,)
753 class wxMaximizeEvent(wxMaximizeEventPtr
):
754 def __init__(self
,*_args
,**_kwargs
):
755 self
.this
= apply(eventsc
.new_wxMaximizeEvent
,_args
,_kwargs
)
761 class wxJoystickEventPtr(wxEventPtr
):
762 def __init__(self
,this
):
765 def GetPosition(self
, *_args
, **_kwargs
):
766 val
= apply(eventsc
.wxJoystickEvent_GetPosition
,(self
,) + _args
, _kwargs
)
767 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
769 def GetZPosition(self
, *_args
, **_kwargs
):
770 val
= apply(eventsc
.wxJoystickEvent_GetZPosition
,(self
,) + _args
, _kwargs
)
772 def GetButtonState(self
, *_args
, **_kwargs
):
773 val
= apply(eventsc
.wxJoystickEvent_GetButtonState
,(self
,) + _args
, _kwargs
)
775 def GetButtonChange(self
, *_args
, **_kwargs
):
776 val
= apply(eventsc
.wxJoystickEvent_GetButtonChange
,(self
,) + _args
, _kwargs
)
778 def GetJoystick(self
, *_args
, **_kwargs
):
779 val
= apply(eventsc
.wxJoystickEvent_GetJoystick
,(self
,) + _args
, _kwargs
)
781 def SetJoystick(self
, *_args
, **_kwargs
):
782 val
= apply(eventsc
.wxJoystickEvent_SetJoystick
,(self
,) + _args
, _kwargs
)
784 def SetButtonState(self
, *_args
, **_kwargs
):
785 val
= apply(eventsc
.wxJoystickEvent_SetButtonState
,(self
,) + _args
, _kwargs
)
787 def SetButtonChange(self
, *_args
, **_kwargs
):
788 val
= apply(eventsc
.wxJoystickEvent_SetButtonChange
,(self
,) + _args
, _kwargs
)
790 def SetPosition(self
, *_args
, **_kwargs
):
791 val
= apply(eventsc
.wxJoystickEvent_SetPosition
,(self
,) + _args
, _kwargs
)
793 def SetZPosition(self
, *_args
, **_kwargs
):
794 val
= apply(eventsc
.wxJoystickEvent_SetZPosition
,(self
,) + _args
, _kwargs
)
796 def IsButton(self
, *_args
, **_kwargs
):
797 val
= apply(eventsc
.wxJoystickEvent_IsButton
,(self
,) + _args
, _kwargs
)
799 def IsMove(self
, *_args
, **_kwargs
):
800 val
= apply(eventsc
.wxJoystickEvent_IsMove
,(self
,) + _args
, _kwargs
)
802 def IsZMove(self
, *_args
, **_kwargs
):
803 val
= apply(eventsc
.wxJoystickEvent_IsZMove
,(self
,) + _args
, _kwargs
)
805 def ButtonDown(self
, *_args
, **_kwargs
):
806 val
= apply(eventsc
.wxJoystickEvent_ButtonDown
,(self
,) + _args
, _kwargs
)
808 def ButtonUp(self
, *_args
, **_kwargs
):
809 val
= apply(eventsc
.wxJoystickEvent_ButtonUp
,(self
,) + _args
, _kwargs
)
811 def ButtonIsDown(self
, *_args
, **_kwargs
):
812 val
= apply(eventsc
.wxJoystickEvent_ButtonIsDown
,(self
,) + _args
, _kwargs
)
815 return "<C wxJoystickEvent instance at %s>" % (self
.this
,)
816 class wxJoystickEvent(wxJoystickEventPtr
):
817 def __init__(self
,*_args
,**_kwargs
):
818 self
.this
= apply(eventsc
.new_wxJoystickEvent
,_args
,_kwargs
)
824 class wxDropFilesEventPtr(wxEventPtr
):
825 def __init__(self
,this
):
828 def GetPosition(self
, *_args
, **_kwargs
):
829 val
= apply(eventsc
.wxDropFilesEvent_GetPosition
,(self
,) + _args
, _kwargs
)
830 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
832 def GetNumberOfFiles(self
, *_args
, **_kwargs
):
833 val
= apply(eventsc
.wxDropFilesEvent_GetNumberOfFiles
,(self
,) + _args
, _kwargs
)
835 def GetFiles(self
, *_args
, **_kwargs
):
836 val
= apply(eventsc
.wxDropFilesEvent_GetFiles
,(self
,) + _args
, _kwargs
)
839 return "<C wxDropFilesEvent instance at %s>" % (self
.this
,)
840 class wxDropFilesEvent(wxDropFilesEventPtr
):
841 def __init__(self
,this
):
847 class wxIdleEventPtr(wxEventPtr
):
848 def __init__(self
,this
):
851 def RequestMore(self
, *_args
, **_kwargs
):
852 val
= apply(eventsc
.wxIdleEvent_RequestMore
,(self
,) + _args
, _kwargs
)
854 def MoreRequested(self
, *_args
, **_kwargs
):
855 val
= apply(eventsc
.wxIdleEvent_MoreRequested
,(self
,) + _args
, _kwargs
)
858 return "<C wxIdleEvent instance at %s>" % (self
.this
,)
859 class wxIdleEvent(wxIdleEventPtr
):
860 def __init__(self
,*_args
,**_kwargs
):
861 self
.this
= apply(eventsc
.new_wxIdleEvent
,_args
,_kwargs
)
867 class wxUpdateUIEventPtr(wxEventPtr
):
868 def __init__(self
,this
):
871 def GetChecked(self
, *_args
, **_kwargs
):
872 val
= apply(eventsc
.wxUpdateUIEvent_GetChecked
,(self
,) + _args
, _kwargs
)
874 def GetEnabled(self
, *_args
, **_kwargs
):
875 val
= apply(eventsc
.wxUpdateUIEvent_GetEnabled
,(self
,) + _args
, _kwargs
)
877 def GetText(self
, *_args
, **_kwargs
):
878 val
= apply(eventsc
.wxUpdateUIEvent_GetText
,(self
,) + _args
, _kwargs
)
880 def GetSetText(self
, *_args
, **_kwargs
):
881 val
= apply(eventsc
.wxUpdateUIEvent_GetSetText
,(self
,) + _args
, _kwargs
)
883 def GetSetChecked(self
, *_args
, **_kwargs
):
884 val
= apply(eventsc
.wxUpdateUIEvent_GetSetChecked
,(self
,) + _args
, _kwargs
)
886 def GetSetEnabled(self
, *_args
, **_kwargs
):
887 val
= apply(eventsc
.wxUpdateUIEvent_GetSetEnabled
,(self
,) + _args
, _kwargs
)
889 def Check(self
, *_args
, **_kwargs
):
890 val
= apply(eventsc
.wxUpdateUIEvent_Check
,(self
,) + _args
, _kwargs
)
892 def Enable(self
, *_args
, **_kwargs
):
893 val
= apply(eventsc
.wxUpdateUIEvent_Enable
,(self
,) + _args
, _kwargs
)
895 def SetText(self
, *_args
, **_kwargs
):
896 val
= apply(eventsc
.wxUpdateUIEvent_SetText
,(self
,) + _args
, _kwargs
)
899 return "<C wxUpdateUIEvent instance at %s>" % (self
.this
,)
900 class wxUpdateUIEvent(wxUpdateUIEventPtr
):
901 def __init__(self
,*_args
,**_kwargs
):
902 self
.this
= apply(eventsc
.new_wxUpdateUIEvent
,_args
,_kwargs
)
908 class wxSysColourChangedEventPtr(wxEventPtr
):
909 def __init__(self
,this
):
913 return "<C wxSysColourChangedEvent instance at %s>" % (self
.this
,)
914 class wxSysColourChangedEvent(wxSysColourChangedEventPtr
):
915 def __init__(self
,*_args
,**_kwargs
):
916 self
.this
= apply(eventsc
.new_wxSysColourChangedEvent
,_args
,_kwargs
)
922 class wxNotifyEventPtr(wxCommandEventPtr
):
923 def __init__(self
,this
):
926 def IsAllowed(self
, *_args
, **_kwargs
):
927 val
= apply(eventsc
.wxNotifyEvent_IsAllowed
,(self
,) + _args
, _kwargs
)
929 def Allow(self
, *_args
, **_kwargs
):
930 val
= apply(eventsc
.wxNotifyEvent_Allow
,(self
,) + _args
, _kwargs
)
932 def Veto(self
, *_args
, **_kwargs
):
933 val
= apply(eventsc
.wxNotifyEvent_Veto
,(self
,) + _args
, _kwargs
)
936 return "<C wxNotifyEvent instance at %s>" % (self
.this
,)
937 class wxNotifyEvent(wxNotifyEventPtr
):
938 def __init__(self
,*_args
,**_kwargs
):
939 self
.this
= apply(eventsc
.new_wxNotifyEvent
,_args
,_kwargs
)
945 class wxDisplayChangedEventPtr(wxEventPtr
):
946 def __init__(self
,this
):
950 return "<C wxDisplayChangedEvent instance at %s>" % (self
.this
,)
951 class wxDisplayChangedEvent(wxDisplayChangedEventPtr
):
952 def __init__(self
,*_args
,**_kwargs
):
953 self
.this
= apply(eventsc
.new_wxDisplayChangedEvent
,_args
,_kwargs
)
959 class wxPaletteChangedEventPtr(wxEventPtr
):
960 def __init__(self
,this
):
963 def SetChangedWindow(self
, *_args
, **_kwargs
):
964 val
= apply(eventsc
.wxPaletteChangedEvent_SetChangedWindow
,(self
,) + _args
, _kwargs
)
966 def GetChangedWindow(self
, *_args
, **_kwargs
):
967 val
= apply(eventsc
.wxPaletteChangedEvent_GetChangedWindow
,(self
,) + _args
, _kwargs
)
970 return "<C wxPaletteChangedEvent instance at %s>" % (self
.this
,)
971 class wxPaletteChangedEvent(wxPaletteChangedEventPtr
):
972 def __init__(self
,*_args
,**_kwargs
):
973 self
.this
= apply(eventsc
.new_wxPaletteChangedEvent
,_args
,_kwargs
)
979 class wxQueryNewPaletteEventPtr(wxEventPtr
):
980 def __init__(self
,this
):
983 def SetPaletteRealized(self
, *_args
, **_kwargs
):
984 val
= apply(eventsc
.wxQueryNewPaletteEvent_SetPaletteRealized
,(self
,) + _args
, _kwargs
)
986 def GetPaletteRealized(self
, *_args
, **_kwargs
):
987 val
= apply(eventsc
.wxQueryNewPaletteEvent_GetPaletteRealized
,(self
,) + _args
, _kwargs
)
990 return "<C wxQueryNewPaletteEvent instance at %s>" % (self
.this
,)
991 class wxQueryNewPaletteEvent(wxQueryNewPaletteEventPtr
):
992 def __init__(self
,*_args
,**_kwargs
):
993 self
.this
= apply(eventsc
.new_wxQueryNewPaletteEvent
,_args
,_kwargs
)
999 class wxWindowCreateEventPtr(wxCommandEventPtr
):
1000 def __init__(self
,this
):
1003 def GetWindow(self
, *_args
, **_kwargs
):
1004 val
= apply(eventsc
.wxWindowCreateEvent_GetWindow
,(self
,) + _args
, _kwargs
)
1007 return "<C wxWindowCreateEvent instance at %s>" % (self
.this
,)
1008 class wxWindowCreateEvent(wxWindowCreateEventPtr
):
1009 def __init__(self
,*_args
,**_kwargs
):
1010 self
.this
= apply(eventsc
.new_wxWindowCreateEvent
,_args
,_kwargs
)
1016 class wxWindowDestroyEventPtr(wxCommandEventPtr
):
1017 def __init__(self
,this
):
1020 def GetWindow(self
, *_args
, **_kwargs
):
1021 val
= apply(eventsc
.wxWindowDestroyEvent_GetWindow
,(self
,) + _args
, _kwargs
)
1024 return "<C wxWindowDestroyEvent instance at %s>" % (self
.this
,)
1025 class wxWindowDestroyEvent(wxWindowDestroyEventPtr
):
1026 def __init__(self
,*_args
,**_kwargs
):
1027 self
.this
= apply(eventsc
.new_wxWindowDestroyEvent
,_args
,_kwargs
)
1033 class wxContextMenuEventPtr(wxCommandEventPtr
):
1034 def __init__(self
,this
):
1037 def GetPosition(self
, *_args
, **_kwargs
):
1038 val
= apply(eventsc
.wxContextMenuEvent_GetPosition
,(self
,) + _args
, _kwargs
)
1039 if val
: val
= wxPointPtr(val
)
1041 def SetPosition(self
, *_args
, **_kwargs
):
1042 val
= apply(eventsc
.wxContextMenuEvent_SetPosition
,(self
,) + _args
, _kwargs
)
1045 return "<C wxContextMenuEvent instance at %s>" % (self
.this
,)
1046 class wxContextMenuEvent(wxContextMenuEventPtr
):
1047 def __init__(self
,*_args
,**_kwargs
):
1048 self
.this
= apply(eventsc
.new_wxContextMenuEvent
,_args
,_kwargs
)
1054 class wxTimerEventPtr(wxEventPtr
):
1055 def __init__(self
,this
):
1058 def GetInterval(self
, *_args
, **_kwargs
):
1059 val
= apply(eventsc
.wxTimerEvent_GetInterval
,(self
,) + _args
, _kwargs
)
1062 return "<C wxTimerEvent instance at %s>" % (self
.this
,)
1063 class wxTimerEvent(wxTimerEventPtr
):
1064 def __init__(self
,*_args
,**_kwargs
):
1065 self
.this
= apply(eventsc
.new_wxTimerEvent
,_args
,_kwargs
)
1071 class wxTextUrlEventPtr(wxCommandEventPtr
):
1072 def __init__(self
,this
):
1075 def GetMouseEvent(self
, *_args
, **_kwargs
):
1076 val
= apply(eventsc
.wxTextUrlEvent_GetMouseEvent
,(self
,) + _args
, _kwargs
)
1078 def GetURLStart(self
, *_args
, **_kwargs
):
1079 val
= apply(eventsc
.wxTextUrlEvent_GetURLStart
,(self
,) + _args
, _kwargs
)
1081 def GetURLEnd(self
, *_args
, **_kwargs
):
1082 val
= apply(eventsc
.wxTextUrlEvent_GetURLEnd
,(self
,) + _args
, _kwargs
)
1085 return "<C wxTextUrlEvent instance at %s>" % (self
.this
,)
1086 class wxTextUrlEvent(wxTextUrlEventPtr
):
1087 def __init__(self
,*_args
,**_kwargs
):
1088 self
.this
= apply(eventsc
.new_wxTextUrlEvent
,_args
,_kwargs
)
1094 class wxPyEventPtr(wxEventPtr
):
1095 def __init__(self
,this
):
1098 def __del__(self
,eventsc
=eventsc
):
1099 if self
.thisown
== 1 :
1100 eventsc
.delete_wxPyEvent(self
)
1101 def SetSelf(self
, *_args
, **_kwargs
):
1102 val
= apply(eventsc
.wxPyEvent_SetSelf
,(self
,) + _args
, _kwargs
)
1104 def GetSelf(self
, *_args
, **_kwargs
):
1105 val
= apply(eventsc
.wxPyEvent_GetSelf
,(self
,) + _args
, _kwargs
)
1108 return "<C wxPyEvent instance at %s>" % (self
.this
,)
1109 class wxPyEvent(wxPyEventPtr
):
1110 def __init__(self
,*_args
,**_kwargs
):
1111 self
.this
= apply(eventsc
.new_wxPyEvent
,_args
,_kwargs
)
1118 class wxPyCommandEventPtr(wxCommandEventPtr
):
1119 def __init__(self
,this
):
1122 def __del__(self
,eventsc
=eventsc
):
1123 if self
.thisown
== 1 :
1124 eventsc
.delete_wxPyCommandEvent(self
)
1125 def SetSelf(self
, *_args
, **_kwargs
):
1126 val
= apply(eventsc
.wxPyCommandEvent_SetSelf
,(self
,) + _args
, _kwargs
)
1128 def GetSelf(self
, *_args
, **_kwargs
):
1129 val
= apply(eventsc
.wxPyCommandEvent_GetSelf
,(self
,) + _args
, _kwargs
)
1132 return "<C wxPyCommandEvent instance at %s>" % (self
.this
,)
1133 class wxPyCommandEvent(wxPyCommandEventPtr
):
1134 def __init__(self
,*_args
,**_kwargs
):
1135 self
.this
= apply(eventsc
.new_wxPyCommandEvent
,_args
,_kwargs
)
1144 #-------------- FUNCTION WRAPPERS ------------------
1146 wxNewEventType
= eventsc
.wxNewEventType
1150 #-------------- VARIABLE WRAPPERS ------------------