2 * FILE : gtk/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initeventsc
54 #define SWIG_name "eventsc"
57 #include <wx/spinbutt.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
121 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
122 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
126 PyObject
* _argo0
= 0;
127 char *_kwnames
[] = { "self", NULL
};
131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
141 wxPy_BEGIN_ALLOW_THREADS
;
142 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
144 wxPy_END_ALLOW_THREADS
;
146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
150 _resultobj
= Py_None
;
155 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
156 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
160 PyObject
* _argo0
= 0;
161 char *_kwnames
[] = { "self", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
174 wxPy_BEGIN_ALLOW_THREADS
;
175 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
177 wxPy_END_ALLOW_THREADS
;
178 } _resultobj
= Py_BuildValue("i",_result
);
182 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
183 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
187 PyObject
* _argo0
= 0;
188 char *_kwnames
[] = { "self", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
201 wxPy_BEGIN_ALLOW_THREADS
;
202 _result
= (int )wxEvent_GetId(_arg0
);
204 wxPy_END_ALLOW_THREADS
;
205 } _resultobj
= Py_BuildValue("i",_result
);
209 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
210 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
214 PyObject
* _argo0
= 0;
215 char *_kwnames
[] = { "self", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
228 wxPy_BEGIN_ALLOW_THREADS
;
229 _result
= (bool )wxEvent_GetSkipped(_arg0
);
231 wxPy_END_ALLOW_THREADS
;
232 } _resultobj
= Py_BuildValue("i",_result
);
236 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
237 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
241 PyObject
* _argo0
= 0;
242 char *_kwnames
[] = { "self", NULL
};
245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
255 wxPy_BEGIN_ALLOW_THREADS
;
256 _result
= (long )wxEvent_GetTimestamp(_arg0
);
258 wxPy_END_ALLOW_THREADS
;
259 } _resultobj
= Py_BuildValue("l",_result
);
263 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
264 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
268 PyObject
* _argo0
= 0;
269 PyObject
* _argo1
= 0;
270 char *_kwnames
[] = { "self","object", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
290 wxPy_BEGIN_ALLOW_THREADS
;
291 wxEvent_SetEventObject(_arg0
,_arg1
);
293 wxPy_END_ALLOW_THREADS
;
294 } Py_INCREF(Py_None
);
295 _resultobj
= Py_None
;
299 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
300 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
301 PyObject
* _resultobj
;
304 PyObject
* _argo0
= 0;
305 char *_kwnames
[] = { "self","typ", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
318 wxPy_BEGIN_ALLOW_THREADS
;
319 wxEvent_SetEventType(_arg0
,_arg1
);
321 wxPy_END_ALLOW_THREADS
;
322 } Py_INCREF(Py_None
);
323 _resultobj
= Py_None
;
327 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
328 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
332 PyObject
* _argo0
= 0;
333 char *_kwnames
[] = { "self","id", NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
346 wxPy_BEGIN_ALLOW_THREADS
;
347 wxEvent_SetId(_arg0
,_arg1
);
349 wxPy_END_ALLOW_THREADS
;
350 } Py_INCREF(Py_None
);
351 _resultobj
= Py_None
;
355 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
356 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
357 PyObject
* _resultobj
;
360 PyObject
* _argo0
= 0;
361 char *_kwnames
[] = { "self","timeStamp", NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
374 wxPy_BEGIN_ALLOW_THREADS
;
375 wxEvent_SetTimestamp(_arg0
,_arg1
);
377 wxPy_END_ALLOW_THREADS
;
378 } Py_INCREF(Py_None
);
379 _resultobj
= Py_None
;
383 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
384 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
385 PyObject
* _resultobj
;
387 bool _arg1
= (bool ) TRUE
;
388 PyObject
* _argo0
= 0;
389 int tempbool1
= (int) TRUE
;
390 char *_kwnames
[] = { "self","skip", NULL
};
393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
402 _arg1
= (bool ) tempbool1
;
404 wxPy_BEGIN_ALLOW_THREADS
;
405 wxEvent_Skip(_arg0
,_arg1
);
407 wxPy_END_ALLOW_THREADS
;
408 } Py_INCREF(Py_None
);
409 _resultobj
= Py_None
;
413 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
416 src
= (wxSizeEvent
*) ptr
;
417 dest
= (wxEvent
*) src
;
418 return (void *) dest
;
421 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
422 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
423 PyObject
* _resultobj
;
426 PyObject
* _argo0
= 0;
427 char *_kwnames
[] = { "self", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
441 wxPy_BEGIN_ALLOW_THREADS
;
442 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
444 wxPy_END_ALLOW_THREADS
;
445 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
446 _resultobj
= Py_BuildValue("s",_ptemp
);
450 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
453 src
= (wxCloseEvent
*) ptr
;
454 dest
= (wxEvent
*) src
;
455 return (void *) dest
;
458 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
459 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
461 wxCloseEvent
* _arg0
;
463 PyObject
* _argo0
= 0;
465 char *_kwnames
[] = { "self","loggingOff", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
477 _arg1
= (bool ) tempbool1
;
479 wxPy_BEGIN_ALLOW_THREADS
;
480 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
482 wxPy_END_ALLOW_THREADS
;
483 } Py_INCREF(Py_None
);
484 _resultobj
= Py_None
;
488 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
489 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
492 wxCloseEvent
* _arg0
;
493 PyObject
* _argo0
= 0;
494 char *_kwnames
[] = { "self", NULL
};
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
507 wxPy_BEGIN_ALLOW_THREADS
;
508 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
510 wxPy_END_ALLOW_THREADS
;
511 } _resultobj
= Py_BuildValue("i",_result
);
515 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
516 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
518 wxCloseEvent
* _arg0
;
519 bool _arg1
= (bool ) TRUE
;
520 PyObject
* _argo0
= 0;
521 int tempbool1
= (int) TRUE
;
522 char *_kwnames
[] = { "self","veto", NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
534 _arg1
= (bool ) tempbool1
;
536 wxPy_BEGIN_ALLOW_THREADS
;
537 wxCloseEvent_Veto(_arg0
,_arg1
);
539 wxPy_END_ALLOW_THREADS
;
540 } Py_INCREF(Py_None
);
541 _resultobj
= Py_None
;
545 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
546 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxCloseEvent
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self", NULL
};
554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
564 wxPy_BEGIN_ALLOW_THREADS
;
565 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
567 wxPy_END_ALLOW_THREADS
;
568 } _resultobj
= Py_BuildValue("i",_result
);
572 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
573 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
576 wxCloseEvent
* _arg0
;
577 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
591 wxPy_BEGIN_ALLOW_THREADS
;
592 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
594 wxPy_END_ALLOW_THREADS
;
595 } _resultobj
= Py_BuildValue("i",_result
);
599 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
600 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
601 PyObject
* _resultobj
;
602 wxCloseEvent
* _arg0
;
604 PyObject
* _argo0
= 0;
606 char *_kwnames
[] = { "self","canVeto", NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
618 _arg1
= (bool ) tempbool1
;
620 wxPy_BEGIN_ALLOW_THREADS
;
621 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
623 wxPy_END_ALLOW_THREADS
;
624 } Py_INCREF(Py_None
);
625 _resultobj
= Py_None
;
629 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
632 src
= (wxCommandEvent
*) ptr
;
633 dest
= (wxEvent
*) src
;
634 return (void *) dest
;
637 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
638 static PyObject
*_wrap_wxCommandEvent_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
639 PyObject
* _resultobj
;
641 wxCommandEvent
* _arg0
;
642 PyObject
* _argo0
= 0;
643 char *_kwnames
[] = { "self", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_Checked",_kwnames
,&_argo0
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
656 wxPy_BEGIN_ALLOW_THREADS
;
657 _result
= (bool )wxCommandEvent_Checked(_arg0
);
659 wxPy_END_ALLOW_THREADS
;
660 } _resultobj
= Py_BuildValue("i",_result
);
664 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
665 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
668 wxCommandEvent
* _arg0
;
669 PyObject
* _argo0
= 0;
670 char *_kwnames
[] = { "self", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
683 wxPy_BEGIN_ALLOW_THREADS
;
684 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
686 wxPy_END_ALLOW_THREADS
;
687 } _resultobj
= Py_BuildValue("l",_result
);
691 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
692 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
695 wxCommandEvent
* _arg0
;
696 PyObject
* _argo0
= 0;
697 char *_kwnames
[] = { "self", NULL
};
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
710 wxPy_BEGIN_ALLOW_THREADS
;
711 _result
= (int )wxCommandEvent_GetInt(_arg0
);
713 wxPy_END_ALLOW_THREADS
;
714 } _resultobj
= Py_BuildValue("i",_result
);
718 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
719 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
720 PyObject
* _resultobj
;
722 wxCommandEvent
* _arg0
;
723 PyObject
* _argo0
= 0;
724 char *_kwnames
[] = { "self", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
737 wxPy_BEGIN_ALLOW_THREADS
;
738 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
740 wxPy_END_ALLOW_THREADS
;
741 } _resultobj
= Py_BuildValue("i",_result
);
745 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
746 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
749 wxCommandEvent
* _arg0
;
750 PyObject
* _argo0
= 0;
751 char *_kwnames
[] = { "self", NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
764 wxPy_BEGIN_ALLOW_THREADS
;
765 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
767 wxPy_END_ALLOW_THREADS
;
769 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
777 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
778 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
781 wxCommandEvent
* _arg0
;
782 PyObject
* _argo0
= 0;
783 char *_kwnames
[] = { "self", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
796 wxPy_BEGIN_ALLOW_THREADS
;
797 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
799 wxPy_END_ALLOW_THREADS
;
800 } _resultobj
= Py_BuildValue("i",_result
);
804 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
806 wxCommandEvent
*dest
;
807 src
= (wxScrollEvent
*) ptr
;
808 dest
= (wxCommandEvent
*) src
;
809 return (void *) dest
;
812 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
815 src
= (wxScrollEvent
*) ptr
;
816 dest
= (wxEvent
*) src
;
817 return (void *) dest
;
820 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
821 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
824 wxScrollEvent
* _arg0
;
825 PyObject
* _argo0
= 0;
826 char *_kwnames
[] = { "self", NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
839 wxPy_BEGIN_ALLOW_THREADS
;
840 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
842 wxPy_END_ALLOW_THREADS
;
843 } _resultobj
= Py_BuildValue("i",_result
);
847 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
848 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
851 wxScrollEvent
* _arg0
;
852 PyObject
* _argo0
= 0;
853 char *_kwnames
[] = { "self", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
866 wxPy_BEGIN_ALLOW_THREADS
;
867 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
869 wxPy_END_ALLOW_THREADS
;
870 } _resultobj
= Py_BuildValue("i",_result
);
874 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
877 src
= (wxSpinEvent
*) ptr
;
878 dest
= (wxScrollEvent
*) src
;
879 return (void *) dest
;
882 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
884 wxCommandEvent
*dest
;
885 src
= (wxSpinEvent
*) ptr
;
886 dest
= (wxCommandEvent
*) src
;
887 return (void *) dest
;
890 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
893 src
= (wxSpinEvent
*) ptr
;
894 dest
= (wxEvent
*) src
;
895 return (void *) dest
;
898 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
901 src
= (wxMouseEvent
*) ptr
;
902 dest
= (wxEvent
*) src
;
903 return (void *) dest
;
906 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
907 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
910 wxMouseEvent
* _arg0
;
911 PyObject
* _argo0
= 0;
912 char *_kwnames
[] = { "self", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
925 wxPy_BEGIN_ALLOW_THREADS
;
926 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
928 wxPy_END_ALLOW_THREADS
;
929 } _resultobj
= Py_BuildValue("i",_result
);
933 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
934 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
935 PyObject
* _resultobj
;
937 wxMouseEvent
* _arg0
;
938 int _arg1
= (int ) -1;
939 PyObject
* _argo0
= 0;
940 char *_kwnames
[] = { "self","but", NULL
};
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
953 wxPy_BEGIN_ALLOW_THREADS
;
954 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
956 wxPy_END_ALLOW_THREADS
;
957 } _resultobj
= Py_BuildValue("i",_result
);
961 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
962 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
965 wxMouseEvent
* _arg0
;
966 int _arg1
= (int ) -1;
967 PyObject
* _argo0
= 0;
968 char *_kwnames
[] = { "self","but", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
981 wxPy_BEGIN_ALLOW_THREADS
;
982 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
984 wxPy_END_ALLOW_THREADS
;
985 } _resultobj
= Py_BuildValue("i",_result
);
989 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
990 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
993 wxMouseEvent
* _arg0
;
994 int _arg1
= (int ) -1;
995 PyObject
* _argo0
= 0;
996 char *_kwnames
[] = { "self","but", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1009 wxPy_BEGIN_ALLOW_THREADS
;
1010 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1012 wxPy_END_ALLOW_THREADS
;
1013 } _resultobj
= Py_BuildValue("i",_result
);
1017 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1018 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1021 wxMouseEvent
* _arg0
;
1023 PyObject
* _argo0
= 0;
1024 char *_kwnames
[] = { "self","but", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1040 wxPy_END_ALLOW_THREADS
;
1041 } _resultobj
= Py_BuildValue("i",_result
);
1045 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1046 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1049 wxMouseEvent
* _arg0
;
1051 PyObject
* _argo0
= 0;
1052 char *_kwnames
[] = { "self","but", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1068 wxPy_END_ALLOW_THREADS
;
1069 } _resultobj
= Py_BuildValue("i",_result
);
1073 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1074 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
* _resultobj
;
1077 wxMouseEvent
* _arg0
;
1078 PyObject
* _argo0
= 0;
1079 char *_kwnames
[] = { "self", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1095 wxPy_END_ALLOW_THREADS
;
1096 } _resultobj
= Py_BuildValue("i",_result
);
1100 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1101 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
* _resultobj
;
1104 wxMouseEvent
* _arg0
;
1105 PyObject
* _argo0
= 0;
1106 char *_kwnames
[] = { "self", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1119 wxPy_BEGIN_ALLOW_THREADS
;
1120 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1122 wxPy_END_ALLOW_THREADS
;
1123 } _resultobj
= Py_BuildValue("i",_result
);
1127 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1128 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1131 wxMouseEvent
* _arg0
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1146 wxPy_BEGIN_ALLOW_THREADS
;
1147 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1149 wxPy_END_ALLOW_THREADS
;
1150 } _resultobj
= Py_BuildValue("i",_result
);
1154 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1155 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
* _resultobj
;
1158 wxMouseEvent
* _arg0
;
1159 PyObject
* _argo0
= 0;
1160 char *_kwnames
[] = { "self", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1173 wxPy_BEGIN_ALLOW_THREADS
;
1174 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1176 wxPy_END_ALLOW_THREADS
;
1177 } _resultobj
= Py_BuildValue("i",_result
);
1181 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1182 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1185 wxMouseEvent
* _arg0
;
1186 PyObject
* _argo0
= 0;
1187 char *_kwnames
[] = { "self", NULL
};
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1200 wxPy_BEGIN_ALLOW_THREADS
;
1201 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1203 wxPy_END_ALLOW_THREADS
;
1204 } _resultobj
= Py_BuildValue("i",_result
);
1208 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1209 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
* _resultobj
;
1212 wxMouseEvent
* _arg0
;
1213 PyObject
* _argo0
= 0;
1214 char *_kwnames
[] = { "self", NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1230 wxPy_END_ALLOW_THREADS
;
1231 } _resultobj
= Py_BuildValue("i",_result
);
1235 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1236 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1239 wxMouseEvent
* _arg0
;
1240 PyObject
* _argo0
= 0;
1241 char *_kwnames
[] = { "self", NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1254 wxPy_BEGIN_ALLOW_THREADS
;
1255 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1257 wxPy_END_ALLOW_THREADS
;
1258 } _resultobj
= Py_BuildValue("i",_result
);
1262 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1263 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1266 wxMouseEvent
* _arg0
;
1267 PyObject
* _argo0
= 0;
1268 char *_kwnames
[] = { "self", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1281 wxPy_BEGIN_ALLOW_THREADS
;
1282 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1284 wxPy_END_ALLOW_THREADS
;
1285 } _resultobj
= Py_BuildValue("i",_result
);
1289 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1290 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
* _resultobj
;
1293 wxMouseEvent
* _arg0
;
1294 PyObject
* _argo0
= 0;
1295 char *_kwnames
[] = { "self", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1308 wxPy_BEGIN_ALLOW_THREADS
;
1309 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1311 wxPy_END_ALLOW_THREADS
;
1312 } _resultobj
= Py_BuildValue("i",_result
);
1316 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1317 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1320 wxMouseEvent
* _arg0
;
1321 PyObject
* _argo0
= 0;
1322 char *_kwnames
[] = { "self", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1338 wxPy_END_ALLOW_THREADS
;
1339 } _resultobj
= Py_BuildValue("i",_result
);
1343 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1344 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1347 wxMouseEvent
* _arg0
;
1348 PyObject
* _argo0
= 0;
1349 char *_kwnames
[] = { "self", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1362 wxPy_BEGIN_ALLOW_THREADS
;
1363 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1365 wxPy_END_ALLOW_THREADS
;
1366 } _resultobj
= Py_BuildValue("i",_result
);
1370 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1371 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
* _resultobj
;
1374 wxMouseEvent
* _arg0
;
1375 PyObject
* _argo0
= 0;
1376 char *_kwnames
[] = { "self", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1389 wxPy_BEGIN_ALLOW_THREADS
;
1390 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1392 wxPy_END_ALLOW_THREADS
;
1393 } _resultobj
= Py_BuildValue("i",_result
);
1397 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1398 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1401 wxMouseEvent
* _arg0
;
1402 PyObject
* _argo0
= 0;
1403 char *_kwnames
[] = { "self", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1419 wxPy_END_ALLOW_THREADS
;
1420 } _resultobj
= Py_BuildValue("i",_result
);
1424 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1425 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
* _resultobj
;
1428 wxMouseEvent
* _arg0
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1446 wxPy_END_ALLOW_THREADS
;
1447 } _resultobj
= Py_BuildValue("i",_result
);
1451 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1452 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1455 wxMouseEvent
* _arg0
;
1456 PyObject
* _argo0
= 0;
1457 char *_kwnames
[] = { "self", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1473 wxPy_END_ALLOW_THREADS
;
1474 } _resultobj
= Py_BuildValue("i",_result
);
1478 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1479 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1482 wxMouseEvent
* _arg0
;
1483 PyObject
* _argo0
= 0;
1484 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1500 wxPy_END_ALLOW_THREADS
;
1501 } _resultobj
= Py_BuildValue("i",_result
);
1505 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1506 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1509 wxMouseEvent
* _arg0
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1527 wxPy_END_ALLOW_THREADS
;
1528 } _resultobj
= Py_BuildValue("i",_result
);
1532 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1533 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1536 wxMouseEvent
* _arg0
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "self", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1560 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1563 wxMouseEvent
* _arg0
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= (bool )wxMouseEvent_Entering(_arg0
);
1581 wxPy_END_ALLOW_THREADS
;
1582 } _resultobj
= Py_BuildValue("i",_result
);
1586 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1587 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1590 wxMouseEvent
* _arg0
;
1591 PyObject
* _argo0
= 0;
1592 char *_kwnames
[] = { "self", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
1608 wxPy_END_ALLOW_THREADS
;
1609 } _resultobj
= Py_BuildValue("i",_result
);
1613 #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1614 static PyObject
*_wrap_wxMouseEvent_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
* _resultobj
;
1616 wxMouseEvent
* _arg0
;
1621 PyObject
* _argo0
= 0;
1622 char *_kwnames
[] = { "self", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Position",_kwnames
,&_argo0
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 wxMouseEvent_Position(_arg0
,_arg1
,_arg2
);
1644 wxPy_END_ALLOW_THREADS
;
1645 } Py_INCREF(Py_None
);
1646 _resultobj
= Py_None
;
1649 o
= PyInt_FromLong((long) (*_arg1
));
1650 _resultobj
= t_output_helper(_resultobj
, o
);
1654 o
= PyInt_FromLong((long) (*_arg2
));
1655 _resultobj
= t_output_helper(_resultobj
, o
);
1660 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1661 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1664 wxMouseEvent
* _arg0
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "self", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
1683 wxPy_END_ALLOW_THREADS
;
1684 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1685 _resultobj
= Py_BuildValue("s",_ptemp
);
1689 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1690 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1693 wxMouseEvent
* _arg0
;
1695 PyObject
* _argo0
= 0;
1696 PyObject
* _argo1
= 0;
1697 char *_kwnames
[] = { "self","dc", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
1704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
1711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
1718 wxPy_BEGIN_ALLOW_THREADS
;
1719 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
1721 wxPy_END_ALLOW_THREADS
;
1722 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1723 _resultobj
= Py_BuildValue("s",_ptemp
);
1727 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
1728 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1731 wxMouseEvent
* _arg0
;
1732 PyObject
* _argo0
= 0;
1733 char *_kwnames
[] = { "self", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 _result
= (long )wxMouseEvent_GetX(_arg0
);
1749 wxPy_END_ALLOW_THREADS
;
1750 } _resultobj
= Py_BuildValue("l",_result
);
1754 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
1755 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1758 wxMouseEvent
* _arg0
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "self", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
1773 wxPy_BEGIN_ALLOW_THREADS
;
1774 _result
= (long )wxMouseEvent_GetY(_arg0
);
1776 wxPy_END_ALLOW_THREADS
;
1777 } _resultobj
= Py_BuildValue("l",_result
);
1781 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
1784 src
= (wxKeyEvent
*) ptr
;
1785 dest
= (wxEvent
*) src
;
1786 return (void *) dest
;
1789 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1790 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1794 PyObject
* _argo0
= 0;
1795 char *_kwnames
[] = { "self", NULL
};
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
1801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
1808 wxPy_BEGIN_ALLOW_THREADS
;
1809 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
1811 wxPy_END_ALLOW_THREADS
;
1812 } _resultobj
= Py_BuildValue("i",_result
);
1816 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1817 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
* _resultobj
;
1821 PyObject
* _argo0
= 0;
1822 char *_kwnames
[] = { "self", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
1835 wxPy_BEGIN_ALLOW_THREADS
;
1836 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
1838 wxPy_END_ALLOW_THREADS
;
1839 } _resultobj
= Py_BuildValue("i",_result
);
1843 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
1844 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
1865 wxPy_END_ALLOW_THREADS
;
1866 } _resultobj
= Py_BuildValue("i",_result
);
1870 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1871 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1875 PyObject
* _argo0
= 0;
1876 char *_kwnames
[] = { "self", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
1882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
1889 wxPy_BEGIN_ALLOW_THREADS
;
1890 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
1892 wxPy_END_ALLOW_THREADS
;
1893 } _resultobj
= Py_BuildValue("i",_result
);
1897 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
1898 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1902 PyObject
* _argo0
= 0;
1903 char *_kwnames
[] = { "self", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
1909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
1916 wxPy_BEGIN_ALLOW_THREADS
;
1917 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
1919 wxPy_END_ALLOW_THREADS
;
1920 } _resultobj
= Py_BuildValue("l",_result
);
1924 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
1927 src
= (wxMoveEvent
*) ptr
;
1928 dest
= (wxEvent
*) src
;
1929 return (void *) dest
;
1932 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1933 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1936 wxMoveEvent
* _arg0
;
1937 PyObject
* _argo0
= 0;
1938 char *_kwnames
[] = { "self", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
1952 wxPy_BEGIN_ALLOW_THREADS
;
1953 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
1955 wxPy_END_ALLOW_THREADS
;
1956 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1957 _resultobj
= Py_BuildValue("s",_ptemp
);
1961 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
1964 src
= (wxPaintEvent
*) ptr
;
1965 dest
= (wxEvent
*) src
;
1966 return (void *) dest
;
1969 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
1972 src
= (wxEraseEvent
*) ptr
;
1973 dest
= (wxEvent
*) src
;
1974 return (void *) dest
;
1977 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
1978 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1981 wxEraseEvent
* _arg0
;
1982 PyObject
* _argo0
= 0;
1983 char *_kwnames
[] = { "self", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
1997 wxPy_BEGIN_ALLOW_THREADS
;
1998 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
2000 wxPy_END_ALLOW_THREADS
;
2002 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2003 _resultobj
= Py_BuildValue("s",_ptemp
);
2006 _resultobj
= Py_None
;
2011 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
2014 src
= (wxFocusEvent
*) ptr
;
2015 dest
= (wxEvent
*) src
;
2016 return (void *) dest
;
2019 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
2020 wxActivateEvent
*src
;
2022 src
= (wxActivateEvent
*) ptr
;
2023 dest
= (wxEvent
*) src
;
2024 return (void *) dest
;
2027 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
2028 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2031 wxActivateEvent
* _arg0
;
2032 PyObject
* _argo0
= 0;
2033 char *_kwnames
[] = { "self", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
2055 wxInitDialogEvent
*src
;
2057 src
= (wxInitDialogEvent
*) ptr
;
2058 dest
= (wxEvent
*) src
;
2059 return (void *) dest
;
2062 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
2065 src
= (wxMenuEvent
*) ptr
;
2066 dest
= (wxEvent
*) src
;
2067 return (void *) dest
;
2070 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
2071 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2074 wxMenuEvent
* _arg0
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
2092 wxPy_END_ALLOW_THREADS
;
2093 } _resultobj
= Py_BuildValue("i",_result
);
2097 static void *SwigwxShowEventTowxEvent(void *ptr
) {
2100 src
= (wxShowEvent
*) ptr
;
2101 dest
= (wxEvent
*) src
;
2102 return (void *) dest
;
2105 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
2106 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2108 wxShowEvent
* _arg0
;
2110 PyObject
* _argo0
= 0;
2112 char *_kwnames
[] = { "self","show", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
2118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
2124 _arg1
= (bool ) tempbool1
;
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 wxShowEvent_SetShow(_arg0
,_arg1
);
2129 wxPy_END_ALLOW_THREADS
;
2130 } Py_INCREF(Py_None
);
2131 _resultobj
= Py_None
;
2135 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
2136 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2139 wxShowEvent
* _arg0
;
2140 PyObject
* _argo0
= 0;
2141 char *_kwnames
[] = { "self", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
2147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
2154 wxPy_BEGIN_ALLOW_THREADS
;
2155 _result
= (bool )wxShowEvent_GetShow(_arg0
);
2157 wxPy_END_ALLOW_THREADS
;
2158 } _resultobj
= Py_BuildValue("i",_result
);
2162 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
2163 wxIconizeEvent
*src
;
2165 src
= (wxIconizeEvent
*) ptr
;
2166 dest
= (wxEvent
*) src
;
2167 return (void *) dest
;
2170 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
2171 wxMaximizeEvent
*src
;
2173 src
= (wxMaximizeEvent
*) ptr
;
2174 dest
= (wxEvent
*) src
;
2175 return (void *) dest
;
2178 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
2179 wxJoystickEvent
*src
;
2181 src
= (wxJoystickEvent
*) ptr
;
2182 dest
= (wxEvent
*) src
;
2183 return (void *) dest
;
2186 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2187 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2190 wxJoystickEvent
* _arg0
;
2191 PyObject
* _argo0
= 0;
2192 char *_kwnames
[] = { "self", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
2209 wxPy_END_ALLOW_THREADS
;
2210 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2211 _resultobj
= Py_BuildValue("s",_ptemp
);
2215 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
2216 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxJoystickEvent
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
2237 wxPy_END_ALLOW_THREADS
;
2238 } _resultobj
= Py_BuildValue("i",_result
);
2242 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
2243 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2246 wxJoystickEvent
* _arg0
;
2247 PyObject
* _argo0
= 0;
2248 char *_kwnames
[] = { "self", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
2264 wxPy_END_ALLOW_THREADS
;
2265 } _resultobj
= Py_BuildValue("i",_result
);
2269 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
2270 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
* _resultobj
;
2273 wxJoystickEvent
* _arg0
;
2274 PyObject
* _argo0
= 0;
2275 char *_kwnames
[] = { "self", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
2291 wxPy_END_ALLOW_THREADS
;
2292 } _resultobj
= Py_BuildValue("i",_result
);
2296 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
2297 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
* _resultobj
;
2300 wxJoystickEvent
* _arg0
;
2301 PyObject
* _argo0
= 0;
2302 char *_kwnames
[] = { "self", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
2318 wxPy_END_ALLOW_THREADS
;
2319 } _resultobj
= Py_BuildValue("i",_result
);
2323 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
2324 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2326 wxJoystickEvent
* _arg0
;
2328 PyObject
* _argo0
= 0;
2329 char *_kwnames
[] = { "self","stick", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
2342 wxPy_BEGIN_ALLOW_THREADS
;
2343 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
2345 wxPy_END_ALLOW_THREADS
;
2346 } Py_INCREF(Py_None
);
2347 _resultobj
= Py_None
;
2351 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
2352 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2354 wxJoystickEvent
* _arg0
;
2356 PyObject
* _argo0
= 0;
2357 char *_kwnames
[] = { "self","state", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
2370 wxPy_BEGIN_ALLOW_THREADS
;
2371 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
2373 wxPy_END_ALLOW_THREADS
;
2374 } Py_INCREF(Py_None
);
2375 _resultobj
= Py_None
;
2379 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
2380 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2382 wxJoystickEvent
* _arg0
;
2384 PyObject
* _argo0
= 0;
2385 char *_kwnames
[] = { "self","change", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
2401 wxPy_END_ALLOW_THREADS
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2407 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2408 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2410 wxJoystickEvent
* _arg0
;
2412 PyObject
* _argo0
= 0;
2413 PyObject
* _argo1
= 0;
2414 char *_kwnames
[] = { "self","pos", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_argo1
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
2427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p.");
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
2437 wxPy_END_ALLOW_THREADS
;
2438 } Py_INCREF(Py_None
);
2439 _resultobj
= Py_None
;
2443 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
2444 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2446 wxJoystickEvent
* _arg0
;
2448 PyObject
* _argo0
= 0;
2449 char *_kwnames
[] = { "self","zPos", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
2465 wxPy_END_ALLOW_THREADS
;
2466 } Py_INCREF(Py_None
);
2467 _resultobj
= Py_None
;
2471 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
2472 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2475 wxJoystickEvent
* _arg0
;
2476 PyObject
* _argo0
= 0;
2477 char *_kwnames
[] = { "self", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
2490 wxPy_BEGIN_ALLOW_THREADS
;
2491 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
2493 wxPy_END_ALLOW_THREADS
;
2494 } _resultobj
= Py_BuildValue("i",_result
);
2498 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
2499 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2502 wxJoystickEvent
* _arg0
;
2503 PyObject
* _argo0
= 0;
2504 char *_kwnames
[] = { "self", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
2510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
2517 wxPy_BEGIN_ALLOW_THREADS
;
2518 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
2520 wxPy_END_ALLOW_THREADS
;
2521 } _resultobj
= Py_BuildValue("i",_result
);
2525 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
2526 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2529 wxJoystickEvent
* _arg0
;
2530 PyObject
* _argo0
= 0;
2531 char *_kwnames
[] = { "self", NULL
};
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
2537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
2544 wxPy_BEGIN_ALLOW_THREADS
;
2545 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
2547 wxPy_END_ALLOW_THREADS
;
2548 } _resultobj
= Py_BuildValue("i",_result
);
2552 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
2553 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2556 wxJoystickEvent
* _arg0
;
2557 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
2558 PyObject
* _argo0
= 0;
2559 char *_kwnames
[] = { "self","but", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
2581 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2584 wxJoystickEvent
* _arg0
;
2585 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
2586 PyObject
* _argo0
= 0;
2587 char *_kwnames
[] = { "self","but", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
2593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
2603 wxPy_END_ALLOW_THREADS
;
2604 } _resultobj
= Py_BuildValue("i",_result
);
2608 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
2609 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2612 wxJoystickEvent
* _arg0
;
2613 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
2614 PyObject
* _argo0
= 0;
2615 char *_kwnames
[] = { "self","but", NULL
};
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
2621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
2628 wxPy_BEGIN_ALLOW_THREADS
;
2629 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
2631 wxPy_END_ALLOW_THREADS
;
2632 } _resultobj
= Py_BuildValue("i",_result
);
2636 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
2637 wxDropFilesEvent
*src
;
2639 src
= (wxDropFilesEvent
*) ptr
;
2640 dest
= (wxEvent
*) src
;
2641 return (void *) dest
;
2644 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2645 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2648 wxDropFilesEvent
* _arg0
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
2667 wxPy_END_ALLOW_THREADS
;
2668 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2669 _resultobj
= Py_BuildValue("s",_ptemp
);
2673 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
2674 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2677 wxDropFilesEvent
* _arg0
;
2678 PyObject
* _argo0
= 0;
2679 char *_kwnames
[] = { "self", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
2692 wxPy_BEGIN_ALLOW_THREADS
;
2693 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
2695 wxPy_END_ALLOW_THREADS
;
2696 } _resultobj
= Py_BuildValue("i",_result
);
2700 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
2701 int count
= self
->GetNumberOfFiles();
2702 wxString
* files
= self
->GetFiles();
2703 PyObject
* list
= PyList_New(count
);
2706 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2710 for (int i
=0; i
<count
; i
++) {
2711 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
2715 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2718 wxDropFilesEvent
* _arg0
;
2719 PyObject
* _argo0
= 0;
2720 char *_kwnames
[] = { "self", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
2736 wxPy_END_ALLOW_THREADS
;
2738 _resultobj
= _result
;
2743 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
2746 src
= (wxIdleEvent
*) ptr
;
2747 dest
= (wxEvent
*) src
;
2748 return (void *) dest
;
2751 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
2752 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2754 wxIdleEvent
* _arg0
;
2755 bool _arg1
= (bool ) TRUE
;
2756 PyObject
* _argo0
= 0;
2757 int tempbool1
= (int) TRUE
;
2758 char *_kwnames
[] = { "self","needMore", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
2770 _arg1
= (bool ) tempbool1
;
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 wxIdleEvent_RequestMore(_arg0
,_arg1
);
2775 wxPy_END_ALLOW_THREADS
;
2776 } Py_INCREF(Py_None
);
2777 _resultobj
= Py_None
;
2781 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
2782 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2785 wxIdleEvent
* _arg0
;
2786 PyObject
* _argo0
= 0;
2787 char *_kwnames
[] = { "self", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
2800 wxPy_BEGIN_ALLOW_THREADS
;
2801 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
2803 wxPy_END_ALLOW_THREADS
;
2804 } _resultobj
= Py_BuildValue("i",_result
);
2808 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
2809 wxUpdateUIEvent
*src
;
2811 src
= (wxUpdateUIEvent
*) ptr
;
2812 dest
= (wxEvent
*) src
;
2813 return (void *) dest
;
2816 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
2817 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2820 wxUpdateUIEvent
* _arg0
;
2821 PyObject
* _argo0
= 0;
2822 char *_kwnames
[] = { "self", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
2835 wxPy_BEGIN_ALLOW_THREADS
;
2836 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
2838 wxPy_END_ALLOW_THREADS
;
2839 } _resultobj
= Py_BuildValue("i",_result
);
2843 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
2844 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2847 wxUpdateUIEvent
* _arg0
;
2848 PyObject
* _argo0
= 0;
2849 char *_kwnames
[] = { "self", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
2862 wxPy_BEGIN_ALLOW_THREADS
;
2863 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
2865 wxPy_END_ALLOW_THREADS
;
2866 } _resultobj
= Py_BuildValue("i",_result
);
2870 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
2871 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2874 wxUpdateUIEvent
* _arg0
;
2875 PyObject
* _argo0
= 0;
2876 char *_kwnames
[] = { "self", NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
2889 wxPy_BEGIN_ALLOW_THREADS
;
2890 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
2892 wxPy_END_ALLOW_THREADS
;
2894 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2902 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
2903 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2906 wxUpdateUIEvent
* _arg0
;
2907 PyObject
* _argo0
= 0;
2908 char *_kwnames
[] = { "self", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
2921 wxPy_BEGIN_ALLOW_THREADS
;
2922 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
2924 wxPy_END_ALLOW_THREADS
;
2925 } _resultobj
= Py_BuildValue("i",_result
);
2929 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
2930 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
* _resultobj
;
2933 wxUpdateUIEvent
* _arg0
;
2934 PyObject
* _argo0
= 0;
2935 char *_kwnames
[] = { "self", NULL
};
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
2941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
2948 wxPy_BEGIN_ALLOW_THREADS
;
2949 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
2951 wxPy_END_ALLOW_THREADS
;
2952 } _resultobj
= Py_BuildValue("i",_result
);
2956 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
2957 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
* _resultobj
;
2960 wxUpdateUIEvent
* _arg0
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
2975 wxPy_BEGIN_ALLOW_THREADS
;
2976 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
2978 wxPy_END_ALLOW_THREADS
;
2979 } _resultobj
= Py_BuildValue("i",_result
);
2983 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
2984 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2986 wxUpdateUIEvent
* _arg0
;
2988 PyObject
* _argo0
= 0;
2990 char *_kwnames
[] = { "self","check", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
3002 _arg1
= (bool ) tempbool1
;
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 wxUpdateUIEvent_Check(_arg0
,_arg1
);
3007 wxPy_END_ALLOW_THREADS
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
3014 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3016 wxUpdateUIEvent
* _arg0
;
3018 PyObject
* _argo0
= 0;
3020 char *_kwnames
[] = { "self","enable", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
3026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
3032 _arg1
= (bool ) tempbool1
;
3034 wxPy_BEGIN_ALLOW_THREADS
;
3035 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
3037 wxPy_END_ALLOW_THREADS
;
3038 } Py_INCREF(Py_None
);
3039 _resultobj
= Py_None
;
3043 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
3044 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3046 wxUpdateUIEvent
* _arg0
;
3048 PyObject
* _argo0
= 0;
3049 PyObject
* _obj1
= 0;
3050 char *_kwnames
[] = { "self","text", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
3063 if (!PyString_Check(_obj1
)) {
3064 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3067 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3083 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
3084 wxSysColourChangedEvent
*src
;
3086 src
= (wxSysColourChangedEvent
*) ptr
;
3087 dest
= (wxEvent
*) src
;
3088 return (void *) dest
;
3091 static void *SwigwxPyEventTowxCommandEvent(void *ptr
) {
3093 wxCommandEvent
*dest
;
3094 src
= (wxPyEvent
*) ptr
;
3095 dest
= (wxCommandEvent
*) src
;
3096 return (void *) dest
;
3099 static void *SwigwxPyEventTowxEvent(void *ptr
) {
3102 src
= (wxPyEvent
*) ptr
;
3103 dest
= (wxEvent
*) src
;
3104 return (void *) dest
;
3107 #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
3108 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 wxPyEvent
* _result
;
3111 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
3112 PyObject
* _arg1
= (PyObject
*) Py_None
;
3113 PyObject
* _obj1
= 0;
3114 char *_kwnames
[] = { "commandType","userData", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxPyEvent",_kwnames
,&_arg0
,&_obj1
))
3125 wxPy_BEGIN_ALLOW_THREADS
;
3126 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
,_arg1
);
3128 wxPy_END_ALLOW_THREADS
;
3130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
3131 _resultobj
= Py_BuildValue("s",_ptemp
);
3134 _resultobj
= Py_None
;
3139 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
3140 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
3157 wxPy_BEGIN_ALLOW_THREADS
;
3158 delete_wxPyEvent(_arg0
);
3160 wxPy_END_ALLOW_THREADS
;
3161 } Py_INCREF(Py_None
);
3162 _resultobj
= Py_None
;
3166 #define wxPyEvent_SetUserData(_swigobj,_swigarg0) (_swigobj->SetUserData(_swigarg0))
3167 static PyObject
*_wrap_wxPyEvent_SetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3171 PyObject
* _argo0
= 0;
3172 PyObject
* _obj1
= 0;
3173 char *_kwnames
[] = { "self","userData", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetUserData",_kwnames
,&_argo0
,&_obj1
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetUserData. Expected _wxPyEvent_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 wxPyEvent_SetUserData(_arg0
,_arg1
);
3192 wxPy_END_ALLOW_THREADS
;
3193 } Py_INCREF(Py_None
);
3194 _resultobj
= Py_None
;
3198 #define wxPyEvent_GetUserData(_swigobj) (_swigobj->GetUserData())
3199 static PyObject
*_wrap_wxPyEvent_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
* _resultobj
;
3203 PyObject
* _argo0
= 0;
3204 char *_kwnames
[] = { "self", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetUserData",_kwnames
,&_argo0
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetUserData. Expected _wxPyEvent_p.");
3217 wxPy_BEGIN_ALLOW_THREADS
;
3218 _result
= (PyObject
*)wxPyEvent_GetUserData(_arg0
);
3220 wxPy_END_ALLOW_THREADS
;
3222 _resultobj
= _result
;
3227 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
3229 wxCommandEvent
*dest
;
3230 src
= (wxNotifyEvent
*) ptr
;
3231 dest
= (wxCommandEvent
*) src
;
3232 return (void *) dest
;
3235 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
3238 src
= (wxNotifyEvent
*) ptr
;
3239 dest
= (wxEvent
*) src
;
3240 return (void *) dest
;
3243 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
3244 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
* _resultobj
;
3247 wxNotifyEvent
* _arg0
;
3248 PyObject
* _argo0
= 0;
3249 char *_kwnames
[] = { "self", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
3262 wxPy_BEGIN_ALLOW_THREADS
;
3263 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
3265 wxPy_END_ALLOW_THREADS
;
3266 } _resultobj
= Py_BuildValue("i",_result
);
3270 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
3271 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3273 wxNotifyEvent
* _arg0
;
3274 PyObject
* _argo0
= 0;
3275 char *_kwnames
[] = { "self", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
3288 wxPy_BEGIN_ALLOW_THREADS
;
3289 wxNotifyEvent_Veto(_arg0
);
3291 wxPy_END_ALLOW_THREADS
;
3292 } Py_INCREF(Py_None
);
3293 _resultobj
= Py_None
;
3297 static PyMethodDef eventscMethods
[] = {
3298 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
3299 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
3300 { "wxPyEvent_GetUserData", (PyCFunction
) _wrap_wxPyEvent_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
3301 { "wxPyEvent_SetUserData", (PyCFunction
) _wrap_wxPyEvent_SetUserData
, METH_VARARGS
| METH_KEYWORDS
},
3302 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
3303 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
3304 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3305 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
3306 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
3307 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3308 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
3309 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
3310 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3311 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3312 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
3313 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
3314 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
3315 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
3316 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
3317 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3318 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3319 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
3320 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
3321 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
3322 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
3323 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
3324 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
3325 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3326 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
3327 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
3328 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
3329 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
3330 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
3331 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
3332 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
3333 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3334 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
3335 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
3336 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
3337 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
3338 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
3339 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3340 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
3341 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
3342 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
3343 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
3344 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
3345 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3346 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3347 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
3348 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3349 { "wxMouseEvent_Position", (PyCFunction
) _wrap_wxMouseEvent_Position
, METH_VARARGS
| METH_KEYWORDS
},
3350 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
3351 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
3352 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
3353 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
3354 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3355 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3356 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3357 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
3358 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
3359 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
3360 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
3361 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
3362 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
3363 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
3364 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
3365 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
3366 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
3367 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
3368 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
3369 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
3370 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3371 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
3372 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
3373 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
3374 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
3375 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
3376 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3377 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
3378 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
3379 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
3380 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3381 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
3382 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
3383 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_Checked
, METH_VARARGS
| METH_KEYWORDS
},
3384 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
3385 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
3386 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
3387 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
3388 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
3389 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
3390 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3391 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
3392 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
3393 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3394 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
3395 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
3396 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
3397 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
3398 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3399 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
3400 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
3407 * This table is used by the pointer type-checker
3409 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3410 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3411 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3412 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3413 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
3414 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
3415 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3416 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3417 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3418 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3419 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3420 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3421 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3422 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3423 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3424 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3425 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3426 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3427 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3428 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3429 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
3430 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
3431 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3432 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3433 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3434 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3435 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3436 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3437 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3438 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3439 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3440 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3441 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3442 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3443 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3444 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3445 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3446 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3447 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3448 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3449 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3450 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3451 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3452 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3453 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3454 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3455 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3456 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3457 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3458 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3459 { "_wxEvent","_class_wxEvent",0},
3460 { "_class_wxActivateEvent","_wxActivateEvent",0},
3461 { "_signed_long","_long",0},
3462 { "_wxMenuEvent","_class_wxMenuEvent",0},
3463 { "_wxPrintQuality","_int",0},
3464 { "_wxPrintQuality","_signed_int",0},
3465 { "_wxPrintQuality","_unsigned_int",0},
3466 { "_wxPrintQuality","_wxWindowID",0},
3467 { "_wxPrintQuality","_uint",0},
3468 { "_wxPrintQuality","_EBool",0},
3469 { "_wxPrintQuality","_size_t",0},
3470 { "_class_wxRegionIterator","_wxRegionIterator",0},
3471 { "_wxPaintEvent","_class_wxPaintEvent",0},
3472 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3473 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3474 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3475 { "_byte","_unsigned_char",0},
3476 { "_long","_unsigned_long",0},
3477 { "_long","_signed_long",0},
3478 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3479 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3480 { "_wxSpinEvent","_class_wxSpinEvent",0},
3481 { "_size_t","_wxPrintQuality",0},
3482 { "_size_t","_unsigned_int",0},
3483 { "_size_t","_int",0},
3484 { "_size_t","_wxWindowID",0},
3485 { "_size_t","_uint",0},
3486 { "_class_wxRealPoint","_wxRealPoint",0},
3487 { "_class_wxPaintEvent","_wxPaintEvent",0},
3488 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3489 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3490 { "_wxPyEvent","_class_wxPyEvent",0},
3491 { "_class_wxKeyEvent","_wxKeyEvent",0},
3492 { "_wxIdleEvent","_class_wxIdleEvent",0},
3493 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3494 { "_wxShowEvent","_class_wxShowEvent",0},
3495 { "_uint","_wxPrintQuality",0},
3496 { "_uint","_size_t",0},
3497 { "_uint","_unsigned_int",0},
3498 { "_uint","_int",0},
3499 { "_uint","_wxWindowID",0},
3500 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3501 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3502 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
3503 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
3504 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3505 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3506 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3507 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3508 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3509 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3510 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3511 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3512 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3513 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3514 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3515 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3516 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3517 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3518 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
3519 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
3520 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3521 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3522 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3523 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3524 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3525 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3526 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3527 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3528 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3529 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3530 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3531 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3532 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3533 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3534 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3535 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3536 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3537 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3538 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3539 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3540 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3541 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3542 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3543 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3544 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3545 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3546 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3547 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3548 { "_class_wxEvent","_wxEvent",0},
3549 { "_wxRect","_class_wxRect",0},
3550 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3551 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3552 { "_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent
},
3553 { "_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent
},
3554 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3555 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3556 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3557 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3558 { "_wxCommandEvent","_class_wxCommandEvent",0},
3559 { "_wxSizeEvent","_class_wxSizeEvent",0},
3560 { "_wxPoint","_class_wxPoint",0},
3561 { "_wxPyTimer","_class_wxPyTimer",0},
3562 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3563 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3564 { "_class_wxPyEvent","_wxPyEvent",0},
3565 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3566 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3567 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3568 { "_wxScrollEvent","_class_wxScrollEvent",0},
3569 { "_EBool","_wxPrintQuality",0},
3570 { "_EBool","_signed_int",0},
3571 { "_EBool","_int",0},
3572 { "_EBool","_wxWindowID",0},
3573 { "_class_wxRegion","_wxRegion",0},
3574 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3575 { "_wxCloseEvent","_class_wxCloseEvent",0},
3576 { "_unsigned_long","_long",0},
3577 { "_class_wxRect","_wxRect",0},
3578 { "_class_wxPyTimer","_wxPyTimer",0},
3579 { "_wxFocusEvent","_class_wxFocusEvent",0},
3580 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3581 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3582 { "_signed_int","_wxPrintQuality",0},
3583 { "_signed_int","_EBool",0},
3584 { "_signed_int","_wxWindowID",0},
3585 { "_signed_int","_int",0},
3586 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3587 { "_class_wxMoveEvent","_wxMoveEvent",0},
3588 { "_WXTYPE","_short",0},
3589 { "_WXTYPE","_signed_short",0},
3590 { "_WXTYPE","_unsigned_short",0},
3591 { "_unsigned_short","_WXTYPE",0},
3592 { "_unsigned_short","_short",0},
3593 { "_class_wxCloseEvent","_wxCloseEvent",0},
3594 { "_class_wxMenuEvent","_wxMenuEvent",0},
3595 { "_wxMouseEvent","_class_wxMouseEvent",0},
3596 { "_class_wxPoint","_wxPoint",0},
3597 { "_wxRealPoint","_class_wxRealPoint",0},
3598 { "_signed_short","_WXTYPE",0},
3599 { "_signed_short","_short",0},
3600 { "_class_wxFocusEvent","_wxFocusEvent",0},
3601 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3602 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3603 { "_unsigned_char","_byte",0},
3604 { "_unsigned_int","_wxPrintQuality",0},
3605 { "_unsigned_int","_size_t",0},
3606 { "_unsigned_int","_uint",0},
3607 { "_unsigned_int","_wxWindowID",0},
3608 { "_unsigned_int","_int",0},
3609 { "_short","_WXTYPE",0},
3610 { "_short","_unsigned_short",0},
3611 { "_short","_signed_short",0},
3612 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3613 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3614 { "_class_wxScrollEvent","_wxScrollEvent",0},
3615 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3616 { "_wxWindowID","_wxPrintQuality",0},
3617 { "_wxWindowID","_size_t",0},
3618 { "_wxWindowID","_EBool",0},
3619 { "_wxWindowID","_uint",0},
3620 { "_wxWindowID","_int",0},
3621 { "_wxWindowID","_signed_int",0},
3622 { "_wxWindowID","_unsigned_int",0},
3623 { "_int","_wxPrintQuality",0},
3624 { "_int","_size_t",0},
3625 { "_int","_EBool",0},
3626 { "_int","_uint",0},
3627 { "_int","_wxWindowID",0},
3628 { "_int","_unsigned_int",0},
3629 { "_int","_signed_int",0},
3630 { "_class_wxMouseEvent","_wxMouseEvent",0},
3631 { "_class_wxSpinEvent","_wxSpinEvent",0},
3632 { "_wxSize","_class_wxSize",0},
3633 { "_wxRegionIterator","_class_wxRegionIterator",0},
3634 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3635 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3636 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3637 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3638 { "_class_wxIdleEvent","_wxIdleEvent",0},
3639 { "_wxEraseEvent","_class_wxEraseEvent",0},
3640 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3641 { "_wxRegion","_class_wxRegion",0},
3642 { "_class_wxShowEvent","_wxShowEvent",0},
3643 { "_wxActivateEvent","_class_wxActivateEvent",0},
3644 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3645 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3646 { "_class_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent
},
3647 { "_class_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent
},
3648 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3649 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3650 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3651 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3652 { "_class_wxCommandEvent","_wxCommandEvent",0},
3653 { "_class_wxSizeEvent","_wxSizeEvent",0},
3654 { "_class_wxSize","_wxSize",0},
3655 { "_wxKeyEvent","_class_wxKeyEvent",0},
3656 { "_wxMoveEvent","_class_wxMoveEvent",0},
3657 { "_class_wxEraseEvent","_wxEraseEvent",0},
3660 static PyObject
*SWIG_globals
;
3664 SWIGEXPORT(void) initeventsc() {
3666 SWIG_globals
= SWIG_newvarlink();
3667 m
= Py_InitModule("eventsc", eventscMethods
);
3668 d
= PyModule_GetDict(m
);
3671 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3672 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);