2 * FILE : src/msw/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initeventsc
56 #define SWIG_name "eventsc"
59 #include <wx/spinbutt.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
111 static PyObject
*_wrap_wxNewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
112 PyObject
* _resultobj
;
114 char *_kwnames
[] = { NULL
};
117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewEventType",_kwnames
))
120 wxPy_BEGIN_ALLOW_THREADS
;
121 _result
= (int )wxNewEventType();
123 wxPy_END_ALLOW_THREADS
;
124 } _resultobj
= Py_BuildValue("i",_result
);
128 #define new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
129 static PyObject
*_wrap_new_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
130 PyObject
* _resultobj
;
132 int _arg0
= (int ) 0;
133 char *_kwnames
[] = { "id", NULL
};
137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxEvent",_kwnames
,&_arg0
))
140 wxPy_BEGIN_ALLOW_THREADS
;
141 _result
= (wxEvent
*)new_wxEvent(_arg0
);
143 wxPy_END_ALLOW_THREADS
;
145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
146 _resultobj
= Py_BuildValue("s",_ptemp
);
149 _resultobj
= Py_None
;
154 #define delete_wxEvent(_swigobj) (delete _swigobj)
155 static PyObject
*_wrap_delete_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
156 PyObject
* _resultobj
;
158 PyObject
* _argo0
= 0;
159 char *_kwnames
[] = { "self", NULL
};
162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEvent",_kwnames
,&_argo0
))
165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
172 wxPy_BEGIN_ALLOW_THREADS
;
173 delete_wxEvent(_arg0
);
175 wxPy_END_ALLOW_THREADS
;
176 } Py_INCREF(Py_None
);
177 _resultobj
= Py_None
;
181 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
182 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
186 PyObject
* _argo0
= 0;
187 char *_kwnames
[] = { "self", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_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_GetEventObject. Expected _wxEvent_p.");
201 wxPy_BEGIN_ALLOW_THREADS
;
202 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
204 wxPy_END_ALLOW_THREADS
;
206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
207 _resultobj
= Py_BuildValue("s",_ptemp
);
210 _resultobj
= Py_None
;
215 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
216 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
220 PyObject
* _argo0
= 0;
221 char *_kwnames
[] = { "self", NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
234 wxPy_BEGIN_ALLOW_THREADS
;
235 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
237 wxPy_END_ALLOW_THREADS
;
238 } _resultobj
= Py_BuildValue("i",_result
);
242 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
243 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
247 PyObject
* _argo0
= 0;
248 char *_kwnames
[] = { "self", NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
261 wxPy_BEGIN_ALLOW_THREADS
;
262 _result
= (int )wxEvent_GetId(_arg0
);
264 wxPy_END_ALLOW_THREADS
;
265 } _resultobj
= Py_BuildValue("i",_result
);
269 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
270 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
271 PyObject
* _resultobj
;
274 PyObject
* _argo0
= 0;
275 char *_kwnames
[] = { "self", NULL
};
278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
288 wxPy_BEGIN_ALLOW_THREADS
;
289 _result
= (bool )wxEvent_GetSkipped(_arg0
);
291 wxPy_END_ALLOW_THREADS
;
292 } _resultobj
= Py_BuildValue("i",_result
);
296 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
297 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
298 PyObject
* _resultobj
;
301 PyObject
* _argo0
= 0;
302 char *_kwnames
[] = { "self", NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
315 wxPy_BEGIN_ALLOW_THREADS
;
316 _result
= (long )wxEvent_GetTimestamp(_arg0
);
318 wxPy_END_ALLOW_THREADS
;
319 } _resultobj
= Py_BuildValue("l",_result
);
323 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
324 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
328 PyObject
* _argo0
= 0;
329 PyObject
* _argo1
= 0;
330 char *_kwnames
[] = { "self","object", NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
343 if (_argo1
== Py_None
) { _arg1
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
350 wxPy_BEGIN_ALLOW_THREADS
;
351 wxEvent_SetEventObject(_arg0
,_arg1
);
353 wxPy_END_ALLOW_THREADS
;
354 } Py_INCREF(Py_None
);
355 _resultobj
= Py_None
;
359 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
360 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
364 PyObject
* _argo0
= 0;
365 char *_kwnames
[] = { "self","typ", NULL
};
368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
378 wxPy_BEGIN_ALLOW_THREADS
;
379 wxEvent_SetEventType(_arg0
,_arg1
);
381 wxPy_END_ALLOW_THREADS
;
382 } Py_INCREF(Py_None
);
383 _resultobj
= Py_None
;
387 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
388 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
389 PyObject
* _resultobj
;
392 PyObject
* _argo0
= 0;
393 char *_kwnames
[] = { "self","id", NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
406 wxPy_BEGIN_ALLOW_THREADS
;
407 wxEvent_SetId(_arg0
,_arg1
);
409 wxPy_END_ALLOW_THREADS
;
410 } Py_INCREF(Py_None
);
411 _resultobj
= Py_None
;
415 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
416 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
417 PyObject
* _resultobj
;
420 PyObject
* _argo0
= 0;
421 char *_kwnames
[] = { "self","timeStamp", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
434 wxPy_BEGIN_ALLOW_THREADS
;
435 wxEvent_SetTimestamp(_arg0
,_arg1
);
437 wxPy_END_ALLOW_THREADS
;
438 } Py_INCREF(Py_None
);
439 _resultobj
= Py_None
;
443 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
444 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
445 PyObject
* _resultobj
;
447 bool _arg1
= (bool ) TRUE
;
448 PyObject
* _argo0
= 0;
449 int tempbool1
= (int) TRUE
;
450 char *_kwnames
[] = { "self","skip", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
462 _arg1
= (bool ) tempbool1
;
464 wxPy_BEGIN_ALLOW_THREADS
;
465 wxEvent_Skip(_arg0
,_arg1
);
467 wxPy_END_ALLOW_THREADS
;
468 } Py_INCREF(Py_None
);
469 _resultobj
= Py_None
;
473 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
476 src
= (wxSizeEvent
*) ptr
;
477 dest
= (wxEvent
*) src
;
478 return (void *) dest
;
481 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
482 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
484 wxSizeEvent
* _result
;
486 int _arg1
= (int ) 0;
488 PyObject
* _obj0
= 0;
489 char *_kwnames
[] = { "sz","id", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxSizeEvent",_kwnames
,&_obj0
,&_arg1
))
497 if (! wxSize_helper(_obj0
, &_arg0
))
501 wxPy_BEGIN_ALLOW_THREADS
;
502 _result
= (wxSizeEvent
*)new_wxSizeEvent(*_arg0
,_arg1
);
504 wxPy_END_ALLOW_THREADS
;
506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizeEvent_p");
507 _resultobj
= Py_BuildValue("s",_ptemp
);
510 _resultobj
= Py_None
;
515 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
516 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
520 PyObject
* _argo0
= 0;
521 char *_kwnames
[] = { "self", NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
535 wxPy_BEGIN_ALLOW_THREADS
;
536 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
538 wxPy_END_ALLOW_THREADS
;
539 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
540 _resultobj
= Py_BuildValue("s",_ptemp
);
544 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
547 src
= (wxCloseEvent
*) ptr
;
548 dest
= (wxEvent
*) src
;
549 return (void *) dest
;
552 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
553 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
555 wxCloseEvent
* _result
;
556 int _arg0
= (int ) 0;
557 int _arg1
= (int ) 0;
558 char *_kwnames
[] = { "commandEventType","id", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCloseEvent",_kwnames
,&_arg0
,&_arg1
))
565 wxPy_BEGIN_ALLOW_THREADS
;
566 _result
= (wxCloseEvent
*)new_wxCloseEvent(_arg0
,_arg1
);
568 wxPy_END_ALLOW_THREADS
;
570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCloseEvent_p");
571 _resultobj
= Py_BuildValue("s",_ptemp
);
574 _resultobj
= Py_None
;
579 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
580 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
581 PyObject
* _resultobj
;
582 wxCloseEvent
* _arg0
;
584 PyObject
* _argo0
= 0;
586 char *_kwnames
[] = { "self","loggingOff", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
598 _arg1
= (bool ) tempbool1
;
600 wxPy_BEGIN_ALLOW_THREADS
;
601 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
603 wxPy_END_ALLOW_THREADS
;
604 } Py_INCREF(Py_None
);
605 _resultobj
= Py_None
;
609 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
610 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
613 wxCloseEvent
* _arg0
;
614 PyObject
* _argo0
= 0;
615 char *_kwnames
[] = { "self", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
628 wxPy_BEGIN_ALLOW_THREADS
;
629 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
631 wxPy_END_ALLOW_THREADS
;
632 } _resultobj
= Py_BuildValue("i",_result
);
636 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
637 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
639 wxCloseEvent
* _arg0
;
640 bool _arg1
= (bool ) TRUE
;
641 PyObject
* _argo0
= 0;
642 int tempbool1
= (int) TRUE
;
643 char *_kwnames
[] = { "self","veto", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
655 _arg1
= (bool ) tempbool1
;
657 wxPy_BEGIN_ALLOW_THREADS
;
658 wxCloseEvent_Veto(_arg0
,_arg1
);
660 wxPy_END_ALLOW_THREADS
;
661 } Py_INCREF(Py_None
);
662 _resultobj
= Py_None
;
666 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
667 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
670 wxCloseEvent
* _arg0
;
671 PyObject
* _argo0
= 0;
672 char *_kwnames
[] = { "self", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
685 wxPy_BEGIN_ALLOW_THREADS
;
686 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
688 wxPy_END_ALLOW_THREADS
;
689 } _resultobj
= Py_BuildValue("i",_result
);
693 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
694 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
697 wxCloseEvent
* _arg0
;
698 PyObject
* _argo0
= 0;
699 char *_kwnames
[] = { "self", NULL
};
702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
712 wxPy_BEGIN_ALLOW_THREADS
;
713 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
715 wxPy_END_ALLOW_THREADS
;
716 } _resultobj
= Py_BuildValue("i",_result
);
720 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
721 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
723 wxCloseEvent
* _arg0
;
725 PyObject
* _argo0
= 0;
727 char *_kwnames
[] = { "self","canVeto", NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
739 _arg1
= (bool ) tempbool1
;
741 wxPy_BEGIN_ALLOW_THREADS
;
742 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
744 wxPy_END_ALLOW_THREADS
;
745 } Py_INCREF(Py_None
);
746 _resultobj
= Py_None
;
750 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
753 src
= (wxCommandEvent
*) ptr
;
754 dest
= (wxEvent
*) src
;
755 return (void *) dest
;
758 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
759 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
760 PyObject
* _resultobj
;
761 wxCommandEvent
* _result
;
762 int _arg0
= (int ) 0;
763 int _arg1
= (int ) 0;
764 char *_kwnames
[] = { "commandEventType","id", NULL
};
768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCommandEvent",_kwnames
,&_arg0
,&_arg1
))
771 wxPy_BEGIN_ALLOW_THREADS
;
772 _result
= (wxCommandEvent
*)new_wxCommandEvent(_arg0
,_arg1
);
774 wxPy_END_ALLOW_THREADS
;
776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCommandEvent_p");
777 _resultobj
= Py_BuildValue("s",_ptemp
);
780 _resultobj
= Py_None
;
785 #define wxCommandEvent_IsChecked(_swigobj) (_swigobj->IsChecked())
786 static PyObject
*_wrap_wxCommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
789 wxCommandEvent
* _arg0
;
790 PyObject
* _argo0
= 0;
791 char *_kwnames
[] = { "self", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsChecked",_kwnames
,&_argo0
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsChecked. Expected _wxCommandEvent_p.");
804 wxPy_BEGIN_ALLOW_THREADS
;
805 _result
= (bool )wxCommandEvent_IsChecked(_arg0
);
807 wxPy_END_ALLOW_THREADS
;
808 } _resultobj
= Py_BuildValue("i",_result
);
812 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
813 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
814 PyObject
* _resultobj
;
816 wxCommandEvent
* _arg0
;
817 PyObject
* _argo0
= 0;
818 char *_kwnames
[] = { "self", NULL
};
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
831 wxPy_BEGIN_ALLOW_THREADS
;
832 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
834 wxPy_END_ALLOW_THREADS
;
835 } _resultobj
= Py_BuildValue("l",_result
);
839 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
840 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
843 wxCommandEvent
* _arg0
;
844 PyObject
* _argo0
= 0;
845 char *_kwnames
[] = { "self", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 _result
= (int )wxCommandEvent_GetInt(_arg0
);
861 wxPy_END_ALLOW_THREADS
;
862 } _resultobj
= Py_BuildValue("i",_result
);
866 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
867 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
868 PyObject
* _resultobj
;
870 wxCommandEvent
* _arg0
;
871 PyObject
* _argo0
= 0;
872 char *_kwnames
[] = { "self", NULL
};
875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
885 wxPy_BEGIN_ALLOW_THREADS
;
886 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
888 wxPy_END_ALLOW_THREADS
;
889 } _resultobj
= Py_BuildValue("i",_result
);
893 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
894 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 PyObject
* _resultobj
;
897 wxCommandEvent
* _arg0
;
898 PyObject
* _argo0
= 0;
899 char *_kwnames
[] = { "self", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
912 wxPy_BEGIN_ALLOW_THREADS
;
913 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
915 wxPy_END_ALLOW_THREADS
;
917 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
925 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
926 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
929 wxCommandEvent
* _arg0
;
930 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
947 wxPy_END_ALLOW_THREADS
;
948 } _resultobj
= Py_BuildValue("i",_result
);
952 #define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
953 static PyObject
*_wrap_wxCommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
955 wxCommandEvent
* _arg0
;
957 PyObject
* _argo0
= 0;
958 PyObject
* _obj1
= 0;
959 char *_kwnames
[] = { "self","s", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCommandEvent_SetString",_kwnames
,&_argo0
,&_obj1
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
972 #if PYTHON_API_VERSION >= 1009
973 char* tmpPtr
; int tmpSize
;
974 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
975 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
978 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
980 _arg1
= new wxString(tmpPtr
, tmpSize
);
982 if (!PyString_Check(_obj1
)) {
983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
986 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
990 wxPy_BEGIN_ALLOW_THREADS
;
991 wxCommandEvent_SetString(_arg0
,*_arg1
);
993 wxPy_END_ALLOW_THREADS
;
994 } Py_INCREF(Py_None
);
995 _resultobj
= Py_None
;
1003 #define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
1004 static PyObject
*_wrap_wxCommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1006 wxCommandEvent
* _arg0
;
1008 PyObject
* _argo0
= 0;
1009 char *_kwnames
[] = { "self","extraLong", NULL
};
1012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCommandEvent_SetExtraLong",_kwnames
,&_argo0
,&_arg1
))
1015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 wxCommandEvent_SetExtraLong(_arg0
,_arg1
);
1025 wxPy_END_ALLOW_THREADS
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1031 #define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1032 static PyObject
*_wrap_wxCommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1034 wxCommandEvent
* _arg0
;
1036 PyObject
* _argo0
= 0;
1037 char *_kwnames
[] = { "self","i", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCommandEvent_SetInt",_kwnames
,&_argo0
,&_arg1
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 wxCommandEvent_SetInt(_arg0
,_arg1
);
1053 wxPy_END_ALLOW_THREADS
;
1054 } Py_INCREF(Py_None
);
1055 _resultobj
= Py_None
;
1059 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1061 wxCommandEvent
*dest
;
1062 src
= (wxScrollEvent
*) ptr
;
1063 dest
= (wxCommandEvent
*) src
;
1064 return (void *) dest
;
1067 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1070 src
= (wxScrollEvent
*) ptr
;
1071 dest
= (wxEvent
*) src
;
1072 return (void *) dest
;
1075 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1076 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
* _resultobj
;
1078 wxScrollEvent
* _result
;
1079 int _arg0
= (int ) 0;
1080 int _arg1
= (int ) 0;
1081 int _arg2
= (int ) 0;
1082 int _arg3
= (int ) 0;
1083 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1090 wxPy_BEGIN_ALLOW_THREADS
;
1091 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1093 wxPy_END_ALLOW_THREADS
;
1095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1096 _resultobj
= Py_BuildValue("s",_ptemp
);
1099 _resultobj
= Py_None
;
1104 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1105 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1108 wxScrollEvent
* _arg0
;
1109 PyObject
* _argo0
= 0;
1110 char *_kwnames
[] = { "self", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1123 wxPy_BEGIN_ALLOW_THREADS
;
1124 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1126 wxPy_END_ALLOW_THREADS
;
1127 } _resultobj
= Py_BuildValue("i",_result
);
1131 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1132 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1135 wxScrollEvent
* _arg0
;
1136 PyObject
* _argo0
= 0;
1137 char *_kwnames
[] = { "self", NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1150 wxPy_BEGIN_ALLOW_THREADS
;
1151 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1153 wxPy_END_ALLOW_THREADS
;
1154 } _resultobj
= Py_BuildValue("i",_result
);
1158 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1159 wxScrollWinEvent
*src
;
1161 src
= (wxScrollWinEvent
*) ptr
;
1162 dest
= (wxEvent
*) src
;
1163 return (void *) dest
;
1166 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1167 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1169 wxScrollWinEvent
* _result
;
1170 int _arg0
= (int ) 0;
1171 int _arg1
= (int ) 0;
1172 int _arg2
= (int ) 0;
1173 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1183 wxPy_END_ALLOW_THREADS
;
1185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1186 _resultobj
= Py_BuildValue("s",_ptemp
);
1189 _resultobj
= Py_None
;
1194 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1195 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1198 wxScrollWinEvent
* _arg0
;
1199 PyObject
* _argo0
= 0;
1200 char *_kwnames
[] = { "self", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1216 wxPy_END_ALLOW_THREADS
;
1217 } _resultobj
= Py_BuildValue("i",_result
);
1221 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1222 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1225 wxScrollWinEvent
* _arg0
;
1226 PyObject
* _argo0
= 0;
1227 char *_kwnames
[] = { "self", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1240 wxPy_BEGIN_ALLOW_THREADS
;
1241 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1243 wxPy_END_ALLOW_THREADS
;
1244 } _resultobj
= Py_BuildValue("i",_result
);
1248 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1250 wxScrollEvent
*dest
;
1251 src
= (wxSpinEvent
*) ptr
;
1252 dest
= (wxScrollEvent
*) src
;
1253 return (void *) dest
;
1256 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1258 wxCommandEvent
*dest
;
1259 src
= (wxSpinEvent
*) ptr
;
1260 dest
= (wxCommandEvent
*) src
;
1261 return (void *) dest
;
1264 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1267 src
= (wxSpinEvent
*) ptr
;
1268 dest
= (wxEvent
*) src
;
1269 return (void *) dest
;
1272 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1273 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1275 wxSpinEvent
* _result
;
1276 int _arg0
= (int ) 0;
1277 int _arg1
= (int ) 0;
1278 char *_kwnames
[] = { "commandType","id", NULL
};
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1285 wxPy_BEGIN_ALLOW_THREADS
;
1286 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1288 wxPy_END_ALLOW_THREADS
;
1290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1291 _resultobj
= Py_BuildValue("s",_ptemp
);
1294 _resultobj
= Py_None
;
1299 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1302 src
= (wxMouseEvent
*) ptr
;
1303 dest
= (wxEvent
*) src
;
1304 return (void *) dest
;
1307 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1308 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
* _resultobj
;
1310 wxMouseEvent
* _result
;
1311 int _arg0
= (int ) 0;
1312 char *_kwnames
[] = { "mouseEventType", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1322 wxPy_END_ALLOW_THREADS
;
1324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1325 _resultobj
= Py_BuildValue("s",_ptemp
);
1328 _resultobj
= Py_None
;
1333 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1334 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1337 wxMouseEvent
* _arg0
;
1338 PyObject
* _argo0
= 0;
1339 char *_kwnames
[] = { "self", NULL
};
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1355 wxPy_END_ALLOW_THREADS
;
1356 } _resultobj
= Py_BuildValue("i",_result
);
1360 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1361 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1364 wxMouseEvent
* _arg0
;
1365 int _arg1
= (int ) -1;
1366 PyObject
* _argo0
= 0;
1367 char *_kwnames
[] = { "self","but", NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1380 wxPy_BEGIN_ALLOW_THREADS
;
1381 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1383 wxPy_END_ALLOW_THREADS
;
1384 } _resultobj
= Py_BuildValue("i",_result
);
1388 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1389 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1392 wxMouseEvent
* _arg0
;
1393 int _arg1
= (int ) -1;
1394 PyObject
* _argo0
= 0;
1395 char *_kwnames
[] = { "self","but", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1408 wxPy_BEGIN_ALLOW_THREADS
;
1409 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1411 wxPy_END_ALLOW_THREADS
;
1412 } _resultobj
= Py_BuildValue("i",_result
);
1416 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1417 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
* _resultobj
;
1420 wxMouseEvent
* _arg0
;
1421 int _arg1
= (int ) -1;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self","but", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1436 wxPy_BEGIN_ALLOW_THREADS
;
1437 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1439 wxPy_END_ALLOW_THREADS
;
1440 } _resultobj
= Py_BuildValue("i",_result
);
1444 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1445 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1448 wxMouseEvent
* _arg0
;
1450 PyObject
* _argo0
= 0;
1451 char *_kwnames
[] = { "self","but", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1467 wxPy_END_ALLOW_THREADS
;
1468 } _resultobj
= Py_BuildValue("i",_result
);
1472 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1473 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1476 wxMouseEvent
* _arg0
;
1478 PyObject
* _argo0
= 0;
1479 char *_kwnames
[] = { "self","but", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1495 wxPy_END_ALLOW_THREADS
;
1496 } _resultobj
= Py_BuildValue("i",_result
);
1500 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1501 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 wxMouseEvent
* _arg0
;
1505 PyObject
* _argo0
= 0;
1506 char *_kwnames
[] = { "self", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1522 wxPy_END_ALLOW_THREADS
;
1523 } _resultobj
= Py_BuildValue("i",_result
);
1527 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1528 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1531 wxMouseEvent
* _arg0
;
1532 PyObject
* _argo0
= 0;
1533 char *_kwnames
[] = { "self", NULL
};
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1546 wxPy_BEGIN_ALLOW_THREADS
;
1547 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1549 wxPy_END_ALLOW_THREADS
;
1550 } _resultobj
= Py_BuildValue("i",_result
);
1554 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1555 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1558 wxMouseEvent
* _arg0
;
1559 PyObject
* _argo0
= 0;
1560 char *_kwnames
[] = { "self", NULL
};
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1573 wxPy_BEGIN_ALLOW_THREADS
;
1574 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1576 wxPy_END_ALLOW_THREADS
;
1577 } _resultobj
= Py_BuildValue("i",_result
);
1581 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1582 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1585 wxMouseEvent
* _arg0
;
1586 PyObject
* _argo0
= 0;
1587 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1603 wxPy_END_ALLOW_THREADS
;
1604 } _resultobj
= Py_BuildValue("i",_result
);
1608 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1609 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1612 wxMouseEvent
* _arg0
;
1613 PyObject
* _argo0
= 0;
1614 char *_kwnames
[] = { "self", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } _resultobj
= Py_BuildValue("i",_result
);
1635 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1636 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1639 wxMouseEvent
* _arg0
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1657 wxPy_END_ALLOW_THREADS
;
1658 } _resultobj
= Py_BuildValue("i",_result
);
1662 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1663 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1666 wxMouseEvent
* _arg0
;
1667 PyObject
* _argo0
= 0;
1668 char *_kwnames
[] = { "self", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1681 wxPy_BEGIN_ALLOW_THREADS
;
1682 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1684 wxPy_END_ALLOW_THREADS
;
1685 } _resultobj
= Py_BuildValue("i",_result
);
1689 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1690 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1693 wxMouseEvent
* _arg0
;
1694 PyObject
* _argo0
= 0;
1695 char *_kwnames
[] = { "self", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1708 wxPy_BEGIN_ALLOW_THREADS
;
1709 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1711 wxPy_END_ALLOW_THREADS
;
1712 } _resultobj
= Py_BuildValue("i",_result
);
1716 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1717 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1720 wxMouseEvent
* _arg0
;
1721 PyObject
* _argo0
= 0;
1722 char *_kwnames
[] = { "self", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1735 wxPy_BEGIN_ALLOW_THREADS
;
1736 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1738 wxPy_END_ALLOW_THREADS
;
1739 } _resultobj
= Py_BuildValue("i",_result
);
1743 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1744 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1747 wxMouseEvent
* _arg0
;
1748 PyObject
* _argo0
= 0;
1749 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1765 wxPy_END_ALLOW_THREADS
;
1766 } _resultobj
= Py_BuildValue("i",_result
);
1770 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1771 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1774 wxMouseEvent
* _arg0
;
1775 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1798 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1801 wxMouseEvent
* _arg0
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } _resultobj
= Py_BuildValue("i",_result
);
1824 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1825 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1828 wxMouseEvent
* _arg0
;
1829 PyObject
* _argo0
= 0;
1830 char *_kwnames
[] = { "self", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1843 wxPy_BEGIN_ALLOW_THREADS
;
1844 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1846 wxPy_END_ALLOW_THREADS
;
1847 } _resultobj
= Py_BuildValue("i",_result
);
1851 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1852 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1855 wxMouseEvent
* _arg0
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1873 wxPy_END_ALLOW_THREADS
;
1874 } _resultobj
= Py_BuildValue("i",_result
);
1878 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1879 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1882 wxMouseEvent
* _arg0
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1906 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1909 wxMouseEvent
* _arg0
;
1910 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } _resultobj
= Py_BuildValue("i",_result
);
1932 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1933 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1936 wxMouseEvent
* _arg0
;
1937 PyObject
* _argo0
= 0;
1938 char *_kwnames
[] = { "self", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
1944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1951 wxPy_BEGIN_ALLOW_THREADS
;
1952 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1954 wxPy_END_ALLOW_THREADS
;
1955 } _resultobj
= Py_BuildValue("i",_result
);
1959 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1960 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1963 wxMouseEvent
* _arg0
;
1964 PyObject
* _argo0
= 0;
1965 char *_kwnames
[] = { "self", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
1971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1978 wxPy_BEGIN_ALLOW_THREADS
;
1979 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1981 wxPy_END_ALLOW_THREADS
;
1982 } _resultobj
= Py_BuildValue("i",_result
);
1986 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1987 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1990 wxMouseEvent
* _arg0
;
1991 PyObject
* _argo0
= 0;
1992 char *_kwnames
[] = { "self", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
2005 wxPy_BEGIN_ALLOW_THREADS
;
2006 _result
= (bool )wxMouseEvent_Entering(_arg0
);
2008 wxPy_END_ALLOW_THREADS
;
2009 } _resultobj
= Py_BuildValue("i",_result
);
2013 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
2014 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2017 wxMouseEvent
* _arg0
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self", NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
2035 wxPy_END_ALLOW_THREADS
;
2036 } _resultobj
= Py_BuildValue("i",_result
);
2040 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2041 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2044 wxMouseEvent
* _arg0
;
2045 PyObject
* _argo0
= 0;
2046 char *_kwnames
[] = { "self", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2063 wxPy_END_ALLOW_THREADS
;
2064 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2065 _resultobj
= Py_BuildValue("s",_ptemp
);
2069 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2070 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2072 wxMouseEvent
* _arg0
;
2077 PyObject
* _argo0
= 0;
2078 char *_kwnames
[] = { "self", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
2090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2097 wxPy_BEGIN_ALLOW_THREADS
;
2098 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2100 wxPy_END_ALLOW_THREADS
;
2101 } Py_INCREF(Py_None
);
2102 _resultobj
= Py_None
;
2105 o
= PyInt_FromLong((long) (*_arg1
));
2106 _resultobj
= t_output_helper(_resultobj
, o
);
2110 o
= PyInt_FromLong((long) (*_arg2
));
2111 _resultobj
= t_output_helper(_resultobj
, o
);
2116 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2117 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2120 wxMouseEvent
* _arg0
;
2122 PyObject
* _argo0
= 0;
2123 PyObject
* _argo1
= 0;
2124 char *_kwnames
[] = { "self","dc", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2145 wxPy_BEGIN_ALLOW_THREADS
;
2146 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2148 wxPy_END_ALLOW_THREADS
;
2149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2150 _resultobj
= Py_BuildValue("s",_ptemp
);
2154 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2155 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2158 wxMouseEvent
* _arg0
;
2159 PyObject
* _argo0
= 0;
2160 char *_kwnames
[] = { "self", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2173 wxPy_BEGIN_ALLOW_THREADS
;
2174 _result
= (long )wxMouseEvent_GetX(_arg0
);
2176 wxPy_END_ALLOW_THREADS
;
2177 } _resultobj
= Py_BuildValue("l",_result
);
2181 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2182 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2185 wxMouseEvent
* _arg0
;
2186 PyObject
* _argo0
= 0;
2187 char *_kwnames
[] = { "self", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2200 wxPy_BEGIN_ALLOW_THREADS
;
2201 _result
= (long )wxMouseEvent_GetY(_arg0
);
2203 wxPy_END_ALLOW_THREADS
;
2204 } _resultobj
= Py_BuildValue("l",_result
);
2208 #define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2209 static PyObject
*_wrap_wxMouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
* _resultobj
;
2212 wxMouseEvent
* _arg0
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self","m_x", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 _result
= (long )wxMouseEvent_m_x_set(_arg0
,_arg1
);
2231 wxPy_END_ALLOW_THREADS
;
2232 } _resultobj
= Py_BuildValue("l",_result
);
2236 #define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2237 static PyObject
*_wrap_wxMouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2240 wxMouseEvent
* _arg0
;
2241 PyObject
* _argo0
= 0;
2242 char *_kwnames
[] = { "self", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_x_get",_kwnames
,&_argo0
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
2255 wxPy_BEGIN_ALLOW_THREADS
;
2256 _result
= (long )wxMouseEvent_m_x_get(_arg0
);
2258 wxPy_END_ALLOW_THREADS
;
2259 } _resultobj
= Py_BuildValue("l",_result
);
2263 #define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2264 static PyObject
*_wrap_wxMouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2267 wxMouseEvent
* _arg0
;
2269 PyObject
* _argo0
= 0;
2270 char *_kwnames
[] = { "self","m_y", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
2276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2283 wxPy_BEGIN_ALLOW_THREADS
;
2284 _result
= (long )wxMouseEvent_m_y_set(_arg0
,_arg1
);
2286 wxPy_END_ALLOW_THREADS
;
2287 } _resultobj
= Py_BuildValue("l",_result
);
2291 #define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2292 static PyObject
*_wrap_wxMouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2295 wxMouseEvent
* _arg0
;
2296 PyObject
* _argo0
= 0;
2297 char *_kwnames
[] = { "self", NULL
};
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_y_get",_kwnames
,&_argo0
))
2303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
2310 wxPy_BEGIN_ALLOW_THREADS
;
2311 _result
= (long )wxMouseEvent_m_y_get(_arg0
);
2313 wxPy_END_ALLOW_THREADS
;
2314 } _resultobj
= Py_BuildValue("l",_result
);
2318 #define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2319 static PyObject
*_wrap_wxMouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
* _resultobj
;
2322 wxMouseEvent
* _arg0
;
2324 PyObject
* _argo0
= 0;
2326 char *_kwnames
[] = { "self","m_leftDown", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_leftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
2338 _arg1
= (bool ) tempbool1
;
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 _result
= (bool )wxMouseEvent_m_leftDown_set(_arg0
,_arg1
);
2343 wxPy_END_ALLOW_THREADS
;
2344 } _resultobj
= Py_BuildValue("i",_result
);
2348 #define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2349 static PyObject
*_wrap_wxMouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2352 wxMouseEvent
* _arg0
;
2353 PyObject
* _argo0
= 0;
2354 char *_kwnames
[] = { "self", NULL
};
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_leftDown_get",_kwnames
,&_argo0
))
2360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 _result
= (bool )wxMouseEvent_m_leftDown_get(_arg0
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } _resultobj
= Py_BuildValue("i",_result
);
2375 #define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2376 static PyObject
*_wrap_wxMouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2379 wxMouseEvent
* _arg0
;
2381 PyObject
* _argo0
= 0;
2383 char *_kwnames
[] = { "self","m_middleDown", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_middleDown_set",_kwnames
,&_argo0
,&tempbool1
))
2389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
2395 _arg1
= (bool ) tempbool1
;
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 _result
= (bool )wxMouseEvent_m_middleDown_set(_arg0
,_arg1
);
2400 wxPy_END_ALLOW_THREADS
;
2401 } _resultobj
= Py_BuildValue("i",_result
);
2405 #define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2406 static PyObject
*_wrap_wxMouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2409 wxMouseEvent
* _arg0
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_middleDown_get",_kwnames
,&_argo0
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 _result
= (bool )wxMouseEvent_m_middleDown_get(_arg0
);
2427 wxPy_END_ALLOW_THREADS
;
2428 } _resultobj
= Py_BuildValue("i",_result
);
2432 #define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2433 static PyObject
*_wrap_wxMouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
* _resultobj
;
2436 wxMouseEvent
* _arg0
;
2438 PyObject
* _argo0
= 0;
2440 char *_kwnames
[] = { "self","m_rightDown", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_rightDown_set",_kwnames
,&_argo0
,&tempbool1
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
2452 _arg1
= (bool ) tempbool1
;
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 _result
= (bool )wxMouseEvent_m_rightDown_set(_arg0
,_arg1
);
2457 wxPy_END_ALLOW_THREADS
;
2458 } _resultobj
= Py_BuildValue("i",_result
);
2462 #define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2463 static PyObject
*_wrap_wxMouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2466 wxMouseEvent
* _arg0
;
2467 PyObject
* _argo0
= 0;
2468 char *_kwnames
[] = { "self", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_rightDown_get",_kwnames
,&_argo0
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
2481 wxPy_BEGIN_ALLOW_THREADS
;
2482 _result
= (bool )wxMouseEvent_m_rightDown_get(_arg0
);
2484 wxPy_END_ALLOW_THREADS
;
2485 } _resultobj
= Py_BuildValue("i",_result
);
2489 #define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2490 static PyObject
*_wrap_wxMouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2493 wxMouseEvent
* _arg0
;
2495 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self","m_controlDown", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
2509 _arg1
= (bool ) tempbool1
;
2511 wxPy_BEGIN_ALLOW_THREADS
;
2512 _result
= (bool )wxMouseEvent_m_controlDown_set(_arg0
,_arg1
);
2514 wxPy_END_ALLOW_THREADS
;
2515 } _resultobj
= Py_BuildValue("i",_result
);
2519 #define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2520 static PyObject
*_wrap_wxMouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2523 wxMouseEvent
* _arg0
;
2524 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_controlDown_get",_kwnames
,&_argo0
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
2538 wxPy_BEGIN_ALLOW_THREADS
;
2539 _result
= (bool )wxMouseEvent_m_controlDown_get(_arg0
);
2541 wxPy_END_ALLOW_THREADS
;
2542 } _resultobj
= Py_BuildValue("i",_result
);
2546 #define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2547 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
* _resultobj
;
2550 wxMouseEvent
* _arg0
;
2552 PyObject
* _argo0
= 0;
2554 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
2566 _arg1
= (bool ) tempbool1
;
2568 wxPy_BEGIN_ALLOW_THREADS
;
2569 _result
= (bool )wxMouseEvent_m_shiftDown_set(_arg0
,_arg1
);
2571 wxPy_END_ALLOW_THREADS
;
2572 } _resultobj
= Py_BuildValue("i",_result
);
2576 #define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2577 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2580 wxMouseEvent
* _arg0
;
2581 PyObject
* _argo0
= 0;
2582 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_shiftDown_get",_kwnames
,&_argo0
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 _result
= (bool )wxMouseEvent_m_shiftDown_get(_arg0
);
2598 wxPy_END_ALLOW_THREADS
;
2599 } _resultobj
= Py_BuildValue("i",_result
);
2603 #define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2604 static PyObject
*_wrap_wxMouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
* _resultobj
;
2607 wxMouseEvent
* _arg0
;
2609 PyObject
* _argo0
= 0;
2611 char *_kwnames
[] = { "self","m_altDown", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
2623 _arg1
= (bool ) tempbool1
;
2625 wxPy_BEGIN_ALLOW_THREADS
;
2626 _result
= (bool )wxMouseEvent_m_altDown_set(_arg0
,_arg1
);
2628 wxPy_END_ALLOW_THREADS
;
2629 } _resultobj
= Py_BuildValue("i",_result
);
2633 #define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2634 static PyObject
*_wrap_wxMouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2637 wxMouseEvent
* _arg0
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_altDown_get",_kwnames
,&_argo0
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2652 wxPy_BEGIN_ALLOW_THREADS
;
2653 _result
= (bool )wxMouseEvent_m_altDown_get(_arg0
);
2655 wxPy_END_ALLOW_THREADS
;
2656 } _resultobj
= Py_BuildValue("i",_result
);
2660 #define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2661 static PyObject
*_wrap_wxMouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2664 wxMouseEvent
* _arg0
;
2666 PyObject
* _argo0
= 0;
2668 char *_kwnames
[] = { "self","m_metaDown", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2680 _arg1
= (bool ) tempbool1
;
2682 wxPy_BEGIN_ALLOW_THREADS
;
2683 _result
= (bool )wxMouseEvent_m_metaDown_set(_arg0
,_arg1
);
2685 wxPy_END_ALLOW_THREADS
;
2686 } _resultobj
= Py_BuildValue("i",_result
);
2690 #define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2691 static PyObject
*_wrap_wxMouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2694 wxMouseEvent
* _arg0
;
2695 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_metaDown_get",_kwnames
,&_argo0
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2709 wxPy_BEGIN_ALLOW_THREADS
;
2710 _result
= (bool )wxMouseEvent_m_metaDown_get(_arg0
);
2712 wxPy_END_ALLOW_THREADS
;
2713 } _resultobj
= Py_BuildValue("i",_result
);
2717 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
2720 src
= (wxKeyEvent
*) ptr
;
2721 dest
= (wxEvent
*) src
;
2722 return (void *) dest
;
2725 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
2726 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2728 wxKeyEvent
* _result
;
2730 char *_kwnames
[] = { "keyEventType", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
2740 wxPy_END_ALLOW_THREADS
;
2742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
2743 _resultobj
= Py_BuildValue("s",_ptemp
);
2746 _resultobj
= Py_None
;
2751 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
2752 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
2773 wxPy_END_ALLOW_THREADS
;
2774 } _resultobj
= Py_BuildValue("i",_result
);
2778 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
2779 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
* _resultobj
;
2783 PyObject
* _argo0
= 0;
2784 char *_kwnames
[] = { "self", NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
2790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } _resultobj
= Py_BuildValue("i",_result
);
2805 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
2806 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2810 PyObject
* _argo0
= 0;
2811 char *_kwnames
[] = { "self", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
2824 wxPy_BEGIN_ALLOW_THREADS
;
2825 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
2827 wxPy_END_ALLOW_THREADS
;
2828 } _resultobj
= Py_BuildValue("i",_result
);
2832 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
2833 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2837 PyObject
* _argo0
= 0;
2838 char *_kwnames
[] = { "self", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
2854 wxPy_END_ALLOW_THREADS
;
2855 } _resultobj
= Py_BuildValue("i",_result
);
2859 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
2860 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2864 PyObject
* _argo0
= 0;
2865 char *_kwnames
[] = { "self", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
2878 wxPy_BEGIN_ALLOW_THREADS
;
2879 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
2881 wxPy_END_ALLOW_THREADS
;
2882 } _resultobj
= Py_BuildValue("l",_result
);
2886 #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2887 static PyObject
*_wrap_wxKeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetKeyCode",_kwnames
,&_argo0
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 _result
= (long )wxKeyEvent_GetKeyCode(_arg0
);
2908 wxPy_END_ALLOW_THREADS
;
2909 } _resultobj
= Py_BuildValue("l",_result
);
2913 #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
2914 static PyObject
*_wrap_wxKeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_HasModifiers",_kwnames
,&_argo0
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 _result
= (bool )wxKeyEvent_HasModifiers(_arg0
);
2935 wxPy_END_ALLOW_THREADS
;
2936 } _resultobj
= Py_BuildValue("i",_result
);
2940 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
2941 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2945 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 _result
= (long )wxKeyEvent_GetX(_arg0
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } _resultobj
= Py_BuildValue("l",_result
);
2967 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
2968 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
2986 wxPy_BEGIN_ALLOW_THREADS
;
2987 _result
= (long )wxKeyEvent_GetY(_arg0
);
2989 wxPy_END_ALLOW_THREADS
;
2990 } _resultobj
= Py_BuildValue("l",_result
);
2994 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2995 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
* _resultobj
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
3017 wxPy_END_ALLOW_THREADS
;
3018 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3019 _resultobj
= Py_BuildValue("s",_ptemp
);
3023 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3024 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "self", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3051 wxPy_BEGIN_ALLOW_THREADS
;
3052 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3054 wxPy_END_ALLOW_THREADS
;
3055 } Py_INCREF(Py_None
);
3056 _resultobj
= Py_None
;
3059 o
= PyInt_FromLong((long) (*_arg1
));
3060 _resultobj
= t_output_helper(_resultobj
, o
);
3064 o
= PyInt_FromLong((long) (*_arg2
));
3065 _resultobj
= t_output_helper(_resultobj
, o
);
3070 #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3071 static PyObject
*_wrap_wxKeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3076 PyObject
* _argo0
= 0;
3077 char *_kwnames
[] = { "self","m_x", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3090 wxPy_BEGIN_ALLOW_THREADS
;
3091 _result
= (long )wxKeyEvent_m_x_set(_arg0
,_arg1
);
3093 wxPy_END_ALLOW_THREADS
;
3094 } _resultobj
= Py_BuildValue("l",_result
);
3098 #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3099 static PyObject
*_wrap_wxKeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_x_get",_kwnames
,&_argo0
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3117 wxPy_BEGIN_ALLOW_THREADS
;
3118 _result
= (long )wxKeyEvent_m_x_get(_arg0
);
3120 wxPy_END_ALLOW_THREADS
;
3121 } _resultobj
= Py_BuildValue("l",_result
);
3125 #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3126 static PyObject
*_wrap_wxKeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3131 PyObject
* _argo0
= 0;
3132 char *_kwnames
[] = { "self","m_y", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p.");
3145 wxPy_BEGIN_ALLOW_THREADS
;
3146 _result
= (long )wxKeyEvent_m_y_set(_arg0
,_arg1
);
3148 wxPy_END_ALLOW_THREADS
;
3149 } _resultobj
= Py_BuildValue("l",_result
);
3153 #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3154 static PyObject
*_wrap_wxKeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
* _resultobj
;
3158 PyObject
* _argo0
= 0;
3159 char *_kwnames
[] = { "self", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_y_get",_kwnames
,&_argo0
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p.");
3172 wxPy_BEGIN_ALLOW_THREADS
;
3173 _result
= (long )wxKeyEvent_m_y_get(_arg0
);
3175 wxPy_END_ALLOW_THREADS
;
3176 } _resultobj
= Py_BuildValue("l",_result
);
3180 #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3181 static PyObject
*_wrap_wxKeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3186 PyObject
* _argo0
= 0;
3187 char *_kwnames
[] = { "self","m_keyCode", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_keyCode_set",_kwnames
,&_argo0
,&_arg1
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 _result
= (long )wxKeyEvent_m_keyCode_set(_arg0
,_arg1
);
3203 wxPy_END_ALLOW_THREADS
;
3204 } _resultobj
= Py_BuildValue("l",_result
);
3208 #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3209 static PyObject
*_wrap_wxKeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
* _resultobj
;
3213 PyObject
* _argo0
= 0;
3214 char *_kwnames
[] = { "self", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_keyCode_get",_kwnames
,&_argo0
))
3220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3227 wxPy_BEGIN_ALLOW_THREADS
;
3228 _result
= (long )wxKeyEvent_m_keyCode_get(_arg0
);
3230 wxPy_END_ALLOW_THREADS
;
3231 } _resultobj
= Py_BuildValue("l",_result
);
3235 #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3236 static PyObject
*_wrap_wxKeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3241 PyObject
* _argo0
= 0;
3243 char *_kwnames
[] = { "self","m_controlDown", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
3255 _arg1
= (bool ) tempbool1
;
3257 wxPy_BEGIN_ALLOW_THREADS
;
3258 _result
= (bool )wxKeyEvent_m_controlDown_set(_arg0
,_arg1
);
3260 wxPy_END_ALLOW_THREADS
;
3261 } _resultobj
= Py_BuildValue("i",_result
);
3265 #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
3266 static PyObject
*_wrap_wxKeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_controlDown_get",_kwnames
,&_argo0
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
3284 wxPy_BEGIN_ALLOW_THREADS
;
3285 _result
= (bool )wxKeyEvent_m_controlDown_get(_arg0
);
3287 wxPy_END_ALLOW_THREADS
;
3288 } _resultobj
= Py_BuildValue("i",_result
);
3292 #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
3293 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3298 PyObject
* _argo0
= 0;
3300 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
3306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
3312 _arg1
= (bool ) tempbool1
;
3314 wxPy_BEGIN_ALLOW_THREADS
;
3315 _result
= (bool )wxKeyEvent_m_shiftDown_set(_arg0
,_arg1
);
3317 wxPy_END_ALLOW_THREADS
;
3318 } _resultobj
= Py_BuildValue("i",_result
);
3322 #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
3323 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3327 PyObject
* _argo0
= 0;
3328 char *_kwnames
[] = { "self", NULL
};
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_shiftDown_get",_kwnames
,&_argo0
))
3334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
3341 wxPy_BEGIN_ALLOW_THREADS
;
3342 _result
= (bool )wxKeyEvent_m_shiftDown_get(_arg0
);
3344 wxPy_END_ALLOW_THREADS
;
3345 } _resultobj
= Py_BuildValue("i",_result
);
3349 #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
3350 static PyObject
*_wrap_wxKeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3355 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self","m_altDown", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
3369 _arg1
= (bool ) tempbool1
;
3371 wxPy_BEGIN_ALLOW_THREADS
;
3372 _result
= (bool )wxKeyEvent_m_altDown_set(_arg0
,_arg1
);
3374 wxPy_END_ALLOW_THREADS
;
3375 } _resultobj
= Py_BuildValue("i",_result
);
3379 #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
3380 static PyObject
*_wrap_wxKeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_altDown_get",_kwnames
,&_argo0
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 _result
= (bool )wxKeyEvent_m_altDown_get(_arg0
);
3401 wxPy_END_ALLOW_THREADS
;
3402 } _resultobj
= Py_BuildValue("i",_result
);
3406 #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
3407 static PyObject
*_wrap_wxKeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
* _resultobj
;
3412 PyObject
* _argo0
= 0;
3414 char *_kwnames
[] = { "self","m_metaDown", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p.");
3426 _arg1
= (bool ) tempbool1
;
3428 wxPy_BEGIN_ALLOW_THREADS
;
3429 _result
= (bool )wxKeyEvent_m_metaDown_set(_arg0
,_arg1
);
3431 wxPy_END_ALLOW_THREADS
;
3432 } _resultobj
= Py_BuildValue("i",_result
);
3436 #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
3437 static PyObject
*_wrap_wxKeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3441 PyObject
* _argo0
= 0;
3442 char *_kwnames
[] = { "self", NULL
};
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_metaDown_get",_kwnames
,&_argo0
))
3448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p.");
3455 wxPy_BEGIN_ALLOW_THREADS
;
3456 _result
= (bool )wxKeyEvent_m_metaDown_get(_arg0
);
3458 wxPy_END_ALLOW_THREADS
;
3459 } _resultobj
= Py_BuildValue("i",_result
);
3463 #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
3464 static PyObject
*_wrap_wxKeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3469 PyObject
* _argo0
= 0;
3471 char *_kwnames
[] = { "self","m_scanCode", NULL
};
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_scanCode_set",_kwnames
,&_argo0
,&tempbool1
))
3477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
3483 _arg1
= (bool ) tempbool1
;
3485 wxPy_BEGIN_ALLOW_THREADS
;
3486 _result
= (bool )wxKeyEvent_m_scanCode_set(_arg0
,_arg1
);
3488 wxPy_END_ALLOW_THREADS
;
3489 } _resultobj
= Py_BuildValue("i",_result
);
3493 #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
3494 static PyObject
*_wrap_wxKeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
* _resultobj
;
3498 PyObject
* _argo0
= 0;
3499 char *_kwnames
[] = { "self", NULL
};
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_scanCode_get",_kwnames
,&_argo0
))
3505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
3512 wxPy_BEGIN_ALLOW_THREADS
;
3513 _result
= (bool )wxKeyEvent_m_scanCode_get(_arg0
);
3515 wxPy_END_ALLOW_THREADS
;
3516 } _resultobj
= Py_BuildValue("i",_result
);
3520 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
3521 wxNavigationKeyEvent
*src
;
3523 src
= (wxNavigationKeyEvent
*) ptr
;
3524 dest
= (wxEvent
*) src
;
3525 return (void *) dest
;
3528 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
3529 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3531 wxNavigationKeyEvent
* _result
;
3532 char *_kwnames
[] = { NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
3539 wxPy_BEGIN_ALLOW_THREADS
;
3540 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
3542 wxPy_END_ALLOW_THREADS
;
3544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
3545 _resultobj
= Py_BuildValue("s",_ptemp
);
3548 _resultobj
= Py_None
;
3553 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
3554 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
* _resultobj
;
3557 wxNavigationKeyEvent
* _arg0
;
3558 PyObject
* _argo0
= 0;
3559 char *_kwnames
[] = { "self", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
3572 wxPy_BEGIN_ALLOW_THREADS
;
3573 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
3575 wxPy_END_ALLOW_THREADS
;
3576 } _resultobj
= Py_BuildValue("i",_result
);
3580 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
3581 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3583 wxNavigationKeyEvent
* _arg0
;
3585 PyObject
* _argo0
= 0;
3587 char *_kwnames
[] = { "self","bForward", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
3599 _arg1
= (bool ) tempbool1
;
3601 wxPy_BEGIN_ALLOW_THREADS
;
3602 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
3604 wxPy_END_ALLOW_THREADS
;
3605 } Py_INCREF(Py_None
);
3606 _resultobj
= Py_None
;
3610 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
3611 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
* _resultobj
;
3614 wxNavigationKeyEvent
* _arg0
;
3615 PyObject
* _argo0
= 0;
3616 char *_kwnames
[] = { "self", NULL
};
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
3622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
3629 wxPy_BEGIN_ALLOW_THREADS
;
3630 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
3632 wxPy_END_ALLOW_THREADS
;
3633 } _resultobj
= Py_BuildValue("i",_result
);
3637 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
3638 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3640 wxNavigationKeyEvent
* _arg0
;
3642 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self","bIs", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
3656 _arg1
= (bool ) tempbool1
;
3658 wxPy_BEGIN_ALLOW_THREADS
;
3659 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
3661 wxPy_END_ALLOW_THREADS
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
3668 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3671 wxNavigationKeyEvent
* _arg0
;
3672 PyObject
* _argo0
= 0;
3673 char *_kwnames
[] = { "self", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
3687 wxPy_BEGIN_ALLOW_THREADS
;
3688 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
3690 wxPy_END_ALLOW_THREADS
;
3692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3693 _resultobj
= Py_BuildValue("s",_ptemp
);
3696 _resultobj
= Py_None
;
3701 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
3702 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3704 wxNavigationKeyEvent
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 PyObject
* _argo1
= 0;
3708 char *_kwnames
[] = { "self","win", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
3721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
3731 wxPy_END_ALLOW_THREADS
;
3732 } Py_INCREF(Py_None
);
3733 _resultobj
= Py_None
;
3737 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
3740 src
= (wxMoveEvent
*) ptr
;
3741 dest
= (wxEvent
*) src
;
3742 return (void *) dest
;
3745 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
3746 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3748 wxMoveEvent
* _result
;
3750 int _arg1
= (int ) 0;
3752 PyObject
* _obj0
= 0;
3753 char *_kwnames
[] = { "pt","id", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
3761 if (! wxPoint_helper(_obj0
, &_arg0
))
3765 wxPy_BEGIN_ALLOW_THREADS
;
3766 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
3768 wxPy_END_ALLOW_THREADS
;
3770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
3771 _resultobj
= Py_BuildValue("s",_ptemp
);
3774 _resultobj
= Py_None
;
3779 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3780 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3783 wxMoveEvent
* _arg0
;
3784 PyObject
* _argo0
= 0;
3785 char *_kwnames
[] = { "self", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
3799 wxPy_BEGIN_ALLOW_THREADS
;
3800 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
3802 wxPy_END_ALLOW_THREADS
;
3803 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3804 _resultobj
= Py_BuildValue("s",_ptemp
);
3808 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
3811 src
= (wxPaintEvent
*) ptr
;
3812 dest
= (wxEvent
*) src
;
3813 return (void *) dest
;
3816 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
3817 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3819 wxPaintEvent
* _result
;
3820 int _arg0
= (int ) 0;
3821 char *_kwnames
[] = { "id", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
3831 wxPy_END_ALLOW_THREADS
;
3833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
3834 _resultobj
= Py_BuildValue("s",_ptemp
);
3837 _resultobj
= Py_None
;
3842 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
3845 src
= (wxEraseEvent
*) ptr
;
3846 dest
= (wxEvent
*) src
;
3847 return (void *) dest
;
3850 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
3851 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3853 wxEraseEvent
* _result
;
3854 int _arg0
= (int ) 0;
3855 wxDC
* _arg1
= (wxDC
*) NULL
;
3856 PyObject
* _argo1
= 0;
3857 char *_kwnames
[] = { "id","dc", NULL
};
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
3864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
3871 wxPy_BEGIN_ALLOW_THREADS
;
3872 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
3874 wxPy_END_ALLOW_THREADS
;
3876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
3877 _resultobj
= Py_BuildValue("s",_ptemp
);
3880 _resultobj
= Py_None
;
3885 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
3886 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3889 wxEraseEvent
* _arg0
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
3905 wxPy_BEGIN_ALLOW_THREADS
;
3906 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
3908 wxPy_END_ALLOW_THREADS
;
3910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3911 _resultobj
= Py_BuildValue("s",_ptemp
);
3914 _resultobj
= Py_None
;
3919 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
3922 src
= (wxFocusEvent
*) ptr
;
3923 dest
= (wxEvent
*) src
;
3924 return (void *) dest
;
3927 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
3928 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
* _resultobj
;
3930 wxFocusEvent
* _result
;
3931 WXTYPE _arg0
= (WXTYPE
) 0;
3932 int _arg1
= (int ) 0;
3933 char *_kwnames
[] = { "eventType","id", NULL
};
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
3940 wxPy_BEGIN_ALLOW_THREADS
;
3941 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
3943 wxPy_END_ALLOW_THREADS
;
3945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
3946 _resultobj
= Py_BuildValue("s",_ptemp
);
3949 _resultobj
= Py_None
;
3954 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
3955 wxActivateEvent
*src
;
3957 src
= (wxActivateEvent
*) ptr
;
3958 dest
= (wxEvent
*) src
;
3959 return (void *) dest
;
3962 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
3963 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3965 wxActivateEvent
* _result
;
3966 WXTYPE _arg0
= (WXTYPE
) 0;
3967 int _arg1
= (int ) TRUE
;
3968 int _arg2
= (int ) 0;
3969 char *_kwnames
[] = { "eventType","active","id", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3976 wxPy_BEGIN_ALLOW_THREADS
;
3977 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
3979 wxPy_END_ALLOW_THREADS
;
3981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
3982 _resultobj
= Py_BuildValue("s",_ptemp
);
3985 _resultobj
= Py_None
;
3990 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
3991 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3994 wxActivateEvent
* _arg0
;
3995 PyObject
* _argo0
= 0;
3996 char *_kwnames
[] = { "self", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
4009 wxPy_BEGIN_ALLOW_THREADS
;
4010 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
4012 wxPy_END_ALLOW_THREADS
;
4013 } _resultobj
= Py_BuildValue("i",_result
);
4017 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
4018 wxInitDialogEvent
*src
;
4020 src
= (wxInitDialogEvent
*) ptr
;
4021 dest
= (wxEvent
*) src
;
4022 return (void *) dest
;
4025 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
4026 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4028 wxInitDialogEvent
* _result
;
4029 int _arg0
= (int ) 0;
4030 char *_kwnames
[] = { "id", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
4037 wxPy_BEGIN_ALLOW_THREADS
;
4038 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
4040 wxPy_END_ALLOW_THREADS
;
4042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
4043 _resultobj
= Py_BuildValue("s",_ptemp
);
4046 _resultobj
= Py_None
;
4051 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
4054 src
= (wxMenuEvent
*) ptr
;
4055 dest
= (wxEvent
*) src
;
4056 return (void *) dest
;
4059 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
4060 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4062 wxMenuEvent
* _result
;
4063 WXTYPE _arg0
= (WXTYPE
) 0;
4064 int _arg1
= (int ) 0;
4065 char *_kwnames
[] = { "id","id", NULL
};
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
4075 wxPy_END_ALLOW_THREADS
;
4077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
4078 _resultobj
= Py_BuildValue("s",_ptemp
);
4081 _resultobj
= Py_None
;
4086 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
4087 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4090 wxMenuEvent
* _arg0
;
4091 PyObject
* _argo0
= 0;
4092 char *_kwnames
[] = { "self", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
4105 wxPy_BEGIN_ALLOW_THREADS
;
4106 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
4108 wxPy_END_ALLOW_THREADS
;
4109 } _resultobj
= Py_BuildValue("i",_result
);
4113 static void *SwigwxShowEventTowxEvent(void *ptr
) {
4116 src
= (wxShowEvent
*) ptr
;
4117 dest
= (wxEvent
*) src
;
4118 return (void *) dest
;
4121 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
4122 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4124 wxShowEvent
* _result
;
4125 int _arg0
= (int ) 0;
4126 int _arg1
= (int ) FALSE
;
4127 char *_kwnames
[] = { "id","show", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
4134 wxPy_BEGIN_ALLOW_THREADS
;
4135 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
4137 wxPy_END_ALLOW_THREADS
;
4139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
4140 _resultobj
= Py_BuildValue("s",_ptemp
);
4143 _resultobj
= Py_None
;
4148 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
4149 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
* _resultobj
;
4151 wxShowEvent
* _arg0
;
4153 PyObject
* _argo0
= 0;
4155 char *_kwnames
[] = { "self","show", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
4167 _arg1
= (bool ) tempbool1
;
4169 wxPy_BEGIN_ALLOW_THREADS
;
4170 wxShowEvent_SetShow(_arg0
,_arg1
);
4172 wxPy_END_ALLOW_THREADS
;
4173 } Py_INCREF(Py_None
);
4174 _resultobj
= Py_None
;
4178 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
4179 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4182 wxShowEvent
* _arg0
;
4183 PyObject
* _argo0
= 0;
4184 char *_kwnames
[] = { "self", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
4197 wxPy_BEGIN_ALLOW_THREADS
;
4198 _result
= (bool )wxShowEvent_GetShow(_arg0
);
4200 wxPy_END_ALLOW_THREADS
;
4201 } _resultobj
= Py_BuildValue("i",_result
);
4205 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
4206 wxIconizeEvent
*src
;
4208 src
= (wxIconizeEvent
*) ptr
;
4209 dest
= (wxEvent
*) src
;
4210 return (void *) dest
;
4213 #define new_wxIconizeEvent(_swigarg0) (new wxIconizeEvent(_swigarg0))
4214 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
* _resultobj
;
4216 wxIconizeEvent
* _result
;
4217 int _arg0
= (int ) 0;
4218 char *_kwnames
[] = { "id", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxIconizeEvent",_kwnames
,&_arg0
))
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
);
4228 wxPy_END_ALLOW_THREADS
;
4230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
4231 _resultobj
= Py_BuildValue("s",_ptemp
);
4234 _resultobj
= Py_None
;
4239 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
4240 wxMaximizeEvent
*src
;
4242 src
= (wxMaximizeEvent
*) ptr
;
4243 dest
= (wxEvent
*) src
;
4244 return (void *) dest
;
4247 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4248 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4250 wxMaximizeEvent
* _result
;
4251 int _arg0
= (int ) 0;
4252 char *_kwnames
[] = { "id", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
4259 wxPy_BEGIN_ALLOW_THREADS
;
4260 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
4262 wxPy_END_ALLOW_THREADS
;
4264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
4265 _resultobj
= Py_BuildValue("s",_ptemp
);
4268 _resultobj
= Py_None
;
4273 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
4274 wxJoystickEvent
*src
;
4276 src
= (wxJoystickEvent
*) ptr
;
4277 dest
= (wxEvent
*) src
;
4278 return (void *) dest
;
4281 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4282 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
* _resultobj
;
4284 wxJoystickEvent
* _result
;
4285 int _arg0
= (int ) wxEVT_NULL
;
4286 int _arg1
= (int ) 0;
4287 int _arg2
= (int ) wxJOYSTICK1
;
4288 int _arg3
= (int ) 0;
4289 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
4296 wxPy_BEGIN_ALLOW_THREADS
;
4297 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
4299 wxPy_END_ALLOW_THREADS
;
4301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
4302 _resultobj
= Py_BuildValue("s",_ptemp
);
4305 _resultobj
= Py_None
;
4310 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4311 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
* _resultobj
;
4314 wxJoystickEvent
* _arg0
;
4315 PyObject
* _argo0
= 0;
4316 char *_kwnames
[] = { "self", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
4333 wxPy_END_ALLOW_THREADS
;
4334 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4335 _resultobj
= Py_BuildValue("s",_ptemp
);
4339 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4340 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4343 wxJoystickEvent
* _arg0
;
4344 PyObject
* _argo0
= 0;
4345 char *_kwnames
[] = { "self", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4358 wxPy_BEGIN_ALLOW_THREADS
;
4359 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
4361 wxPy_END_ALLOW_THREADS
;
4362 } _resultobj
= Py_BuildValue("i",_result
);
4366 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
4367 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4370 wxJoystickEvent
* _arg0
;
4371 PyObject
* _argo0
= 0;
4372 char *_kwnames
[] = { "self", NULL
};
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
4378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
4385 wxPy_BEGIN_ALLOW_THREADS
;
4386 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
4388 wxPy_END_ALLOW_THREADS
;
4389 } _resultobj
= Py_BuildValue("i",_result
);
4393 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
4394 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
* _resultobj
;
4397 wxJoystickEvent
* _arg0
;
4398 PyObject
* _argo0
= 0;
4399 char *_kwnames
[] = { "self", NULL
};
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
4405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
4412 wxPy_BEGIN_ALLOW_THREADS
;
4413 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
4415 wxPy_END_ALLOW_THREADS
;
4416 } _resultobj
= Py_BuildValue("i",_result
);
4420 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
4421 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
* _resultobj
;
4424 wxJoystickEvent
* _arg0
;
4425 PyObject
* _argo0
= 0;
4426 char *_kwnames
[] = { "self", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
4439 wxPy_BEGIN_ALLOW_THREADS
;
4440 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
4442 wxPy_END_ALLOW_THREADS
;
4443 } _resultobj
= Py_BuildValue("i",_result
);
4447 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
4448 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
* _resultobj
;
4450 wxJoystickEvent
* _arg0
;
4452 PyObject
* _argo0
= 0;
4453 char *_kwnames
[] = { "self","stick", NULL
};
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
4459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
4466 wxPy_BEGIN_ALLOW_THREADS
;
4467 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
4469 wxPy_END_ALLOW_THREADS
;
4470 } Py_INCREF(Py_None
);
4471 _resultobj
= Py_None
;
4475 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
4476 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4478 wxJoystickEvent
* _arg0
;
4480 PyObject
* _argo0
= 0;
4481 char *_kwnames
[] = { "self","state", NULL
};
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
4487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
4494 wxPy_BEGIN_ALLOW_THREADS
;
4495 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
4497 wxPy_END_ALLOW_THREADS
;
4498 } Py_INCREF(Py_None
);
4499 _resultobj
= Py_None
;
4503 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
4504 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
* _resultobj
;
4506 wxJoystickEvent
* _arg0
;
4508 PyObject
* _argo0
= 0;
4509 char *_kwnames
[] = { "self","change", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
4522 wxPy_BEGIN_ALLOW_THREADS
;
4523 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
4525 wxPy_END_ALLOW_THREADS
;
4526 } Py_INCREF(Py_None
);
4527 _resultobj
= Py_None
;
4531 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
4532 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4534 wxJoystickEvent
* _arg0
;
4536 PyObject
* _argo0
= 0;
4538 PyObject
* _obj1
= 0;
4539 char *_kwnames
[] = { "self","pos", NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
4553 if (! wxPoint_helper(_obj1
, &_arg1
))
4557 wxPy_BEGIN_ALLOW_THREADS
;
4558 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
4560 wxPy_END_ALLOW_THREADS
;
4561 } Py_INCREF(Py_None
);
4562 _resultobj
= Py_None
;
4566 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
4567 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4569 wxJoystickEvent
* _arg0
;
4571 PyObject
* _argo0
= 0;
4572 char *_kwnames
[] = { "self","zPos", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
4585 wxPy_BEGIN_ALLOW_THREADS
;
4586 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
4588 wxPy_END_ALLOW_THREADS
;
4589 } Py_INCREF(Py_None
);
4590 _resultobj
= Py_None
;
4594 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
4595 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4598 wxJoystickEvent
* _arg0
;
4599 PyObject
* _argo0
= 0;
4600 char *_kwnames
[] = { "self", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
4616 wxPy_END_ALLOW_THREADS
;
4617 } _resultobj
= Py_BuildValue("i",_result
);
4621 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
4622 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
* _resultobj
;
4625 wxJoystickEvent
* _arg0
;
4626 PyObject
* _argo0
= 0;
4627 char *_kwnames
[] = { "self", NULL
};
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
4633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
4640 wxPy_BEGIN_ALLOW_THREADS
;
4641 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
4643 wxPy_END_ALLOW_THREADS
;
4644 } _resultobj
= Py_BuildValue("i",_result
);
4648 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
4649 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4652 wxJoystickEvent
* _arg0
;
4653 PyObject
* _argo0
= 0;
4654 char *_kwnames
[] = { "self", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
4667 wxPy_BEGIN_ALLOW_THREADS
;
4668 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
4670 wxPy_END_ALLOW_THREADS
;
4671 } _resultobj
= Py_BuildValue("i",_result
);
4675 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
4676 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4679 wxJoystickEvent
* _arg0
;
4680 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
4681 PyObject
* _argo0
= 0;
4682 char *_kwnames
[] = { "self","but", NULL
};
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
4688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
4695 wxPy_BEGIN_ALLOW_THREADS
;
4696 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
4698 wxPy_END_ALLOW_THREADS
;
4699 } _resultobj
= Py_BuildValue("i",_result
);
4703 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
4704 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
* _resultobj
;
4707 wxJoystickEvent
* _arg0
;
4708 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
4709 PyObject
* _argo0
= 0;
4710 char *_kwnames
[] = { "self","but", NULL
};
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
4716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
4723 wxPy_BEGIN_ALLOW_THREADS
;
4724 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
4726 wxPy_END_ALLOW_THREADS
;
4727 } _resultobj
= Py_BuildValue("i",_result
);
4731 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
4732 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4735 wxJoystickEvent
* _arg0
;
4736 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
4737 PyObject
* _argo0
= 0;
4738 char *_kwnames
[] = { "self","but", NULL
};
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
4744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
4751 wxPy_BEGIN_ALLOW_THREADS
;
4752 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
4754 wxPy_END_ALLOW_THREADS
;
4755 } _resultobj
= Py_BuildValue("i",_result
);
4759 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
4760 wxDropFilesEvent
*src
;
4762 src
= (wxDropFilesEvent
*) ptr
;
4763 dest
= (wxEvent
*) src
;
4764 return (void *) dest
;
4767 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4768 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
* _resultobj
;
4771 wxDropFilesEvent
* _arg0
;
4772 PyObject
* _argo0
= 0;
4773 char *_kwnames
[] = { "self", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
4790 wxPy_END_ALLOW_THREADS
;
4791 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4792 _resultobj
= Py_BuildValue("s",_ptemp
);
4796 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
4797 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4800 wxDropFilesEvent
* _arg0
;
4801 PyObject
* _argo0
= 0;
4802 char *_kwnames
[] = { "self", NULL
};
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
4808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
4810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
4815 wxPy_BEGIN_ALLOW_THREADS
;
4816 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
4818 wxPy_END_ALLOW_THREADS
;
4819 } _resultobj
= Py_BuildValue("i",_result
);
4823 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
4824 int count
= self
->GetNumberOfFiles();
4825 wxString
* files
= self
->GetFiles();
4826 PyObject
* list
= PyList_New(count
);
4829 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
4833 for (int i
=0; i
<count
; i
++) {
4834 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
4838 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4841 wxDropFilesEvent
* _arg0
;
4842 PyObject
* _argo0
= 0;
4843 char *_kwnames
[] = { "self", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
4859 wxPy_END_ALLOW_THREADS
;
4861 _resultobj
= _result
;
4866 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
4869 src
= (wxIdleEvent
*) ptr
;
4870 dest
= (wxEvent
*) src
;
4871 return (void *) dest
;
4874 #define new_wxIdleEvent() (new wxIdleEvent())
4875 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4877 wxIdleEvent
* _result
;
4878 char *_kwnames
[] = { NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 _result
= (wxIdleEvent
*)new_wxIdleEvent();
4888 wxPy_END_ALLOW_THREADS
;
4890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
4891 _resultobj
= Py_BuildValue("s",_ptemp
);
4894 _resultobj
= Py_None
;
4899 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
4900 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4902 wxIdleEvent
* _arg0
;
4903 bool _arg1
= (bool ) TRUE
;
4904 PyObject
* _argo0
= 0;
4905 int tempbool1
= (int) TRUE
;
4906 char *_kwnames
[] = { "self","needMore", NULL
};
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
4912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
4914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
4918 _arg1
= (bool ) tempbool1
;
4920 wxPy_BEGIN_ALLOW_THREADS
;
4921 wxIdleEvent_RequestMore(_arg0
,_arg1
);
4923 wxPy_END_ALLOW_THREADS
;
4924 } Py_INCREF(Py_None
);
4925 _resultobj
= Py_None
;
4929 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
4930 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
* _resultobj
;
4933 wxIdleEvent
* _arg0
;
4934 PyObject
* _argo0
= 0;
4935 char *_kwnames
[] = { "self", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
4948 wxPy_BEGIN_ALLOW_THREADS
;
4949 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
4951 wxPy_END_ALLOW_THREADS
;
4952 } _resultobj
= Py_BuildValue("i",_result
);
4956 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
4957 wxUpdateUIEvent
*src
;
4959 src
= (wxUpdateUIEvent
*) ptr
;
4960 dest
= (wxEvent
*) src
;
4961 return (void *) dest
;
4964 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
4965 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4967 wxUpdateUIEvent
* _result
;
4968 wxWindowID _arg0
= (wxWindowID
) 0;
4969 char *_kwnames
[] = { "commandId", NULL
};
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
4976 wxPy_BEGIN_ALLOW_THREADS
;
4977 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
4979 wxPy_END_ALLOW_THREADS
;
4981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
4982 _resultobj
= Py_BuildValue("s",_ptemp
);
4985 _resultobj
= Py_None
;
4990 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
4991 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4994 wxUpdateUIEvent
* _arg0
;
4995 PyObject
* _argo0
= 0;
4996 char *_kwnames
[] = { "self", NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
5002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
5012 wxPy_END_ALLOW_THREADS
;
5013 } _resultobj
= Py_BuildValue("i",_result
);
5017 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5018 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
* _resultobj
;
5021 wxUpdateUIEvent
* _arg0
;
5022 PyObject
* _argo0
= 0;
5023 char *_kwnames
[] = { "self", NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
5029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
5039 wxPy_END_ALLOW_THREADS
;
5040 } _resultobj
= Py_BuildValue("i",_result
);
5044 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5045 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
* _resultobj
;
5048 wxUpdateUIEvent
* _arg0
;
5049 PyObject
* _argo0
= 0;
5050 char *_kwnames
[] = { "self", NULL
};
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
5056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
5063 wxPy_BEGIN_ALLOW_THREADS
;
5064 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
5066 wxPy_END_ALLOW_THREADS
;
5068 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5076 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5077 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
* _resultobj
;
5080 wxUpdateUIEvent
* _arg0
;
5081 PyObject
* _argo0
= 0;
5082 char *_kwnames
[] = { "self", NULL
};
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
5088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
5095 wxPy_BEGIN_ALLOW_THREADS
;
5096 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
5098 wxPy_END_ALLOW_THREADS
;
5099 } _resultobj
= Py_BuildValue("i",_result
);
5103 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5104 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
* _resultobj
;
5107 wxUpdateUIEvent
* _arg0
;
5108 PyObject
* _argo0
= 0;
5109 char *_kwnames
[] = { "self", NULL
};
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
5115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
5122 wxPy_BEGIN_ALLOW_THREADS
;
5123 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
5125 wxPy_END_ALLOW_THREADS
;
5126 } _resultobj
= Py_BuildValue("i",_result
);
5130 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5131 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5134 wxUpdateUIEvent
* _arg0
;
5135 PyObject
* _argo0
= 0;
5136 char *_kwnames
[] = { "self", NULL
};
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
5142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
5149 wxPy_BEGIN_ALLOW_THREADS
;
5150 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
5152 wxPy_END_ALLOW_THREADS
;
5153 } _resultobj
= Py_BuildValue("i",_result
);
5157 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5158 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5160 wxUpdateUIEvent
* _arg0
;
5162 PyObject
* _argo0
= 0;
5164 char *_kwnames
[] = { "self","check", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
5176 _arg1
= (bool ) tempbool1
;
5178 wxPy_BEGIN_ALLOW_THREADS
;
5179 wxUpdateUIEvent_Check(_arg0
,_arg1
);
5181 wxPy_END_ALLOW_THREADS
;
5182 } Py_INCREF(Py_None
);
5183 _resultobj
= Py_None
;
5187 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5188 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5190 wxUpdateUIEvent
* _arg0
;
5192 PyObject
* _argo0
= 0;
5194 char *_kwnames
[] = { "self","enable", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
5206 _arg1
= (bool ) tempbool1
;
5208 wxPy_BEGIN_ALLOW_THREADS
;
5209 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
5211 wxPy_END_ALLOW_THREADS
;
5212 } Py_INCREF(Py_None
);
5213 _resultobj
= Py_None
;
5217 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5218 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
* _resultobj
;
5220 wxUpdateUIEvent
* _arg0
;
5222 PyObject
* _argo0
= 0;
5223 PyObject
* _obj1
= 0;
5224 char *_kwnames
[] = { "self","text", NULL
};
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
5230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
5237 #if PYTHON_API_VERSION >= 1009
5238 char* tmpPtr
; int tmpSize
;
5239 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5240 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5243 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5245 _arg1
= new wxString(tmpPtr
, tmpSize
);
5247 if (!PyString_Check(_obj1
)) {
5248 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5251 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5255 wxPy_BEGIN_ALLOW_THREADS
;
5256 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
5258 wxPy_END_ALLOW_THREADS
;
5259 } Py_INCREF(Py_None
);
5260 _resultobj
= Py_None
;
5268 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
5269 wxSysColourChangedEvent
*src
;
5271 src
= (wxSysColourChangedEvent
*) ptr
;
5272 dest
= (wxEvent
*) src
;
5273 return (void *) dest
;
5276 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5277 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5279 wxSysColourChangedEvent
* _result
;
5280 char *_kwnames
[] = { NULL
};
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
5287 wxPy_BEGIN_ALLOW_THREADS
;
5288 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
5290 wxPy_END_ALLOW_THREADS
;
5292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
5293 _resultobj
= Py_BuildValue("s",_ptemp
);
5296 _resultobj
= Py_None
;
5301 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
5303 wxCommandEvent
*dest
;
5304 src
= (wxNotifyEvent
*) ptr
;
5305 dest
= (wxCommandEvent
*) src
;
5306 return (void *) dest
;
5309 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
5312 src
= (wxNotifyEvent
*) ptr
;
5313 dest
= (wxEvent
*) src
;
5314 return (void *) dest
;
5317 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
5318 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
* _resultobj
;
5320 wxNotifyEvent
* _result
;
5321 int _arg0
= (int ) wxEVT_NULL
;
5322 int _arg1
= (int ) 0;
5323 char *_kwnames
[] = { "commandType","id", NULL
};
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
5330 wxPy_BEGIN_ALLOW_THREADS
;
5331 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
5333 wxPy_END_ALLOW_THREADS
;
5335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
5336 _resultobj
= Py_BuildValue("s",_ptemp
);
5339 _resultobj
= Py_None
;
5344 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
5345 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5348 wxNotifyEvent
* _arg0
;
5349 PyObject
* _argo0
= 0;
5350 char *_kwnames
[] = { "self", NULL
};
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
5356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
5363 wxPy_BEGIN_ALLOW_THREADS
;
5364 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
5366 wxPy_END_ALLOW_THREADS
;
5367 } _resultobj
= Py_BuildValue("i",_result
);
5371 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
5372 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5374 wxNotifyEvent
* _arg0
;
5375 PyObject
* _argo0
= 0;
5376 char *_kwnames
[] = { "self", NULL
};
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Allow",_kwnames
,&_argo0
))
5382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
5389 wxPy_BEGIN_ALLOW_THREADS
;
5390 wxNotifyEvent_Allow(_arg0
);
5392 wxPy_END_ALLOW_THREADS
;
5393 } Py_INCREF(Py_None
);
5394 _resultobj
= Py_None
;
5398 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
5399 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
* _resultobj
;
5401 wxNotifyEvent
* _arg0
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 wxNotifyEvent_Veto(_arg0
);
5419 wxPy_END_ALLOW_THREADS
;
5420 } Py_INCREF(Py_None
);
5421 _resultobj
= Py_None
;
5425 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
5426 wxPaletteChangedEvent
*src
;
5428 src
= (wxPaletteChangedEvent
*) ptr
;
5429 dest
= (wxEvent
*) src
;
5430 return (void *) dest
;
5433 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
5434 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
* _resultobj
;
5436 wxPaletteChangedEvent
* _result
;
5437 wxWindowID _arg0
= (wxWindowID
) 0;
5438 char *_kwnames
[] = { "id", NULL
};
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
5445 wxPy_BEGIN_ALLOW_THREADS
;
5446 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
5448 wxPy_END_ALLOW_THREADS
;
5450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
5451 _resultobj
= Py_BuildValue("s",_ptemp
);
5454 _resultobj
= Py_None
;
5459 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
5460 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
* _resultobj
;
5462 wxPaletteChangedEvent
* _arg0
;
5464 PyObject
* _argo0
= 0;
5465 PyObject
* _argo1
= 0;
5466 char *_kwnames
[] = { "self","win", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
5479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
5486 wxPy_BEGIN_ALLOW_THREADS
;
5487 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
5489 wxPy_END_ALLOW_THREADS
;
5490 } Py_INCREF(Py_None
);
5491 _resultobj
= Py_None
;
5495 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
5496 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
* _resultobj
;
5499 wxPaletteChangedEvent
* _arg0
;
5500 PyObject
* _argo0
= 0;
5501 char *_kwnames
[] = { "self", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
5518 wxPy_END_ALLOW_THREADS
;
5520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5521 _resultobj
= Py_BuildValue("s",_ptemp
);
5524 _resultobj
= Py_None
;
5529 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
5530 wxQueryNewPaletteEvent
*src
;
5532 src
= (wxQueryNewPaletteEvent
*) ptr
;
5533 dest
= (wxEvent
*) src
;
5534 return (void *) dest
;
5537 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
5538 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5540 wxQueryNewPaletteEvent
* _result
;
5541 wxWindowID _arg0
= (wxWindowID
) 0;
5542 char *_kwnames
[] = { "id", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
5549 wxPy_BEGIN_ALLOW_THREADS
;
5550 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
5552 wxPy_END_ALLOW_THREADS
;
5554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
5555 _resultobj
= Py_BuildValue("s",_ptemp
);
5558 _resultobj
= Py_None
;
5563 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
5564 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5566 wxQueryNewPaletteEvent
* _arg0
;
5568 PyObject
* _argo0
= 0;
5570 char *_kwnames
[] = { "self","realized", NULL
};
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
5576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
5582 _arg1
= (bool ) tempbool1
;
5584 wxPy_BEGIN_ALLOW_THREADS
;
5585 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
5587 wxPy_END_ALLOW_THREADS
;
5588 } Py_INCREF(Py_None
);
5589 _resultobj
= Py_None
;
5593 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
5594 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
* _resultobj
;
5597 wxQueryNewPaletteEvent
* _arg0
;
5598 PyObject
* _argo0
= 0;
5599 char *_kwnames
[] = { "self", NULL
};
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
5605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
5607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
5612 wxPy_BEGIN_ALLOW_THREADS
;
5613 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
5615 wxPy_END_ALLOW_THREADS
;
5616 } _resultobj
= Py_BuildValue("i",_result
);
5620 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr
) {
5621 wxWindowCreateEvent
*src
;
5622 wxCommandEvent
*dest
;
5623 src
= (wxWindowCreateEvent
*) ptr
;
5624 dest
= (wxCommandEvent
*) src
;
5625 return (void *) dest
;
5628 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
5629 wxWindowCreateEvent
*src
;
5631 src
= (wxWindowCreateEvent
*) ptr
;
5632 dest
= (wxEvent
*) src
;
5633 return (void *) dest
;
5636 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
5637 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
* _resultobj
;
5639 wxWindowCreateEvent
* _result
;
5640 wxWindow
* _arg0
= (wxWindow
*) NULL
;
5641 PyObject
* _argo0
= 0;
5642 char *_kwnames
[] = { "win", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
5649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
5656 wxPy_BEGIN_ALLOW_THREADS
;
5657 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
5659 wxPy_END_ALLOW_THREADS
;
5661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
5662 _resultobj
= Py_BuildValue("s",_ptemp
);
5665 _resultobj
= Py_None
;
5670 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
5671 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5674 wxWindowCreateEvent
* _arg0
;
5675 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
5690 wxPy_BEGIN_ALLOW_THREADS
;
5691 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
5693 wxPy_END_ALLOW_THREADS
;
5695 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5696 _resultobj
= Py_BuildValue("s",_ptemp
);
5699 _resultobj
= Py_None
;
5704 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr
) {
5705 wxWindowDestroyEvent
*src
;
5706 wxCommandEvent
*dest
;
5707 src
= (wxWindowDestroyEvent
*) ptr
;
5708 dest
= (wxCommandEvent
*) src
;
5709 return (void *) dest
;
5712 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
5713 wxWindowDestroyEvent
*src
;
5715 src
= (wxWindowDestroyEvent
*) ptr
;
5716 dest
= (wxEvent
*) src
;
5717 return (void *) dest
;
5720 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
5721 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5723 wxWindowDestroyEvent
* _result
;
5724 wxWindow
* _arg0
= (wxWindow
*) NULL
;
5725 PyObject
* _argo0
= 0;
5726 char *_kwnames
[] = { "win", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
5740 wxPy_BEGIN_ALLOW_THREADS
;
5741 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
5743 wxPy_END_ALLOW_THREADS
;
5745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
5746 _resultobj
= Py_BuildValue("s",_ptemp
);
5749 _resultobj
= Py_None
;
5754 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
5755 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
* _resultobj
;
5758 wxWindowDestroyEvent
* _arg0
;
5759 PyObject
* _argo0
= 0;
5760 char *_kwnames
[] = { "self", NULL
};
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
5767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
5769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
5774 wxPy_BEGIN_ALLOW_THREADS
;
5775 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
5777 wxPy_END_ALLOW_THREADS
;
5779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5780 _resultobj
= Py_BuildValue("s",_ptemp
);
5783 _resultobj
= Py_None
;
5788 static void *SwigwxTimerEventTowxEvent(void *ptr
) {
5791 src
= (wxTimerEvent
*) ptr
;
5792 dest
= (wxEvent
*) src
;
5793 return (void *) dest
;
5796 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
5797 static PyObject
*_wrap_new_wxTimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
* _resultobj
;
5799 wxTimerEvent
* _result
;
5800 int _arg0
= (int ) 0;
5801 int _arg1
= (int ) 0;
5802 char *_kwnames
[] = { "id","interval", NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTimerEvent",_kwnames
,&_arg0
,&_arg1
))
5809 wxPy_BEGIN_ALLOW_THREADS
;
5810 _result
= (wxTimerEvent
*)new_wxTimerEvent(_arg0
,_arg1
);
5812 wxPy_END_ALLOW_THREADS
;
5814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimerEvent_p");
5815 _resultobj
= Py_BuildValue("s",_ptemp
);
5818 _resultobj
= Py_None
;
5823 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
5824 static PyObject
*_wrap_wxTimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5827 wxTimerEvent
* _arg0
;
5828 PyObject
* _argo0
= 0;
5829 char *_kwnames
[] = { "self", NULL
};
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimerEvent_GetInterval",_kwnames
,&_argo0
))
5835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimerEvent_p")) {
5837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
5842 wxPy_BEGIN_ALLOW_THREADS
;
5843 _result
= (int )wxTimerEvent_GetInterval(_arg0
);
5845 wxPy_END_ALLOW_THREADS
;
5846 } _resultobj
= Py_BuildValue("i",_result
);
5850 static void *SwigwxPyEventTowxEvent(void *ptr
) {
5853 src
= (wxPyEvent
*) ptr
;
5854 dest
= (wxEvent
*) src
;
5855 return (void *) dest
;
5858 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
5859 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5861 wxPyEvent
* _result
;
5862 int _arg0
= (int ) 0;
5863 char *_kwnames
[] = { "id", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
5870 wxPy_BEGIN_ALLOW_THREADS
;
5871 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
5873 wxPy_END_ALLOW_THREADS
;
5875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
5876 _resultobj
= Py_BuildValue("s",_ptemp
);
5879 _resultobj
= Py_None
;
5884 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
5885 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
* _resultobj
;
5888 PyObject
* _argo0
= 0;
5889 char *_kwnames
[] = { "self", NULL
};
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
5895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
5897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
5902 wxPy_BEGIN_ALLOW_THREADS
;
5903 delete_wxPyEvent(_arg0
);
5905 wxPy_END_ALLOW_THREADS
;
5906 } Py_INCREF(Py_None
);
5907 _resultobj
= Py_None
;
5911 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
5912 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
* _resultobj
;
5916 PyObject
* _argo0
= 0;
5917 PyObject
* _obj1
= 0;
5918 char *_kwnames
[] = { "self","self", NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
5924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
5934 wxPy_BEGIN_ALLOW_THREADS
;
5935 wxPyEvent_SetSelf(_arg0
,_arg1
);
5937 wxPy_END_ALLOW_THREADS
;
5938 } Py_INCREF(Py_None
);
5939 _resultobj
= Py_None
;
5943 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
5944 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
* _resultobj
;
5948 PyObject
* _argo0
= 0;
5949 char *_kwnames
[] = { "self", NULL
};
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
5955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
5957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
5962 wxPy_BEGIN_ALLOW_THREADS
;
5963 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
5965 wxPy_END_ALLOW_THREADS
;
5967 _resultobj
= _result
;
5972 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
5973 wxPyCommandEvent
*src
;
5974 wxCommandEvent
*dest
;
5975 src
= (wxPyCommandEvent
*) ptr
;
5976 dest
= (wxCommandEvent
*) src
;
5977 return (void *) dest
;
5980 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
5981 wxPyCommandEvent
*src
;
5983 src
= (wxPyCommandEvent
*) ptr
;
5984 dest
= (wxEvent
*) src
;
5985 return (void *) dest
;
5988 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
5989 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5991 wxPyCommandEvent
* _result
;
5992 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
5993 int _arg1
= (int ) 0;
5994 char *_kwnames
[] = { "commandType","id", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
6001 wxPy_BEGIN_ALLOW_THREADS
;
6002 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
6004 wxPy_END_ALLOW_THREADS
;
6006 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
6007 _resultobj
= Py_BuildValue("s",_ptemp
);
6010 _resultobj
= Py_None
;
6015 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
6016 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
* _resultobj
;
6018 wxPyCommandEvent
* _arg0
;
6019 PyObject
* _argo0
= 0;
6020 char *_kwnames
[] = { "self", NULL
};
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
6026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
6033 wxPy_BEGIN_ALLOW_THREADS
;
6034 delete_wxPyCommandEvent(_arg0
);
6036 wxPy_END_ALLOW_THREADS
;
6037 } Py_INCREF(Py_None
);
6038 _resultobj
= Py_None
;
6042 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6043 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
* _resultobj
;
6045 wxPyCommandEvent
* _arg0
;
6047 PyObject
* _argo0
= 0;
6048 PyObject
* _obj1
= 0;
6049 char *_kwnames
[] = { "self","self", NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
6065 wxPy_BEGIN_ALLOW_THREADS
;
6066 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
6068 wxPy_END_ALLOW_THREADS
;
6069 } Py_INCREF(Py_None
);
6070 _resultobj
= Py_None
;
6074 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6075 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
* _resultobj
;
6078 wxPyCommandEvent
* _arg0
;
6079 PyObject
* _argo0
= 0;
6080 char *_kwnames
[] = { "self", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
6093 wxPy_BEGIN_ALLOW_THREADS
;
6094 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
6096 wxPy_END_ALLOW_THREADS
;
6098 _resultobj
= _result
;
6103 static PyMethodDef eventscMethods
[] = {
6104 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6105 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6106 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6107 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6108 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6109 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6110 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6111 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6112 { "wxTimerEvent_GetInterval", (PyCFunction
) _wrap_wxTimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6113 { "new_wxTimerEvent", (PyCFunction
) _wrap_new_wxTimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
6114 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6115 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6116 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6117 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6118 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6119 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6120 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
6121 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6122 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6123 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6124 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6125 { "wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
6126 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
6127 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6128 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6129 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
6130 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6131 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
6132 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6133 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6134 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
6135 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
6136 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6137 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6138 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
6139 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
6140 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
6141 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
6142 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
6143 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
6144 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6145 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6146 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6147 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6148 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
6149 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
6150 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6151 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6152 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6153 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6154 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6155 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6156 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6157 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6158 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6159 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6160 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6161 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
6162 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6163 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6164 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6231 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6232 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6233 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
6234 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6235 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6236 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
6237 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
6238 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6257 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
6258 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6259 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
6260 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6261 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6262 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6263 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6264 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6265 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6266 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6267 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6268 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6269 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
6270 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
6271 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6272 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
6273 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
6274 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
6275 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6276 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
6277 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6278 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6279 { "wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6280 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6281 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6282 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
6283 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6284 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6285 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6286 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6287 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6288 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6289 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6290 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
6291 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6292 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6293 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
6294 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
6295 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6296 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
6297 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6298 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
6299 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
6300 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
6301 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxNewEventType", (PyCFunction
) _wrap_wxNewEventType
, METH_VARARGS
| METH_KEYWORDS
},
6309 * This table is used by the pointer type-checker
6311 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6312 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6313 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6314 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6315 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
6316 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
6317 { "_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6318 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6319 { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6320 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6321 { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6322 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6323 { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6324 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6325 { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6326 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6327 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6328 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6329 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6330 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6331 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6332 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6333 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6334 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6335 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6336 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6337 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6338 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6339 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6340 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6341 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6342 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6343 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
6344 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
6345 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6346 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6347 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6348 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6349 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6350 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6351 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6352 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6353 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6354 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6355 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6356 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6357 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6358 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6359 { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6360 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6361 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6362 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6363 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6364 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6365 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6366 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6367 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6368 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6369 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6370 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6371 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6372 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6373 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6374 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6375 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6376 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6377 { "_wxEvent","_class_wxEvent",0},
6378 { "_class_wxActivateEvent","_wxActivateEvent",0},
6379 { "_signed_long","_long",0},
6380 { "_wxMenuEvent","_class_wxMenuEvent",0},
6381 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6382 { "_wxPrintQuality","_wxCoord",0},
6383 { "_wxPrintQuality","_int",0},
6384 { "_wxPrintQuality","_signed_int",0},
6385 { "_wxPrintQuality","_unsigned_int",0},
6386 { "_wxPrintQuality","_wxWindowID",0},
6387 { "_wxPrintQuality","_uint",0},
6388 { "_wxPrintQuality","_EBool",0},
6389 { "_wxPrintQuality","_size_t",0},
6390 { "_wxPrintQuality","_time_t",0},
6391 { "_class_wxRegionIterator","_wxRegionIterator",0},
6392 { "_wxPaintEvent","_class_wxPaintEvent",0},
6393 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6394 { "_wxCursor","_class_wxCursor",0},
6395 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6396 { "_wxMask","_class_wxMask",0},
6397 { "_wxPen","_class_wxPen",0},
6398 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6399 { "_byte","_unsigned_char",0},
6400 { "_long","_unsigned_long",0},
6401 { "_long","_signed_long",0},
6402 { "_wxImageList","_class_wxImageList",0},
6403 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6404 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6405 { "_wxDC","_class_wxDC",0},
6406 { "_wxSpinEvent","_class_wxSpinEvent",0},
6407 { "_size_t","_wxCoord",0},
6408 { "_size_t","_wxPrintQuality",0},
6409 { "_size_t","_time_t",0},
6410 { "_size_t","_unsigned_int",0},
6411 { "_size_t","_int",0},
6412 { "_size_t","_wxWindowID",0},
6413 { "_size_t","_uint",0},
6414 { "_class_wxRealPoint","_wxRealPoint",0},
6415 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6416 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6417 { "_class_wxPaintEvent","_wxPaintEvent",0},
6418 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6419 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6420 { "_wxPyEvent","_class_wxPyEvent",0},
6421 { "_class_wxMask","_wxMask",0},
6422 { "_class_wxKeyEvent","_wxKeyEvent",0},
6423 { "_wxColour","_class_wxColour",0},
6424 { "_wxIdleEvent","_class_wxIdleEvent",0},
6425 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6426 { "_wxBrush","_class_wxBrush",0},
6427 { "_wxShowEvent","_class_wxShowEvent",0},
6428 { "_uint","_wxCoord",0},
6429 { "_uint","_wxPrintQuality",0},
6430 { "_uint","_time_t",0},
6431 { "_uint","_size_t",0},
6432 { "_uint","_unsigned_int",0},
6433 { "_uint","_int",0},
6434 { "_uint","_wxWindowID",0},
6435 { "_wxChar","_char",0},
6436 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6437 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6438 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
6439 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
6440 { "_class_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6441 { "_class_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6442 { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6443 { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6444 { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6445 { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6446 { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6447 { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6448 { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6449 { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6450 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6451 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6452 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6453 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6454 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6455 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6456 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6457 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6458 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6459 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6460 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6461 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6462 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6463 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6464 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6465 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6466 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
6467 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
6468 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6469 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6470 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6471 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6472 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6473 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6474 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6475 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6476 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6477 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6478 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6479 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6480 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6481 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6482 { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6483 { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6484 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6485 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6486 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6487 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6488 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6489 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6490 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6491 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6492 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6493 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6494 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6495 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6496 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6497 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6498 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6499 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6500 { "_class_wxEvent","_wxEvent",0},
6501 { "_wxRect","_class_wxRect",0},
6502 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6503 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6504 { "_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6505 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6506 { "_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6507 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6508 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6509 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6510 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6511 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6512 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6513 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6514 { "_wxCommandEvent","_class_wxCommandEvent",0},
6515 { "_wxSizeEvent","_class_wxSizeEvent",0},
6516 { "_wxPoint","_class_wxPoint",0},
6517 { "_char","_wxChar",0},
6518 { "_wxBitmap","_class_wxBitmap",0},
6519 { "_wxWindowDC","_class_wxWindowDC",0},
6520 { "_wxTimerEvent","_class_wxTimerEvent",0},
6521 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6522 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6523 { "_class_wxPyEvent","_wxPyEvent",0},
6524 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6525 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6526 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6527 { "_wxScrollEvent","_class_wxScrollEvent",0},
6528 { "_EBool","_wxCoord",0},
6529 { "_EBool","_wxPrintQuality",0},
6530 { "_EBool","_signed_int",0},
6531 { "_EBool","_int",0},
6532 { "_EBool","_wxWindowID",0},
6533 { "_class_wxRegion","_wxRegion",0},
6534 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6535 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6536 { "_wxFont","_class_wxFont",0},
6537 { "_wxCloseEvent","_class_wxCloseEvent",0},
6538 { "_unsigned_long","_long",0},
6539 { "_class_wxRect","_wxRect",0},
6540 { "_class_wxDC","_wxDC",0},
6541 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6542 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6543 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6544 { "_wxFocusEvent","_class_wxFocusEvent",0},
6545 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6546 { "_class_wxTimerEvent","_wxTimerEvent",0},
6547 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6548 { "_signed_int","_wxCoord",0},
6549 { "_signed_int","_wxPrintQuality",0},
6550 { "_signed_int","_EBool",0},
6551 { "_signed_int","_wxWindowID",0},
6552 { "_signed_int","_int",0},
6553 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6554 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6555 { "_class_wxMoveEvent","_wxMoveEvent",0},
6556 { "_wxScreenDC","_class_wxScreenDC",0},
6557 { "_WXTYPE","_short",0},
6558 { "_WXTYPE","_signed_short",0},
6559 { "_WXTYPE","_unsigned_short",0},
6560 { "_class_wxBrush","_wxBrush",0},
6561 { "_unsigned_short","_WXTYPE",0},
6562 { "_unsigned_short","_short",0},
6563 { "_class_wxFont","_wxFont",0},
6564 { "_class_wxCloseEvent","_wxCloseEvent",0},
6565 { "_wxBusyInfo","_class_wxBusyInfo",0},
6566 { "_class_wxMenuEvent","_wxMenuEvent",0},
6567 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6568 { "_wxClientDC","_class_wxClientDC",0},
6569 { "_wxMouseEvent","_class_wxMouseEvent",0},
6570 { "_class_wxPoint","_wxPoint",0},
6571 { "_wxRealPoint","_class_wxRealPoint",0},
6572 { "_signed_short","_WXTYPE",0},
6573 { "_signed_short","_short",0},
6574 { "_wxMemoryDC","_class_wxMemoryDC",0},
6575 { "_wxPaintDC","_class_wxPaintDC",0},
6576 { "_class_wxWindowDC","_wxWindowDC",0},
6577 { "_class_wxFocusEvent","_wxFocusEvent",0},
6578 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6579 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6580 { "_class_wxCursor","_wxCursor",0},
6581 { "_unsigned_char","_byte",0},
6582 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6583 { "_unsigned_int","_wxCoord",0},
6584 { "_unsigned_int","_wxPrintQuality",0},
6585 { "_unsigned_int","_time_t",0},
6586 { "_unsigned_int","_size_t",0},
6587 { "_unsigned_int","_uint",0},
6588 { "_unsigned_int","_wxWindowID",0},
6589 { "_unsigned_int","_int",0},
6590 { "_wxIcon","_class_wxIcon",0},
6591 { "_class_wxPen","_wxPen",0},
6592 { "_short","_WXTYPE",0},
6593 { "_short","_unsigned_short",0},
6594 { "_short","_signed_short",0},
6595 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6596 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6597 { "_class_wxScrollEvent","_wxScrollEvent",0},
6598 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6599 { "_class_wxImageList","_wxImageList",0},
6600 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6601 { "_wxWindowID","_wxCoord",0},
6602 { "_wxWindowID","_wxPrintQuality",0},
6603 { "_wxWindowID","_time_t",0},
6604 { "_wxWindowID","_size_t",0},
6605 { "_wxWindowID","_EBool",0},
6606 { "_wxWindowID","_uint",0},
6607 { "_wxWindowID","_int",0},
6608 { "_wxWindowID","_signed_int",0},
6609 { "_wxWindowID","_unsigned_int",0},
6610 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6611 { "_int","_wxCoord",0},
6612 { "_int","_wxPrintQuality",0},
6613 { "_int","_time_t",0},
6614 { "_int","_size_t",0},
6615 { "_int","_EBool",0},
6616 { "_int","_uint",0},
6617 { "_int","_wxWindowID",0},
6618 { "_int","_unsigned_int",0},
6619 { "_int","_signed_int",0},
6620 { "_class_wxMouseEvent","_wxMouseEvent",0},
6621 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6622 { "_class_wxSpinEvent","_wxSpinEvent",0},
6623 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6624 { "_time_t","_wxCoord",0},
6625 { "_time_t","_wxPrintQuality",0},
6626 { "_time_t","_unsigned_int",0},
6627 { "_time_t","_int",0},
6628 { "_time_t","_wxWindowID",0},
6629 { "_time_t","_uint",0},
6630 { "_time_t","_size_t",0},
6631 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6632 { "_wxSize","_class_wxSize",0},
6633 { "_wxRegionIterator","_class_wxRegionIterator",0},
6634 { "_class_wxPaintDC","_wxPaintDC",0},
6635 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6636 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6637 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6638 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6639 { "_class_wxIcon","_wxIcon",0},
6640 { "_class_wxColour","_wxColour",0},
6641 { "_class_wxScreenDC","_wxScreenDC",0},
6642 { "_wxPalette","_class_wxPalette",0},
6643 { "_class_wxIdleEvent","_wxIdleEvent",0},
6644 { "_wxCoord","_int",0},
6645 { "_wxCoord","_signed_int",0},
6646 { "_wxCoord","_unsigned_int",0},
6647 { "_wxCoord","_wxWindowID",0},
6648 { "_wxCoord","_uint",0},
6649 { "_wxCoord","_EBool",0},
6650 { "_wxCoord","_size_t",0},
6651 { "_wxCoord","_time_t",0},
6652 { "_wxCoord","_wxPrintQuality",0},
6653 { "_wxEraseEvent","_class_wxEraseEvent",0},
6654 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6655 { "_wxRegion","_class_wxRegion",0},
6656 { "_class_wxShowEvent","_wxShowEvent",0},
6657 { "_wxActivateEvent","_class_wxActivateEvent",0},
6658 { "_class_wxBusyInfo","_wxBusyInfo",0},
6659 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6660 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6661 { "_class_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6662 { "_class_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6663 { "_class_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6664 { "_class_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6665 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6666 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6667 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6668 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6669 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6670 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6671 { "_class_wxCommandEvent","_wxCommandEvent",0},
6672 { "_class_wxClientDC","_wxClientDC",0},
6673 { "_class_wxSizeEvent","_wxSizeEvent",0},
6674 { "_class_wxSize","_wxSize",0},
6675 { "_class_wxBitmap","_wxBitmap",0},
6676 { "_class_wxMemoryDC","_wxMemoryDC",0},
6677 { "_wxKeyEvent","_class_wxKeyEvent",0},
6678 { "_wxMoveEvent","_class_wxMoveEvent",0},
6679 { "_class_wxPalette","_wxPalette",0},
6680 { "_class_wxEraseEvent","_wxEraseEvent",0},
6681 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6684 static PyObject
*SWIG_globals
;
6688 SWIGEXPORT(void) initeventsc() {
6690 SWIG_globals
= SWIG_newvarlink();
6691 m
= Py_InitModule("eventsc", eventscMethods
);
6692 d
= PyModule_GetDict(m
);
6695 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6696 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);