2 * FILE : msw/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initeventsc
54 #define SWIG_name "eventsc"
57 #include <wx/spinbutt.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
121 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
122 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
) {
123 PyObject
* _resultobj
;
126 PyObject
* _argo0
= 0;
130 if(!PyArg_ParseTuple(args
,"O:wxEvent_GetEventObject",&_argo0
))
133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
140 wxPy_BEGIN_ALLOW_THREADS
;
141 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
143 wxPy_END_ALLOW_THREADS
;
145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
146 _resultobj
= Py_BuildValue("s",_ptemp
);
149 _resultobj
= Py_None
;
154 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
155 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
) {
156 PyObject
* _resultobj
;
159 PyObject
* _argo0
= 0;
162 if(!PyArg_ParseTuple(args
,"O:wxEvent_GetEventType",&_argo0
))
165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
172 wxPy_BEGIN_ALLOW_THREADS
;
173 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
175 wxPy_END_ALLOW_THREADS
;
176 } _resultobj
= Py_BuildValue("i",_result
);
180 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
181 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
) {
182 PyObject
* _resultobj
;
185 PyObject
* _argo0
= 0;
188 if(!PyArg_ParseTuple(args
,"O:wxEvent_GetId",&_argo0
))
191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
198 wxPy_BEGIN_ALLOW_THREADS
;
199 _result
= (int )wxEvent_GetId(_arg0
);
201 wxPy_END_ALLOW_THREADS
;
202 } _resultobj
= Py_BuildValue("i",_result
);
206 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
207 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
) {
208 PyObject
* _resultobj
;
211 PyObject
* _argo0
= 0;
214 if(!PyArg_ParseTuple(args
,"O:wxEvent_GetSkipped",&_argo0
))
217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
224 wxPy_BEGIN_ALLOW_THREADS
;
225 _result
= (bool )wxEvent_GetSkipped(_arg0
);
227 wxPy_END_ALLOW_THREADS
;
228 } _resultobj
= Py_BuildValue("i",_result
);
232 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
233 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
) {
234 PyObject
* _resultobj
;
237 PyObject
* _argo0
= 0;
240 if(!PyArg_ParseTuple(args
,"O:wxEvent_GetTimestamp",&_argo0
))
243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
250 wxPy_BEGIN_ALLOW_THREADS
;
251 _result
= (long )wxEvent_GetTimestamp(_arg0
);
253 wxPy_END_ALLOW_THREADS
;
254 } _resultobj
= Py_BuildValue("l",_result
);
258 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
259 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
) {
260 PyObject
* _resultobj
;
263 PyObject
* _argo0
= 0;
264 PyObject
* _argo1
= 0;
267 if(!PyArg_ParseTuple(args
,"OO:wxEvent_SetEventObject",&_argo0
,&_argo1
))
270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
284 wxPy_BEGIN_ALLOW_THREADS
;
285 wxEvent_SetEventObject(_arg0
,_arg1
);
287 wxPy_END_ALLOW_THREADS
;
288 } Py_INCREF(Py_None
);
289 _resultobj
= Py_None
;
293 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
294 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
) {
295 PyObject
* _resultobj
;
298 PyObject
* _argo0
= 0;
301 if(!PyArg_ParseTuple(args
,"Oi:wxEvent_SetEventType",&_argo0
,&_arg1
))
304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
311 wxPy_BEGIN_ALLOW_THREADS
;
312 wxEvent_SetEventType(_arg0
,_arg1
);
314 wxPy_END_ALLOW_THREADS
;
315 } Py_INCREF(Py_None
);
316 _resultobj
= Py_None
;
320 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
321 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
) {
322 PyObject
* _resultobj
;
325 PyObject
* _argo0
= 0;
328 if(!PyArg_ParseTuple(args
,"Oi:wxEvent_SetId",&_argo0
,&_arg1
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
338 wxPy_BEGIN_ALLOW_THREADS
;
339 wxEvent_SetId(_arg0
,_arg1
);
341 wxPy_END_ALLOW_THREADS
;
342 } Py_INCREF(Py_None
);
343 _resultobj
= Py_None
;
347 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
348 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
) {
349 PyObject
* _resultobj
;
352 PyObject
* _argo0
= 0;
355 if(!PyArg_ParseTuple(args
,"Ol:wxEvent_SetTimestamp",&_argo0
,&_arg1
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
365 wxPy_BEGIN_ALLOW_THREADS
;
366 wxEvent_SetTimestamp(_arg0
,_arg1
);
368 wxPy_END_ALLOW_THREADS
;
369 } Py_INCREF(Py_None
);
370 _resultobj
= Py_None
;
374 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
375 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
) {
376 PyObject
* _resultobj
;
378 bool _arg1
= (bool ) TRUE
;
379 PyObject
* _argo0
= 0;
380 int tempbool1
= (int) TRUE
;
383 if(!PyArg_ParseTuple(args
,"O|i:wxEvent_Skip",&_argo0
,&tempbool1
))
386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
392 _arg1
= (bool ) tempbool1
;
394 wxPy_BEGIN_ALLOW_THREADS
;
395 wxEvent_Skip(_arg0
,_arg1
);
397 wxPy_END_ALLOW_THREADS
;
398 } Py_INCREF(Py_None
);
399 _resultobj
= Py_None
;
403 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
406 src
= (wxSizeEvent
*) ptr
;
407 dest
= (wxEvent
*) src
;
408 return (void *) dest
;
411 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
412 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
) {
413 PyObject
* _resultobj
;
416 PyObject
* _argo0
= 0;
420 if(!PyArg_ParseTuple(args
,"O:wxSizeEvent_GetSize",&_argo0
))
423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
430 wxPy_BEGIN_ALLOW_THREADS
;
431 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
433 wxPy_END_ALLOW_THREADS
;
434 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
435 _resultobj
= Py_BuildValue("s",_ptemp
);
439 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
442 src
= (wxCloseEvent
*) ptr
;
443 dest
= (wxEvent
*) src
;
444 return (void *) dest
;
447 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
448 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
) {
449 PyObject
* _resultobj
;
450 wxCloseEvent
* _arg0
;
452 PyObject
* _argo0
= 0;
456 if(!PyArg_ParseTuple(args
,"Oi:wxCloseEvent_SetLoggingOff",&_argo0
,&tempbool1
))
459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
465 _arg1
= (bool ) tempbool1
;
467 wxPy_BEGIN_ALLOW_THREADS
;
468 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
470 wxPy_END_ALLOW_THREADS
;
471 } Py_INCREF(Py_None
);
472 _resultobj
= Py_None
;
476 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
477 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
) {
478 PyObject
* _resultobj
;
480 wxCloseEvent
* _arg0
;
481 PyObject
* _argo0
= 0;
484 if(!PyArg_ParseTuple(args
,"O:wxCloseEvent_GetLoggingOff",&_argo0
))
487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
494 wxPy_BEGIN_ALLOW_THREADS
;
495 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
497 wxPy_END_ALLOW_THREADS
;
498 } _resultobj
= Py_BuildValue("i",_result
);
502 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
503 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
) {
504 PyObject
* _resultobj
;
505 wxCloseEvent
* _arg0
;
506 bool _arg1
= (bool ) TRUE
;
507 PyObject
* _argo0
= 0;
508 int tempbool1
= (int) TRUE
;
511 if(!PyArg_ParseTuple(args
,"O|i:wxCloseEvent_Veto",&_argo0
,&tempbool1
))
514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
520 _arg1
= (bool ) tempbool1
;
522 wxPy_BEGIN_ALLOW_THREADS
;
523 wxCloseEvent_Veto(_arg0
,_arg1
);
525 wxPy_END_ALLOW_THREADS
;
526 } Py_INCREF(Py_None
);
527 _resultobj
= Py_None
;
531 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
532 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
) {
533 PyObject
* _resultobj
;
535 wxCloseEvent
* _arg0
;
536 PyObject
* _argo0
= 0;
539 if(!PyArg_ParseTuple(args
,"O:wxCloseEvent_CanVeto",&_argo0
))
542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
549 wxPy_BEGIN_ALLOW_THREADS
;
550 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
552 wxPy_END_ALLOW_THREADS
;
553 } _resultobj
= Py_BuildValue("i",_result
);
557 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
558 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
) {
559 PyObject
* _resultobj
;
561 wxCloseEvent
* _arg0
;
562 PyObject
* _argo0
= 0;
565 if(!PyArg_ParseTuple(args
,"O:wxCloseEvent_GetVeto",&_argo0
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
575 wxPy_BEGIN_ALLOW_THREADS
;
576 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
578 wxPy_END_ALLOW_THREADS
;
579 } _resultobj
= Py_BuildValue("i",_result
);
583 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
584 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
) {
585 PyObject
* _resultobj
;
586 wxCloseEvent
* _arg0
;
588 PyObject
* _argo0
= 0;
592 if(!PyArg_ParseTuple(args
,"Oi:wxCloseEvent_SetCanVeto",&_argo0
,&tempbool1
))
595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
601 _arg1
= (bool ) tempbool1
;
603 wxPy_BEGIN_ALLOW_THREADS
;
604 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
606 wxPy_END_ALLOW_THREADS
;
607 } Py_INCREF(Py_None
);
608 _resultobj
= Py_None
;
612 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
615 src
= (wxCommandEvent
*) ptr
;
616 dest
= (wxEvent
*) src
;
617 return (void *) dest
;
620 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
621 static PyObject
*_wrap_wxCommandEvent_Checked(PyObject
*self
, PyObject
*args
) {
622 PyObject
* _resultobj
;
624 wxCommandEvent
* _arg0
;
625 PyObject
* _argo0
= 0;
628 if(!PyArg_ParseTuple(args
,"O:wxCommandEvent_Checked",&_argo0
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
638 wxPy_BEGIN_ALLOW_THREADS
;
639 _result
= (bool )wxCommandEvent_Checked(_arg0
);
641 wxPy_END_ALLOW_THREADS
;
642 } _resultobj
= Py_BuildValue("i",_result
);
646 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
647 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
) {
648 PyObject
* _resultobj
;
650 wxCommandEvent
* _arg0
;
651 PyObject
* _argo0
= 0;
654 if(!PyArg_ParseTuple(args
,"O:wxCommandEvent_GetExtraLong",&_argo0
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
667 wxPy_END_ALLOW_THREADS
;
668 } _resultobj
= Py_BuildValue("l",_result
);
672 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
673 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
) {
674 PyObject
* _resultobj
;
676 wxCommandEvent
* _arg0
;
677 PyObject
* _argo0
= 0;
680 if(!PyArg_ParseTuple(args
,"O:wxCommandEvent_GetInt",&_argo0
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
690 wxPy_BEGIN_ALLOW_THREADS
;
691 _result
= (int )wxCommandEvent_GetInt(_arg0
);
693 wxPy_END_ALLOW_THREADS
;
694 } _resultobj
= Py_BuildValue("i",_result
);
698 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
699 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
) {
700 PyObject
* _resultobj
;
702 wxCommandEvent
* _arg0
;
703 PyObject
* _argo0
= 0;
706 if(!PyArg_ParseTuple(args
,"O:wxCommandEvent_GetSelection",&_argo0
))
709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
716 wxPy_BEGIN_ALLOW_THREADS
;
717 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
719 wxPy_END_ALLOW_THREADS
;
720 } _resultobj
= Py_BuildValue("i",_result
);
724 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
725 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
) {
726 PyObject
* _resultobj
;
728 wxCommandEvent
* _arg0
;
729 PyObject
* _argo0
= 0;
732 if(!PyArg_ParseTuple(args
,"O:wxCommandEvent_GetString",&_argo0
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
742 wxPy_BEGIN_ALLOW_THREADS
;
743 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
745 wxPy_END_ALLOW_THREADS
;
747 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
755 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
756 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
) {
757 PyObject
* _resultobj
;
759 wxCommandEvent
* _arg0
;
760 PyObject
* _argo0
= 0;
763 if(!PyArg_ParseTuple(args
,"O:wxCommandEvent_IsSelection",&_argo0
))
766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
773 wxPy_BEGIN_ALLOW_THREADS
;
774 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
776 wxPy_END_ALLOW_THREADS
;
777 } _resultobj
= Py_BuildValue("i",_result
);
781 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
783 wxCommandEvent
*dest
;
784 src
= (wxScrollEvent
*) ptr
;
785 dest
= (wxCommandEvent
*) src
;
786 return (void *) dest
;
789 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
792 src
= (wxScrollEvent
*) ptr
;
793 dest
= (wxEvent
*) src
;
794 return (void *) dest
;
797 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
798 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
) {
799 PyObject
* _resultobj
;
801 wxScrollEvent
* _arg0
;
802 PyObject
* _argo0
= 0;
805 if(!PyArg_ParseTuple(args
,"O:wxScrollEvent_GetOrientation",&_argo0
))
808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
815 wxPy_BEGIN_ALLOW_THREADS
;
816 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
818 wxPy_END_ALLOW_THREADS
;
819 } _resultobj
= Py_BuildValue("i",_result
);
823 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
824 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
825 PyObject
* _resultobj
;
827 wxScrollEvent
* _arg0
;
828 PyObject
* _argo0
= 0;
831 if(!PyArg_ParseTuple(args
,"O:wxScrollEvent_GetPosition",&_argo0
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
841 wxPy_BEGIN_ALLOW_THREADS
;
842 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
844 wxPy_END_ALLOW_THREADS
;
845 } _resultobj
= Py_BuildValue("i",_result
);
849 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
852 src
= (wxSpinEvent
*) ptr
;
853 dest
= (wxScrollEvent
*) src
;
854 return (void *) dest
;
857 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
859 wxCommandEvent
*dest
;
860 src
= (wxSpinEvent
*) ptr
;
861 dest
= (wxCommandEvent
*) src
;
862 return (void *) dest
;
865 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
868 src
= (wxSpinEvent
*) ptr
;
869 dest
= (wxEvent
*) src
;
870 return (void *) dest
;
873 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
876 src
= (wxMouseEvent
*) ptr
;
877 dest
= (wxEvent
*) src
;
878 return (void *) dest
;
881 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
882 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
) {
883 PyObject
* _resultobj
;
885 wxMouseEvent
* _arg0
;
886 PyObject
* _argo0
= 0;
889 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_IsButton",&_argo0
))
892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
899 wxPy_BEGIN_ALLOW_THREADS
;
900 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
902 wxPy_END_ALLOW_THREADS
;
903 } _resultobj
= Py_BuildValue("i",_result
);
907 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
908 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
) {
909 PyObject
* _resultobj
;
911 wxMouseEvent
* _arg0
;
912 int _arg1
= (int ) -1;
913 PyObject
* _argo0
= 0;
916 if(!PyArg_ParseTuple(args
,"O|i:wxMouseEvent_ButtonDown",&_argo0
,&_arg1
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
926 wxPy_BEGIN_ALLOW_THREADS
;
927 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
929 wxPy_END_ALLOW_THREADS
;
930 } _resultobj
= Py_BuildValue("i",_result
);
934 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
935 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
) {
936 PyObject
* _resultobj
;
938 wxMouseEvent
* _arg0
;
939 int _arg1
= (int ) -1;
940 PyObject
* _argo0
= 0;
943 if(!PyArg_ParseTuple(args
,"O|i:wxMouseEvent_ButtonDClick",&_argo0
,&_arg1
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
953 wxPy_BEGIN_ALLOW_THREADS
;
954 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
956 wxPy_END_ALLOW_THREADS
;
957 } _resultobj
= Py_BuildValue("i",_result
);
961 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
962 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
) {
963 PyObject
* _resultobj
;
965 wxMouseEvent
* _arg0
;
966 int _arg1
= (int ) -1;
967 PyObject
* _argo0
= 0;
970 if(!PyArg_ParseTuple(args
,"O|i:wxMouseEvent_ButtonUp",&_argo0
,&_arg1
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
980 wxPy_BEGIN_ALLOW_THREADS
;
981 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
983 wxPy_END_ALLOW_THREADS
;
984 } _resultobj
= Py_BuildValue("i",_result
);
988 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
989 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
) {
990 PyObject
* _resultobj
;
992 wxMouseEvent
* _arg0
;
994 PyObject
* _argo0
= 0;
997 if(!PyArg_ParseTuple(args
,"Oi:wxMouseEvent_Button",&_argo0
,&_arg1
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1007 wxPy_BEGIN_ALLOW_THREADS
;
1008 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1010 wxPy_END_ALLOW_THREADS
;
1011 } _resultobj
= Py_BuildValue("i",_result
);
1015 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1016 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
) {
1017 PyObject
* _resultobj
;
1019 wxMouseEvent
* _arg0
;
1021 PyObject
* _argo0
= 0;
1024 if(!PyArg_ParseTuple(args
,"Oi:wxMouseEvent_ButtonIsDown",&_argo0
,&_arg1
))
1027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1034 wxPy_BEGIN_ALLOW_THREADS
;
1035 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1037 wxPy_END_ALLOW_THREADS
;
1038 } _resultobj
= Py_BuildValue("i",_result
);
1042 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1043 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
) {
1044 PyObject
* _resultobj
;
1046 wxMouseEvent
* _arg0
;
1047 PyObject
* _argo0
= 0;
1050 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_ControlDown",&_argo0
))
1053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1063 wxPy_END_ALLOW_THREADS
;
1064 } _resultobj
= Py_BuildValue("i",_result
);
1068 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1069 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
) {
1070 PyObject
* _resultobj
;
1072 wxMouseEvent
* _arg0
;
1073 PyObject
* _argo0
= 0;
1076 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_MetaDown",&_argo0
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1089 wxPy_END_ALLOW_THREADS
;
1090 } _resultobj
= Py_BuildValue("i",_result
);
1094 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1095 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
) {
1096 PyObject
* _resultobj
;
1098 wxMouseEvent
* _arg0
;
1099 PyObject
* _argo0
= 0;
1102 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_AltDown",&_argo0
))
1105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1112 wxPy_BEGIN_ALLOW_THREADS
;
1113 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1115 wxPy_END_ALLOW_THREADS
;
1116 } _resultobj
= Py_BuildValue("i",_result
);
1120 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1121 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
) {
1122 PyObject
* _resultobj
;
1124 wxMouseEvent
* _arg0
;
1125 PyObject
* _argo0
= 0;
1128 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_ShiftDown",&_argo0
))
1131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1138 wxPy_BEGIN_ALLOW_THREADS
;
1139 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1141 wxPy_END_ALLOW_THREADS
;
1142 } _resultobj
= Py_BuildValue("i",_result
);
1146 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1147 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
) {
1148 PyObject
* _resultobj
;
1150 wxMouseEvent
* _arg0
;
1151 PyObject
* _argo0
= 0;
1154 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_LeftDown",&_argo0
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1167 wxPy_END_ALLOW_THREADS
;
1168 } _resultobj
= Py_BuildValue("i",_result
);
1172 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1173 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
) {
1174 PyObject
* _resultobj
;
1176 wxMouseEvent
* _arg0
;
1177 PyObject
* _argo0
= 0;
1180 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_MiddleDown",&_argo0
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1190 wxPy_BEGIN_ALLOW_THREADS
;
1191 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1193 wxPy_END_ALLOW_THREADS
;
1194 } _resultobj
= Py_BuildValue("i",_result
);
1198 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1199 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
) {
1200 PyObject
* _resultobj
;
1202 wxMouseEvent
* _arg0
;
1203 PyObject
* _argo0
= 0;
1206 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_RightDown",&_argo0
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1219 wxPy_END_ALLOW_THREADS
;
1220 } _resultobj
= Py_BuildValue("i",_result
);
1224 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1225 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
) {
1226 PyObject
* _resultobj
;
1228 wxMouseEvent
* _arg0
;
1229 PyObject
* _argo0
= 0;
1232 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_LeftUp",&_argo0
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1245 wxPy_END_ALLOW_THREADS
;
1246 } _resultobj
= Py_BuildValue("i",_result
);
1250 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1251 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
) {
1252 PyObject
* _resultobj
;
1254 wxMouseEvent
* _arg0
;
1255 PyObject
* _argo0
= 0;
1258 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_MiddleUp",&_argo0
))
1261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1268 wxPy_BEGIN_ALLOW_THREADS
;
1269 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1271 wxPy_END_ALLOW_THREADS
;
1272 } _resultobj
= Py_BuildValue("i",_result
);
1276 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1277 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
) {
1278 PyObject
* _resultobj
;
1280 wxMouseEvent
* _arg0
;
1281 PyObject
* _argo0
= 0;
1284 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_RightUp",&_argo0
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1294 wxPy_BEGIN_ALLOW_THREADS
;
1295 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1297 wxPy_END_ALLOW_THREADS
;
1298 } _resultobj
= Py_BuildValue("i",_result
);
1302 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1303 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
) {
1304 PyObject
* _resultobj
;
1306 wxMouseEvent
* _arg0
;
1307 PyObject
* _argo0
= 0;
1310 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_LeftDClick",&_argo0
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1320 wxPy_BEGIN_ALLOW_THREADS
;
1321 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1323 wxPy_END_ALLOW_THREADS
;
1324 } _resultobj
= Py_BuildValue("i",_result
);
1328 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1329 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
) {
1330 PyObject
* _resultobj
;
1332 wxMouseEvent
* _arg0
;
1333 PyObject
* _argo0
= 0;
1336 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_MiddleDClick",&_argo0
))
1339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1346 wxPy_BEGIN_ALLOW_THREADS
;
1347 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1349 wxPy_END_ALLOW_THREADS
;
1350 } _resultobj
= Py_BuildValue("i",_result
);
1354 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1355 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
) {
1356 PyObject
* _resultobj
;
1358 wxMouseEvent
* _arg0
;
1359 PyObject
* _argo0
= 0;
1362 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_RightDClick",&_argo0
))
1365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1375 wxPy_END_ALLOW_THREADS
;
1376 } _resultobj
= Py_BuildValue("i",_result
);
1380 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1381 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
) {
1382 PyObject
* _resultobj
;
1384 wxMouseEvent
* _arg0
;
1385 PyObject
* _argo0
= 0;
1388 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_LeftIsDown",&_argo0
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1398 wxPy_BEGIN_ALLOW_THREADS
;
1399 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1401 wxPy_END_ALLOW_THREADS
;
1402 } _resultobj
= Py_BuildValue("i",_result
);
1406 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1407 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
) {
1408 PyObject
* _resultobj
;
1410 wxMouseEvent
* _arg0
;
1411 PyObject
* _argo0
= 0;
1414 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_MiddleIsDown",&_argo0
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1424 wxPy_BEGIN_ALLOW_THREADS
;
1425 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1427 wxPy_END_ALLOW_THREADS
;
1428 } _resultobj
= Py_BuildValue("i",_result
);
1432 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1433 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
) {
1434 PyObject
* _resultobj
;
1436 wxMouseEvent
* _arg0
;
1437 PyObject
* _argo0
= 0;
1440 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_RightIsDown",&_argo0
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1453 wxPy_END_ALLOW_THREADS
;
1454 } _resultobj
= Py_BuildValue("i",_result
);
1458 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1459 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
) {
1460 PyObject
* _resultobj
;
1462 wxMouseEvent
* _arg0
;
1463 PyObject
* _argo0
= 0;
1466 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_Dragging",&_argo0
))
1469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1476 wxPy_BEGIN_ALLOW_THREADS
;
1477 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1479 wxPy_END_ALLOW_THREADS
;
1480 } _resultobj
= Py_BuildValue("i",_result
);
1484 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1485 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
) {
1486 PyObject
* _resultobj
;
1488 wxMouseEvent
* _arg0
;
1489 PyObject
* _argo0
= 0;
1492 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_Moving",&_argo0
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } _resultobj
= Py_BuildValue("i",_result
);
1510 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1511 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
) {
1512 PyObject
* _resultobj
;
1514 wxMouseEvent
* _arg0
;
1515 PyObject
* _argo0
= 0;
1518 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_Entering",&_argo0
))
1521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 _result
= (bool )wxMouseEvent_Entering(_arg0
);
1531 wxPy_END_ALLOW_THREADS
;
1532 } _resultobj
= Py_BuildValue("i",_result
);
1536 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1537 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
) {
1538 PyObject
* _resultobj
;
1540 wxMouseEvent
* _arg0
;
1541 PyObject
* _argo0
= 0;
1544 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_Leaving",&_argo0
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1554 wxPy_BEGIN_ALLOW_THREADS
;
1555 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
1557 wxPy_END_ALLOW_THREADS
;
1558 } _resultobj
= Py_BuildValue("i",_result
);
1562 #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1563 static PyObject
*_wrap_wxMouseEvent_Position(PyObject
*self
, PyObject
*args
) {
1564 PyObject
* _resultobj
;
1565 wxMouseEvent
* _arg0
;
1570 PyObject
* _argo0
= 0;
1579 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_Position",&_argo0
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 wxMouseEvent_Position(_arg0
,_arg1
,_arg2
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } Py_INCREF(Py_None
);
1594 _resultobj
= Py_None
;
1597 o
= PyInt_FromLong((long) (*_arg1
));
1598 _resultobj
= t_output_helper(_resultobj
, o
);
1602 o
= PyInt_FromLong((long) (*_arg2
));
1603 _resultobj
= t_output_helper(_resultobj
, o
);
1608 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1609 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
1610 PyObject
* _resultobj
;
1612 wxMouseEvent
* _arg0
;
1613 PyObject
* _argo0
= 0;
1617 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_GetPosition",&_argo0
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
1630 wxPy_END_ALLOW_THREADS
;
1631 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1632 _resultobj
= Py_BuildValue("s",_ptemp
);
1636 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1637 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
) {
1638 PyObject
* _resultobj
;
1640 wxMouseEvent
* _arg0
;
1642 PyObject
* _argo0
= 0;
1643 PyObject
* _argo1
= 0;
1647 if(!PyArg_ParseTuple(args
,"OO:wxMouseEvent_GetLogicalPosition",&_argo0
,&_argo1
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
1657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
1664 wxPy_BEGIN_ALLOW_THREADS
;
1665 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
1667 wxPy_END_ALLOW_THREADS
;
1668 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1669 _resultobj
= Py_BuildValue("s",_ptemp
);
1673 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
1674 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
) {
1675 PyObject
* _resultobj
;
1677 wxMouseEvent
* _arg0
;
1678 PyObject
* _argo0
= 0;
1681 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_GetX",&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (long )wxMouseEvent_GetX(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 } _resultobj
= Py_BuildValue("l",_result
);
1699 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
1700 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
) {
1701 PyObject
* _resultobj
;
1703 wxMouseEvent
* _arg0
;
1704 PyObject
* _argo0
= 0;
1707 if(!PyArg_ParseTuple(args
,"O:wxMouseEvent_GetY",&_argo0
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
1717 wxPy_BEGIN_ALLOW_THREADS
;
1718 _result
= (long )wxMouseEvent_GetY(_arg0
);
1720 wxPy_END_ALLOW_THREADS
;
1721 } _resultobj
= Py_BuildValue("l",_result
);
1725 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
1728 src
= (wxKeyEvent
*) ptr
;
1729 dest
= (wxEvent
*) src
;
1730 return (void *) dest
;
1733 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1734 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
) {
1735 PyObject
* _resultobj
;
1738 PyObject
* _argo0
= 0;
1741 if(!PyArg_ParseTuple(args
,"O:wxKeyEvent_ControlDown",&_argo0
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
1754 wxPy_END_ALLOW_THREADS
;
1755 } _resultobj
= Py_BuildValue("i",_result
);
1759 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1760 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
) {
1761 PyObject
* _resultobj
;
1764 PyObject
* _argo0
= 0;
1767 if(!PyArg_ParseTuple(args
,"O:wxKeyEvent_MetaDown",&_argo0
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
1780 wxPy_END_ALLOW_THREADS
;
1781 } _resultobj
= Py_BuildValue("i",_result
);
1785 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
1786 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
) {
1787 PyObject
* _resultobj
;
1790 PyObject
* _argo0
= 0;
1793 if(!PyArg_ParseTuple(args
,"O:wxKeyEvent_AltDown",&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
1803 wxPy_BEGIN_ALLOW_THREADS
;
1804 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
1806 wxPy_END_ALLOW_THREADS
;
1807 } _resultobj
= Py_BuildValue("i",_result
);
1811 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1812 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
) {
1813 PyObject
* _resultobj
;
1816 PyObject
* _argo0
= 0;
1819 if(!PyArg_ParseTuple(args
,"O:wxKeyEvent_ShiftDown",&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
1832 wxPy_END_ALLOW_THREADS
;
1833 } _resultobj
= Py_BuildValue("i",_result
);
1837 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
1838 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
) {
1839 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1845 if(!PyArg_ParseTuple(args
,"O:wxKeyEvent_KeyCode",&_argo0
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
1858 wxPy_END_ALLOW_THREADS
;
1859 } _resultobj
= Py_BuildValue("l",_result
);
1863 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
1866 src
= (wxMoveEvent
*) ptr
;
1867 dest
= (wxEvent
*) src
;
1868 return (void *) dest
;
1871 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1872 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
1873 PyObject
* _resultobj
;
1875 wxMoveEvent
* _arg0
;
1876 PyObject
* _argo0
= 0;
1880 if(!PyArg_ParseTuple(args
,"O:wxMoveEvent_GetPosition",&_argo0
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
1893 wxPy_END_ALLOW_THREADS
;
1894 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1895 _resultobj
= Py_BuildValue("s",_ptemp
);
1899 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
1902 src
= (wxPaintEvent
*) ptr
;
1903 dest
= (wxEvent
*) src
;
1904 return (void *) dest
;
1907 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
1910 src
= (wxEraseEvent
*) ptr
;
1911 dest
= (wxEvent
*) src
;
1912 return (void *) dest
;
1915 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
1916 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
) {
1917 PyObject
* _resultobj
;
1919 wxEraseEvent
* _arg0
;
1920 PyObject
* _argo0
= 0;
1924 if(!PyArg_ParseTuple(args
,"O:wxEraseEvent_GetDC",&_argo0
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
1934 wxPy_BEGIN_ALLOW_THREADS
;
1935 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
1937 wxPy_END_ALLOW_THREADS
;
1939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
1940 _resultobj
= Py_BuildValue("s",_ptemp
);
1943 _resultobj
= Py_None
;
1948 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
1951 src
= (wxFocusEvent
*) ptr
;
1952 dest
= (wxEvent
*) src
;
1953 return (void *) dest
;
1956 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
1957 wxActivateEvent
*src
;
1959 src
= (wxActivateEvent
*) ptr
;
1960 dest
= (wxEvent
*) src
;
1961 return (void *) dest
;
1964 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
1965 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
) {
1966 PyObject
* _resultobj
;
1968 wxActivateEvent
* _arg0
;
1969 PyObject
* _argo0
= 0;
1972 if(!PyArg_ParseTuple(args
,"O:wxActivateEvent_GetActive",&_argo0
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
1985 wxPy_END_ALLOW_THREADS
;
1986 } _resultobj
= Py_BuildValue("i",_result
);
1990 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
1991 wxInitDialogEvent
*src
;
1993 src
= (wxInitDialogEvent
*) ptr
;
1994 dest
= (wxEvent
*) src
;
1995 return (void *) dest
;
1998 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
2001 src
= (wxMenuEvent
*) ptr
;
2002 dest
= (wxEvent
*) src
;
2003 return (void *) dest
;
2006 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
2007 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
) {
2008 PyObject
* _resultobj
;
2010 wxMenuEvent
* _arg0
;
2011 PyObject
* _argo0
= 0;
2014 if(!PyArg_ParseTuple(args
,"O:wxMenuEvent_GetMenuId",&_argo0
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
2024 wxPy_BEGIN_ALLOW_THREADS
;
2025 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
2027 wxPy_END_ALLOW_THREADS
;
2028 } _resultobj
= Py_BuildValue("i",_result
);
2032 static void *SwigwxShowEventTowxEvent(void *ptr
) {
2035 src
= (wxShowEvent
*) ptr
;
2036 dest
= (wxEvent
*) src
;
2037 return (void *) dest
;
2040 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
2041 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
) {
2042 PyObject
* _resultobj
;
2043 wxShowEvent
* _arg0
;
2045 PyObject
* _argo0
= 0;
2049 if(!PyArg_ParseTuple(args
,"Oi:wxShowEvent_SetShow",&_argo0
,&tempbool1
))
2052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
2058 _arg1
= (bool ) tempbool1
;
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 wxShowEvent_SetShow(_arg0
,_arg1
);
2063 wxPy_END_ALLOW_THREADS
;
2064 } Py_INCREF(Py_None
);
2065 _resultobj
= Py_None
;
2069 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
2070 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
) {
2071 PyObject
* _resultobj
;
2073 wxShowEvent
* _arg0
;
2074 PyObject
* _argo0
= 0;
2077 if(!PyArg_ParseTuple(args
,"O:wxShowEvent_GetShow",&_argo0
))
2080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
2087 wxPy_BEGIN_ALLOW_THREADS
;
2088 _result
= (bool )wxShowEvent_GetShow(_arg0
);
2090 wxPy_END_ALLOW_THREADS
;
2091 } _resultobj
= Py_BuildValue("i",_result
);
2095 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
2096 wxIconizeEvent
*src
;
2098 src
= (wxIconizeEvent
*) ptr
;
2099 dest
= (wxEvent
*) src
;
2100 return (void *) dest
;
2103 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
2104 wxMaximizeEvent
*src
;
2106 src
= (wxMaximizeEvent
*) ptr
;
2107 dest
= (wxEvent
*) src
;
2108 return (void *) dest
;
2111 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
2112 wxJoystickEvent
*src
;
2114 src
= (wxJoystickEvent
*) ptr
;
2115 dest
= (wxEvent
*) src
;
2116 return (void *) dest
;
2119 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2120 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
2121 PyObject
* _resultobj
;
2123 wxJoystickEvent
* _arg0
;
2124 PyObject
* _argo0
= 0;
2128 if(!PyArg_ParseTuple(args
,"O:wxJoystickEvent_GetPosition",&_argo0
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
2141 wxPy_END_ALLOW_THREADS
;
2142 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2143 _resultobj
= Py_BuildValue("s",_ptemp
);
2147 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
2148 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
) {
2149 PyObject
* _resultobj
;
2151 wxJoystickEvent
* _arg0
;
2152 PyObject
* _argo0
= 0;
2155 if(!PyArg_ParseTuple(args
,"O:wxJoystickEvent_GetZPosition",&_argo0
))
2158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
2165 wxPy_BEGIN_ALLOW_THREADS
;
2166 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
2168 wxPy_END_ALLOW_THREADS
;
2169 } _resultobj
= Py_BuildValue("i",_result
);
2173 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
2174 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
) {
2175 PyObject
* _resultobj
;
2177 wxJoystickEvent
* _arg0
;
2178 PyObject
* _argo0
= 0;
2181 if(!PyArg_ParseTuple(args
,"O:wxJoystickEvent_GetButtonState",&_argo0
))
2184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
2191 wxPy_BEGIN_ALLOW_THREADS
;
2192 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
2194 wxPy_END_ALLOW_THREADS
;
2195 } _resultobj
= Py_BuildValue("i",_result
);
2199 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
2200 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
) {
2201 PyObject
* _resultobj
;
2203 wxJoystickEvent
* _arg0
;
2204 PyObject
* _argo0
= 0;
2207 if(!PyArg_ParseTuple(args
,"O:wxJoystickEvent_GetButtonChange",&_argo0
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
2217 wxPy_BEGIN_ALLOW_THREADS
;
2218 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
2220 wxPy_END_ALLOW_THREADS
;
2221 } _resultobj
= Py_BuildValue("i",_result
);
2225 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
2226 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
) {
2227 PyObject
* _resultobj
;
2229 wxJoystickEvent
* _arg0
;
2230 PyObject
* _argo0
= 0;
2233 if(!PyArg_ParseTuple(args
,"O:wxJoystickEvent_GetJoystick",&_argo0
))
2236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
2243 wxPy_BEGIN_ALLOW_THREADS
;
2244 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
2246 wxPy_END_ALLOW_THREADS
;
2247 } _resultobj
= Py_BuildValue("i",_result
);
2251 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
2252 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
) {
2253 PyObject
* _resultobj
;
2254 wxJoystickEvent
* _arg0
;
2256 PyObject
* _argo0
= 0;
2259 if(!PyArg_ParseTuple(args
,"Oi:wxJoystickEvent_SetJoystick",&_argo0
,&_arg1
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
2269 wxPy_BEGIN_ALLOW_THREADS
;
2270 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
2272 wxPy_END_ALLOW_THREADS
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
2279 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
) {
2280 PyObject
* _resultobj
;
2281 wxJoystickEvent
* _arg0
;
2283 PyObject
* _argo0
= 0;
2286 if(!PyArg_ParseTuple(args
,"Oi:wxJoystickEvent_SetButtonState",&_argo0
,&_arg1
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
2299 wxPy_END_ALLOW_THREADS
;
2300 } Py_INCREF(Py_None
);
2301 _resultobj
= Py_None
;
2305 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
2306 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
) {
2307 PyObject
* _resultobj
;
2308 wxJoystickEvent
* _arg0
;
2310 PyObject
* _argo0
= 0;
2313 if(!PyArg_ParseTuple(args
,"Oi:wxJoystickEvent_SetButtonChange",&_argo0
,&_arg1
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
2323 wxPy_BEGIN_ALLOW_THREADS
;
2324 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
2326 wxPy_END_ALLOW_THREADS
;
2327 } Py_INCREF(Py_None
);
2328 _resultobj
= Py_None
;
2332 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2333 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
) {
2334 PyObject
* _resultobj
;
2335 wxJoystickEvent
* _arg0
;
2337 PyObject
* _argo0
= 0;
2338 PyObject
* _argo1
= 0;
2341 if(!PyArg_ParseTuple(args
,"OO:wxJoystickEvent_SetPosition",&_argo0
,&_argo1
))
2344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
2351 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p.");
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
2361 wxPy_END_ALLOW_THREADS
;
2362 } Py_INCREF(Py_None
);
2363 _resultobj
= Py_None
;
2367 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
2368 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
) {
2369 PyObject
* _resultobj
;
2370 wxJoystickEvent
* _arg0
;
2372 PyObject
* _argo0
= 0;
2375 if(!PyArg_ParseTuple(args
,"Oi:wxJoystickEvent_SetZPosition",&_argo0
,&_arg1
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
2385 wxPy_BEGIN_ALLOW_THREADS
;
2386 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
2388 wxPy_END_ALLOW_THREADS
;
2389 } Py_INCREF(Py_None
);
2390 _resultobj
= Py_None
;
2394 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
2395 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
) {
2396 PyObject
* _resultobj
;
2398 wxJoystickEvent
* _arg0
;
2399 PyObject
* _argo0
= 0;
2402 if(!PyArg_ParseTuple(args
,"O:wxJoystickEvent_IsButton",&_argo0
))
2405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
2412 wxPy_BEGIN_ALLOW_THREADS
;
2413 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
2415 wxPy_END_ALLOW_THREADS
;
2416 } _resultobj
= Py_BuildValue("i",_result
);
2420 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
2421 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
) {
2422 PyObject
* _resultobj
;
2424 wxJoystickEvent
* _arg0
;
2425 PyObject
* _argo0
= 0;
2428 if(!PyArg_ParseTuple(args
,"O:wxJoystickEvent_IsMove",&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
2441 wxPy_END_ALLOW_THREADS
;
2442 } _resultobj
= Py_BuildValue("i",_result
);
2446 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
2447 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
) {
2448 PyObject
* _resultobj
;
2450 wxJoystickEvent
* _arg0
;
2451 PyObject
* _argo0
= 0;
2454 if(!PyArg_ParseTuple(args
,"O:wxJoystickEvent_IsZMove",&_argo0
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
2464 wxPy_BEGIN_ALLOW_THREADS
;
2465 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
2467 wxPy_END_ALLOW_THREADS
;
2468 } _resultobj
= Py_BuildValue("i",_result
);
2472 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
2473 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
) {
2474 PyObject
* _resultobj
;
2476 wxJoystickEvent
* _arg0
;
2477 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
2478 PyObject
* _argo0
= 0;
2481 if(!PyArg_ParseTuple(args
,"O|i:wxJoystickEvent_ButtonDown",&_argo0
,&_arg1
))
2484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
2491 wxPy_BEGIN_ALLOW_THREADS
;
2492 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
2494 wxPy_END_ALLOW_THREADS
;
2495 } _resultobj
= Py_BuildValue("i",_result
);
2499 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
2500 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
) {
2501 PyObject
* _resultobj
;
2503 wxJoystickEvent
* _arg0
;
2504 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
2505 PyObject
* _argo0
= 0;
2508 if(!PyArg_ParseTuple(args
,"O|i:wxJoystickEvent_ButtonUp",&_argo0
,&_arg1
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
2518 wxPy_BEGIN_ALLOW_THREADS
;
2519 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
2521 wxPy_END_ALLOW_THREADS
;
2522 } _resultobj
= Py_BuildValue("i",_result
);
2526 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
2527 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
) {
2528 PyObject
* _resultobj
;
2530 wxJoystickEvent
* _arg0
;
2531 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
2532 PyObject
* _argo0
= 0;
2535 if(!PyArg_ParseTuple(args
,"O|i:wxJoystickEvent_ButtonIsDown",&_argo0
,&_arg1
))
2538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
2545 wxPy_BEGIN_ALLOW_THREADS
;
2546 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
2548 wxPy_END_ALLOW_THREADS
;
2549 } _resultobj
= Py_BuildValue("i",_result
);
2553 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
2554 wxDropFilesEvent
*src
;
2556 src
= (wxDropFilesEvent
*) ptr
;
2557 dest
= (wxEvent
*) src
;
2558 return (void *) dest
;
2561 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2562 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
2563 PyObject
* _resultobj
;
2565 wxDropFilesEvent
* _arg0
;
2566 PyObject
* _argo0
= 0;
2570 if(!PyArg_ParseTuple(args
,"O:wxDropFilesEvent_GetPosition",&_argo0
))
2573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
2580 wxPy_BEGIN_ALLOW_THREADS
;
2581 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
2583 wxPy_END_ALLOW_THREADS
;
2584 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2585 _resultobj
= Py_BuildValue("s",_ptemp
);
2589 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
2590 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
) {
2591 PyObject
* _resultobj
;
2593 wxDropFilesEvent
* _arg0
;
2594 PyObject
* _argo0
= 0;
2597 if(!PyArg_ParseTuple(args
,"O:wxDropFilesEvent_GetNumberOfFiles",&_argo0
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
2607 wxPy_BEGIN_ALLOW_THREADS
;
2608 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
2610 wxPy_END_ALLOW_THREADS
;
2611 } _resultobj
= Py_BuildValue("i",_result
);
2615 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
2616 int count
= self
->GetNumberOfFiles();
2617 wxString
* files
= self
->GetFiles();
2618 PyObject
* list
= PyList_New(count
);
2621 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2625 for (int i
=0; i
<count
; i
++) {
2626 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
2630 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
) {
2631 PyObject
* _resultobj
;
2633 wxDropFilesEvent
* _arg0
;
2634 PyObject
* _argo0
= 0;
2637 if(!PyArg_ParseTuple(args
,"O:wxDropFilesEvent_GetFiles",&_argo0
))
2640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
2647 wxPy_BEGIN_ALLOW_THREADS
;
2648 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
2650 wxPy_END_ALLOW_THREADS
;
2652 _resultobj
= _result
;
2657 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
2660 src
= (wxIdleEvent
*) ptr
;
2661 dest
= (wxEvent
*) src
;
2662 return (void *) dest
;
2665 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
2666 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
) {
2667 PyObject
* _resultobj
;
2668 wxIdleEvent
* _arg0
;
2669 bool _arg1
= (bool ) TRUE
;
2670 PyObject
* _argo0
= 0;
2671 int tempbool1
= (int) TRUE
;
2674 if(!PyArg_ParseTuple(args
,"O|i:wxIdleEvent_RequestMore",&_argo0
,&tempbool1
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
2683 _arg1
= (bool ) tempbool1
;
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 wxIdleEvent_RequestMore(_arg0
,_arg1
);
2688 wxPy_END_ALLOW_THREADS
;
2689 } Py_INCREF(Py_None
);
2690 _resultobj
= Py_None
;
2694 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
2695 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
) {
2696 PyObject
* _resultobj
;
2698 wxIdleEvent
* _arg0
;
2699 PyObject
* _argo0
= 0;
2702 if(!PyArg_ParseTuple(args
,"O:wxIdleEvent_MoreRequested",&_argo0
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
2712 wxPy_BEGIN_ALLOW_THREADS
;
2713 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
2715 wxPy_END_ALLOW_THREADS
;
2716 } _resultobj
= Py_BuildValue("i",_result
);
2720 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
2721 wxUpdateUIEvent
*src
;
2723 src
= (wxUpdateUIEvent
*) ptr
;
2724 dest
= (wxEvent
*) src
;
2725 return (void *) dest
;
2728 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
2729 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
) {
2730 PyObject
* _resultobj
;
2732 wxUpdateUIEvent
* _arg0
;
2733 PyObject
* _argo0
= 0;
2736 if(!PyArg_ParseTuple(args
,"O:wxUpdateUIEvent_GetChecked",&_argo0
))
2739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
2749 wxPy_END_ALLOW_THREADS
;
2750 } _resultobj
= Py_BuildValue("i",_result
);
2754 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
2755 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
) {
2756 PyObject
* _resultobj
;
2758 wxUpdateUIEvent
* _arg0
;
2759 PyObject
* _argo0
= 0;
2762 if(!PyArg_ParseTuple(args
,"O:wxUpdateUIEvent_GetEnabled",&_argo0
))
2765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
2775 wxPy_END_ALLOW_THREADS
;
2776 } _resultobj
= Py_BuildValue("i",_result
);
2780 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
2781 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
) {
2782 PyObject
* _resultobj
;
2784 wxUpdateUIEvent
* _arg0
;
2785 PyObject
* _argo0
= 0;
2788 if(!PyArg_ParseTuple(args
,"O:wxUpdateUIEvent_GetText",&_argo0
))
2791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
2798 wxPy_BEGIN_ALLOW_THREADS
;
2799 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
2801 wxPy_END_ALLOW_THREADS
;
2803 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2811 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
2812 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
) {
2813 PyObject
* _resultobj
;
2815 wxUpdateUIEvent
* _arg0
;
2816 PyObject
* _argo0
= 0;
2819 if(!PyArg_ParseTuple(args
,"O:wxUpdateUIEvent_GetSetText",&_argo0
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
2829 wxPy_BEGIN_ALLOW_THREADS
;
2830 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
2832 wxPy_END_ALLOW_THREADS
;
2833 } _resultobj
= Py_BuildValue("i",_result
);
2837 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
2838 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
) {
2839 PyObject
* _resultobj
;
2841 wxUpdateUIEvent
* _arg0
;
2842 PyObject
* _argo0
= 0;
2845 if(!PyArg_ParseTuple(args
,"O:wxUpdateUIEvent_GetSetChecked",&_argo0
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
2858 wxPy_END_ALLOW_THREADS
;
2859 } _resultobj
= Py_BuildValue("i",_result
);
2863 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
2864 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
) {
2865 PyObject
* _resultobj
;
2867 wxUpdateUIEvent
* _arg0
;
2868 PyObject
* _argo0
= 0;
2871 if(!PyArg_ParseTuple(args
,"O:wxUpdateUIEvent_GetSetEnabled",&_argo0
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
2881 wxPy_BEGIN_ALLOW_THREADS
;
2882 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
2884 wxPy_END_ALLOW_THREADS
;
2885 } _resultobj
= Py_BuildValue("i",_result
);
2889 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
2890 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
) {
2891 PyObject
* _resultobj
;
2892 wxUpdateUIEvent
* _arg0
;
2894 PyObject
* _argo0
= 0;
2898 if(!PyArg_ParseTuple(args
,"Oi:wxUpdateUIEvent_Check",&_argo0
,&tempbool1
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
2907 _arg1
= (bool ) tempbool1
;
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 wxUpdateUIEvent_Check(_arg0
,_arg1
);
2912 wxPy_END_ALLOW_THREADS
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
2919 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
) {
2920 PyObject
* _resultobj
;
2921 wxUpdateUIEvent
* _arg0
;
2923 PyObject
* _argo0
= 0;
2927 if(!PyArg_ParseTuple(args
,"Oi:wxUpdateUIEvent_Enable",&_argo0
,&tempbool1
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
2936 _arg1
= (bool ) tempbool1
;
2938 wxPy_BEGIN_ALLOW_THREADS
;
2939 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
2941 wxPy_END_ALLOW_THREADS
;
2942 } Py_INCREF(Py_None
);
2943 _resultobj
= Py_None
;
2947 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
2948 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
) {
2949 PyObject
* _resultobj
;
2950 wxUpdateUIEvent
* _arg0
;
2952 PyObject
* _argo0
= 0;
2953 PyObject
* _obj1
= 0;
2956 if(!PyArg_ParseTuple(args
,"OO:wxUpdateUIEvent_SetText",&_argo0
,&_obj1
))
2959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
2966 if (!PyString_Check(_obj1
)) {
2967 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2970 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2973 wxPy_BEGIN_ALLOW_THREADS
;
2974 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
2976 wxPy_END_ALLOW_THREADS
;
2977 } Py_INCREF(Py_None
);
2978 _resultobj
= Py_None
;
2986 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
2987 wxSysColourChangedEvent
*src
;
2989 src
= (wxSysColourChangedEvent
*) ptr
;
2990 dest
= (wxEvent
*) src
;
2991 return (void *) dest
;
2994 static void *SwigwxPyEventTowxCommandEvent(void *ptr
) {
2996 wxCommandEvent
*dest
;
2997 src
= (wxPyEvent
*) ptr
;
2998 dest
= (wxCommandEvent
*) src
;
2999 return (void *) dest
;
3002 static void *SwigwxPyEventTowxEvent(void *ptr
) {
3005 src
= (wxPyEvent
*) ptr
;
3006 dest
= (wxEvent
*) src
;
3007 return (void *) dest
;
3010 #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
3011 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
) {
3012 PyObject
* _resultobj
;
3013 wxPyEvent
* _result
;
3014 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
3015 PyObject
* _arg1
= (PyObject
*) Py_None
;
3016 PyObject
* _obj1
= 0;
3020 if(!PyArg_ParseTuple(args
,"|iO:new_wxPyEvent",&_arg0
,&_obj1
))
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
,_arg1
);
3030 wxPy_END_ALLOW_THREADS
;
3032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
3033 _resultobj
= Py_BuildValue("s",_ptemp
);
3036 _resultobj
= Py_None
;
3041 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
3042 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
) {
3043 PyObject
* _resultobj
;
3045 PyObject
* _argo0
= 0;
3048 if(!PyArg_ParseTuple(args
,"O:delete_wxPyEvent",&_argo0
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
3058 wxPy_BEGIN_ALLOW_THREADS
;
3059 delete_wxPyEvent(_arg0
);
3061 wxPy_END_ALLOW_THREADS
;
3062 } Py_INCREF(Py_None
);
3063 _resultobj
= Py_None
;
3067 #define wxPyEvent_SetUserData(_swigobj,_swigarg0) (_swigobj->SetUserData(_swigarg0))
3068 static PyObject
*_wrap_wxPyEvent_SetUserData(PyObject
*self
, PyObject
*args
) {
3069 PyObject
* _resultobj
;
3072 PyObject
* _argo0
= 0;
3073 PyObject
* _obj1
= 0;
3076 if(!PyArg_ParseTuple(args
,"OO:wxPyEvent_SetUserData",&_argo0
,&_obj1
))
3079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetUserData. Expected _wxPyEvent_p.");
3089 wxPy_BEGIN_ALLOW_THREADS
;
3090 wxPyEvent_SetUserData(_arg0
,_arg1
);
3092 wxPy_END_ALLOW_THREADS
;
3093 } Py_INCREF(Py_None
);
3094 _resultobj
= Py_None
;
3098 #define wxPyEvent_GetUserData(_swigobj) (_swigobj->GetUserData())
3099 static PyObject
*_wrap_wxPyEvent_GetUserData(PyObject
*self
, PyObject
*args
) {
3100 PyObject
* _resultobj
;
3103 PyObject
* _argo0
= 0;
3106 if(!PyArg_ParseTuple(args
,"O:wxPyEvent_GetUserData",&_argo0
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetUserData. Expected _wxPyEvent_p.");
3116 wxPy_BEGIN_ALLOW_THREADS
;
3117 _result
= (PyObject
*)wxPyEvent_GetUserData(_arg0
);
3119 wxPy_END_ALLOW_THREADS
;
3121 _resultobj
= _result
;
3126 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
3128 wxCommandEvent
*dest
;
3129 src
= (wxNotifyEvent
*) ptr
;
3130 dest
= (wxCommandEvent
*) src
;
3131 return (void *) dest
;
3134 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
3137 src
= (wxNotifyEvent
*) ptr
;
3138 dest
= (wxEvent
*) src
;
3139 return (void *) dest
;
3142 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
3143 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
) {
3144 PyObject
* _resultobj
;
3146 wxNotifyEvent
* _arg0
;
3147 PyObject
* _argo0
= 0;
3150 if(!PyArg_ParseTuple(args
,"O:wxNotifyEvent_IsAllowed",&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } _resultobj
= Py_BuildValue("i",_result
);
3168 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
3169 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
) {
3170 PyObject
* _resultobj
;
3171 wxNotifyEvent
* _arg0
;
3172 PyObject
* _argo0
= 0;
3175 if(!PyArg_ParseTuple(args
,"O:wxNotifyEvent_Veto",&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
3185 wxPy_BEGIN_ALLOW_THREADS
;
3186 wxNotifyEvent_Veto(_arg0
);
3188 wxPy_END_ALLOW_THREADS
;
3189 } Py_INCREF(Py_None
);
3190 _resultobj
= Py_None
;
3194 static PyMethodDef eventscMethods
[] = {
3195 { "wxNotifyEvent_Veto", _wrap_wxNotifyEvent_Veto
, METH_VARARGS
},
3196 { "wxNotifyEvent_IsAllowed", _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
},
3197 { "wxPyEvent_GetUserData", _wrap_wxPyEvent_GetUserData
, METH_VARARGS
},
3198 { "wxPyEvent_SetUserData", _wrap_wxPyEvent_SetUserData
, METH_VARARGS
},
3199 { "delete_wxPyEvent", _wrap_delete_wxPyEvent
, METH_VARARGS
},
3200 { "new_wxPyEvent", _wrap_new_wxPyEvent
, METH_VARARGS
},
3201 { "wxUpdateUIEvent_SetText", _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
},
3202 { "wxUpdateUIEvent_Enable", _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
},
3203 { "wxUpdateUIEvent_Check", _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
},
3204 { "wxUpdateUIEvent_GetSetEnabled", _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
},
3205 { "wxUpdateUIEvent_GetSetChecked", _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
},
3206 { "wxUpdateUIEvent_GetSetText", _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
},
3207 { "wxUpdateUIEvent_GetText", _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
},
3208 { "wxUpdateUIEvent_GetEnabled", _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
},
3209 { "wxUpdateUIEvent_GetChecked", _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
},
3210 { "wxIdleEvent_MoreRequested", _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
},
3211 { "wxIdleEvent_RequestMore", _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
},
3212 { "wxDropFilesEvent_GetFiles", _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
},
3213 { "wxDropFilesEvent_GetNumberOfFiles", _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
},
3214 { "wxDropFilesEvent_GetPosition", _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
},
3215 { "wxJoystickEvent_ButtonIsDown", _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
},
3216 { "wxJoystickEvent_ButtonUp", _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
},
3217 { "wxJoystickEvent_ButtonDown", _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
},
3218 { "wxJoystickEvent_IsZMove", _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
},
3219 { "wxJoystickEvent_IsMove", _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
},
3220 { "wxJoystickEvent_IsButton", _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
},
3221 { "wxJoystickEvent_SetZPosition", _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
},
3222 { "wxJoystickEvent_SetPosition", _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
},
3223 { "wxJoystickEvent_SetButtonChange", _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
},
3224 { "wxJoystickEvent_SetButtonState", _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
},
3225 { "wxJoystickEvent_SetJoystick", _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
},
3226 { "wxJoystickEvent_GetJoystick", _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
},
3227 { "wxJoystickEvent_GetButtonChange", _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
},
3228 { "wxJoystickEvent_GetButtonState", _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
},
3229 { "wxJoystickEvent_GetZPosition", _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
},
3230 { "wxJoystickEvent_GetPosition", _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
},
3231 { "wxShowEvent_GetShow", _wrap_wxShowEvent_GetShow
, METH_VARARGS
},
3232 { "wxShowEvent_SetShow", _wrap_wxShowEvent_SetShow
, METH_VARARGS
},
3233 { "wxMenuEvent_GetMenuId", _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
},
3234 { "wxActivateEvent_GetActive", _wrap_wxActivateEvent_GetActive
, METH_VARARGS
},
3235 { "wxEraseEvent_GetDC", _wrap_wxEraseEvent_GetDC
, METH_VARARGS
},
3236 { "wxMoveEvent_GetPosition", _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
},
3237 { "wxKeyEvent_KeyCode", _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
},
3238 { "wxKeyEvent_ShiftDown", _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
},
3239 { "wxKeyEvent_AltDown", _wrap_wxKeyEvent_AltDown
, METH_VARARGS
},
3240 { "wxKeyEvent_MetaDown", _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
},
3241 { "wxKeyEvent_ControlDown", _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
},
3242 { "wxMouseEvent_GetY", _wrap_wxMouseEvent_GetY
, METH_VARARGS
},
3243 { "wxMouseEvent_GetX", _wrap_wxMouseEvent_GetX
, METH_VARARGS
},
3244 { "wxMouseEvent_GetLogicalPosition", _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
},
3245 { "wxMouseEvent_GetPosition", _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
},
3246 { "wxMouseEvent_Position", _wrap_wxMouseEvent_Position
, METH_VARARGS
},
3247 { "wxMouseEvent_Leaving", _wrap_wxMouseEvent_Leaving
, METH_VARARGS
},
3248 { "wxMouseEvent_Entering", _wrap_wxMouseEvent_Entering
, METH_VARARGS
},
3249 { "wxMouseEvent_Moving", _wrap_wxMouseEvent_Moving
, METH_VARARGS
},
3250 { "wxMouseEvent_Dragging", _wrap_wxMouseEvent_Dragging
, METH_VARARGS
},
3251 { "wxMouseEvent_RightIsDown", _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
},
3252 { "wxMouseEvent_MiddleIsDown", _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
},
3253 { "wxMouseEvent_LeftIsDown", _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
},
3254 { "wxMouseEvent_RightDClick", _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
},
3255 { "wxMouseEvent_MiddleDClick", _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
},
3256 { "wxMouseEvent_LeftDClick", _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
},
3257 { "wxMouseEvent_RightUp", _wrap_wxMouseEvent_RightUp
, METH_VARARGS
},
3258 { "wxMouseEvent_MiddleUp", _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
},
3259 { "wxMouseEvent_LeftUp", _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
},
3260 { "wxMouseEvent_RightDown", _wrap_wxMouseEvent_RightDown
, METH_VARARGS
},
3261 { "wxMouseEvent_MiddleDown", _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
},
3262 { "wxMouseEvent_LeftDown", _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
},
3263 { "wxMouseEvent_ShiftDown", _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
},
3264 { "wxMouseEvent_AltDown", _wrap_wxMouseEvent_AltDown
, METH_VARARGS
},
3265 { "wxMouseEvent_MetaDown", _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
},
3266 { "wxMouseEvent_ControlDown", _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
},
3267 { "wxMouseEvent_ButtonIsDown", _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
},
3268 { "wxMouseEvent_Button", _wrap_wxMouseEvent_Button
, METH_VARARGS
},
3269 { "wxMouseEvent_ButtonUp", _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
},
3270 { "wxMouseEvent_ButtonDClick", _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
},
3271 { "wxMouseEvent_ButtonDown", _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
},
3272 { "wxMouseEvent_IsButton", _wrap_wxMouseEvent_IsButton
, METH_VARARGS
},
3273 { "wxScrollEvent_GetPosition", _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
},
3274 { "wxScrollEvent_GetOrientation", _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
},
3275 { "wxCommandEvent_IsSelection", _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
},
3276 { "wxCommandEvent_GetString", _wrap_wxCommandEvent_GetString
, METH_VARARGS
},
3277 { "wxCommandEvent_GetSelection", _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
},
3278 { "wxCommandEvent_GetInt", _wrap_wxCommandEvent_GetInt
, METH_VARARGS
},
3279 { "wxCommandEvent_GetExtraLong", _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
},
3280 { "wxCommandEvent_Checked", _wrap_wxCommandEvent_Checked
, METH_VARARGS
},
3281 { "wxCloseEvent_SetCanVeto", _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
},
3282 { "wxCloseEvent_GetVeto", _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
},
3283 { "wxCloseEvent_CanVeto", _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
},
3284 { "wxCloseEvent_Veto", _wrap_wxCloseEvent_Veto
, METH_VARARGS
},
3285 { "wxCloseEvent_GetLoggingOff", _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
},
3286 { "wxCloseEvent_SetLoggingOff", _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
},
3287 { "wxSizeEvent_GetSize", _wrap_wxSizeEvent_GetSize
, METH_VARARGS
},
3288 { "wxEvent_Skip", _wrap_wxEvent_Skip
, METH_VARARGS
},
3289 { "wxEvent_SetTimestamp", _wrap_wxEvent_SetTimestamp
, METH_VARARGS
},
3290 { "wxEvent_SetId", _wrap_wxEvent_SetId
, METH_VARARGS
},
3291 { "wxEvent_SetEventType", _wrap_wxEvent_SetEventType
, METH_VARARGS
},
3292 { "wxEvent_SetEventObject", _wrap_wxEvent_SetEventObject
, METH_VARARGS
},
3293 { "wxEvent_GetTimestamp", _wrap_wxEvent_GetTimestamp
, METH_VARARGS
},
3294 { "wxEvent_GetSkipped", _wrap_wxEvent_GetSkipped
, METH_VARARGS
},
3295 { "wxEvent_GetId", _wrap_wxEvent_GetId
, METH_VARARGS
},
3296 { "wxEvent_GetEventType", _wrap_wxEvent_GetEventType
, METH_VARARGS
},
3297 { "wxEvent_GetEventObject", _wrap_wxEvent_GetEventObject
, METH_VARARGS
},
3304 * This table is used by the pointer type-checker
3306 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3307 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3308 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3309 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3310 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
3311 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
3312 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3313 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3314 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3315 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3316 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3317 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3318 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3319 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3320 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3321 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3322 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3323 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3324 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3325 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3326 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
3327 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
3328 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3329 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3330 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3331 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3332 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3333 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3334 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3335 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3336 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3337 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3338 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3339 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3340 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3341 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3342 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3343 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3344 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3345 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3346 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3347 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3348 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3349 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3350 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3351 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3352 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3353 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3354 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3355 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3356 { "_wxEvent","_class_wxEvent",0},
3357 { "_class_wxActivateEvent","_wxActivateEvent",0},
3358 { "_signed_long","_long",0},
3359 { "_wxMenuEvent","_class_wxMenuEvent",0},
3360 { "_wxPrintQuality","_int",0},
3361 { "_wxPrintQuality","_signed_int",0},
3362 { "_wxPrintQuality","_unsigned_int",0},
3363 { "_wxPrintQuality","_wxWindowID",0},
3364 { "_wxPrintQuality","_uint",0},
3365 { "_wxPrintQuality","_EBool",0},
3366 { "_wxPrintQuality","_size_t",0},
3367 { "_class_wxRegionIterator","_wxRegionIterator",0},
3368 { "_wxPaintEvent","_class_wxPaintEvent",0},
3369 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3370 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3371 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3372 { "_byte","_unsigned_char",0},
3373 { "_long","_unsigned_long",0},
3374 { "_long","_signed_long",0},
3375 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3376 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3377 { "_wxSpinEvent","_class_wxSpinEvent",0},
3378 { "_size_t","_wxPrintQuality",0},
3379 { "_size_t","_unsigned_int",0},
3380 { "_size_t","_int",0},
3381 { "_size_t","_wxWindowID",0},
3382 { "_size_t","_uint",0},
3383 { "_class_wxRealPoint","_wxRealPoint",0},
3384 { "_class_wxPaintEvent","_wxPaintEvent",0},
3385 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3386 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3387 { "_wxPyEvent","_class_wxPyEvent",0},
3388 { "_class_wxKeyEvent","_wxKeyEvent",0},
3389 { "_wxIdleEvent","_class_wxIdleEvent",0},
3390 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3391 { "_wxShowEvent","_class_wxShowEvent",0},
3392 { "_uint","_wxPrintQuality",0},
3393 { "_uint","_size_t",0},
3394 { "_uint","_unsigned_int",0},
3395 { "_uint","_int",0},
3396 { "_uint","_wxWindowID",0},
3397 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3398 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3399 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
3400 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
3401 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3402 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3403 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3404 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3405 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3406 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3407 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3408 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3409 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3410 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3411 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3412 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3413 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3414 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3415 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
3416 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
3417 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3418 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3419 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3420 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3421 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3422 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3423 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3424 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3425 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3426 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3427 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3428 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3429 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3430 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3431 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3432 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3433 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3434 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3435 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3436 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3437 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3438 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3439 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3440 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3441 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3442 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3443 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3444 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3445 { "_class_wxEvent","_wxEvent",0},
3446 { "_wxRect","_class_wxRect",0},
3447 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3448 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3449 { "_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent
},
3450 { "_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent
},
3451 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3452 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3453 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3454 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3455 { "_wxCommandEvent","_class_wxCommandEvent",0},
3456 { "_wxSizeEvent","_class_wxSizeEvent",0},
3457 { "_wxPoint","_class_wxPoint",0},
3458 { "_wxPyTimer","_class_wxPyTimer",0},
3459 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3460 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3461 { "_class_wxPyEvent","_wxPyEvent",0},
3462 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3463 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3464 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3465 { "_wxScrollEvent","_class_wxScrollEvent",0},
3466 { "_EBool","_wxPrintQuality",0},
3467 { "_EBool","_signed_int",0},
3468 { "_EBool","_int",0},
3469 { "_EBool","_wxWindowID",0},
3470 { "_class_wxRegion","_wxRegion",0},
3471 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3472 { "_wxCloseEvent","_class_wxCloseEvent",0},
3473 { "_unsigned_long","_long",0},
3474 { "_class_wxRect","_wxRect",0},
3475 { "_class_wxPyTimer","_wxPyTimer",0},
3476 { "_wxFocusEvent","_class_wxFocusEvent",0},
3477 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3478 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3479 { "_signed_int","_wxPrintQuality",0},
3480 { "_signed_int","_EBool",0},
3481 { "_signed_int","_wxWindowID",0},
3482 { "_signed_int","_int",0},
3483 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3484 { "_class_wxMoveEvent","_wxMoveEvent",0},
3485 { "_WXTYPE","_short",0},
3486 { "_WXTYPE","_signed_short",0},
3487 { "_WXTYPE","_unsigned_short",0},
3488 { "_unsigned_short","_WXTYPE",0},
3489 { "_unsigned_short","_short",0},
3490 { "_class_wxCloseEvent","_wxCloseEvent",0},
3491 { "_class_wxMenuEvent","_wxMenuEvent",0},
3492 { "_wxMouseEvent","_class_wxMouseEvent",0},
3493 { "_class_wxPoint","_wxPoint",0},
3494 { "_wxRealPoint","_class_wxRealPoint",0},
3495 { "_signed_short","_WXTYPE",0},
3496 { "_signed_short","_short",0},
3497 { "_class_wxFocusEvent","_wxFocusEvent",0},
3498 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3499 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3500 { "_unsigned_char","_byte",0},
3501 { "_unsigned_int","_wxPrintQuality",0},
3502 { "_unsigned_int","_size_t",0},
3503 { "_unsigned_int","_uint",0},
3504 { "_unsigned_int","_wxWindowID",0},
3505 { "_unsigned_int","_int",0},
3506 { "_short","_WXTYPE",0},
3507 { "_short","_unsigned_short",0},
3508 { "_short","_signed_short",0},
3509 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3510 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3511 { "_class_wxScrollEvent","_wxScrollEvent",0},
3512 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3513 { "_wxWindowID","_wxPrintQuality",0},
3514 { "_wxWindowID","_size_t",0},
3515 { "_wxWindowID","_EBool",0},
3516 { "_wxWindowID","_uint",0},
3517 { "_wxWindowID","_int",0},
3518 { "_wxWindowID","_signed_int",0},
3519 { "_wxWindowID","_unsigned_int",0},
3520 { "_int","_wxPrintQuality",0},
3521 { "_int","_size_t",0},
3522 { "_int","_EBool",0},
3523 { "_int","_uint",0},
3524 { "_int","_wxWindowID",0},
3525 { "_int","_unsigned_int",0},
3526 { "_int","_signed_int",0},
3527 { "_class_wxMouseEvent","_wxMouseEvent",0},
3528 { "_class_wxSpinEvent","_wxSpinEvent",0},
3529 { "_wxSize","_class_wxSize",0},
3530 { "_wxRegionIterator","_class_wxRegionIterator",0},
3531 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3532 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3533 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3534 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3535 { "_class_wxIdleEvent","_wxIdleEvent",0},
3536 { "_wxEraseEvent","_class_wxEraseEvent",0},
3537 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3538 { "_wxRegion","_class_wxRegion",0},
3539 { "_class_wxShowEvent","_wxShowEvent",0},
3540 { "_wxActivateEvent","_class_wxActivateEvent",0},
3541 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3542 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3543 { "_class_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent
},
3544 { "_class_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent
},
3545 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3546 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3547 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3548 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3549 { "_class_wxCommandEvent","_wxCommandEvent",0},
3550 { "_class_wxSizeEvent","_wxSizeEvent",0},
3551 { "_class_wxSize","_wxSize",0},
3552 { "_wxKeyEvent","_class_wxKeyEvent",0},
3553 { "_wxMoveEvent","_class_wxMoveEvent",0},
3554 { "_class_wxEraseEvent","_wxEraseEvent",0},
3557 static PyObject
*SWIG_globals
;
3561 SWIGEXPORT(void) initeventsc() {
3563 SWIG_globals
= SWIG_newvarlink();
3564 m
= Py_InitModule("eventsc", eventscMethods
);
3565 d
= PyModule_GetDict(m
);
3568 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3569 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);