2 * FILE : gtk/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 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";
118 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
119 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
) {
120 PyObject
* _resultobj
;
127 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetEventObject",&_argc0
))
130 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
136 wxPy_BEGIN_ALLOW_THREADS
;
137 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
139 wxPy_END_ALLOW_THREADS
;
140 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
141 _resultobj
= Py_BuildValue("s",_ptemp
);
145 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
146 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
) {
147 PyObject
* _resultobj
;
153 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetEventType",&_argc0
))
156 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
162 wxPy_BEGIN_ALLOW_THREADS
;
163 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
165 wxPy_END_ALLOW_THREADS
;
166 } _resultobj
= Py_BuildValue("i",_result
);
170 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
171 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
) {
172 PyObject
* _resultobj
;
178 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetId",&_argc0
))
181 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
187 wxPy_BEGIN_ALLOW_THREADS
;
188 _result
= (int )wxEvent_GetId(_arg0
);
190 wxPy_END_ALLOW_THREADS
;
191 } _resultobj
= Py_BuildValue("i",_result
);
195 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
196 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
) {
197 PyObject
* _resultobj
;
203 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetSkipped",&_argc0
))
206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
212 wxPy_BEGIN_ALLOW_THREADS
;
213 _result
= (bool )wxEvent_GetSkipped(_arg0
);
215 wxPy_END_ALLOW_THREADS
;
216 } _resultobj
= Py_BuildValue("i",_result
);
220 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
221 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
) {
222 PyObject
* _resultobj
;
228 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetTimestamp",&_argc0
))
231 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
237 wxPy_BEGIN_ALLOW_THREADS
;
238 _result
= (long )wxEvent_GetTimestamp(_arg0
);
240 wxPy_END_ALLOW_THREADS
;
241 } _resultobj
= Py_BuildValue("l",_result
);
245 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
246 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
) {
247 PyObject
* _resultobj
;
254 if(!PyArg_ParseTuple(args
,"ss:wxEvent_SetEventObject",&_argc0
,&_argc1
))
257 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
263 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxObject_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
269 wxPy_BEGIN_ALLOW_THREADS
;
270 wxEvent_SetEventObject(_arg0
,_arg1
);
272 wxPy_END_ALLOW_THREADS
;
273 } Py_INCREF(Py_None
);
274 _resultobj
= Py_None
;
278 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
279 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
) {
280 PyObject
* _resultobj
;
286 if(!PyArg_ParseTuple(args
,"si:wxEvent_SetEventType",&_argc0
,&_arg1
))
289 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
295 wxPy_BEGIN_ALLOW_THREADS
;
296 wxEvent_SetEventType(_arg0
,_arg1
);
298 wxPy_END_ALLOW_THREADS
;
299 } Py_INCREF(Py_None
);
300 _resultobj
= Py_None
;
304 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
305 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
) {
306 PyObject
* _resultobj
;
312 if(!PyArg_ParseTuple(args
,"si:wxEvent_SetId",&_argc0
,&_arg1
))
315 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
321 wxPy_BEGIN_ALLOW_THREADS
;
322 wxEvent_SetId(_arg0
,_arg1
);
324 wxPy_END_ALLOW_THREADS
;
325 } Py_INCREF(Py_None
);
326 _resultobj
= Py_None
;
330 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
331 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
) {
332 PyObject
* _resultobj
;
338 if(!PyArg_ParseTuple(args
,"sl:wxEvent_SetTimestamp",&_argc0
,&_arg1
))
341 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
347 wxPy_BEGIN_ALLOW_THREADS
;
348 wxEvent_SetTimestamp(_arg0
,_arg1
);
350 wxPy_END_ALLOW_THREADS
;
351 } Py_INCREF(Py_None
);
352 _resultobj
= Py_None
;
356 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
357 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
) {
358 PyObject
* _resultobj
;
365 if(!PyArg_ParseTuple(args
,"s|i:wxEvent_Skip",&_argc0
,&tempbool1
))
368 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
373 _arg1
= (bool ) tempbool1
;
375 wxPy_BEGIN_ALLOW_THREADS
;
376 wxEvent_Skip(_arg0
,_arg1
);
378 wxPy_END_ALLOW_THREADS
;
379 } Py_INCREF(Py_None
);
380 _resultobj
= Py_None
;
384 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
387 src
= (wxSizeEvent
*) ptr
;
388 dest
= (wxEvent
*) src
;
389 return (void *) dest
;
392 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
393 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
) {
394 PyObject
* _resultobj
;
401 if(!PyArg_ParseTuple(args
,"s:wxSizeEvent_GetSize",&_argc0
))
404 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
410 wxPy_BEGIN_ALLOW_THREADS
;
411 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
413 wxPy_END_ALLOW_THREADS
;
414 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
415 _resultobj
= Py_BuildValue("s",_ptemp
);
419 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
422 src
= (wxCloseEvent
*) ptr
;
423 dest
= (wxEvent
*) src
;
424 return (void *) dest
;
427 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
428 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
) {
429 PyObject
* _resultobj
;
430 wxCloseEvent
* _arg0
;
436 if(!PyArg_ParseTuple(args
,"si:wxCloseEvent_SetLoggingOff",&_argc0
,&tempbool1
))
439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
444 _arg1
= (bool ) tempbool1
;
446 wxPy_BEGIN_ALLOW_THREADS
;
447 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
449 wxPy_END_ALLOW_THREADS
;
450 } Py_INCREF(Py_None
);
451 _resultobj
= Py_None
;
455 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
456 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
) {
457 PyObject
* _resultobj
;
459 wxCloseEvent
* _arg0
;
463 if(!PyArg_ParseTuple(args
,"s:wxCloseEvent_GetLoggingOff",&_argc0
))
466 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
472 wxPy_BEGIN_ALLOW_THREADS
;
473 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
475 wxPy_END_ALLOW_THREADS
;
476 } _resultobj
= Py_BuildValue("i",_result
);
480 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
481 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
) {
482 PyObject
* _resultobj
;
483 wxCloseEvent
* _arg0
;
489 if(!PyArg_ParseTuple(args
,"s|i:wxCloseEvent_Veto",&_argc0
,&tempbool1
))
492 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
497 _arg1
= (bool ) tempbool1
;
499 wxPy_BEGIN_ALLOW_THREADS
;
500 wxCloseEvent_Veto(_arg0
,_arg1
);
502 wxPy_END_ALLOW_THREADS
;
503 } Py_INCREF(Py_None
);
504 _resultobj
= Py_None
;
508 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
509 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
) {
510 PyObject
* _resultobj
;
512 wxCloseEvent
* _arg0
;
516 if(!PyArg_ParseTuple(args
,"s:wxCloseEvent_CanVeto",&_argc0
))
519 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
525 wxPy_BEGIN_ALLOW_THREADS
;
526 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
528 wxPy_END_ALLOW_THREADS
;
529 } _resultobj
= Py_BuildValue("i",_result
);
533 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
534 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
) {
535 PyObject
* _resultobj
;
537 wxCloseEvent
* _arg0
;
541 if(!PyArg_ParseTuple(args
,"s:wxCloseEvent_GetVeto",&_argc0
))
544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
550 wxPy_BEGIN_ALLOW_THREADS
;
551 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
553 wxPy_END_ALLOW_THREADS
;
554 } _resultobj
= Py_BuildValue("i",_result
);
558 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
559 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
) {
560 PyObject
* _resultobj
;
561 wxCloseEvent
* _arg0
;
567 if(!PyArg_ParseTuple(args
,"si:wxCloseEvent_SetCanVeto",&_argc0
,&tempbool1
))
570 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
575 _arg1
= (bool ) tempbool1
;
577 wxPy_BEGIN_ALLOW_THREADS
;
578 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
580 wxPy_END_ALLOW_THREADS
;
581 } Py_INCREF(Py_None
);
582 _resultobj
= Py_None
;
586 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
589 src
= (wxCommandEvent
*) ptr
;
590 dest
= (wxEvent
*) src
;
591 return (void *) dest
;
594 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
595 static PyObject
*_wrap_wxCommandEvent_Checked(PyObject
*self
, PyObject
*args
) {
596 PyObject
* _resultobj
;
598 wxCommandEvent
* _arg0
;
602 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_Checked",&_argc0
))
605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 _result
= (bool )wxCommandEvent_Checked(_arg0
);
614 wxPy_END_ALLOW_THREADS
;
615 } _resultobj
= Py_BuildValue("i",_result
);
619 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
620 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
) {
621 PyObject
* _resultobj
;
623 wxCommandEvent
* _arg0
;
627 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_GetExtraLong",&_argc0
))
630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
636 wxPy_BEGIN_ALLOW_THREADS
;
637 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
639 wxPy_END_ALLOW_THREADS
;
640 } _resultobj
= Py_BuildValue("l",_result
);
644 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
645 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
) {
646 PyObject
* _resultobj
;
648 wxCommandEvent
* _arg0
;
652 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_GetInt",&_argc0
))
655 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 _result
= (int )wxCommandEvent_GetInt(_arg0
);
664 wxPy_END_ALLOW_THREADS
;
665 } _resultobj
= Py_BuildValue("i",_result
);
669 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
670 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
) {
671 PyObject
* _resultobj
;
673 wxCommandEvent
* _arg0
;
677 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_GetSelection",&_argc0
))
680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
686 wxPy_BEGIN_ALLOW_THREADS
;
687 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
689 wxPy_END_ALLOW_THREADS
;
690 } _resultobj
= Py_BuildValue("i",_result
);
694 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
695 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
) {
696 PyObject
* _resultobj
;
698 wxCommandEvent
* _arg0
;
702 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_GetString",&_argc0
))
705 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
711 wxPy_BEGIN_ALLOW_THREADS
;
712 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
714 wxPy_END_ALLOW_THREADS
;
716 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
724 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
725 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
) {
726 PyObject
* _resultobj
;
728 wxCommandEvent
* _arg0
;
732 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_IsSelection",&_argc0
))
735 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
741 wxPy_BEGIN_ALLOW_THREADS
;
742 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
744 wxPy_END_ALLOW_THREADS
;
745 } _resultobj
= Py_BuildValue("i",_result
);
749 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
751 wxCommandEvent
*dest
;
752 src
= (wxScrollEvent
*) ptr
;
753 dest
= (wxCommandEvent
*) src
;
754 return (void *) dest
;
757 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
760 src
= (wxScrollEvent
*) ptr
;
761 dest
= (wxEvent
*) src
;
762 return (void *) dest
;
765 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
766 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
) {
767 PyObject
* _resultobj
;
769 wxScrollEvent
* _arg0
;
773 if(!PyArg_ParseTuple(args
,"s:wxScrollEvent_GetOrientation",&_argc0
))
776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
782 wxPy_BEGIN_ALLOW_THREADS
;
783 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
785 wxPy_END_ALLOW_THREADS
;
786 } _resultobj
= Py_BuildValue("i",_result
);
790 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
791 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
792 PyObject
* _resultobj
;
794 wxScrollEvent
* _arg0
;
798 if(!PyArg_ParseTuple(args
,"s:wxScrollEvent_GetPosition",&_argc0
))
801 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
807 wxPy_BEGIN_ALLOW_THREADS
;
808 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
810 wxPy_END_ALLOW_THREADS
;
811 } _resultobj
= Py_BuildValue("i",_result
);
815 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
818 src
= (wxSpinEvent
*) ptr
;
819 dest
= (wxScrollEvent
*) src
;
820 return (void *) dest
;
823 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
825 wxCommandEvent
*dest
;
826 src
= (wxSpinEvent
*) ptr
;
827 dest
= (wxCommandEvent
*) src
;
828 return (void *) dest
;
831 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
834 src
= (wxSpinEvent
*) ptr
;
835 dest
= (wxEvent
*) src
;
836 return (void *) dest
;
839 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
842 src
= (wxMouseEvent
*) ptr
;
843 dest
= (wxEvent
*) src
;
844 return (void *) dest
;
847 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
848 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
) {
849 PyObject
* _resultobj
;
851 wxMouseEvent
* _arg0
;
855 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_IsButton",&_argc0
))
858 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
864 wxPy_BEGIN_ALLOW_THREADS
;
865 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
867 wxPy_END_ALLOW_THREADS
;
868 } _resultobj
= Py_BuildValue("i",_result
);
872 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
873 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
) {
874 PyObject
* _resultobj
;
876 wxMouseEvent
* _arg0
;
881 if(!PyArg_ParseTuple(args
,"s|i:wxMouseEvent_ButtonDown",&_argc0
,&_arg1
))
884 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
890 wxPy_BEGIN_ALLOW_THREADS
;
891 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
893 wxPy_END_ALLOW_THREADS
;
894 } _resultobj
= Py_BuildValue("i",_result
);
898 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
899 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
) {
900 PyObject
* _resultobj
;
902 wxMouseEvent
* _arg0
;
907 if(!PyArg_ParseTuple(args
,"s|i:wxMouseEvent_ButtonDClick",&_argc0
,&_arg1
))
910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
916 wxPy_BEGIN_ALLOW_THREADS
;
917 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
919 wxPy_END_ALLOW_THREADS
;
920 } _resultobj
= Py_BuildValue("i",_result
);
924 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
925 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
) {
926 PyObject
* _resultobj
;
928 wxMouseEvent
* _arg0
;
933 if(!PyArg_ParseTuple(args
,"s|i:wxMouseEvent_ButtonUp",&_argc0
,&_arg1
))
936 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
942 wxPy_BEGIN_ALLOW_THREADS
;
943 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
945 wxPy_END_ALLOW_THREADS
;
946 } _resultobj
= Py_BuildValue("i",_result
);
950 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
951 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
) {
952 PyObject
* _resultobj
;
954 wxMouseEvent
* _arg0
;
959 if(!PyArg_ParseTuple(args
,"si:wxMouseEvent_Button",&_argc0
,&_arg1
))
962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
968 wxPy_BEGIN_ALLOW_THREADS
;
969 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
971 wxPy_END_ALLOW_THREADS
;
972 } _resultobj
= Py_BuildValue("i",_result
);
976 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
977 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
) {
978 PyObject
* _resultobj
;
980 wxMouseEvent
* _arg0
;
985 if(!PyArg_ParseTuple(args
,"si:wxMouseEvent_ButtonIsDown",&_argc0
,&_arg1
))
988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
994 wxPy_BEGIN_ALLOW_THREADS
;
995 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
997 wxPy_END_ALLOW_THREADS
;
998 } _resultobj
= Py_BuildValue("i",_result
);
1002 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1003 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
) {
1004 PyObject
* _resultobj
;
1006 wxMouseEvent
* _arg0
;
1010 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_ControlDown",&_argc0
))
1013 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1019 wxPy_BEGIN_ALLOW_THREADS
;
1020 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1022 wxPy_END_ALLOW_THREADS
;
1023 } _resultobj
= Py_BuildValue("i",_result
);
1027 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1028 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
) {
1029 PyObject
* _resultobj
;
1031 wxMouseEvent
* _arg0
;
1035 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MetaDown",&_argc0
))
1038 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } _resultobj
= Py_BuildValue("i",_result
);
1052 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1053 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
) {
1054 PyObject
* _resultobj
;
1056 wxMouseEvent
* _arg0
;
1060 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_AltDown",&_argc0
))
1063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1069 wxPy_BEGIN_ALLOW_THREADS
;
1070 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1072 wxPy_END_ALLOW_THREADS
;
1073 } _resultobj
= Py_BuildValue("i",_result
);
1077 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1078 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
) {
1079 PyObject
* _resultobj
;
1081 wxMouseEvent
* _arg0
;
1085 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_ShiftDown",&_argc0
))
1088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1097 wxPy_END_ALLOW_THREADS
;
1098 } _resultobj
= Py_BuildValue("i",_result
);
1102 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1103 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
) {
1104 PyObject
* _resultobj
;
1106 wxMouseEvent
* _arg0
;
1110 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_LeftDown",&_argc0
))
1113 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1119 wxPy_BEGIN_ALLOW_THREADS
;
1120 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1122 wxPy_END_ALLOW_THREADS
;
1123 } _resultobj
= Py_BuildValue("i",_result
);
1127 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1128 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
) {
1129 PyObject
* _resultobj
;
1131 wxMouseEvent
* _arg0
;
1135 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MiddleDown",&_argc0
))
1138 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1147 wxPy_END_ALLOW_THREADS
;
1148 } _resultobj
= Py_BuildValue("i",_result
);
1152 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1153 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
) {
1154 PyObject
* _resultobj
;
1156 wxMouseEvent
* _arg0
;
1160 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_RightDown",&_argc0
))
1163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1169 wxPy_BEGIN_ALLOW_THREADS
;
1170 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1172 wxPy_END_ALLOW_THREADS
;
1173 } _resultobj
= Py_BuildValue("i",_result
);
1177 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1178 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
) {
1179 PyObject
* _resultobj
;
1181 wxMouseEvent
* _arg0
;
1185 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_LeftUp",&_argc0
))
1188 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1197 wxPy_END_ALLOW_THREADS
;
1198 } _resultobj
= Py_BuildValue("i",_result
);
1202 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1203 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
) {
1204 PyObject
* _resultobj
;
1206 wxMouseEvent
* _arg0
;
1210 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MiddleUp",&_argc0
))
1213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1219 wxPy_BEGIN_ALLOW_THREADS
;
1220 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1222 wxPy_END_ALLOW_THREADS
;
1223 } _resultobj
= Py_BuildValue("i",_result
);
1227 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1228 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
) {
1229 PyObject
* _resultobj
;
1231 wxMouseEvent
* _arg0
;
1235 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_RightUp",&_argc0
))
1238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1247 wxPy_END_ALLOW_THREADS
;
1248 } _resultobj
= Py_BuildValue("i",_result
);
1252 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1253 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
) {
1254 PyObject
* _resultobj
;
1256 wxMouseEvent
* _arg0
;
1260 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_LeftDClick",&_argc0
))
1263 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1269 wxPy_BEGIN_ALLOW_THREADS
;
1270 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1272 wxPy_END_ALLOW_THREADS
;
1273 } _resultobj
= Py_BuildValue("i",_result
);
1277 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1278 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
) {
1279 PyObject
* _resultobj
;
1281 wxMouseEvent
* _arg0
;
1285 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MiddleDClick",&_argc0
))
1288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1294 wxPy_BEGIN_ALLOW_THREADS
;
1295 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1297 wxPy_END_ALLOW_THREADS
;
1298 } _resultobj
= Py_BuildValue("i",_result
);
1302 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1303 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
) {
1304 PyObject
* _resultobj
;
1306 wxMouseEvent
* _arg0
;
1310 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_RightDClick",&_argc0
))
1313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } _resultobj
= Py_BuildValue("i",_result
);
1327 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1328 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
) {
1329 PyObject
* _resultobj
;
1331 wxMouseEvent
* _arg0
;
1335 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_LeftIsDown",&_argc0
))
1338 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1344 wxPy_BEGIN_ALLOW_THREADS
;
1345 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1347 wxPy_END_ALLOW_THREADS
;
1348 } _resultobj
= Py_BuildValue("i",_result
);
1352 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1353 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
) {
1354 PyObject
* _resultobj
;
1356 wxMouseEvent
* _arg0
;
1360 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MiddleIsDown",&_argc0
))
1363 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1369 wxPy_BEGIN_ALLOW_THREADS
;
1370 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1372 wxPy_END_ALLOW_THREADS
;
1373 } _resultobj
= Py_BuildValue("i",_result
);
1377 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1378 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
) {
1379 PyObject
* _resultobj
;
1381 wxMouseEvent
* _arg0
;
1385 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_RightIsDown",&_argc0
))
1388 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1397 wxPy_END_ALLOW_THREADS
;
1398 } _resultobj
= Py_BuildValue("i",_result
);
1402 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1403 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
) {
1404 PyObject
* _resultobj
;
1406 wxMouseEvent
* _arg0
;
1410 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Dragging",&_argc0
))
1413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1419 wxPy_BEGIN_ALLOW_THREADS
;
1420 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1422 wxPy_END_ALLOW_THREADS
;
1423 } _resultobj
= Py_BuildValue("i",_result
);
1427 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1428 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
) {
1429 PyObject
* _resultobj
;
1431 wxMouseEvent
* _arg0
;
1435 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Moving",&_argc0
))
1438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1447 wxPy_END_ALLOW_THREADS
;
1448 } _resultobj
= Py_BuildValue("i",_result
);
1452 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1453 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
) {
1454 PyObject
* _resultobj
;
1456 wxMouseEvent
* _arg0
;
1460 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Entering",&_argc0
))
1463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (bool )wxMouseEvent_Entering(_arg0
);
1472 wxPy_END_ALLOW_THREADS
;
1473 } _resultobj
= Py_BuildValue("i",_result
);
1477 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1478 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
) {
1479 PyObject
* _resultobj
;
1481 wxMouseEvent
* _arg0
;
1485 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Leaving",&_argc0
))
1488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1494 wxPy_BEGIN_ALLOW_THREADS
;
1495 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
1497 wxPy_END_ALLOW_THREADS
;
1498 } _resultobj
= Py_BuildValue("i",_result
);
1502 #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1503 static PyObject
*_wrap_wxMouseEvent_Position(PyObject
*self
, PyObject
*args
) {
1504 PyObject
* _resultobj
;
1505 wxMouseEvent
* _arg0
;
1519 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Position",&_argc0
))
1522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 wxMouseEvent_Position(_arg0
,_arg1
,_arg2
);
1531 wxPy_END_ALLOW_THREADS
;
1532 } Py_INCREF(Py_None
);
1533 _resultobj
= Py_None
;
1536 o
= PyInt_FromLong((long) (*_arg1
));
1537 _resultobj
= t_output_helper(_resultobj
, o
);
1541 o
= PyInt_FromLong((long) (*_arg2
));
1542 _resultobj
= t_output_helper(_resultobj
, o
);
1547 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1548 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
1549 PyObject
* _resultobj
;
1551 wxMouseEvent
* _arg0
;
1556 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_GetPosition",&_argc0
))
1559 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
1568 wxPy_END_ALLOW_THREADS
;
1569 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1570 _resultobj
= Py_BuildValue("s",_ptemp
);
1574 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1575 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
) {
1576 PyObject
* _resultobj
;
1578 wxMouseEvent
* _arg0
;
1585 if(!PyArg_ParseTuple(args
,"ss:wxMouseEvent_GetLogicalPosition",&_argc0
,&_argc1
))
1588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
1594 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
1603 wxPy_END_ALLOW_THREADS
;
1604 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1605 _resultobj
= Py_BuildValue("s",_ptemp
);
1609 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
1610 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
) {
1611 PyObject
* _resultobj
;
1613 wxMouseEvent
* _arg0
;
1617 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_GetX",&_argc0
))
1620 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 _result
= (long )wxMouseEvent_GetX(_arg0
);
1629 wxPy_END_ALLOW_THREADS
;
1630 } _resultobj
= Py_BuildValue("l",_result
);
1634 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
1635 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
) {
1636 PyObject
* _resultobj
;
1638 wxMouseEvent
* _arg0
;
1642 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_GetY",&_argc0
))
1645 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 _result
= (long )wxMouseEvent_GetY(_arg0
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } _resultobj
= Py_BuildValue("l",_result
);
1659 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
1662 src
= (wxKeyEvent
*) ptr
;
1663 dest
= (wxEvent
*) src
;
1664 return (void *) dest
;
1667 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1668 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
) {
1669 PyObject
* _resultobj
;
1675 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_ControlDown",&_argc0
))
1678 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
1684 wxPy_BEGIN_ALLOW_THREADS
;
1685 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
1687 wxPy_END_ALLOW_THREADS
;
1688 } _resultobj
= Py_BuildValue("i",_result
);
1692 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1693 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
) {
1694 PyObject
* _resultobj
;
1700 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_MetaDown",&_argc0
))
1703 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
1712 wxPy_END_ALLOW_THREADS
;
1713 } _resultobj
= Py_BuildValue("i",_result
);
1717 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
1718 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
) {
1719 PyObject
* _resultobj
;
1725 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_AltDown",&_argc0
))
1728 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
1734 wxPy_BEGIN_ALLOW_THREADS
;
1735 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
1737 wxPy_END_ALLOW_THREADS
;
1738 } _resultobj
= Py_BuildValue("i",_result
);
1742 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1743 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
) {
1744 PyObject
* _resultobj
;
1750 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_ShiftDown",&_argc0
))
1753 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
1762 wxPy_END_ALLOW_THREADS
;
1763 } _resultobj
= Py_BuildValue("i",_result
);
1767 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
1768 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
) {
1769 PyObject
* _resultobj
;
1775 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_KeyCode",&_argc0
))
1778 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
1784 wxPy_BEGIN_ALLOW_THREADS
;
1785 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
1787 wxPy_END_ALLOW_THREADS
;
1788 } _resultobj
= Py_BuildValue("l",_result
);
1792 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
1795 src
= (wxMoveEvent
*) ptr
;
1796 dest
= (wxEvent
*) src
;
1797 return (void *) dest
;
1800 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1801 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
1802 PyObject
* _resultobj
;
1804 wxMoveEvent
* _arg0
;
1809 if(!PyArg_ParseTuple(args
,"s:wxMoveEvent_GetPosition",&_argc0
))
1812 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
1818 wxPy_BEGIN_ALLOW_THREADS
;
1819 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
1821 wxPy_END_ALLOW_THREADS
;
1822 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1823 _resultobj
= Py_BuildValue("s",_ptemp
);
1827 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
1830 src
= (wxPaintEvent
*) ptr
;
1831 dest
= (wxEvent
*) src
;
1832 return (void *) dest
;
1835 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
1838 src
= (wxEraseEvent
*) ptr
;
1839 dest
= (wxEvent
*) src
;
1840 return (void *) dest
;
1843 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
1844 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
) {
1845 PyObject
* _resultobj
;
1847 wxEraseEvent
* _arg0
;
1852 if(!PyArg_ParseTuple(args
,"s:wxEraseEvent_GetDC",&_argc0
))
1855 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
1864 wxPy_END_ALLOW_THREADS
;
1865 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
1866 _resultobj
= Py_BuildValue("s",_ptemp
);
1870 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
1873 src
= (wxFocusEvent
*) ptr
;
1874 dest
= (wxEvent
*) src
;
1875 return (void *) dest
;
1878 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
1879 wxActivateEvent
*src
;
1881 src
= (wxActivateEvent
*) ptr
;
1882 dest
= (wxEvent
*) src
;
1883 return (void *) dest
;
1886 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
1887 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
) {
1888 PyObject
* _resultobj
;
1890 wxActivateEvent
* _arg0
;
1894 if(!PyArg_ParseTuple(args
,"s:wxActivateEvent_GetActive",&_argc0
))
1897 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
1906 wxPy_END_ALLOW_THREADS
;
1907 } _resultobj
= Py_BuildValue("i",_result
);
1911 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
1912 wxInitDialogEvent
*src
;
1914 src
= (wxInitDialogEvent
*) ptr
;
1915 dest
= (wxEvent
*) src
;
1916 return (void *) dest
;
1919 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
1922 src
= (wxMenuEvent
*) ptr
;
1923 dest
= (wxEvent
*) src
;
1924 return (void *) dest
;
1927 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
1928 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
) {
1929 PyObject
* _resultobj
;
1931 wxMenuEvent
* _arg0
;
1935 if(!PyArg_ParseTuple(args
,"s:wxMenuEvent_GetMenuId",&_argc0
))
1938 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
1944 wxPy_BEGIN_ALLOW_THREADS
;
1945 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
1947 wxPy_END_ALLOW_THREADS
;
1948 } _resultobj
= Py_BuildValue("i",_result
);
1952 static void *SwigwxShowEventTowxEvent(void *ptr
) {
1955 src
= (wxShowEvent
*) ptr
;
1956 dest
= (wxEvent
*) src
;
1957 return (void *) dest
;
1960 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
1961 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
) {
1962 PyObject
* _resultobj
;
1963 wxShowEvent
* _arg0
;
1969 if(!PyArg_ParseTuple(args
,"si:wxShowEvent_SetShow",&_argc0
,&tempbool1
))
1972 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxShowEvent_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
1977 _arg1
= (bool ) tempbool1
;
1979 wxPy_BEGIN_ALLOW_THREADS
;
1980 wxShowEvent_SetShow(_arg0
,_arg1
);
1982 wxPy_END_ALLOW_THREADS
;
1983 } Py_INCREF(Py_None
);
1984 _resultobj
= Py_None
;
1988 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
1989 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
) {
1990 PyObject
* _resultobj
;
1992 wxShowEvent
* _arg0
;
1996 if(!PyArg_ParseTuple(args
,"s:wxShowEvent_GetShow",&_argc0
))
1999 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxShowEvent_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
2005 wxPy_BEGIN_ALLOW_THREADS
;
2006 _result
= (bool )wxShowEvent_GetShow(_arg0
);
2008 wxPy_END_ALLOW_THREADS
;
2009 } _resultobj
= Py_BuildValue("i",_result
);
2013 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
2014 wxIconizeEvent
*src
;
2016 src
= (wxIconizeEvent
*) ptr
;
2017 dest
= (wxEvent
*) src
;
2018 return (void *) dest
;
2021 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
2022 wxMaximizeEvent
*src
;
2024 src
= (wxMaximizeEvent
*) ptr
;
2025 dest
= (wxEvent
*) src
;
2026 return (void *) dest
;
2029 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
2030 wxJoystickEvent
*src
;
2032 src
= (wxJoystickEvent
*) ptr
;
2033 dest
= (wxEvent
*) src
;
2034 return (void *) dest
;
2037 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2038 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
2039 PyObject
* _resultobj
;
2041 wxJoystickEvent
* _arg0
;
2046 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetPosition",&_argc0
))
2049 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
2055 wxPy_BEGIN_ALLOW_THREADS
;
2056 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
2058 wxPy_END_ALLOW_THREADS
;
2059 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2060 _resultobj
= Py_BuildValue("s",_ptemp
);
2064 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
2065 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
) {
2066 PyObject
* _resultobj
;
2068 wxJoystickEvent
* _arg0
;
2072 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetZPosition",&_argc0
))
2075 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
2081 wxPy_BEGIN_ALLOW_THREADS
;
2082 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
2084 wxPy_END_ALLOW_THREADS
;
2085 } _resultobj
= Py_BuildValue("i",_result
);
2089 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
2090 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
) {
2091 PyObject
* _resultobj
;
2093 wxJoystickEvent
* _arg0
;
2097 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetButtonState",&_argc0
))
2100 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
2106 wxPy_BEGIN_ALLOW_THREADS
;
2107 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
2109 wxPy_END_ALLOW_THREADS
;
2110 } _resultobj
= Py_BuildValue("i",_result
);
2114 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
2115 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
) {
2116 PyObject
* _resultobj
;
2118 wxJoystickEvent
* _arg0
;
2122 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetButtonChange",&_argc0
))
2125 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
2134 wxPy_END_ALLOW_THREADS
;
2135 } _resultobj
= Py_BuildValue("i",_result
);
2139 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
2140 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
) {
2141 PyObject
* _resultobj
;
2143 wxJoystickEvent
* _arg0
;
2147 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetJoystick",&_argc0
))
2150 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
2159 wxPy_END_ALLOW_THREADS
;
2160 } _resultobj
= Py_BuildValue("i",_result
);
2164 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
2165 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
) {
2166 PyObject
* _resultobj
;
2167 wxJoystickEvent
* _arg0
;
2172 if(!PyArg_ParseTuple(args
,"si:wxJoystickEvent_SetJoystick",&_argc0
,&_arg1
))
2175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } Py_INCREF(Py_None
);
2186 _resultobj
= Py_None
;
2190 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
2191 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
) {
2192 PyObject
* _resultobj
;
2193 wxJoystickEvent
* _arg0
;
2198 if(!PyArg_ParseTuple(args
,"si:wxJoystickEvent_SetButtonState",&_argc0
,&_arg1
))
2201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
2210 wxPy_END_ALLOW_THREADS
;
2211 } Py_INCREF(Py_None
);
2212 _resultobj
= Py_None
;
2216 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
2217 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
) {
2218 PyObject
* _resultobj
;
2219 wxJoystickEvent
* _arg0
;
2224 if(!PyArg_ParseTuple(args
,"si:wxJoystickEvent_SetButtonChange",&_argc0
,&_arg1
))
2227 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
2233 wxPy_BEGIN_ALLOW_THREADS
;
2234 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
2236 wxPy_END_ALLOW_THREADS
;
2237 } Py_INCREF(Py_None
);
2238 _resultobj
= Py_None
;
2242 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2243 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
) {
2244 PyObject
* _resultobj
;
2245 wxJoystickEvent
* _arg0
;
2251 if(!PyArg_ParseTuple(args
,"ss:wxJoystickEvent_SetPosition",&_argc0
,&_argc1
))
2254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
2260 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p.");
2266 wxPy_BEGIN_ALLOW_THREADS
;
2267 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
2269 wxPy_END_ALLOW_THREADS
;
2270 } Py_INCREF(Py_None
);
2271 _resultobj
= Py_None
;
2275 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
2276 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
) {
2277 PyObject
* _resultobj
;
2278 wxJoystickEvent
* _arg0
;
2283 if(!PyArg_ParseTuple(args
,"si:wxJoystickEvent_SetZPosition",&_argc0
,&_arg1
))
2286 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
2292 wxPy_BEGIN_ALLOW_THREADS
;
2293 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
2295 wxPy_END_ALLOW_THREADS
;
2296 } Py_INCREF(Py_None
);
2297 _resultobj
= Py_None
;
2301 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
2302 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
) {
2303 PyObject
* _resultobj
;
2305 wxJoystickEvent
* _arg0
;
2309 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_IsButton",&_argc0
))
2312 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
2318 wxPy_BEGIN_ALLOW_THREADS
;
2319 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
2321 wxPy_END_ALLOW_THREADS
;
2322 } _resultobj
= Py_BuildValue("i",_result
);
2326 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
2327 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
) {
2328 PyObject
* _resultobj
;
2330 wxJoystickEvent
* _arg0
;
2334 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_IsMove",&_argc0
))
2337 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
2346 wxPy_END_ALLOW_THREADS
;
2347 } _resultobj
= Py_BuildValue("i",_result
);
2351 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
2352 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
) {
2353 PyObject
* _resultobj
;
2355 wxJoystickEvent
* _arg0
;
2359 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_IsZMove",&_argc0
))
2362 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
2371 wxPy_END_ALLOW_THREADS
;
2372 } _resultobj
= Py_BuildValue("i",_result
);
2376 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
2377 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
) {
2378 PyObject
* _resultobj
;
2380 wxJoystickEvent
* _arg0
;
2381 int _arg1
= wxJOY_BUTTON_ANY
;
2385 if(!PyArg_ParseTuple(args
,"s|i:wxJoystickEvent_ButtonDown",&_argc0
,&_arg1
))
2388 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
2394 wxPy_BEGIN_ALLOW_THREADS
;
2395 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
2397 wxPy_END_ALLOW_THREADS
;
2398 } _resultobj
= Py_BuildValue("i",_result
);
2402 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
2403 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
) {
2404 PyObject
* _resultobj
;
2406 wxJoystickEvent
* _arg0
;
2407 int _arg1
= wxJOY_BUTTON_ANY
;
2411 if(!PyArg_ParseTuple(args
,"s|i:wxJoystickEvent_ButtonUp",&_argc0
,&_arg1
))
2414 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
2423 wxPy_END_ALLOW_THREADS
;
2424 } _resultobj
= Py_BuildValue("i",_result
);
2428 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
2429 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
) {
2430 PyObject
* _resultobj
;
2432 wxJoystickEvent
* _arg0
;
2433 int _arg1
= wxJOY_BUTTON_ANY
;
2437 if(!PyArg_ParseTuple(args
,"s|i:wxJoystickEvent_ButtonIsDown",&_argc0
,&_arg1
))
2440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
2446 wxPy_BEGIN_ALLOW_THREADS
;
2447 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
2449 wxPy_END_ALLOW_THREADS
;
2450 } _resultobj
= Py_BuildValue("i",_result
);
2454 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
2455 wxDropFilesEvent
*src
;
2457 src
= (wxDropFilesEvent
*) ptr
;
2458 dest
= (wxEvent
*) src
;
2459 return (void *) dest
;
2462 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2463 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
2464 PyObject
* _resultobj
;
2466 wxDropFilesEvent
* _arg0
;
2471 if(!PyArg_ParseTuple(args
,"s:wxDropFilesEvent_GetPosition",&_argc0
))
2474 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
2480 wxPy_BEGIN_ALLOW_THREADS
;
2481 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
2483 wxPy_END_ALLOW_THREADS
;
2484 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2485 _resultobj
= Py_BuildValue("s",_ptemp
);
2489 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
2490 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
) {
2491 PyObject
* _resultobj
;
2493 wxDropFilesEvent
* _arg0
;
2497 if(!PyArg_ParseTuple(args
,"s:wxDropFilesEvent_GetNumberOfFiles",&_argc0
))
2500 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
2506 wxPy_BEGIN_ALLOW_THREADS
;
2507 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
2509 wxPy_END_ALLOW_THREADS
;
2510 } _resultobj
= Py_BuildValue("i",_result
);
2514 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
2515 int count
= self
->GetNumberOfFiles();
2516 wxString
* files
= self
->GetFiles();
2517 PyObject
* list
= PyList_New(count
);
2520 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2524 for (int i
=0; i
<count
; i
++) {
2525 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
2529 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
) {
2530 PyObject
* _resultobj
;
2532 wxDropFilesEvent
* _arg0
;
2536 if(!PyArg_ParseTuple(args
,"s:wxDropFilesEvent_GetFiles",&_argc0
))
2539 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
2545 wxPy_BEGIN_ALLOW_THREADS
;
2546 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
2548 wxPy_END_ALLOW_THREADS
;
2550 _resultobj
= _result
;
2555 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
2558 src
= (wxIdleEvent
*) ptr
;
2559 dest
= (wxEvent
*) src
;
2560 return (void *) dest
;
2563 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
2564 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
) {
2565 PyObject
* _resultobj
;
2566 wxIdleEvent
* _arg0
;
2572 if(!PyArg_ParseTuple(args
,"s|i:wxIdleEvent_RequestMore",&_argc0
,&tempbool1
))
2575 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
2580 _arg1
= (bool ) tempbool1
;
2582 wxPy_BEGIN_ALLOW_THREADS
;
2583 wxIdleEvent_RequestMore(_arg0
,_arg1
);
2585 wxPy_END_ALLOW_THREADS
;
2586 } Py_INCREF(Py_None
);
2587 _resultobj
= Py_None
;
2591 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
2592 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
) {
2593 PyObject
* _resultobj
;
2595 wxIdleEvent
* _arg0
;
2599 if(!PyArg_ParseTuple(args
,"s:wxIdleEvent_MoreRequested",&_argc0
))
2602 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
2611 wxPy_END_ALLOW_THREADS
;
2612 } _resultobj
= Py_BuildValue("i",_result
);
2616 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
2617 wxUpdateUIEvent
*src
;
2619 src
= (wxUpdateUIEvent
*) ptr
;
2620 dest
= (wxEvent
*) src
;
2621 return (void *) dest
;
2624 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
2625 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
) {
2626 PyObject
* _resultobj
;
2628 wxUpdateUIEvent
* _arg0
;
2632 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetChecked",&_argc0
))
2635 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
2641 wxPy_BEGIN_ALLOW_THREADS
;
2642 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
2644 wxPy_END_ALLOW_THREADS
;
2645 } _resultobj
= Py_BuildValue("i",_result
);
2649 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
2650 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
) {
2651 PyObject
* _resultobj
;
2653 wxUpdateUIEvent
* _arg0
;
2657 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetEnabled",&_argc0
))
2660 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
2669 wxPy_END_ALLOW_THREADS
;
2670 } _resultobj
= Py_BuildValue("i",_result
);
2674 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
2675 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
) {
2676 PyObject
* _resultobj
;
2678 wxUpdateUIEvent
* _arg0
;
2682 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetText",&_argc0
))
2685 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
2691 wxPy_BEGIN_ALLOW_THREADS
;
2692 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
2694 wxPy_END_ALLOW_THREADS
;
2696 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2704 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
2705 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
) {
2706 PyObject
* _resultobj
;
2708 wxUpdateUIEvent
* _arg0
;
2712 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetSetText",&_argc0
))
2715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
2721 wxPy_BEGIN_ALLOW_THREADS
;
2722 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
2724 wxPy_END_ALLOW_THREADS
;
2725 } _resultobj
= Py_BuildValue("i",_result
);
2729 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
2730 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
) {
2731 PyObject
* _resultobj
;
2733 wxUpdateUIEvent
* _arg0
;
2737 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetSetChecked",&_argc0
))
2740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
2749 wxPy_END_ALLOW_THREADS
;
2750 } _resultobj
= Py_BuildValue("i",_result
);
2754 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
2755 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
) {
2756 PyObject
* _resultobj
;
2758 wxUpdateUIEvent
* _arg0
;
2762 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetSetEnabled",&_argc0
))
2765 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
2771 wxPy_BEGIN_ALLOW_THREADS
;
2772 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
2774 wxPy_END_ALLOW_THREADS
;
2775 } _resultobj
= Py_BuildValue("i",_result
);
2779 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
2780 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
) {
2781 PyObject
* _resultobj
;
2782 wxUpdateUIEvent
* _arg0
;
2788 if(!PyArg_ParseTuple(args
,"si:wxUpdateUIEvent_Check",&_argc0
,&tempbool1
))
2791 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
2796 _arg1
= (bool ) tempbool1
;
2798 wxPy_BEGIN_ALLOW_THREADS
;
2799 wxUpdateUIEvent_Check(_arg0
,_arg1
);
2801 wxPy_END_ALLOW_THREADS
;
2802 } Py_INCREF(Py_None
);
2803 _resultobj
= Py_None
;
2807 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
2808 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
) {
2809 PyObject
* _resultobj
;
2810 wxUpdateUIEvent
* _arg0
;
2816 if(!PyArg_ParseTuple(args
,"si:wxUpdateUIEvent_Enable",&_argc0
,&tempbool1
))
2819 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
2824 _arg1
= (bool ) tempbool1
;
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
2829 wxPy_END_ALLOW_THREADS
;
2830 } Py_INCREF(Py_None
);
2831 _resultobj
= Py_None
;
2835 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
2836 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
) {
2837 PyObject
* _resultobj
;
2838 wxUpdateUIEvent
* _arg0
;
2841 PyObject
* _obj1
= 0;
2844 if(!PyArg_ParseTuple(args
,"sO:wxUpdateUIEvent_SetText",&_argc0
,&_obj1
))
2847 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
2853 if (!PyString_Check(_obj1
)) {
2854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2857 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } Py_INCREF(Py_None
);
2865 _resultobj
= Py_None
;
2873 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
2874 wxSysColourChangedEvent
*src
;
2876 src
= (wxSysColourChangedEvent
*) ptr
;
2877 dest
= (wxEvent
*) src
;
2878 return (void *) dest
;
2881 static void *SwigwxPyEventTowxCommandEvent(void *ptr
) {
2883 wxCommandEvent
*dest
;
2884 src
= (wxPyEvent
*) ptr
;
2885 dest
= (wxCommandEvent
*) src
;
2886 return (void *) dest
;
2889 static void *SwigwxPyEventTowxEvent(void *ptr
) {
2892 src
= (wxPyEvent
*) ptr
;
2893 dest
= (wxEvent
*) src
;
2894 return (void *) dest
;
2897 #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
2898 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
) {
2899 PyObject
* _resultobj
;
2900 wxPyEvent
* _result
;
2901 wxEventType _arg0
= (wxEVT_NULL
);
2902 PyObject
* _arg1
= Py_None
;
2903 PyObject
* _obj1
= 0;
2907 if(!PyArg_ParseTuple(args
,"|iO:new_wxPyEvent",&_arg0
,&_obj1
))
2914 wxPy_BEGIN_ALLOW_THREADS
;
2915 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
,_arg1
);
2917 wxPy_END_ALLOW_THREADS
;
2918 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
2919 _resultobj
= Py_BuildValue("s",_ptemp
);
2923 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
2924 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
) {
2925 PyObject
* _resultobj
;
2930 if(!PyArg_ParseTuple(args
,"s:delete_wxPyEvent",&_argc0
))
2933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyEvent_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
2939 wxPy_BEGIN_ALLOW_THREADS
;
2940 delete_wxPyEvent(_arg0
);
2942 wxPy_END_ALLOW_THREADS
;
2943 } Py_INCREF(Py_None
);
2944 _resultobj
= Py_None
;
2948 #define wxPyEvent_SetUserData(_swigobj,_swigarg0) (_swigobj->SetUserData(_swigarg0))
2949 static PyObject
*_wrap_wxPyEvent_SetUserData(PyObject
*self
, PyObject
*args
) {
2950 PyObject
* _resultobj
;
2954 PyObject
* _obj1
= 0;
2957 if(!PyArg_ParseTuple(args
,"sO:wxPyEvent_SetUserData",&_argc0
,&_obj1
))
2960 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyEvent_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetUserData. Expected _wxPyEvent_p.");
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 wxPyEvent_SetUserData(_arg0
,_arg1
);
2972 wxPy_END_ALLOW_THREADS
;
2973 } Py_INCREF(Py_None
);
2974 _resultobj
= Py_None
;
2978 #define wxPyEvent_GetUserData(_swigobj) (_swigobj->GetUserData())
2979 static PyObject
*_wrap_wxPyEvent_GetUserData(PyObject
*self
, PyObject
*args
) {
2980 PyObject
* _resultobj
;
2986 if(!PyArg_ParseTuple(args
,"s:wxPyEvent_GetUserData",&_argc0
))
2989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyEvent_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetUserData. Expected _wxPyEvent_p.");
2995 wxPy_BEGIN_ALLOW_THREADS
;
2996 _result
= (PyObject
*)wxPyEvent_GetUserData(_arg0
);
2998 wxPy_END_ALLOW_THREADS
;
3000 _resultobj
= _result
;
3005 static PyMethodDef eventscMethods
[] = {
3006 { "wxPyEvent_GetUserData", _wrap_wxPyEvent_GetUserData
, 1 },
3007 { "wxPyEvent_SetUserData", _wrap_wxPyEvent_SetUserData
, 1 },
3008 { "delete_wxPyEvent", _wrap_delete_wxPyEvent
, 1 },
3009 { "new_wxPyEvent", _wrap_new_wxPyEvent
, 1 },
3010 { "wxUpdateUIEvent_SetText", _wrap_wxUpdateUIEvent_SetText
, 1 },
3011 { "wxUpdateUIEvent_Enable", _wrap_wxUpdateUIEvent_Enable
, 1 },
3012 { "wxUpdateUIEvent_Check", _wrap_wxUpdateUIEvent_Check
, 1 },
3013 { "wxUpdateUIEvent_GetSetEnabled", _wrap_wxUpdateUIEvent_GetSetEnabled
, 1 },
3014 { "wxUpdateUIEvent_GetSetChecked", _wrap_wxUpdateUIEvent_GetSetChecked
, 1 },
3015 { "wxUpdateUIEvent_GetSetText", _wrap_wxUpdateUIEvent_GetSetText
, 1 },
3016 { "wxUpdateUIEvent_GetText", _wrap_wxUpdateUIEvent_GetText
, 1 },
3017 { "wxUpdateUIEvent_GetEnabled", _wrap_wxUpdateUIEvent_GetEnabled
, 1 },
3018 { "wxUpdateUIEvent_GetChecked", _wrap_wxUpdateUIEvent_GetChecked
, 1 },
3019 { "wxIdleEvent_MoreRequested", _wrap_wxIdleEvent_MoreRequested
, 1 },
3020 { "wxIdleEvent_RequestMore", _wrap_wxIdleEvent_RequestMore
, 1 },
3021 { "wxDropFilesEvent_GetFiles", _wrap_wxDropFilesEvent_GetFiles
, 1 },
3022 { "wxDropFilesEvent_GetNumberOfFiles", _wrap_wxDropFilesEvent_GetNumberOfFiles
, 1 },
3023 { "wxDropFilesEvent_GetPosition", _wrap_wxDropFilesEvent_GetPosition
, 1 },
3024 { "wxJoystickEvent_ButtonIsDown", _wrap_wxJoystickEvent_ButtonIsDown
, 1 },
3025 { "wxJoystickEvent_ButtonUp", _wrap_wxJoystickEvent_ButtonUp
, 1 },
3026 { "wxJoystickEvent_ButtonDown", _wrap_wxJoystickEvent_ButtonDown
, 1 },
3027 { "wxJoystickEvent_IsZMove", _wrap_wxJoystickEvent_IsZMove
, 1 },
3028 { "wxJoystickEvent_IsMove", _wrap_wxJoystickEvent_IsMove
, 1 },
3029 { "wxJoystickEvent_IsButton", _wrap_wxJoystickEvent_IsButton
, 1 },
3030 { "wxJoystickEvent_SetZPosition", _wrap_wxJoystickEvent_SetZPosition
, 1 },
3031 { "wxJoystickEvent_SetPosition", _wrap_wxJoystickEvent_SetPosition
, 1 },
3032 { "wxJoystickEvent_SetButtonChange", _wrap_wxJoystickEvent_SetButtonChange
, 1 },
3033 { "wxJoystickEvent_SetButtonState", _wrap_wxJoystickEvent_SetButtonState
, 1 },
3034 { "wxJoystickEvent_SetJoystick", _wrap_wxJoystickEvent_SetJoystick
, 1 },
3035 { "wxJoystickEvent_GetJoystick", _wrap_wxJoystickEvent_GetJoystick
, 1 },
3036 { "wxJoystickEvent_GetButtonChange", _wrap_wxJoystickEvent_GetButtonChange
, 1 },
3037 { "wxJoystickEvent_GetButtonState", _wrap_wxJoystickEvent_GetButtonState
, 1 },
3038 { "wxJoystickEvent_GetZPosition", _wrap_wxJoystickEvent_GetZPosition
, 1 },
3039 { "wxJoystickEvent_GetPosition", _wrap_wxJoystickEvent_GetPosition
, 1 },
3040 { "wxShowEvent_GetShow", _wrap_wxShowEvent_GetShow
, 1 },
3041 { "wxShowEvent_SetShow", _wrap_wxShowEvent_SetShow
, 1 },
3042 { "wxMenuEvent_GetMenuId", _wrap_wxMenuEvent_GetMenuId
, 1 },
3043 { "wxActivateEvent_GetActive", _wrap_wxActivateEvent_GetActive
, 1 },
3044 { "wxEraseEvent_GetDC", _wrap_wxEraseEvent_GetDC
, 1 },
3045 { "wxMoveEvent_GetPosition", _wrap_wxMoveEvent_GetPosition
, 1 },
3046 { "wxKeyEvent_KeyCode", _wrap_wxKeyEvent_KeyCode
, 1 },
3047 { "wxKeyEvent_ShiftDown", _wrap_wxKeyEvent_ShiftDown
, 1 },
3048 { "wxKeyEvent_AltDown", _wrap_wxKeyEvent_AltDown
, 1 },
3049 { "wxKeyEvent_MetaDown", _wrap_wxKeyEvent_MetaDown
, 1 },
3050 { "wxKeyEvent_ControlDown", _wrap_wxKeyEvent_ControlDown
, 1 },
3051 { "wxMouseEvent_GetY", _wrap_wxMouseEvent_GetY
, 1 },
3052 { "wxMouseEvent_GetX", _wrap_wxMouseEvent_GetX
, 1 },
3053 { "wxMouseEvent_GetLogicalPosition", _wrap_wxMouseEvent_GetLogicalPosition
, 1 },
3054 { "wxMouseEvent_GetPosition", _wrap_wxMouseEvent_GetPosition
, 1 },
3055 { "wxMouseEvent_Position", _wrap_wxMouseEvent_Position
, 1 },
3056 { "wxMouseEvent_Leaving", _wrap_wxMouseEvent_Leaving
, 1 },
3057 { "wxMouseEvent_Entering", _wrap_wxMouseEvent_Entering
, 1 },
3058 { "wxMouseEvent_Moving", _wrap_wxMouseEvent_Moving
, 1 },
3059 { "wxMouseEvent_Dragging", _wrap_wxMouseEvent_Dragging
, 1 },
3060 { "wxMouseEvent_RightIsDown", _wrap_wxMouseEvent_RightIsDown
, 1 },
3061 { "wxMouseEvent_MiddleIsDown", _wrap_wxMouseEvent_MiddleIsDown
, 1 },
3062 { "wxMouseEvent_LeftIsDown", _wrap_wxMouseEvent_LeftIsDown
, 1 },
3063 { "wxMouseEvent_RightDClick", _wrap_wxMouseEvent_RightDClick
, 1 },
3064 { "wxMouseEvent_MiddleDClick", _wrap_wxMouseEvent_MiddleDClick
, 1 },
3065 { "wxMouseEvent_LeftDClick", _wrap_wxMouseEvent_LeftDClick
, 1 },
3066 { "wxMouseEvent_RightUp", _wrap_wxMouseEvent_RightUp
, 1 },
3067 { "wxMouseEvent_MiddleUp", _wrap_wxMouseEvent_MiddleUp
, 1 },
3068 { "wxMouseEvent_LeftUp", _wrap_wxMouseEvent_LeftUp
, 1 },
3069 { "wxMouseEvent_RightDown", _wrap_wxMouseEvent_RightDown
, 1 },
3070 { "wxMouseEvent_MiddleDown", _wrap_wxMouseEvent_MiddleDown
, 1 },
3071 { "wxMouseEvent_LeftDown", _wrap_wxMouseEvent_LeftDown
, 1 },
3072 { "wxMouseEvent_ShiftDown", _wrap_wxMouseEvent_ShiftDown
, 1 },
3073 { "wxMouseEvent_AltDown", _wrap_wxMouseEvent_AltDown
, 1 },
3074 { "wxMouseEvent_MetaDown", _wrap_wxMouseEvent_MetaDown
, 1 },
3075 { "wxMouseEvent_ControlDown", _wrap_wxMouseEvent_ControlDown
, 1 },
3076 { "wxMouseEvent_ButtonIsDown", _wrap_wxMouseEvent_ButtonIsDown
, 1 },
3077 { "wxMouseEvent_Button", _wrap_wxMouseEvent_Button
, 1 },
3078 { "wxMouseEvent_ButtonUp", _wrap_wxMouseEvent_ButtonUp
, 1 },
3079 { "wxMouseEvent_ButtonDClick", _wrap_wxMouseEvent_ButtonDClick
, 1 },
3080 { "wxMouseEvent_ButtonDown", _wrap_wxMouseEvent_ButtonDown
, 1 },
3081 { "wxMouseEvent_IsButton", _wrap_wxMouseEvent_IsButton
, 1 },
3082 { "wxScrollEvent_GetPosition", _wrap_wxScrollEvent_GetPosition
, 1 },
3083 { "wxScrollEvent_GetOrientation", _wrap_wxScrollEvent_GetOrientation
, 1 },
3084 { "wxCommandEvent_IsSelection", _wrap_wxCommandEvent_IsSelection
, 1 },
3085 { "wxCommandEvent_GetString", _wrap_wxCommandEvent_GetString
, 1 },
3086 { "wxCommandEvent_GetSelection", _wrap_wxCommandEvent_GetSelection
, 1 },
3087 { "wxCommandEvent_GetInt", _wrap_wxCommandEvent_GetInt
, 1 },
3088 { "wxCommandEvent_GetExtraLong", _wrap_wxCommandEvent_GetExtraLong
, 1 },
3089 { "wxCommandEvent_Checked", _wrap_wxCommandEvent_Checked
, 1 },
3090 { "wxCloseEvent_SetCanVeto", _wrap_wxCloseEvent_SetCanVeto
, 1 },
3091 { "wxCloseEvent_GetVeto", _wrap_wxCloseEvent_GetVeto
, 1 },
3092 { "wxCloseEvent_CanVeto", _wrap_wxCloseEvent_CanVeto
, 1 },
3093 { "wxCloseEvent_Veto", _wrap_wxCloseEvent_Veto
, 1 },
3094 { "wxCloseEvent_GetLoggingOff", _wrap_wxCloseEvent_GetLoggingOff
, 1 },
3095 { "wxCloseEvent_SetLoggingOff", _wrap_wxCloseEvent_SetLoggingOff
, 1 },
3096 { "wxSizeEvent_GetSize", _wrap_wxSizeEvent_GetSize
, 1 },
3097 { "wxEvent_Skip", _wrap_wxEvent_Skip
, 1 },
3098 { "wxEvent_SetTimestamp", _wrap_wxEvent_SetTimestamp
, 1 },
3099 { "wxEvent_SetId", _wrap_wxEvent_SetId
, 1 },
3100 { "wxEvent_SetEventType", _wrap_wxEvent_SetEventType
, 1 },
3101 { "wxEvent_SetEventObject", _wrap_wxEvent_SetEventObject
, 1 },
3102 { "wxEvent_GetTimestamp", _wrap_wxEvent_GetTimestamp
, 1 },
3103 { "wxEvent_GetSkipped", _wrap_wxEvent_GetSkipped
, 1 },
3104 { "wxEvent_GetId", _wrap_wxEvent_GetId
, 1 },
3105 { "wxEvent_GetEventType", _wrap_wxEvent_GetEventType
, 1 },
3106 { "wxEvent_GetEventObject", _wrap_wxEvent_GetEventObject
, 1 },
3109 static PyObject
*SWIG_globals
;
3113 SWIGEXPORT(void,initeventsc
)() {
3115 SWIG_globals
= SWIG_newvarlink();
3116 m
= Py_InitModule("eventsc", eventscMethods
);
3117 d
= PyModule_GetDict(m
);
3119 * These are the pointer type-equivalency mappings.
3120 * (Used by the SWIG pointer type-checker).
3122 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3123 SWIG_RegisterMapping("_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
);
3124 SWIG_RegisterMapping("_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
);
3125 SWIG_RegisterMapping("_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
);
3126 SWIG_RegisterMapping("_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
);
3127 SWIG_RegisterMapping("_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
);
3128 SWIG_RegisterMapping("_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
);
3129 SWIG_RegisterMapping("_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
);
3130 SWIG_RegisterMapping("_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
);
3131 SWIG_RegisterMapping("_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
);
3132 SWIG_RegisterMapping("_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
);
3133 SWIG_RegisterMapping("_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
);
3134 SWIG_RegisterMapping("_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
);
3135 SWIG_RegisterMapping("_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
);
3136 SWIG_RegisterMapping("_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
);
3137 SWIG_RegisterMapping("_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
);
3138 SWIG_RegisterMapping("_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
);
3139 SWIG_RegisterMapping("_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
);
3140 SWIG_RegisterMapping("_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
);
3141 SWIG_RegisterMapping("_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
);
3142 SWIG_RegisterMapping("_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
);
3143 SWIG_RegisterMapping("_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
);
3144 SWIG_RegisterMapping("_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
);
3145 SWIG_RegisterMapping("_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
);
3146 SWIG_RegisterMapping("_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
);
3147 SWIG_RegisterMapping("_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
);
3148 SWIG_RegisterMapping("_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
);
3149 SWIG_RegisterMapping("_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
);
3150 SWIG_RegisterMapping("_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
);
3151 SWIG_RegisterMapping("_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
);
3152 SWIG_RegisterMapping("_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
);
3153 SWIG_RegisterMapping("_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
);
3154 SWIG_RegisterMapping("_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
);
3155 SWIG_RegisterMapping("_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
);
3156 SWIG_RegisterMapping("_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
);
3157 SWIG_RegisterMapping("_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
);
3158 SWIG_RegisterMapping("_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
);
3159 SWIG_RegisterMapping("_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
);
3160 SWIG_RegisterMapping("_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
);
3161 SWIG_RegisterMapping("_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
);
3162 SWIG_RegisterMapping("_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
);
3163 SWIG_RegisterMapping("_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
);
3164 SWIG_RegisterMapping("_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
);
3165 SWIG_RegisterMapping("_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
);
3166 SWIG_RegisterMapping("_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
);
3167 SWIG_RegisterMapping("_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
);
3168 SWIG_RegisterMapping("_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
);
3169 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3170 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3171 SWIG_RegisterMapping("_signed_long","_long",0);
3172 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3173 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3174 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3175 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3176 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
3177 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3178 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3179 SWIG_RegisterMapping("_long","_unsigned_long",0);
3180 SWIG_RegisterMapping("_long","_signed_long",0);
3181 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
3182 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3183 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
3184 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3185 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
3186 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
3187 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
3188 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
3189 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
3190 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
3191 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
3192 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
3193 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
3194 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3195 SWIG_RegisterMapping("_uint","_int",0);
3196 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3197 SWIG_RegisterMapping("_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
);
3198 SWIG_RegisterMapping("_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
);
3199 SWIG_RegisterMapping("_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
);
3200 SWIG_RegisterMapping("_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
);
3201 SWIG_RegisterMapping("_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
);
3202 SWIG_RegisterMapping("_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
);
3203 SWIG_RegisterMapping("_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
);
3204 SWIG_RegisterMapping("_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
);
3205 SWIG_RegisterMapping("_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
);
3206 SWIG_RegisterMapping("_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
);
3207 SWIG_RegisterMapping("_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
);
3208 SWIG_RegisterMapping("_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
);
3209 SWIG_RegisterMapping("_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
);
3210 SWIG_RegisterMapping("_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
);
3211 SWIG_RegisterMapping("_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
);
3212 SWIG_RegisterMapping("_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
);
3213 SWIG_RegisterMapping("_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
);
3214 SWIG_RegisterMapping("_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
);
3215 SWIG_RegisterMapping("_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
);
3216 SWIG_RegisterMapping("_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
);
3217 SWIG_RegisterMapping("_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
);
3218 SWIG_RegisterMapping("_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
);
3219 SWIG_RegisterMapping("_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
);
3220 SWIG_RegisterMapping("_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
);
3221 SWIG_RegisterMapping("_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
);
3222 SWIG_RegisterMapping("_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
);
3223 SWIG_RegisterMapping("_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
);
3224 SWIG_RegisterMapping("_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
);
3225 SWIG_RegisterMapping("_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
);
3226 SWIG_RegisterMapping("_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
);
3227 SWIG_RegisterMapping("_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
);
3228 SWIG_RegisterMapping("_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
);
3229 SWIG_RegisterMapping("_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
);
3230 SWIG_RegisterMapping("_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
);
3231 SWIG_RegisterMapping("_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
);
3232 SWIG_RegisterMapping("_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
);
3233 SWIG_RegisterMapping("_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
);
3234 SWIG_RegisterMapping("_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
);
3235 SWIG_RegisterMapping("_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
);
3236 SWIG_RegisterMapping("_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
);
3237 SWIG_RegisterMapping("_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
);
3238 SWIG_RegisterMapping("_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
);
3239 SWIG_RegisterMapping("_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
);
3240 SWIG_RegisterMapping("_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
);
3241 SWIG_RegisterMapping("_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
);
3242 SWIG_RegisterMapping("_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
);
3243 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
3244 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3245 SWIG_RegisterMapping("_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent
);
3246 SWIG_RegisterMapping("_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent
);
3247 SWIG_RegisterMapping("_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
);
3248 SWIG_RegisterMapping("_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
);
3249 SWIG_RegisterMapping("_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
);
3250 SWIG_RegisterMapping("_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
);
3251 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
3252 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
3253 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3254 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3255 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3256 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
3257 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
3258 SWIG_RegisterMapping("_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
);
3259 SWIG_RegisterMapping("_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
);
3260 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
3261 SWIG_RegisterMapping("_EBool","_signed_int",0);
3262 SWIG_RegisterMapping("_EBool","_int",0);
3263 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3264 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
3265 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
3266 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
3267 SWIG_RegisterMapping("_unsigned_long","_long",0);
3268 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3269 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3270 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
3271 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
3272 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3273 SWIG_RegisterMapping("_signed_int","_EBool",0);
3274 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3275 SWIG_RegisterMapping("_signed_int","_int",0);
3276 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3277 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3278 SWIG_RegisterMapping("_WXTYPE","_short",0);
3279 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3280 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3281 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3282 SWIG_RegisterMapping("_unsigned_short","_short",0);
3283 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3284 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3285 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3286 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3287 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3288 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3289 SWIG_RegisterMapping("_signed_short","_short",0);
3290 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3291 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3292 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3293 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3294 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3295 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3296 SWIG_RegisterMapping("_unsigned_int","_int",0);
3297 SWIG_RegisterMapping("_short","_WXTYPE",0);
3298 SWIG_RegisterMapping("_short","_unsigned_short",0);
3299 SWIG_RegisterMapping("_short","_signed_short",0);
3300 SWIG_RegisterMapping("_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
);
3301 SWIG_RegisterMapping("_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
);
3302 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
3303 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
3304 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3305 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3306 SWIG_RegisterMapping("_wxWindowID","_int",0);
3307 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3308 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3309 SWIG_RegisterMapping("_int","_EBool",0);
3310 SWIG_RegisterMapping("_int","_uint",0);
3311 SWIG_RegisterMapping("_int","_wxWindowID",0);
3312 SWIG_RegisterMapping("_int","_unsigned_int",0);
3313 SWIG_RegisterMapping("_int","_signed_int",0);
3314 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
3315 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
3316 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3317 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
3318 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3319 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3320 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3321 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3322 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3323 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
3324 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
3325 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
3326 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3327 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3328 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent
);
3329 SWIG_RegisterMapping("_class_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent
);
3330 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
);
3331 SWIG_RegisterMapping("_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
);
3332 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
);
3333 SWIG_RegisterMapping("_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
);
3334 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3335 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3336 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3337 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3338 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
3339 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);