2 * FILE : msw/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
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
106 extern byte
* byte_LIST_helper(PyObject
* source
);
107 extern int* int_LIST_helper(PyObject
* source
);
108 extern long* long_LIST_helper(PyObject
* source
);
109 extern char** string_LIST_helper(PyObject
* source
);
110 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
111 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
112 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
116 static char* wxStringErrorMsg
= "string type is required for parameter";
117 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
118 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
) {
119 PyObject
* _resultobj
;
126 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetEventObject",&_argc0
))
129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
135 wxPy_BEGIN_ALLOW_THREADS
;
136 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
138 wxPy_END_ALLOW_THREADS
;
139 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
140 _resultobj
= Py_BuildValue("s",_ptemp
);
144 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
145 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
) {
146 PyObject
* _resultobj
;
152 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetEventType",&_argc0
))
155 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
161 wxPy_BEGIN_ALLOW_THREADS
;
162 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
164 wxPy_END_ALLOW_THREADS
;
165 } _resultobj
= Py_BuildValue("i",_result
);
169 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
170 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
) {
171 PyObject
* _resultobj
;
177 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetId",&_argc0
))
180 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
186 wxPy_BEGIN_ALLOW_THREADS
;
187 _result
= (int )wxEvent_GetId(_arg0
);
189 wxPy_END_ALLOW_THREADS
;
190 } _resultobj
= Py_BuildValue("i",_result
);
194 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
195 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
) {
196 PyObject
* _resultobj
;
202 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetSkipped",&_argc0
))
205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
211 wxPy_BEGIN_ALLOW_THREADS
;
212 _result
= (bool )wxEvent_GetSkipped(_arg0
);
214 wxPy_END_ALLOW_THREADS
;
215 } _resultobj
= Py_BuildValue("i",_result
);
219 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
220 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
) {
221 PyObject
* _resultobj
;
227 if(!PyArg_ParseTuple(args
,"s:wxEvent_GetTimestamp",&_argc0
))
230 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
236 wxPy_BEGIN_ALLOW_THREADS
;
237 _result
= (long )wxEvent_GetTimestamp(_arg0
);
239 wxPy_END_ALLOW_THREADS
;
240 } _resultobj
= Py_BuildValue("l",_result
);
244 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
245 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
) {
246 PyObject
* _resultobj
;
253 if(!PyArg_ParseTuple(args
,"ss:wxEvent_SetEventObject",&_argc0
,&_argc1
))
256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
262 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxObject_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
268 wxPy_BEGIN_ALLOW_THREADS
;
269 wxEvent_SetEventObject(_arg0
,_arg1
);
271 wxPy_END_ALLOW_THREADS
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
278 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
) {
279 PyObject
* _resultobj
;
285 if(!PyArg_ParseTuple(args
,"si:wxEvent_SetEventType",&_argc0
,&_arg1
))
288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
294 wxPy_BEGIN_ALLOW_THREADS
;
295 wxEvent_SetEventType(_arg0
,_arg1
);
297 wxPy_END_ALLOW_THREADS
;
298 } Py_INCREF(Py_None
);
299 _resultobj
= Py_None
;
303 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
304 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
) {
305 PyObject
* _resultobj
;
311 if(!PyArg_ParseTuple(args
,"si:wxEvent_SetId",&_argc0
,&_arg1
))
314 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
320 wxPy_BEGIN_ALLOW_THREADS
;
321 wxEvent_SetId(_arg0
,_arg1
);
323 wxPy_END_ALLOW_THREADS
;
324 } Py_INCREF(Py_None
);
325 _resultobj
= Py_None
;
329 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
330 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
) {
331 PyObject
* _resultobj
;
337 if(!PyArg_ParseTuple(args
,"sl:wxEvent_SetTimestamp",&_argc0
,&_arg1
))
340 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
346 wxPy_BEGIN_ALLOW_THREADS
;
347 wxEvent_SetTimestamp(_arg0
,_arg1
);
349 wxPy_END_ALLOW_THREADS
;
350 } Py_INCREF(Py_None
);
351 _resultobj
= Py_None
;
355 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
356 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
) {
357 PyObject
* _resultobj
;
364 if(!PyArg_ParseTuple(args
,"s|i:wxEvent_Skip",&_argc0
,&tempbool1
))
367 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvent_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
372 _arg1
= (bool ) tempbool1
;
374 wxPy_BEGIN_ALLOW_THREADS
;
375 wxEvent_Skip(_arg0
,_arg1
);
377 wxPy_END_ALLOW_THREADS
;
378 } Py_INCREF(Py_None
);
379 _resultobj
= Py_None
;
383 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
386 src
= (wxSizeEvent
*) ptr
;
387 dest
= (wxEvent
*) src
;
388 return (void *) dest
;
391 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
392 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
) {
393 PyObject
* _resultobj
;
400 if(!PyArg_ParseTuple(args
,"s:wxSizeEvent_GetSize",&_argc0
))
403 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
409 wxPy_BEGIN_ALLOW_THREADS
;
410 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
412 wxPy_END_ALLOW_THREADS
;
413 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
414 _resultobj
= Py_BuildValue("s",_ptemp
);
418 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
421 src
= (wxCloseEvent
*) ptr
;
422 dest
= (wxEvent
*) src
;
423 return (void *) dest
;
426 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
427 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
) {
428 PyObject
* _resultobj
;
429 wxCloseEvent
* _arg0
;
435 if(!PyArg_ParseTuple(args
,"si:wxCloseEvent_SetLoggingOff",&_argc0
,&tempbool1
))
438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
443 _arg1
= (bool ) tempbool1
;
445 wxPy_BEGIN_ALLOW_THREADS
;
446 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
448 wxPy_END_ALLOW_THREADS
;
449 } Py_INCREF(Py_None
);
450 _resultobj
= Py_None
;
454 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
455 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
) {
456 PyObject
* _resultobj
;
458 wxCloseEvent
* _arg0
;
462 if(!PyArg_ParseTuple(args
,"s:wxCloseEvent_GetLoggingOff",&_argc0
))
465 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
471 wxPy_BEGIN_ALLOW_THREADS
;
472 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
474 wxPy_END_ALLOW_THREADS
;
475 } _resultobj
= Py_BuildValue("i",_result
);
479 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
480 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
) {
481 PyObject
* _resultobj
;
482 wxCloseEvent
* _arg0
;
488 if(!PyArg_ParseTuple(args
,"s|i:wxCloseEvent_Veto",&_argc0
,&tempbool1
))
491 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
496 _arg1
= (bool ) tempbool1
;
498 wxPy_BEGIN_ALLOW_THREADS
;
499 wxCloseEvent_Veto(_arg0
,_arg1
);
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
507 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
508 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
) {
509 PyObject
* _resultobj
;
511 wxCloseEvent
* _arg0
;
515 if(!PyArg_ParseTuple(args
,"s:wxCloseEvent_CanVeto",&_argc0
))
518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
524 wxPy_BEGIN_ALLOW_THREADS
;
525 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
527 wxPy_END_ALLOW_THREADS
;
528 } _resultobj
= Py_BuildValue("i",_result
);
532 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
533 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
) {
534 PyObject
* _resultobj
;
536 wxCloseEvent
* _arg0
;
540 if(!PyArg_ParseTuple(args
,"s:wxCloseEvent_GetVeto",&_argc0
))
543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
549 wxPy_BEGIN_ALLOW_THREADS
;
550 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
552 wxPy_END_ALLOW_THREADS
;
553 } _resultobj
= Py_BuildValue("i",_result
);
557 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
558 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
) {
559 PyObject
* _resultobj
;
560 wxCloseEvent
* _arg0
;
566 if(!PyArg_ParseTuple(args
,"si:wxCloseEvent_SetCanVeto",&_argc0
,&tempbool1
))
569 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
574 _arg1
= (bool ) tempbool1
;
576 wxPy_BEGIN_ALLOW_THREADS
;
577 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
579 wxPy_END_ALLOW_THREADS
;
580 } Py_INCREF(Py_None
);
581 _resultobj
= Py_None
;
585 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
588 src
= (wxCommandEvent
*) ptr
;
589 dest
= (wxEvent
*) src
;
590 return (void *) dest
;
593 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
594 static PyObject
*_wrap_wxCommandEvent_Checked(PyObject
*self
, PyObject
*args
) {
595 PyObject
* _resultobj
;
597 wxCommandEvent
* _arg0
;
601 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_Checked",&_argc0
))
604 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
610 wxPy_BEGIN_ALLOW_THREADS
;
611 _result
= (bool )wxCommandEvent_Checked(_arg0
);
613 wxPy_END_ALLOW_THREADS
;
614 } _resultobj
= Py_BuildValue("i",_result
);
618 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
619 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
) {
620 PyObject
* _resultobj
;
622 wxCommandEvent
* _arg0
;
626 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_GetExtraLong",&_argc0
))
629 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
638 wxPy_END_ALLOW_THREADS
;
639 } _resultobj
= Py_BuildValue("l",_result
);
643 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
644 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
) {
645 PyObject
* _resultobj
;
647 wxCommandEvent
* _arg0
;
651 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_GetInt",&_argc0
))
654 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
660 wxPy_BEGIN_ALLOW_THREADS
;
661 _result
= (int )wxCommandEvent_GetInt(_arg0
);
663 wxPy_END_ALLOW_THREADS
;
664 } _resultobj
= Py_BuildValue("i",_result
);
668 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
669 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
) {
670 PyObject
* _resultobj
;
672 wxCommandEvent
* _arg0
;
676 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_GetSelection",&_argc0
))
679 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
685 wxPy_BEGIN_ALLOW_THREADS
;
686 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
688 wxPy_END_ALLOW_THREADS
;
689 } _resultobj
= Py_BuildValue("i",_result
);
693 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
694 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
) {
695 PyObject
* _resultobj
;
697 wxCommandEvent
* _arg0
;
701 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_GetString",&_argc0
))
704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
710 wxPy_BEGIN_ALLOW_THREADS
;
711 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
713 wxPy_END_ALLOW_THREADS
;
715 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
723 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
724 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
) {
725 PyObject
* _resultobj
;
727 wxCommandEvent
* _arg0
;
731 if(!PyArg_ParseTuple(args
,"s:wxCommandEvent_IsSelection",&_argc0
))
734 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
740 wxPy_BEGIN_ALLOW_THREADS
;
741 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
743 wxPy_END_ALLOW_THREADS
;
744 } _resultobj
= Py_BuildValue("i",_result
);
748 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
750 wxCommandEvent
*dest
;
751 src
= (wxScrollEvent
*) ptr
;
752 dest
= (wxCommandEvent
*) src
;
753 return (void *) dest
;
756 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
759 src
= (wxScrollEvent
*) ptr
;
760 dest
= (wxEvent
*) src
;
761 return (void *) dest
;
764 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
765 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
) {
766 PyObject
* _resultobj
;
768 wxScrollEvent
* _arg0
;
772 if(!PyArg_ParseTuple(args
,"s:wxScrollEvent_GetOrientation",&_argc0
))
775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
781 wxPy_BEGIN_ALLOW_THREADS
;
782 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
784 wxPy_END_ALLOW_THREADS
;
785 } _resultobj
= Py_BuildValue("i",_result
);
789 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
790 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
791 PyObject
* _resultobj
;
793 wxScrollEvent
* _arg0
;
797 if(!PyArg_ParseTuple(args
,"s:wxScrollEvent_GetPosition",&_argc0
))
800 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
806 wxPy_BEGIN_ALLOW_THREADS
;
807 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
809 wxPy_END_ALLOW_THREADS
;
810 } _resultobj
= Py_BuildValue("i",_result
);
814 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
817 src
= (wxSpinEvent
*) ptr
;
818 dest
= (wxScrollEvent
*) src
;
819 return (void *) dest
;
822 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
824 wxCommandEvent
*dest
;
825 src
= (wxSpinEvent
*) ptr
;
826 dest
= (wxCommandEvent
*) src
;
827 return (void *) dest
;
830 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
833 src
= (wxSpinEvent
*) ptr
;
834 dest
= (wxEvent
*) src
;
835 return (void *) dest
;
838 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
841 src
= (wxMouseEvent
*) ptr
;
842 dest
= (wxEvent
*) src
;
843 return (void *) dest
;
846 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
847 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
) {
848 PyObject
* _resultobj
;
850 wxMouseEvent
* _arg0
;
854 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_IsButton",&_argc0
))
857 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
863 wxPy_BEGIN_ALLOW_THREADS
;
864 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
866 wxPy_END_ALLOW_THREADS
;
867 } _resultobj
= Py_BuildValue("i",_result
);
871 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
872 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
) {
873 PyObject
* _resultobj
;
875 wxMouseEvent
* _arg0
;
880 if(!PyArg_ParseTuple(args
,"s|i:wxMouseEvent_ButtonDown",&_argc0
,&_arg1
))
883 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
889 wxPy_BEGIN_ALLOW_THREADS
;
890 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
892 wxPy_END_ALLOW_THREADS
;
893 } _resultobj
= Py_BuildValue("i",_result
);
897 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
898 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
) {
899 PyObject
* _resultobj
;
901 wxMouseEvent
* _arg0
;
906 if(!PyArg_ParseTuple(args
,"s|i:wxMouseEvent_ButtonDClick",&_argc0
,&_arg1
))
909 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
918 wxPy_END_ALLOW_THREADS
;
919 } _resultobj
= Py_BuildValue("i",_result
);
923 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
924 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
) {
925 PyObject
* _resultobj
;
927 wxMouseEvent
* _arg0
;
932 if(!PyArg_ParseTuple(args
,"s|i:wxMouseEvent_ButtonUp",&_argc0
,&_arg1
))
935 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
941 wxPy_BEGIN_ALLOW_THREADS
;
942 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
944 wxPy_END_ALLOW_THREADS
;
945 } _resultobj
= Py_BuildValue("i",_result
);
949 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
950 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
) {
951 PyObject
* _resultobj
;
953 wxMouseEvent
* _arg0
;
958 if(!PyArg_ParseTuple(args
,"si:wxMouseEvent_Button",&_argc0
,&_arg1
))
961 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
967 wxPy_BEGIN_ALLOW_THREADS
;
968 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
970 wxPy_END_ALLOW_THREADS
;
971 } _resultobj
= Py_BuildValue("i",_result
);
975 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
976 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
) {
977 PyObject
* _resultobj
;
979 wxMouseEvent
* _arg0
;
984 if(!PyArg_ParseTuple(args
,"si:wxMouseEvent_ButtonIsDown",&_argc0
,&_arg1
))
987 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
996 wxPy_END_ALLOW_THREADS
;
997 } _resultobj
= Py_BuildValue("i",_result
);
1001 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1002 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
) {
1003 PyObject
* _resultobj
;
1005 wxMouseEvent
* _arg0
;
1009 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_ControlDown",&_argc0
))
1012 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1021 wxPy_END_ALLOW_THREADS
;
1022 } _resultobj
= Py_BuildValue("i",_result
);
1026 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1027 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
) {
1028 PyObject
* _resultobj
;
1030 wxMouseEvent
* _arg0
;
1034 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MetaDown",&_argc0
))
1037 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1043 wxPy_BEGIN_ALLOW_THREADS
;
1044 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1046 wxPy_END_ALLOW_THREADS
;
1047 } _resultobj
= Py_BuildValue("i",_result
);
1051 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1052 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
) {
1053 PyObject
* _resultobj
;
1055 wxMouseEvent
* _arg0
;
1059 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_AltDown",&_argc0
))
1062 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1068 wxPy_BEGIN_ALLOW_THREADS
;
1069 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1071 wxPy_END_ALLOW_THREADS
;
1072 } _resultobj
= Py_BuildValue("i",_result
);
1076 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1077 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
) {
1078 PyObject
* _resultobj
;
1080 wxMouseEvent
* _arg0
;
1084 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_ShiftDown",&_argc0
))
1087 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1093 wxPy_BEGIN_ALLOW_THREADS
;
1094 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1096 wxPy_END_ALLOW_THREADS
;
1097 } _resultobj
= Py_BuildValue("i",_result
);
1101 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1102 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
) {
1103 PyObject
* _resultobj
;
1105 wxMouseEvent
* _arg0
;
1109 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_LeftDown",&_argc0
))
1112 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1122 } _resultobj
= Py_BuildValue("i",_result
);
1126 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1127 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
) {
1128 PyObject
* _resultobj
;
1130 wxMouseEvent
* _arg0
;
1134 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MiddleDown",&_argc0
))
1137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1146 wxPy_END_ALLOW_THREADS
;
1147 } _resultobj
= Py_BuildValue("i",_result
);
1151 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1152 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
) {
1153 PyObject
* _resultobj
;
1155 wxMouseEvent
* _arg0
;
1159 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_RightDown",&_argc0
))
1162 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1171 wxPy_END_ALLOW_THREADS
;
1172 } _resultobj
= Py_BuildValue("i",_result
);
1176 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1177 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
) {
1178 PyObject
* _resultobj
;
1180 wxMouseEvent
* _arg0
;
1184 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_LeftUp",&_argc0
))
1187 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1196 wxPy_END_ALLOW_THREADS
;
1197 } _resultobj
= Py_BuildValue("i",_result
);
1201 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1202 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
) {
1203 PyObject
* _resultobj
;
1205 wxMouseEvent
* _arg0
;
1209 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MiddleUp",&_argc0
))
1212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1218 wxPy_BEGIN_ALLOW_THREADS
;
1219 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1221 wxPy_END_ALLOW_THREADS
;
1222 } _resultobj
= Py_BuildValue("i",_result
);
1226 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1227 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
) {
1228 PyObject
* _resultobj
;
1230 wxMouseEvent
* _arg0
;
1234 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_RightUp",&_argc0
))
1237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1246 wxPy_END_ALLOW_THREADS
;
1247 } _resultobj
= Py_BuildValue("i",_result
);
1251 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1252 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
) {
1253 PyObject
* _resultobj
;
1255 wxMouseEvent
* _arg0
;
1259 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_LeftDClick",&_argc0
))
1262 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1268 wxPy_BEGIN_ALLOW_THREADS
;
1269 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1271 wxPy_END_ALLOW_THREADS
;
1272 } _resultobj
= Py_BuildValue("i",_result
);
1276 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1277 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
) {
1278 PyObject
* _resultobj
;
1280 wxMouseEvent
* _arg0
;
1284 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MiddleDClick",&_argc0
))
1287 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1293 wxPy_BEGIN_ALLOW_THREADS
;
1294 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1296 wxPy_END_ALLOW_THREADS
;
1297 } _resultobj
= Py_BuildValue("i",_result
);
1301 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1302 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
) {
1303 PyObject
* _resultobj
;
1305 wxMouseEvent
* _arg0
;
1309 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_RightDClick",&_argc0
))
1312 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1321 wxPy_END_ALLOW_THREADS
;
1322 } _resultobj
= Py_BuildValue("i",_result
);
1326 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1327 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
) {
1328 PyObject
* _resultobj
;
1330 wxMouseEvent
* _arg0
;
1334 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_LeftIsDown",&_argc0
))
1337 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1343 wxPy_BEGIN_ALLOW_THREADS
;
1344 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1346 wxPy_END_ALLOW_THREADS
;
1347 } _resultobj
= Py_BuildValue("i",_result
);
1351 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1352 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
) {
1353 PyObject
* _resultobj
;
1355 wxMouseEvent
* _arg0
;
1359 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_MiddleIsDown",&_argc0
))
1362 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1368 wxPy_BEGIN_ALLOW_THREADS
;
1369 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1371 wxPy_END_ALLOW_THREADS
;
1372 } _resultobj
= Py_BuildValue("i",_result
);
1376 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1377 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
) {
1378 PyObject
* _resultobj
;
1380 wxMouseEvent
* _arg0
;
1384 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_RightIsDown",&_argc0
))
1387 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1393 wxPy_BEGIN_ALLOW_THREADS
;
1394 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1396 wxPy_END_ALLOW_THREADS
;
1397 } _resultobj
= Py_BuildValue("i",_result
);
1401 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1402 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
) {
1403 PyObject
* _resultobj
;
1405 wxMouseEvent
* _arg0
;
1409 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Dragging",&_argc0
))
1412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1418 wxPy_BEGIN_ALLOW_THREADS
;
1419 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1421 wxPy_END_ALLOW_THREADS
;
1422 } _resultobj
= Py_BuildValue("i",_result
);
1426 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1427 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
) {
1428 PyObject
* _resultobj
;
1430 wxMouseEvent
* _arg0
;
1434 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Moving",&_argc0
))
1437 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1446 wxPy_END_ALLOW_THREADS
;
1447 } _resultobj
= Py_BuildValue("i",_result
);
1451 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1452 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
) {
1453 PyObject
* _resultobj
;
1455 wxMouseEvent
* _arg0
;
1459 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Entering",&_argc0
))
1462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (bool )wxMouseEvent_Entering(_arg0
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } _resultobj
= Py_BuildValue("i",_result
);
1476 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1477 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
) {
1478 PyObject
* _resultobj
;
1480 wxMouseEvent
* _arg0
;
1484 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Leaving",&_argc0
))
1487 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1493 wxPy_BEGIN_ALLOW_THREADS
;
1494 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
1496 wxPy_END_ALLOW_THREADS
;
1497 } _resultobj
= Py_BuildValue("i",_result
);
1501 #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1502 static PyObject
*_wrap_wxMouseEvent_Position(PyObject
*self
, PyObject
*args
) {
1503 PyObject
* _resultobj
;
1504 wxMouseEvent
* _arg0
;
1518 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_Position",&_argc0
))
1521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 wxMouseEvent_Position(_arg0
,_arg1
,_arg2
);
1530 wxPy_END_ALLOW_THREADS
;
1531 } Py_INCREF(Py_None
);
1532 _resultobj
= Py_None
;
1535 o
= PyInt_FromLong((long) (*_arg1
));
1536 _resultobj
= t_output_helper(_resultobj
, o
);
1540 o
= PyInt_FromLong((long) (*_arg2
));
1541 _resultobj
= t_output_helper(_resultobj
, o
);
1546 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1547 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
1548 PyObject
* _resultobj
;
1550 wxMouseEvent
* _arg0
;
1555 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_GetPosition",&_argc0
))
1558 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
1567 wxPy_END_ALLOW_THREADS
;
1568 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1569 _resultobj
= Py_BuildValue("s",_ptemp
);
1573 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1574 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
) {
1575 PyObject
* _resultobj
;
1577 wxMouseEvent
* _arg0
;
1584 if(!PyArg_ParseTuple(args
,"ss:wxMouseEvent_GetLogicalPosition",&_argc0
,&_argc1
))
1587 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
1593 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
1602 wxPy_END_ALLOW_THREADS
;
1603 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1604 _resultobj
= Py_BuildValue("s",_ptemp
);
1608 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
1609 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
) {
1610 PyObject
* _resultobj
;
1612 wxMouseEvent
* _arg0
;
1616 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_GetX",&_argc0
))
1619 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
1625 wxPy_BEGIN_ALLOW_THREADS
;
1626 _result
= (long )wxMouseEvent_GetX(_arg0
);
1628 wxPy_END_ALLOW_THREADS
;
1629 } _resultobj
= Py_BuildValue("l",_result
);
1633 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
1634 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
) {
1635 PyObject
* _resultobj
;
1637 wxMouseEvent
* _arg0
;
1641 if(!PyArg_ParseTuple(args
,"s:wxMouseEvent_GetY",&_argc0
))
1644 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
1650 wxPy_BEGIN_ALLOW_THREADS
;
1651 _result
= (long )wxMouseEvent_GetY(_arg0
);
1653 wxPy_END_ALLOW_THREADS
;
1654 } _resultobj
= Py_BuildValue("l",_result
);
1658 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
1661 src
= (wxKeyEvent
*) ptr
;
1662 dest
= (wxEvent
*) src
;
1663 return (void *) dest
;
1666 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1667 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
) {
1668 PyObject
* _resultobj
;
1674 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_ControlDown",&_argc0
))
1677 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
1683 wxPy_BEGIN_ALLOW_THREADS
;
1684 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
1686 wxPy_END_ALLOW_THREADS
;
1687 } _resultobj
= Py_BuildValue("i",_result
);
1691 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1692 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
) {
1693 PyObject
* _resultobj
;
1699 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_MetaDown",&_argc0
))
1702 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
1708 wxPy_BEGIN_ALLOW_THREADS
;
1709 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
1711 wxPy_END_ALLOW_THREADS
;
1712 } _resultobj
= Py_BuildValue("i",_result
);
1716 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
1717 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
) {
1718 PyObject
* _resultobj
;
1724 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_AltDown",&_argc0
))
1727 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
1733 wxPy_BEGIN_ALLOW_THREADS
;
1734 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
1736 wxPy_END_ALLOW_THREADS
;
1737 } _resultobj
= Py_BuildValue("i",_result
);
1741 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1742 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
) {
1743 PyObject
* _resultobj
;
1749 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_ShiftDown",&_argc0
))
1752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
1761 wxPy_END_ALLOW_THREADS
;
1762 } _resultobj
= Py_BuildValue("i",_result
);
1766 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
1767 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
) {
1768 PyObject
* _resultobj
;
1774 if(!PyArg_ParseTuple(args
,"s:wxKeyEvent_KeyCode",&_argc0
))
1777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
1786 wxPy_END_ALLOW_THREADS
;
1787 } _resultobj
= Py_BuildValue("l",_result
);
1791 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
1794 src
= (wxMoveEvent
*) ptr
;
1795 dest
= (wxEvent
*) src
;
1796 return (void *) dest
;
1799 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1800 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
1801 PyObject
* _resultobj
;
1803 wxMoveEvent
* _arg0
;
1808 if(!PyArg_ParseTuple(args
,"s:wxMoveEvent_GetPosition",&_argc0
))
1811 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
1812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
1817 wxPy_BEGIN_ALLOW_THREADS
;
1818 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
1820 wxPy_END_ALLOW_THREADS
;
1821 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1822 _resultobj
= Py_BuildValue("s",_ptemp
);
1826 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
1829 src
= (wxPaintEvent
*) ptr
;
1830 dest
= (wxEvent
*) src
;
1831 return (void *) dest
;
1834 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
1837 src
= (wxEraseEvent
*) ptr
;
1838 dest
= (wxEvent
*) src
;
1839 return (void *) dest
;
1842 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
1843 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
) {
1844 PyObject
* _resultobj
;
1846 wxEraseEvent
* _arg0
;
1851 if(!PyArg_ParseTuple(args
,"s:wxEraseEvent_GetDC",&_argc0
))
1854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
1863 wxPy_END_ALLOW_THREADS
;
1864 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
1865 _resultobj
= Py_BuildValue("s",_ptemp
);
1869 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
1872 src
= (wxFocusEvent
*) ptr
;
1873 dest
= (wxEvent
*) src
;
1874 return (void *) dest
;
1877 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
1878 wxActivateEvent
*src
;
1880 src
= (wxActivateEvent
*) ptr
;
1881 dest
= (wxEvent
*) src
;
1882 return (void *) dest
;
1885 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
1886 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
) {
1887 PyObject
* _resultobj
;
1889 wxActivateEvent
* _arg0
;
1893 if(!PyArg_ParseTuple(args
,"s:wxActivateEvent_GetActive",&_argc0
))
1896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
1902 wxPy_BEGIN_ALLOW_THREADS
;
1903 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
1905 wxPy_END_ALLOW_THREADS
;
1906 } _resultobj
= Py_BuildValue("i",_result
);
1910 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
1911 wxInitDialogEvent
*src
;
1913 src
= (wxInitDialogEvent
*) ptr
;
1914 dest
= (wxEvent
*) src
;
1915 return (void *) dest
;
1918 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
1921 src
= (wxMenuEvent
*) ptr
;
1922 dest
= (wxEvent
*) src
;
1923 return (void *) dest
;
1926 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
1927 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
) {
1928 PyObject
* _resultobj
;
1930 wxMenuEvent
* _arg0
;
1934 if(!PyArg_ParseTuple(args
,"s:wxMenuEvent_GetMenuId",&_argc0
))
1937 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
1938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
1943 wxPy_BEGIN_ALLOW_THREADS
;
1944 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
1946 wxPy_END_ALLOW_THREADS
;
1947 } _resultobj
= Py_BuildValue("i",_result
);
1951 static void *SwigwxShowEventTowxEvent(void *ptr
) {
1954 src
= (wxShowEvent
*) ptr
;
1955 dest
= (wxEvent
*) src
;
1956 return (void *) dest
;
1959 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
1960 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
) {
1961 PyObject
* _resultobj
;
1962 wxShowEvent
* _arg0
;
1968 if(!PyArg_ParseTuple(args
,"si:wxShowEvent_SetShow",&_argc0
,&tempbool1
))
1971 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxShowEvent_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
1976 _arg1
= (bool ) tempbool1
;
1978 wxPy_BEGIN_ALLOW_THREADS
;
1979 wxShowEvent_SetShow(_arg0
,_arg1
);
1981 wxPy_END_ALLOW_THREADS
;
1982 } Py_INCREF(Py_None
);
1983 _resultobj
= Py_None
;
1987 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
1988 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
) {
1989 PyObject
* _resultobj
;
1991 wxShowEvent
* _arg0
;
1995 if(!PyArg_ParseTuple(args
,"s:wxShowEvent_GetShow",&_argc0
))
1998 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxShowEvent_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 _result
= (bool )wxShowEvent_GetShow(_arg0
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2012 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
2013 wxIconizeEvent
*src
;
2015 src
= (wxIconizeEvent
*) ptr
;
2016 dest
= (wxEvent
*) src
;
2017 return (void *) dest
;
2020 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
2021 wxMaximizeEvent
*src
;
2023 src
= (wxMaximizeEvent
*) ptr
;
2024 dest
= (wxEvent
*) src
;
2025 return (void *) dest
;
2028 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
2029 wxJoystickEvent
*src
;
2031 src
= (wxJoystickEvent
*) ptr
;
2032 dest
= (wxEvent
*) src
;
2033 return (void *) dest
;
2036 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2037 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
2038 PyObject
* _resultobj
;
2040 wxJoystickEvent
* _arg0
;
2045 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetPosition",&_argc0
))
2048 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
2057 wxPy_END_ALLOW_THREADS
;
2058 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2059 _resultobj
= Py_BuildValue("s",_ptemp
);
2063 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
2064 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
) {
2065 PyObject
* _resultobj
;
2067 wxJoystickEvent
* _arg0
;
2071 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetZPosition",&_argc0
))
2074 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
2083 wxPy_END_ALLOW_THREADS
;
2084 } _resultobj
= Py_BuildValue("i",_result
);
2088 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
2089 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
) {
2090 PyObject
* _resultobj
;
2092 wxJoystickEvent
* _arg0
;
2096 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetButtonState",&_argc0
))
2099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } _resultobj
= Py_BuildValue("i",_result
);
2113 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
2114 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
) {
2115 PyObject
* _resultobj
;
2117 wxJoystickEvent
* _arg0
;
2121 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetButtonChange",&_argc0
))
2124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
2133 wxPy_END_ALLOW_THREADS
;
2134 } _resultobj
= Py_BuildValue("i",_result
);
2138 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
2139 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
) {
2140 PyObject
* _resultobj
;
2142 wxJoystickEvent
* _arg0
;
2146 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_GetJoystick",&_argc0
))
2149 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
2158 wxPy_END_ALLOW_THREADS
;
2159 } _resultobj
= Py_BuildValue("i",_result
);
2163 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
2164 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
) {
2165 PyObject
* _resultobj
;
2166 wxJoystickEvent
* _arg0
;
2171 if(!PyArg_ParseTuple(args
,"si:wxJoystickEvent_SetJoystick",&_argc0
,&_arg1
))
2174 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
2180 wxPy_BEGIN_ALLOW_THREADS
;
2181 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
2183 wxPy_END_ALLOW_THREADS
;
2184 } Py_INCREF(Py_None
);
2185 _resultobj
= Py_None
;
2189 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
2190 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
) {
2191 PyObject
* _resultobj
;
2192 wxJoystickEvent
* _arg0
;
2197 if(!PyArg_ParseTuple(args
,"si:wxJoystickEvent_SetButtonState",&_argc0
,&_arg1
))
2200 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
2209 wxPy_END_ALLOW_THREADS
;
2210 } Py_INCREF(Py_None
);
2211 _resultobj
= Py_None
;
2215 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
2216 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
) {
2217 PyObject
* _resultobj
;
2218 wxJoystickEvent
* _arg0
;
2223 if(!PyArg_ParseTuple(args
,"si:wxJoystickEvent_SetButtonChange",&_argc0
,&_arg1
))
2226 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
2232 wxPy_BEGIN_ALLOW_THREADS
;
2233 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
2235 wxPy_END_ALLOW_THREADS
;
2236 } Py_INCREF(Py_None
);
2237 _resultobj
= Py_None
;
2241 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2242 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
) {
2243 PyObject
* _resultobj
;
2244 wxJoystickEvent
* _arg0
;
2250 if(!PyArg_ParseTuple(args
,"ss:wxJoystickEvent_SetPosition",&_argc0
,&_argc1
))
2253 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
2259 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p.");
2265 wxPy_BEGIN_ALLOW_THREADS
;
2266 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
2268 wxPy_END_ALLOW_THREADS
;
2269 } Py_INCREF(Py_None
);
2270 _resultobj
= Py_None
;
2274 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
2275 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
) {
2276 PyObject
* _resultobj
;
2277 wxJoystickEvent
* _arg0
;
2282 if(!PyArg_ParseTuple(args
,"si:wxJoystickEvent_SetZPosition",&_argc0
,&_arg1
))
2285 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
2294 wxPy_END_ALLOW_THREADS
;
2295 } Py_INCREF(Py_None
);
2296 _resultobj
= Py_None
;
2300 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
2301 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
) {
2302 PyObject
* _resultobj
;
2304 wxJoystickEvent
* _arg0
;
2308 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_IsButton",&_argc0
))
2311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
2317 wxPy_BEGIN_ALLOW_THREADS
;
2318 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
2320 wxPy_END_ALLOW_THREADS
;
2321 } _resultobj
= Py_BuildValue("i",_result
);
2325 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
2326 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
) {
2327 PyObject
* _resultobj
;
2329 wxJoystickEvent
* _arg0
;
2333 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_IsMove",&_argc0
))
2336 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
2342 wxPy_BEGIN_ALLOW_THREADS
;
2343 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
2345 wxPy_END_ALLOW_THREADS
;
2346 } _resultobj
= Py_BuildValue("i",_result
);
2350 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
2351 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
) {
2352 PyObject
* _resultobj
;
2354 wxJoystickEvent
* _arg0
;
2358 if(!PyArg_ParseTuple(args
,"s:wxJoystickEvent_IsZMove",&_argc0
))
2361 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } _resultobj
= Py_BuildValue("i",_result
);
2375 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
2376 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
) {
2377 PyObject
* _resultobj
;
2379 wxJoystickEvent
* _arg0
;
2380 int _arg1
= wxJOY_BUTTON_ANY
;
2384 if(!PyArg_ParseTuple(args
,"s|i:wxJoystickEvent_ButtonDown",&_argc0
,&_arg1
))
2387 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
2393 wxPy_BEGIN_ALLOW_THREADS
;
2394 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
2396 wxPy_END_ALLOW_THREADS
;
2397 } _resultobj
= Py_BuildValue("i",_result
);
2401 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
2402 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
) {
2403 PyObject
* _resultobj
;
2405 wxJoystickEvent
* _arg0
;
2406 int _arg1
= wxJOY_BUTTON_ANY
;
2410 if(!PyArg_ParseTuple(args
,"s|i:wxJoystickEvent_ButtonUp",&_argc0
,&_arg1
))
2413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
2422 wxPy_END_ALLOW_THREADS
;
2423 } _resultobj
= Py_BuildValue("i",_result
);
2427 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
2428 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
) {
2429 PyObject
* _resultobj
;
2431 wxJoystickEvent
* _arg0
;
2432 int _arg1
= wxJOY_BUTTON_ANY
;
2436 if(!PyArg_ParseTuple(args
,"s|i:wxJoystickEvent_ButtonIsDown",&_argc0
,&_arg1
))
2439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
2448 wxPy_END_ALLOW_THREADS
;
2449 } _resultobj
= Py_BuildValue("i",_result
);
2453 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
2454 wxDropFilesEvent
*src
;
2456 src
= (wxDropFilesEvent
*) ptr
;
2457 dest
= (wxEvent
*) src
;
2458 return (void *) dest
;
2461 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2462 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
2463 PyObject
* _resultobj
;
2465 wxDropFilesEvent
* _arg0
;
2470 if(!PyArg_ParseTuple(args
,"s:wxDropFilesEvent_GetPosition",&_argc0
))
2473 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
2482 wxPy_END_ALLOW_THREADS
;
2483 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2484 _resultobj
= Py_BuildValue("s",_ptemp
);
2488 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
2489 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
) {
2490 PyObject
* _resultobj
;
2492 wxDropFilesEvent
* _arg0
;
2496 if(!PyArg_ParseTuple(args
,"s:wxDropFilesEvent_GetNumberOfFiles",&_argc0
))
2499 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } _resultobj
= Py_BuildValue("i",_result
);
2513 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
2514 int count
= self
->GetNumberOfFiles();
2515 wxString
* files
= self
->GetFiles();
2516 PyObject
* list
= PyList_New(count
);
2519 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2523 for (int i
=0; i
<count
; i
++) {
2524 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
2528 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
) {
2529 PyObject
* _resultobj
;
2531 wxDropFilesEvent
* _arg0
;
2535 if(!PyArg_ParseTuple(args
,"s:wxDropFilesEvent_GetFiles",&_argc0
))
2538 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
2544 wxPy_BEGIN_ALLOW_THREADS
;
2545 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
2547 wxPy_END_ALLOW_THREADS
;
2549 _resultobj
= _result
;
2554 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
2557 src
= (wxIdleEvent
*) ptr
;
2558 dest
= (wxEvent
*) src
;
2559 return (void *) dest
;
2562 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
2563 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
) {
2564 PyObject
* _resultobj
;
2565 wxIdleEvent
* _arg0
;
2571 if(!PyArg_ParseTuple(args
,"s|i:wxIdleEvent_RequestMore",&_argc0
,&tempbool1
))
2574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
2579 _arg1
= (bool ) tempbool1
;
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 wxIdleEvent_RequestMore(_arg0
,_arg1
);
2584 wxPy_END_ALLOW_THREADS
;
2585 } Py_INCREF(Py_None
);
2586 _resultobj
= Py_None
;
2590 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
2591 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
) {
2592 PyObject
* _resultobj
;
2594 wxIdleEvent
* _arg0
;
2598 if(!PyArg_ParseTuple(args
,"s:wxIdleEvent_MoreRequested",&_argc0
))
2601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
2607 wxPy_BEGIN_ALLOW_THREADS
;
2608 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
2610 wxPy_END_ALLOW_THREADS
;
2611 } _resultobj
= Py_BuildValue("i",_result
);
2615 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
2616 wxUpdateUIEvent
*src
;
2618 src
= (wxUpdateUIEvent
*) ptr
;
2619 dest
= (wxEvent
*) src
;
2620 return (void *) dest
;
2623 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
2624 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
) {
2625 PyObject
* _resultobj
;
2627 wxUpdateUIEvent
* _arg0
;
2631 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetChecked",&_argc0
))
2634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
2640 wxPy_BEGIN_ALLOW_THREADS
;
2641 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
2643 wxPy_END_ALLOW_THREADS
;
2644 } _resultobj
= Py_BuildValue("i",_result
);
2648 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
2649 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
) {
2650 PyObject
* _resultobj
;
2652 wxUpdateUIEvent
* _arg0
;
2656 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetEnabled",&_argc0
))
2659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
2665 wxPy_BEGIN_ALLOW_THREADS
;
2666 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
2668 wxPy_END_ALLOW_THREADS
;
2669 } _resultobj
= Py_BuildValue("i",_result
);
2673 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
2674 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
) {
2675 PyObject
* _resultobj
;
2677 wxUpdateUIEvent
* _arg0
;
2681 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetText",&_argc0
))
2684 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
2693 wxPy_END_ALLOW_THREADS
;
2695 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2703 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
2704 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
) {
2705 PyObject
* _resultobj
;
2707 wxUpdateUIEvent
* _arg0
;
2711 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetSetText",&_argc0
))
2714 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
2723 wxPy_END_ALLOW_THREADS
;
2724 } _resultobj
= Py_BuildValue("i",_result
);
2728 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
2729 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
) {
2730 PyObject
* _resultobj
;
2732 wxUpdateUIEvent
* _arg0
;
2736 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetSetChecked",&_argc0
))
2739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
2748 wxPy_END_ALLOW_THREADS
;
2749 } _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
2754 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
) {
2755 PyObject
* _resultobj
;
2757 wxUpdateUIEvent
* _arg0
;
2761 if(!PyArg_ParseTuple(args
,"s:wxUpdateUIEvent_GetSetEnabled",&_argc0
))
2764 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
2773 wxPy_END_ALLOW_THREADS
;
2774 } _resultobj
= Py_BuildValue("i",_result
);
2778 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
2779 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
) {
2780 PyObject
* _resultobj
;
2781 wxUpdateUIEvent
* _arg0
;
2787 if(!PyArg_ParseTuple(args
,"si:wxUpdateUIEvent_Check",&_argc0
,&tempbool1
))
2790 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
2795 _arg1
= (bool ) tempbool1
;
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 wxUpdateUIEvent_Check(_arg0
,_arg1
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
2807 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
) {
2808 PyObject
* _resultobj
;
2809 wxUpdateUIEvent
* _arg0
;
2815 if(!PyArg_ParseTuple(args
,"si:wxUpdateUIEvent_Enable",&_argc0
,&tempbool1
))
2818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
2823 _arg1
= (bool ) tempbool1
;
2825 wxPy_BEGIN_ALLOW_THREADS
;
2826 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
2828 wxPy_END_ALLOW_THREADS
;
2829 } Py_INCREF(Py_None
);
2830 _resultobj
= Py_None
;
2834 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
2835 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
) {
2836 PyObject
* _resultobj
;
2837 wxUpdateUIEvent
* _arg0
;
2840 PyObject
* _obj1
= 0;
2843 if(!PyArg_ParseTuple(args
,"sO:wxUpdateUIEvent_SetText",&_argc0
,&_obj1
))
2846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
2852 if (!PyString_Check(_obj1
)) {
2853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2856 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2859 wxPy_BEGIN_ALLOW_THREADS
;
2860 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
2862 wxPy_END_ALLOW_THREADS
;
2863 } Py_INCREF(Py_None
);
2864 _resultobj
= Py_None
;
2872 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
2873 wxSysColourChangedEvent
*src
;
2875 src
= (wxSysColourChangedEvent
*) ptr
;
2876 dest
= (wxEvent
*) src
;
2877 return (void *) dest
;
2880 static void *SwigwxPyEventTowxCommandEvent(void *ptr
) {
2882 wxCommandEvent
*dest
;
2883 src
= (wxPyEvent
*) ptr
;
2884 dest
= (wxCommandEvent
*) src
;
2885 return (void *) dest
;
2888 static void *SwigwxPyEventTowxEvent(void *ptr
) {
2891 src
= (wxPyEvent
*) ptr
;
2892 dest
= (wxEvent
*) src
;
2893 return (void *) dest
;
2896 #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
2897 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
) {
2898 PyObject
* _resultobj
;
2899 wxPyEvent
* _result
;
2900 wxEventType _arg0
= (wxEVT_NULL
);
2901 PyObject
* _arg1
= Py_None
;
2902 PyObject
* _obj1
= 0;
2906 if(!PyArg_ParseTuple(args
,"|iO:new_wxPyEvent",&_arg0
,&_obj1
))
2913 wxPy_BEGIN_ALLOW_THREADS
;
2914 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
,_arg1
);
2916 wxPy_END_ALLOW_THREADS
;
2917 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
2918 _resultobj
= Py_BuildValue("s",_ptemp
);
2922 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
2923 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
) {
2924 PyObject
* _resultobj
;
2929 if(!PyArg_ParseTuple(args
,"s:delete_wxPyEvent",&_argc0
))
2932 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyEvent_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
2938 wxPy_BEGIN_ALLOW_THREADS
;
2939 delete_wxPyEvent(_arg0
);
2941 wxPy_END_ALLOW_THREADS
;
2942 } Py_INCREF(Py_None
);
2943 _resultobj
= Py_None
;
2947 #define wxPyEvent_SetUserData(_swigobj,_swigarg0) (_swigobj->SetUserData(_swigarg0))
2948 static PyObject
*_wrap_wxPyEvent_SetUserData(PyObject
*self
, PyObject
*args
) {
2949 PyObject
* _resultobj
;
2953 PyObject
* _obj1
= 0;
2956 if(!PyArg_ParseTuple(args
,"sO:wxPyEvent_SetUserData",&_argc0
,&_obj1
))
2959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyEvent_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetUserData. Expected _wxPyEvent_p.");
2968 wxPy_BEGIN_ALLOW_THREADS
;
2969 wxPyEvent_SetUserData(_arg0
,_arg1
);
2971 wxPy_END_ALLOW_THREADS
;
2972 } Py_INCREF(Py_None
);
2973 _resultobj
= Py_None
;
2977 #define wxPyEvent_GetUserData(_swigobj) (_swigobj->GetUserData())
2978 static PyObject
*_wrap_wxPyEvent_GetUserData(PyObject
*self
, PyObject
*args
) {
2979 PyObject
* _resultobj
;
2985 if(!PyArg_ParseTuple(args
,"s:wxPyEvent_GetUserData",&_argc0
))
2988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyEvent_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetUserData. Expected _wxPyEvent_p.");
2994 wxPy_BEGIN_ALLOW_THREADS
;
2995 _result
= (PyObject
*)wxPyEvent_GetUserData(_arg0
);
2997 wxPy_END_ALLOW_THREADS
;
2999 _resultobj
= _result
;
3004 static PyMethodDef eventscMethods
[] = {
3005 { "wxPyEvent_GetUserData", _wrap_wxPyEvent_GetUserData
, 1 },
3006 { "wxPyEvent_SetUserData", _wrap_wxPyEvent_SetUserData
, 1 },
3007 { "delete_wxPyEvent", _wrap_delete_wxPyEvent
, 1 },
3008 { "new_wxPyEvent", _wrap_new_wxPyEvent
, 1 },
3009 { "wxUpdateUIEvent_SetText", _wrap_wxUpdateUIEvent_SetText
, 1 },
3010 { "wxUpdateUIEvent_Enable", _wrap_wxUpdateUIEvent_Enable
, 1 },
3011 { "wxUpdateUIEvent_Check", _wrap_wxUpdateUIEvent_Check
, 1 },
3012 { "wxUpdateUIEvent_GetSetEnabled", _wrap_wxUpdateUIEvent_GetSetEnabled
, 1 },
3013 { "wxUpdateUIEvent_GetSetChecked", _wrap_wxUpdateUIEvent_GetSetChecked
, 1 },
3014 { "wxUpdateUIEvent_GetSetText", _wrap_wxUpdateUIEvent_GetSetText
, 1 },
3015 { "wxUpdateUIEvent_GetText", _wrap_wxUpdateUIEvent_GetText
, 1 },
3016 { "wxUpdateUIEvent_GetEnabled", _wrap_wxUpdateUIEvent_GetEnabled
, 1 },
3017 { "wxUpdateUIEvent_GetChecked", _wrap_wxUpdateUIEvent_GetChecked
, 1 },
3018 { "wxIdleEvent_MoreRequested", _wrap_wxIdleEvent_MoreRequested
, 1 },
3019 { "wxIdleEvent_RequestMore", _wrap_wxIdleEvent_RequestMore
, 1 },
3020 { "wxDropFilesEvent_GetFiles", _wrap_wxDropFilesEvent_GetFiles
, 1 },
3021 { "wxDropFilesEvent_GetNumberOfFiles", _wrap_wxDropFilesEvent_GetNumberOfFiles
, 1 },
3022 { "wxDropFilesEvent_GetPosition", _wrap_wxDropFilesEvent_GetPosition
, 1 },
3023 { "wxJoystickEvent_ButtonIsDown", _wrap_wxJoystickEvent_ButtonIsDown
, 1 },
3024 { "wxJoystickEvent_ButtonUp", _wrap_wxJoystickEvent_ButtonUp
, 1 },
3025 { "wxJoystickEvent_ButtonDown", _wrap_wxJoystickEvent_ButtonDown
, 1 },
3026 { "wxJoystickEvent_IsZMove", _wrap_wxJoystickEvent_IsZMove
, 1 },
3027 { "wxJoystickEvent_IsMove", _wrap_wxJoystickEvent_IsMove
, 1 },
3028 { "wxJoystickEvent_IsButton", _wrap_wxJoystickEvent_IsButton
, 1 },
3029 { "wxJoystickEvent_SetZPosition", _wrap_wxJoystickEvent_SetZPosition
, 1 },
3030 { "wxJoystickEvent_SetPosition", _wrap_wxJoystickEvent_SetPosition
, 1 },
3031 { "wxJoystickEvent_SetButtonChange", _wrap_wxJoystickEvent_SetButtonChange
, 1 },
3032 { "wxJoystickEvent_SetButtonState", _wrap_wxJoystickEvent_SetButtonState
, 1 },
3033 { "wxJoystickEvent_SetJoystick", _wrap_wxJoystickEvent_SetJoystick
, 1 },
3034 { "wxJoystickEvent_GetJoystick", _wrap_wxJoystickEvent_GetJoystick
, 1 },
3035 { "wxJoystickEvent_GetButtonChange", _wrap_wxJoystickEvent_GetButtonChange
, 1 },
3036 { "wxJoystickEvent_GetButtonState", _wrap_wxJoystickEvent_GetButtonState
, 1 },
3037 { "wxJoystickEvent_GetZPosition", _wrap_wxJoystickEvent_GetZPosition
, 1 },
3038 { "wxJoystickEvent_GetPosition", _wrap_wxJoystickEvent_GetPosition
, 1 },
3039 { "wxShowEvent_GetShow", _wrap_wxShowEvent_GetShow
, 1 },
3040 { "wxShowEvent_SetShow", _wrap_wxShowEvent_SetShow
, 1 },
3041 { "wxMenuEvent_GetMenuId", _wrap_wxMenuEvent_GetMenuId
, 1 },
3042 { "wxActivateEvent_GetActive", _wrap_wxActivateEvent_GetActive
, 1 },
3043 { "wxEraseEvent_GetDC", _wrap_wxEraseEvent_GetDC
, 1 },
3044 { "wxMoveEvent_GetPosition", _wrap_wxMoveEvent_GetPosition
, 1 },
3045 { "wxKeyEvent_KeyCode", _wrap_wxKeyEvent_KeyCode
, 1 },
3046 { "wxKeyEvent_ShiftDown", _wrap_wxKeyEvent_ShiftDown
, 1 },
3047 { "wxKeyEvent_AltDown", _wrap_wxKeyEvent_AltDown
, 1 },
3048 { "wxKeyEvent_MetaDown", _wrap_wxKeyEvent_MetaDown
, 1 },
3049 { "wxKeyEvent_ControlDown", _wrap_wxKeyEvent_ControlDown
, 1 },
3050 { "wxMouseEvent_GetY", _wrap_wxMouseEvent_GetY
, 1 },
3051 { "wxMouseEvent_GetX", _wrap_wxMouseEvent_GetX
, 1 },
3052 { "wxMouseEvent_GetLogicalPosition", _wrap_wxMouseEvent_GetLogicalPosition
, 1 },
3053 { "wxMouseEvent_GetPosition", _wrap_wxMouseEvent_GetPosition
, 1 },
3054 { "wxMouseEvent_Position", _wrap_wxMouseEvent_Position
, 1 },
3055 { "wxMouseEvent_Leaving", _wrap_wxMouseEvent_Leaving
, 1 },
3056 { "wxMouseEvent_Entering", _wrap_wxMouseEvent_Entering
, 1 },
3057 { "wxMouseEvent_Moving", _wrap_wxMouseEvent_Moving
, 1 },
3058 { "wxMouseEvent_Dragging", _wrap_wxMouseEvent_Dragging
, 1 },
3059 { "wxMouseEvent_RightIsDown", _wrap_wxMouseEvent_RightIsDown
, 1 },
3060 { "wxMouseEvent_MiddleIsDown", _wrap_wxMouseEvent_MiddleIsDown
, 1 },
3061 { "wxMouseEvent_LeftIsDown", _wrap_wxMouseEvent_LeftIsDown
, 1 },
3062 { "wxMouseEvent_RightDClick", _wrap_wxMouseEvent_RightDClick
, 1 },
3063 { "wxMouseEvent_MiddleDClick", _wrap_wxMouseEvent_MiddleDClick
, 1 },
3064 { "wxMouseEvent_LeftDClick", _wrap_wxMouseEvent_LeftDClick
, 1 },
3065 { "wxMouseEvent_RightUp", _wrap_wxMouseEvent_RightUp
, 1 },
3066 { "wxMouseEvent_MiddleUp", _wrap_wxMouseEvent_MiddleUp
, 1 },
3067 { "wxMouseEvent_LeftUp", _wrap_wxMouseEvent_LeftUp
, 1 },
3068 { "wxMouseEvent_RightDown", _wrap_wxMouseEvent_RightDown
, 1 },
3069 { "wxMouseEvent_MiddleDown", _wrap_wxMouseEvent_MiddleDown
, 1 },
3070 { "wxMouseEvent_LeftDown", _wrap_wxMouseEvent_LeftDown
, 1 },
3071 { "wxMouseEvent_ShiftDown", _wrap_wxMouseEvent_ShiftDown
, 1 },
3072 { "wxMouseEvent_AltDown", _wrap_wxMouseEvent_AltDown
, 1 },
3073 { "wxMouseEvent_MetaDown", _wrap_wxMouseEvent_MetaDown
, 1 },
3074 { "wxMouseEvent_ControlDown", _wrap_wxMouseEvent_ControlDown
, 1 },
3075 { "wxMouseEvent_ButtonIsDown", _wrap_wxMouseEvent_ButtonIsDown
, 1 },
3076 { "wxMouseEvent_Button", _wrap_wxMouseEvent_Button
, 1 },
3077 { "wxMouseEvent_ButtonUp", _wrap_wxMouseEvent_ButtonUp
, 1 },
3078 { "wxMouseEvent_ButtonDClick", _wrap_wxMouseEvent_ButtonDClick
, 1 },
3079 { "wxMouseEvent_ButtonDown", _wrap_wxMouseEvent_ButtonDown
, 1 },
3080 { "wxMouseEvent_IsButton", _wrap_wxMouseEvent_IsButton
, 1 },
3081 { "wxScrollEvent_GetPosition", _wrap_wxScrollEvent_GetPosition
, 1 },
3082 { "wxScrollEvent_GetOrientation", _wrap_wxScrollEvent_GetOrientation
, 1 },
3083 { "wxCommandEvent_IsSelection", _wrap_wxCommandEvent_IsSelection
, 1 },
3084 { "wxCommandEvent_GetString", _wrap_wxCommandEvent_GetString
, 1 },
3085 { "wxCommandEvent_GetSelection", _wrap_wxCommandEvent_GetSelection
, 1 },
3086 { "wxCommandEvent_GetInt", _wrap_wxCommandEvent_GetInt
, 1 },
3087 { "wxCommandEvent_GetExtraLong", _wrap_wxCommandEvent_GetExtraLong
, 1 },
3088 { "wxCommandEvent_Checked", _wrap_wxCommandEvent_Checked
, 1 },
3089 { "wxCloseEvent_SetCanVeto", _wrap_wxCloseEvent_SetCanVeto
, 1 },
3090 { "wxCloseEvent_GetVeto", _wrap_wxCloseEvent_GetVeto
, 1 },
3091 { "wxCloseEvent_CanVeto", _wrap_wxCloseEvent_CanVeto
, 1 },
3092 { "wxCloseEvent_Veto", _wrap_wxCloseEvent_Veto
, 1 },
3093 { "wxCloseEvent_GetLoggingOff", _wrap_wxCloseEvent_GetLoggingOff
, 1 },
3094 { "wxCloseEvent_SetLoggingOff", _wrap_wxCloseEvent_SetLoggingOff
, 1 },
3095 { "wxSizeEvent_GetSize", _wrap_wxSizeEvent_GetSize
, 1 },
3096 { "wxEvent_Skip", _wrap_wxEvent_Skip
, 1 },
3097 { "wxEvent_SetTimestamp", _wrap_wxEvent_SetTimestamp
, 1 },
3098 { "wxEvent_SetId", _wrap_wxEvent_SetId
, 1 },
3099 { "wxEvent_SetEventType", _wrap_wxEvent_SetEventType
, 1 },
3100 { "wxEvent_SetEventObject", _wrap_wxEvent_SetEventObject
, 1 },
3101 { "wxEvent_GetTimestamp", _wrap_wxEvent_GetTimestamp
, 1 },
3102 { "wxEvent_GetSkipped", _wrap_wxEvent_GetSkipped
, 1 },
3103 { "wxEvent_GetId", _wrap_wxEvent_GetId
, 1 },
3104 { "wxEvent_GetEventType", _wrap_wxEvent_GetEventType
, 1 },
3105 { "wxEvent_GetEventObject", _wrap_wxEvent_GetEventObject
, 1 },
3108 static PyObject
*SWIG_globals
;
3112 SWIGEXPORT(void,initeventsc
)() {
3114 SWIG_globals
= SWIG_newvarlink();
3115 m
= Py_InitModule("eventsc", eventscMethods
);
3116 d
= PyModule_GetDict(m
);
3118 * These are the pointer type-equivalency mappings.
3119 * (Used by the SWIG pointer type-checker).
3121 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3122 SWIG_RegisterMapping("_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
);
3123 SWIG_RegisterMapping("_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
);
3124 SWIG_RegisterMapping("_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
);
3125 SWIG_RegisterMapping("_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
);
3126 SWIG_RegisterMapping("_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
);
3127 SWIG_RegisterMapping("_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
);
3128 SWIG_RegisterMapping("_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
);
3129 SWIG_RegisterMapping("_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
);
3130 SWIG_RegisterMapping("_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
);
3131 SWIG_RegisterMapping("_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
);
3132 SWIG_RegisterMapping("_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
);
3133 SWIG_RegisterMapping("_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
);
3134 SWIG_RegisterMapping("_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
);
3135 SWIG_RegisterMapping("_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
);
3136 SWIG_RegisterMapping("_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
);
3137 SWIG_RegisterMapping("_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
);
3138 SWIG_RegisterMapping("_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
);
3139 SWIG_RegisterMapping("_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
);
3140 SWIG_RegisterMapping("_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
);
3141 SWIG_RegisterMapping("_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
);
3142 SWIG_RegisterMapping("_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
);
3143 SWIG_RegisterMapping("_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
);
3144 SWIG_RegisterMapping("_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
);
3145 SWIG_RegisterMapping("_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
);
3146 SWIG_RegisterMapping("_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
);
3147 SWIG_RegisterMapping("_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
);
3148 SWIG_RegisterMapping("_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
);
3149 SWIG_RegisterMapping("_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
);
3150 SWIG_RegisterMapping("_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
);
3151 SWIG_RegisterMapping("_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
);
3152 SWIG_RegisterMapping("_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
);
3153 SWIG_RegisterMapping("_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
);
3154 SWIG_RegisterMapping("_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
);
3155 SWIG_RegisterMapping("_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
);
3156 SWIG_RegisterMapping("_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
);
3157 SWIG_RegisterMapping("_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
);
3158 SWIG_RegisterMapping("_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
);
3159 SWIG_RegisterMapping("_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
);
3160 SWIG_RegisterMapping("_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
);
3161 SWIG_RegisterMapping("_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
);
3162 SWIG_RegisterMapping("_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
);
3163 SWIG_RegisterMapping("_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
);
3164 SWIG_RegisterMapping("_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
);
3165 SWIG_RegisterMapping("_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
);
3166 SWIG_RegisterMapping("_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
);
3167 SWIG_RegisterMapping("_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
);
3168 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3169 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3170 SWIG_RegisterMapping("_signed_long","_long",0);
3171 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3172 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3173 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3174 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3175 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
3176 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3177 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3178 SWIG_RegisterMapping("_long","_unsigned_long",0);
3179 SWIG_RegisterMapping("_long","_signed_long",0);
3180 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
3181 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3182 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
3183 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3184 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
3185 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
3186 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
3187 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
3188 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
3189 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
3190 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
3191 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
3192 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
3193 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3194 SWIG_RegisterMapping("_uint","_int",0);
3195 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3196 SWIG_RegisterMapping("_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
);
3197 SWIG_RegisterMapping("_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
);
3198 SWIG_RegisterMapping("_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
);
3199 SWIG_RegisterMapping("_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
);
3200 SWIG_RegisterMapping("_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
);
3201 SWIG_RegisterMapping("_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
);
3202 SWIG_RegisterMapping("_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
);
3203 SWIG_RegisterMapping("_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
);
3204 SWIG_RegisterMapping("_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
);
3205 SWIG_RegisterMapping("_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
);
3206 SWIG_RegisterMapping("_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
);
3207 SWIG_RegisterMapping("_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
);
3208 SWIG_RegisterMapping("_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
);
3209 SWIG_RegisterMapping("_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
);
3210 SWIG_RegisterMapping("_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
);
3211 SWIG_RegisterMapping("_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
);
3212 SWIG_RegisterMapping("_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
);
3213 SWIG_RegisterMapping("_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
);
3214 SWIG_RegisterMapping("_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
);
3215 SWIG_RegisterMapping("_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
);
3216 SWIG_RegisterMapping("_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
);
3217 SWIG_RegisterMapping("_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
);
3218 SWIG_RegisterMapping("_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
);
3219 SWIG_RegisterMapping("_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
);
3220 SWIG_RegisterMapping("_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
);
3221 SWIG_RegisterMapping("_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
);
3222 SWIG_RegisterMapping("_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
);
3223 SWIG_RegisterMapping("_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
);
3224 SWIG_RegisterMapping("_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
);
3225 SWIG_RegisterMapping("_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
);
3226 SWIG_RegisterMapping("_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
);
3227 SWIG_RegisterMapping("_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
);
3228 SWIG_RegisterMapping("_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
);
3229 SWIG_RegisterMapping("_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
);
3230 SWIG_RegisterMapping("_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
);
3231 SWIG_RegisterMapping("_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
);
3232 SWIG_RegisterMapping("_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
);
3233 SWIG_RegisterMapping("_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
);
3234 SWIG_RegisterMapping("_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
);
3235 SWIG_RegisterMapping("_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
);
3236 SWIG_RegisterMapping("_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
);
3237 SWIG_RegisterMapping("_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
);
3238 SWIG_RegisterMapping("_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
);
3239 SWIG_RegisterMapping("_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
);
3240 SWIG_RegisterMapping("_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
);
3241 SWIG_RegisterMapping("_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
);
3242 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
3243 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3244 SWIG_RegisterMapping("_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent
);
3245 SWIG_RegisterMapping("_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent
);
3246 SWIG_RegisterMapping("_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
);
3247 SWIG_RegisterMapping("_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
);
3248 SWIG_RegisterMapping("_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
);
3249 SWIG_RegisterMapping("_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
);
3250 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
3251 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
3252 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3253 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3254 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3255 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
3256 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
3257 SWIG_RegisterMapping("_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
);
3258 SWIG_RegisterMapping("_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
);
3259 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
3260 SWIG_RegisterMapping("_EBool","_signed_int",0);
3261 SWIG_RegisterMapping("_EBool","_int",0);
3262 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3263 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
3264 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
3265 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
3266 SWIG_RegisterMapping("_unsigned_long","_long",0);
3267 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3268 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3269 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
3270 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
3271 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3272 SWIG_RegisterMapping("_signed_int","_EBool",0);
3273 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3274 SWIG_RegisterMapping("_signed_int","_int",0);
3275 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3276 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3277 SWIG_RegisterMapping("_WXTYPE","_short",0);
3278 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3279 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3280 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3281 SWIG_RegisterMapping("_unsigned_short","_short",0);
3282 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3283 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3284 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3285 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3286 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3287 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3288 SWIG_RegisterMapping("_signed_short","_short",0);
3289 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3290 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3291 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3292 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3293 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3294 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3295 SWIG_RegisterMapping("_unsigned_int","_int",0);
3296 SWIG_RegisterMapping("_short","_WXTYPE",0);
3297 SWIG_RegisterMapping("_short","_unsigned_short",0);
3298 SWIG_RegisterMapping("_short","_signed_short",0);
3299 SWIG_RegisterMapping("_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
);
3300 SWIG_RegisterMapping("_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
);
3301 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
3302 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
3303 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3304 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3305 SWIG_RegisterMapping("_wxWindowID","_int",0);
3306 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3307 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3308 SWIG_RegisterMapping("_int","_EBool",0);
3309 SWIG_RegisterMapping("_int","_uint",0);
3310 SWIG_RegisterMapping("_int","_wxWindowID",0);
3311 SWIG_RegisterMapping("_int","_unsigned_int",0);
3312 SWIG_RegisterMapping("_int","_signed_int",0);
3313 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
3314 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
3315 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3316 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
3317 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3318 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3319 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3320 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3321 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3322 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
3323 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
3324 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
3325 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3326 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3327 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent
);
3328 SWIG_RegisterMapping("_class_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent
);
3329 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
);
3330 SWIG_RegisterMapping("_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
);
3331 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
);
3332 SWIG_RegisterMapping("_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
);
3333 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3334 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3335 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3336 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3337 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
3338 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);