2 * FILE : gtk/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initeventsc
54 #define SWIG_name "eventsc"
57 #include <wx/spinbutt.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
110 #define new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
111 static PyObject
*_wrap_new_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
112 PyObject
* _resultobj
;
114 int _arg0
= (int ) 0;
115 char *_kwnames
[] = { "id", NULL
};
119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxEvent",_kwnames
,&_arg0
))
122 wxPy_BEGIN_ALLOW_THREADS
;
123 _result
= (wxEvent
*)new_wxEvent(_arg0
);
125 wxPy_END_ALLOW_THREADS
;
127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
128 _resultobj
= Py_BuildValue("s",_ptemp
);
131 _resultobj
= Py_None
;
136 #define delete_wxEvent(_swigobj) (delete _swigobj)
137 static PyObject
*_wrap_delete_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
138 PyObject
* _resultobj
;
140 PyObject
* _argo0
= 0;
141 char *_kwnames
[] = { "self", NULL
};
144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEvent",_kwnames
,&_argo0
))
147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
154 wxPy_BEGIN_ALLOW_THREADS
;
155 delete_wxEvent(_arg0
);
157 wxPy_END_ALLOW_THREADS
;
158 } Py_INCREF(Py_None
);
159 _resultobj
= Py_None
;
163 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
164 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
168 PyObject
* _argo0
= 0;
169 char *_kwnames
[] = { "self", NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
186 wxPy_END_ALLOW_THREADS
;
188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
189 _resultobj
= Py_BuildValue("s",_ptemp
);
192 _resultobj
= Py_None
;
197 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
198 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
202 PyObject
* _argo0
= 0;
203 char *_kwnames
[] = { "self", NULL
};
206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
216 wxPy_BEGIN_ALLOW_THREADS
;
217 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
219 wxPy_END_ALLOW_THREADS
;
220 } _resultobj
= Py_BuildValue("i",_result
);
224 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
225 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "self", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (int )wxEvent_GetId(_arg0
);
246 wxPy_END_ALLOW_THREADS
;
247 } _resultobj
= Py_BuildValue("i",_result
);
251 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
252 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 _result
= (bool )wxEvent_GetSkipped(_arg0
);
273 wxPy_END_ALLOW_THREADS
;
274 } _resultobj
= Py_BuildValue("i",_result
);
278 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
279 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
283 PyObject
* _argo0
= 0;
284 char *_kwnames
[] = { "self", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
297 wxPy_BEGIN_ALLOW_THREADS
;
298 _result
= (long )wxEvent_GetTimestamp(_arg0
);
300 wxPy_END_ALLOW_THREADS
;
301 } _resultobj
= Py_BuildValue("l",_result
);
305 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
306 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
310 PyObject
* _argo0
= 0;
311 PyObject
* _argo1
= 0;
312 char *_kwnames
[] = { "self","object", NULL
};
315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
325 if (_argo1
== Py_None
) { _arg1
= NULL
; }
326 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
332 wxPy_BEGIN_ALLOW_THREADS
;
333 wxEvent_SetEventObject(_arg0
,_arg1
);
335 wxPy_END_ALLOW_THREADS
;
336 } Py_INCREF(Py_None
);
337 _resultobj
= Py_None
;
341 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
342 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
346 PyObject
* _argo0
= 0;
347 char *_kwnames
[] = { "self","typ", NULL
};
350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
360 wxPy_BEGIN_ALLOW_THREADS
;
361 wxEvent_SetEventType(_arg0
,_arg1
);
363 wxPy_END_ALLOW_THREADS
;
364 } Py_INCREF(Py_None
);
365 _resultobj
= Py_None
;
369 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
370 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
371 PyObject
* _resultobj
;
374 PyObject
* _argo0
= 0;
375 char *_kwnames
[] = { "self","id", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
388 wxPy_BEGIN_ALLOW_THREADS
;
389 wxEvent_SetId(_arg0
,_arg1
);
391 wxPy_END_ALLOW_THREADS
;
392 } Py_INCREF(Py_None
);
393 _resultobj
= Py_None
;
397 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
398 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
399 PyObject
* _resultobj
;
402 PyObject
* _argo0
= 0;
403 char *_kwnames
[] = { "self","timeStamp", NULL
};
406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
416 wxPy_BEGIN_ALLOW_THREADS
;
417 wxEvent_SetTimestamp(_arg0
,_arg1
);
419 wxPy_END_ALLOW_THREADS
;
420 } Py_INCREF(Py_None
);
421 _resultobj
= Py_None
;
425 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
426 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
427 PyObject
* _resultobj
;
429 bool _arg1
= (bool ) TRUE
;
430 PyObject
* _argo0
= 0;
431 int tempbool1
= (int) TRUE
;
432 char *_kwnames
[] = { "self","skip", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
444 _arg1
= (bool ) tempbool1
;
446 wxPy_BEGIN_ALLOW_THREADS
;
447 wxEvent_Skip(_arg0
,_arg1
);
449 wxPy_END_ALLOW_THREADS
;
450 } Py_INCREF(Py_None
);
451 _resultobj
= Py_None
;
455 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
458 src
= (wxSizeEvent
*) ptr
;
459 dest
= (wxEvent
*) src
;
460 return (void *) dest
;
463 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
464 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
466 wxSizeEvent
* _result
;
468 int _arg1
= (int ) 0;
470 PyObject
* _obj0
= 0;
471 char *_kwnames
[] = { "sz","id", NULL
};
475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxSizeEvent",_kwnames
,&_obj0
,&_arg1
))
479 if (! wxSize_helper(_obj0
, &_arg0
))
483 wxPy_BEGIN_ALLOW_THREADS
;
484 _result
= (wxSizeEvent
*)new_wxSizeEvent(*_arg0
,_arg1
);
486 wxPy_END_ALLOW_THREADS
;
488 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizeEvent_p");
489 _resultobj
= Py_BuildValue("s",_ptemp
);
492 _resultobj
= Py_None
;
497 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
498 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
502 PyObject
* _argo0
= 0;
503 char *_kwnames
[] = { "self", NULL
};
507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
517 wxPy_BEGIN_ALLOW_THREADS
;
518 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
520 wxPy_END_ALLOW_THREADS
;
521 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
522 _resultobj
= Py_BuildValue("s",_ptemp
);
526 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
529 src
= (wxCloseEvent
*) ptr
;
530 dest
= (wxEvent
*) src
;
531 return (void *) dest
;
534 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
535 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
537 wxCloseEvent
* _result
;
538 int _arg0
= (int ) 0;
539 int _arg1
= (int ) 0;
540 char *_kwnames
[] = { "commandEventType","id", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCloseEvent",_kwnames
,&_arg0
,&_arg1
))
547 wxPy_BEGIN_ALLOW_THREADS
;
548 _result
= (wxCloseEvent
*)new_wxCloseEvent(_arg0
,_arg1
);
550 wxPy_END_ALLOW_THREADS
;
552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCloseEvent_p");
553 _resultobj
= Py_BuildValue("s",_ptemp
);
556 _resultobj
= Py_None
;
561 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
562 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 PyObject
* _resultobj
;
564 wxCloseEvent
* _arg0
;
566 PyObject
* _argo0
= 0;
568 char *_kwnames
[] = { "self","loggingOff", NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
580 _arg1
= (bool ) tempbool1
;
582 wxPy_BEGIN_ALLOW_THREADS
;
583 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
585 wxPy_END_ALLOW_THREADS
;
586 } Py_INCREF(Py_None
);
587 _resultobj
= Py_None
;
591 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
592 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
595 wxCloseEvent
* _arg0
;
596 PyObject
* _argo0
= 0;
597 char *_kwnames
[] = { "self", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
610 wxPy_BEGIN_ALLOW_THREADS
;
611 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
613 wxPy_END_ALLOW_THREADS
;
614 } _resultobj
= Py_BuildValue("i",_result
);
618 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
619 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
620 PyObject
* _resultobj
;
621 wxCloseEvent
* _arg0
;
622 bool _arg1
= (bool ) TRUE
;
623 PyObject
* _argo0
= 0;
624 int tempbool1
= (int) TRUE
;
625 char *_kwnames
[] = { "self","veto", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
637 _arg1
= (bool ) tempbool1
;
639 wxPy_BEGIN_ALLOW_THREADS
;
640 wxCloseEvent_Veto(_arg0
,_arg1
);
642 wxPy_END_ALLOW_THREADS
;
643 } Py_INCREF(Py_None
);
644 _resultobj
= Py_None
;
648 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
649 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
652 wxCloseEvent
* _arg0
;
653 PyObject
* _argo0
= 0;
654 char *_kwnames
[] = { "self", NULL
};
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
667 wxPy_BEGIN_ALLOW_THREADS
;
668 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
670 wxPy_END_ALLOW_THREADS
;
671 } _resultobj
= Py_BuildValue("i",_result
);
675 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
676 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
679 wxCloseEvent
* _arg0
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
694 wxPy_BEGIN_ALLOW_THREADS
;
695 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
697 wxPy_END_ALLOW_THREADS
;
698 } _resultobj
= Py_BuildValue("i",_result
);
702 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
703 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
705 wxCloseEvent
* _arg0
;
707 PyObject
* _argo0
= 0;
709 char *_kwnames
[] = { "self","canVeto", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
721 _arg1
= (bool ) tempbool1
;
723 wxPy_BEGIN_ALLOW_THREADS
;
724 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
726 wxPy_END_ALLOW_THREADS
;
727 } Py_INCREF(Py_None
);
728 _resultobj
= Py_None
;
732 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
735 src
= (wxCommandEvent
*) ptr
;
736 dest
= (wxEvent
*) src
;
737 return (void *) dest
;
740 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
741 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
743 wxCommandEvent
* _result
;
744 int _arg0
= (int ) 0;
745 int _arg1
= (int ) 0;
746 char *_kwnames
[] = { "commandEventType","id", NULL
};
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCommandEvent",_kwnames
,&_arg0
,&_arg1
))
753 wxPy_BEGIN_ALLOW_THREADS
;
754 _result
= (wxCommandEvent
*)new_wxCommandEvent(_arg0
,_arg1
);
756 wxPy_END_ALLOW_THREADS
;
758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCommandEvent_p");
759 _resultobj
= Py_BuildValue("s",_ptemp
);
762 _resultobj
= Py_None
;
767 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
768 static PyObject
*_wrap_wxCommandEvent_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
769 PyObject
* _resultobj
;
771 wxCommandEvent
* _arg0
;
772 PyObject
* _argo0
= 0;
773 char *_kwnames
[] = { "self", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_Checked",_kwnames
,&_argo0
))
779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
786 wxPy_BEGIN_ALLOW_THREADS
;
787 _result
= (bool )wxCommandEvent_Checked(_arg0
);
789 wxPy_END_ALLOW_THREADS
;
790 } _resultobj
= Py_BuildValue("i",_result
);
794 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
795 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
798 wxCommandEvent
* _arg0
;
799 PyObject
* _argo0
= 0;
800 char *_kwnames
[] = { "self", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
813 wxPy_BEGIN_ALLOW_THREADS
;
814 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
816 wxPy_END_ALLOW_THREADS
;
817 } _resultobj
= Py_BuildValue("l",_result
);
821 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
822 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
825 wxCommandEvent
* _arg0
;
826 PyObject
* _argo0
= 0;
827 char *_kwnames
[] = { "self", NULL
};
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
840 wxPy_BEGIN_ALLOW_THREADS
;
841 _result
= (int )wxCommandEvent_GetInt(_arg0
);
843 wxPy_END_ALLOW_THREADS
;
844 } _resultobj
= Py_BuildValue("i",_result
);
848 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
849 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
850 PyObject
* _resultobj
;
852 wxCommandEvent
* _arg0
;
853 PyObject
* _argo0
= 0;
854 char *_kwnames
[] = { "self", NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
867 wxPy_BEGIN_ALLOW_THREADS
;
868 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
870 wxPy_END_ALLOW_THREADS
;
871 } _resultobj
= Py_BuildValue("i",_result
);
875 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
876 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
879 wxCommandEvent
* _arg0
;
880 PyObject
* _argo0
= 0;
881 char *_kwnames
[] = { "self", NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
894 wxPy_BEGIN_ALLOW_THREADS
;
895 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
897 wxPy_END_ALLOW_THREADS
;
899 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
907 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
908 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
911 wxCommandEvent
* _arg0
;
912 PyObject
* _argo0
= 0;
913 char *_kwnames
[] = { "self", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
926 wxPy_BEGIN_ALLOW_THREADS
;
927 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
929 wxPy_END_ALLOW_THREADS
;
930 } _resultobj
= Py_BuildValue("i",_result
);
934 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
936 wxCommandEvent
*dest
;
937 src
= (wxScrollEvent
*) ptr
;
938 dest
= (wxCommandEvent
*) src
;
939 return (void *) dest
;
942 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
945 src
= (wxScrollEvent
*) ptr
;
946 dest
= (wxEvent
*) src
;
947 return (void *) dest
;
950 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
951 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
953 wxScrollEvent
* _result
;
954 int _arg0
= (int ) 0;
955 int _arg1
= (int ) 0;
956 int _arg2
= (int ) 0;
957 int _arg3
= (int ) 0;
958 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
965 wxPy_BEGIN_ALLOW_THREADS
;
966 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
968 wxPy_END_ALLOW_THREADS
;
970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
971 _resultobj
= Py_BuildValue("s",_ptemp
);
974 _resultobj
= Py_None
;
979 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
980 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
983 wxScrollEvent
* _arg0
;
984 PyObject
* _argo0
= 0;
985 char *_kwnames
[] = { "self", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
998 wxPy_BEGIN_ALLOW_THREADS
;
999 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1001 wxPy_END_ALLOW_THREADS
;
1002 } _resultobj
= Py_BuildValue("i",_result
);
1006 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1007 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1010 wxScrollEvent
* _arg0
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1028 wxPy_END_ALLOW_THREADS
;
1029 } _resultobj
= Py_BuildValue("i",_result
);
1033 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1034 wxScrollWinEvent
*src
;
1036 src
= (wxScrollWinEvent
*) ptr
;
1037 dest
= (wxEvent
*) src
;
1038 return (void *) dest
;
1041 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1042 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1044 wxScrollWinEvent
* _result
;
1045 int _arg0
= (int ) 0;
1046 int _arg1
= (int ) 0;
1047 int _arg2
= (int ) 0;
1048 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1055 wxPy_BEGIN_ALLOW_THREADS
;
1056 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1058 wxPy_END_ALLOW_THREADS
;
1060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1061 _resultobj
= Py_BuildValue("s",_ptemp
);
1064 _resultobj
= Py_None
;
1069 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1070 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1073 wxScrollWinEvent
* _arg0
;
1074 PyObject
* _argo0
= 0;
1075 char *_kwnames
[] = { "self", NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1088 wxPy_BEGIN_ALLOW_THREADS
;
1089 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1091 wxPy_END_ALLOW_THREADS
;
1092 } _resultobj
= Py_BuildValue("i",_result
);
1096 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1097 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1100 wxScrollWinEvent
* _arg0
;
1101 PyObject
* _argo0
= 0;
1102 char *_kwnames
[] = { "self", NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1115 wxPy_BEGIN_ALLOW_THREADS
;
1116 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1118 wxPy_END_ALLOW_THREADS
;
1119 } _resultobj
= Py_BuildValue("i",_result
);
1123 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1125 wxScrollEvent
*dest
;
1126 src
= (wxSpinEvent
*) ptr
;
1127 dest
= (wxScrollEvent
*) src
;
1128 return (void *) dest
;
1131 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1133 wxCommandEvent
*dest
;
1134 src
= (wxSpinEvent
*) ptr
;
1135 dest
= (wxCommandEvent
*) src
;
1136 return (void *) dest
;
1139 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1142 src
= (wxSpinEvent
*) ptr
;
1143 dest
= (wxEvent
*) src
;
1144 return (void *) dest
;
1147 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1148 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1150 wxSpinEvent
* _result
;
1151 int _arg0
= (int ) 0;
1152 int _arg1
= (int ) 0;
1153 char *_kwnames
[] = { "commandType","id", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1160 wxPy_BEGIN_ALLOW_THREADS
;
1161 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1163 wxPy_END_ALLOW_THREADS
;
1165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1166 _resultobj
= Py_BuildValue("s",_ptemp
);
1169 _resultobj
= Py_None
;
1174 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1177 src
= (wxMouseEvent
*) ptr
;
1178 dest
= (wxEvent
*) src
;
1179 return (void *) dest
;
1182 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1183 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1185 wxMouseEvent
* _result
;
1186 int _arg0
= (int ) 0;
1187 char *_kwnames
[] = { "mouseEventType", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1197 wxPy_END_ALLOW_THREADS
;
1199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1200 _resultobj
= Py_BuildValue("s",_ptemp
);
1203 _resultobj
= Py_None
;
1208 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1209 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
* _resultobj
;
1212 wxMouseEvent
* _arg0
;
1213 PyObject
* _argo0
= 0;
1214 char *_kwnames
[] = { "self", NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1230 wxPy_END_ALLOW_THREADS
;
1231 } _resultobj
= Py_BuildValue("i",_result
);
1235 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1236 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1239 wxMouseEvent
* _arg0
;
1240 int _arg1
= (int ) -1;
1241 PyObject
* _argo0
= 0;
1242 char *_kwnames
[] = { "self","but", NULL
};
1245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1255 wxPy_BEGIN_ALLOW_THREADS
;
1256 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1258 wxPy_END_ALLOW_THREADS
;
1259 } _resultobj
= Py_BuildValue("i",_result
);
1263 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1264 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
* _resultobj
;
1267 wxMouseEvent
* _arg0
;
1268 int _arg1
= (int ) -1;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self","but", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1286 wxPy_END_ALLOW_THREADS
;
1287 } _resultobj
= Py_BuildValue("i",_result
);
1291 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1292 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
* _resultobj
;
1295 wxMouseEvent
* _arg0
;
1296 int _arg1
= (int ) -1;
1297 PyObject
* _argo0
= 0;
1298 char *_kwnames
[] = { "self","but", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1311 wxPy_BEGIN_ALLOW_THREADS
;
1312 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1314 wxPy_END_ALLOW_THREADS
;
1315 } _resultobj
= Py_BuildValue("i",_result
);
1319 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1320 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1323 wxMouseEvent
* _arg0
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self","but", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1342 wxPy_END_ALLOW_THREADS
;
1343 } _resultobj
= Py_BuildValue("i",_result
);
1347 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1348 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1351 wxMouseEvent
* _arg0
;
1353 PyObject
* _argo0
= 0;
1354 char *_kwnames
[] = { "self","but", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1370 wxPy_END_ALLOW_THREADS
;
1371 } _resultobj
= Py_BuildValue("i",_result
);
1375 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1376 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1379 wxMouseEvent
* _arg0
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1397 wxPy_END_ALLOW_THREADS
;
1398 } _resultobj
= Py_BuildValue("i",_result
);
1402 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1403 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1406 wxMouseEvent
* _arg0
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1424 wxPy_END_ALLOW_THREADS
;
1425 } _resultobj
= Py_BuildValue("i",_result
);
1429 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1430 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1433 wxMouseEvent
* _arg0
;
1434 PyObject
* _argo0
= 0;
1435 char *_kwnames
[] = { "self", NULL
};
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1448 wxPy_BEGIN_ALLOW_THREADS
;
1449 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1451 wxPy_END_ALLOW_THREADS
;
1452 } _resultobj
= Py_BuildValue("i",_result
);
1456 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1457 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1460 wxMouseEvent
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 char *_kwnames
[] = { "self", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1478 wxPy_END_ALLOW_THREADS
;
1479 } _resultobj
= Py_BuildValue("i",_result
);
1483 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1484 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1487 wxMouseEvent
* _arg0
;
1488 PyObject
* _argo0
= 0;
1489 char *_kwnames
[] = { "self", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } _resultobj
= Py_BuildValue("i",_result
);
1510 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1511 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1514 wxMouseEvent
* _arg0
;
1515 PyObject
* _argo0
= 0;
1516 char *_kwnames
[] = { "self", NULL
};
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1529 wxPy_BEGIN_ALLOW_THREADS
;
1530 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1532 wxPy_END_ALLOW_THREADS
;
1533 } _resultobj
= Py_BuildValue("i",_result
);
1537 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1538 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1541 wxMouseEvent
* _arg0
;
1542 PyObject
* _argo0
= 0;
1543 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1559 wxPy_END_ALLOW_THREADS
;
1560 } _resultobj
= Py_BuildValue("i",_result
);
1564 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1565 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1568 wxMouseEvent
* _arg0
;
1569 PyObject
* _argo0
= 0;
1570 char *_kwnames
[] = { "self", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1586 wxPy_END_ALLOW_THREADS
;
1587 } _resultobj
= Py_BuildValue("i",_result
);
1591 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1592 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1595 wxMouseEvent
* _arg0
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1610 wxPy_BEGIN_ALLOW_THREADS
;
1611 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1613 wxPy_END_ALLOW_THREADS
;
1614 } _resultobj
= Py_BuildValue("i",_result
);
1618 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1619 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1622 wxMouseEvent
* _arg0
;
1623 PyObject
* _argo0
= 0;
1624 char *_kwnames
[] = { "self", NULL
};
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1637 wxPy_BEGIN_ALLOW_THREADS
;
1638 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1640 wxPy_END_ALLOW_THREADS
;
1641 } _resultobj
= Py_BuildValue("i",_result
);
1645 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1646 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1649 wxMouseEvent
* _arg0
;
1650 PyObject
* _argo0
= 0;
1651 char *_kwnames
[] = { "self", NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1664 wxPy_BEGIN_ALLOW_THREADS
;
1665 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1667 wxPy_END_ALLOW_THREADS
;
1668 } _resultobj
= Py_BuildValue("i",_result
);
1672 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1673 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1676 wxMouseEvent
* _arg0
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 } _resultobj
= Py_BuildValue("i",_result
);
1699 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1700 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1703 wxMouseEvent
* _arg0
;
1704 PyObject
* _argo0
= 0;
1705 char *_kwnames
[] = { "self", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1718 wxPy_BEGIN_ALLOW_THREADS
;
1719 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1721 wxPy_END_ALLOW_THREADS
;
1722 } _resultobj
= Py_BuildValue("i",_result
);
1726 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1727 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1730 wxMouseEvent
* _arg0
;
1731 PyObject
* _argo0
= 0;
1732 char *_kwnames
[] = { "self", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1745 wxPy_BEGIN_ALLOW_THREADS
;
1746 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1748 wxPy_END_ALLOW_THREADS
;
1749 } _resultobj
= Py_BuildValue("i",_result
);
1753 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1754 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1757 wxMouseEvent
* _arg0
;
1758 PyObject
* _argo0
= 0;
1759 char *_kwnames
[] = { "self", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1775 wxPy_END_ALLOW_THREADS
;
1776 } _resultobj
= Py_BuildValue("i",_result
);
1780 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1781 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1784 wxMouseEvent
* _arg0
;
1785 PyObject
* _argo0
= 0;
1786 char *_kwnames
[] = { "self", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1799 wxPy_BEGIN_ALLOW_THREADS
;
1800 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1802 wxPy_END_ALLOW_THREADS
;
1803 } _resultobj
= Py_BuildValue("i",_result
);
1807 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1808 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1811 wxMouseEvent
* _arg0
;
1812 PyObject
* _argo0
= 0;
1813 char *_kwnames
[] = { "self", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1826 wxPy_BEGIN_ALLOW_THREADS
;
1827 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1829 wxPy_END_ALLOW_THREADS
;
1830 } _resultobj
= Py_BuildValue("i",_result
);
1834 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1835 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1838 wxMouseEvent
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1856 wxPy_END_ALLOW_THREADS
;
1857 } _resultobj
= Py_BuildValue("i",_result
);
1861 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1862 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1865 wxMouseEvent
* _arg0
;
1866 PyObject
* _argo0
= 0;
1867 char *_kwnames
[] = { "self", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 _result
= (bool )wxMouseEvent_Entering(_arg0
);
1883 wxPy_END_ALLOW_THREADS
;
1884 } _resultobj
= Py_BuildValue("i",_result
);
1888 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1889 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1892 wxMouseEvent
* _arg0
;
1893 PyObject
* _argo0
= 0;
1894 char *_kwnames
[] = { "self", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1907 wxPy_BEGIN_ALLOW_THREADS
;
1908 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
1910 wxPy_END_ALLOW_THREADS
;
1911 } _resultobj
= Py_BuildValue("i",_result
);
1915 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1916 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1919 wxMouseEvent
* _arg0
;
1920 PyObject
* _argo0
= 0;
1921 char *_kwnames
[] = { "self", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
1928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
1938 wxPy_END_ALLOW_THREADS
;
1939 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1940 _resultobj
= Py_BuildValue("s",_ptemp
);
1944 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1945 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
* _resultobj
;
1947 wxMouseEvent
* _arg0
;
1952 PyObject
* _argo0
= 0;
1953 char *_kwnames
[] = { "self", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
1972 wxPy_BEGIN_ALLOW_THREADS
;
1973 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1975 wxPy_END_ALLOW_THREADS
;
1976 } Py_INCREF(Py_None
);
1977 _resultobj
= Py_None
;
1980 o
= PyInt_FromLong((long) (*_arg1
));
1981 _resultobj
= t_output_helper(_resultobj
, o
);
1985 o
= PyInt_FromLong((long) (*_arg2
));
1986 _resultobj
= t_output_helper(_resultobj
, o
);
1991 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1992 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1995 wxMouseEvent
* _arg0
;
1997 PyObject
* _argo0
= 0;
1998 PyObject
* _argo1
= 0;
1999 char *_kwnames
[] = { "self","dc", NULL
};
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2013 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2014 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2020 wxPy_BEGIN_ALLOW_THREADS
;
2021 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2023 wxPy_END_ALLOW_THREADS
;
2024 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2025 _resultobj
= Py_BuildValue("s",_ptemp
);
2029 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2030 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2033 wxMouseEvent
* _arg0
;
2034 PyObject
* _argo0
= 0;
2035 char *_kwnames
[] = { "self", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 _result
= (long )wxMouseEvent_GetX(_arg0
);
2051 wxPy_END_ALLOW_THREADS
;
2052 } _resultobj
= Py_BuildValue("l",_result
);
2056 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2057 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2060 wxMouseEvent
* _arg0
;
2061 PyObject
* _argo0
= 0;
2062 char *_kwnames
[] = { "self", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 _result
= (long )wxMouseEvent_GetY(_arg0
);
2078 wxPy_END_ALLOW_THREADS
;
2079 } _resultobj
= Py_BuildValue("l",_result
);
2083 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
2086 src
= (wxKeyEvent
*) ptr
;
2087 dest
= (wxEvent
*) src
;
2088 return (void *) dest
;
2091 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
2092 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2094 wxKeyEvent
* _result
;
2096 char *_kwnames
[] = { "keyEventType", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
2103 wxPy_BEGIN_ALLOW_THREADS
;
2104 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
2106 wxPy_END_ALLOW_THREADS
;
2108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
2109 _resultobj
= Py_BuildValue("s",_ptemp
);
2112 _resultobj
= Py_None
;
2117 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
2118 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2122 PyObject
* _argo0
= 0;
2123 char *_kwnames
[] = { "self", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
2129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
2136 wxPy_BEGIN_ALLOW_THREADS
;
2137 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
2139 wxPy_END_ALLOW_THREADS
;
2140 } _resultobj
= Py_BuildValue("i",_result
);
2144 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
2145 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
* _resultobj
;
2149 PyObject
* _argo0
= 0;
2150 char *_kwnames
[] = { "self", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
2156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
2163 wxPy_BEGIN_ALLOW_THREADS
;
2164 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
2166 wxPy_END_ALLOW_THREADS
;
2167 } _resultobj
= Py_BuildValue("i",_result
);
2171 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
2172 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
* _resultobj
;
2176 PyObject
* _argo0
= 0;
2177 char *_kwnames
[] = { "self", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
2190 wxPy_BEGIN_ALLOW_THREADS
;
2191 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
2193 wxPy_END_ALLOW_THREADS
;
2194 } _resultobj
= Py_BuildValue("i",_result
);
2198 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
2199 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2203 PyObject
* _argo0
= 0;
2204 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
2217 wxPy_BEGIN_ALLOW_THREADS
;
2218 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
2220 wxPy_END_ALLOW_THREADS
;
2221 } _resultobj
= Py_BuildValue("i",_result
);
2225 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
2226 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2230 PyObject
* _argo0
= 0;
2231 char *_kwnames
[] = { "self", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
2237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
2244 wxPy_BEGIN_ALLOW_THREADS
;
2245 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
2247 wxPy_END_ALLOW_THREADS
;
2248 } _resultobj
= Py_BuildValue("l",_result
);
2252 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
2253 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2257 PyObject
* _argo0
= 0;
2258 char *_kwnames
[] = { "self", NULL
};
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
2264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
2271 wxPy_BEGIN_ALLOW_THREADS
;
2272 _result
= (long )wxKeyEvent_GetX(_arg0
);
2274 wxPy_END_ALLOW_THREADS
;
2275 } _resultobj
= Py_BuildValue("l",_result
);
2279 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
2280 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2284 PyObject
* _argo0
= 0;
2285 char *_kwnames
[] = { "self", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
2298 wxPy_BEGIN_ALLOW_THREADS
;
2299 _result
= (long )wxKeyEvent_GetY(_arg0
);
2301 wxPy_END_ALLOW_THREADS
;
2302 } _resultobj
= Py_BuildValue("l",_result
);
2306 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2307 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
2329 wxPy_END_ALLOW_THREADS
;
2330 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2331 _resultobj
= Py_BuildValue("s",_ptemp
);
2335 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2336 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2343 PyObject
* _argo0
= 0;
2344 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2366 wxPy_END_ALLOW_THREADS
;
2367 } Py_INCREF(Py_None
);
2368 _resultobj
= Py_None
;
2371 o
= PyInt_FromLong((long) (*_arg1
));
2372 _resultobj
= t_output_helper(_resultobj
, o
);
2376 o
= PyInt_FromLong((long) (*_arg2
));
2377 _resultobj
= t_output_helper(_resultobj
, o
);
2382 static void *SwigwxNavigationKeyEventTowxCommandEvent(void *ptr
) {
2383 wxNavigationKeyEvent
*src
;
2384 wxCommandEvent
*dest
;
2385 src
= (wxNavigationKeyEvent
*) ptr
;
2386 dest
= (wxCommandEvent
*) src
;
2387 return (void *) dest
;
2390 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
2391 wxNavigationKeyEvent
*src
;
2393 src
= (wxNavigationKeyEvent
*) ptr
;
2394 dest
= (wxEvent
*) src
;
2395 return (void *) dest
;
2398 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
2399 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2401 wxNavigationKeyEvent
* _result
;
2402 char *_kwnames
[] = { NULL
};
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
2409 wxPy_BEGIN_ALLOW_THREADS
;
2410 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
2412 wxPy_END_ALLOW_THREADS
;
2414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
2415 _resultobj
= Py_BuildValue("s",_ptemp
);
2418 _resultobj
= Py_None
;
2423 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
2424 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2427 wxNavigationKeyEvent
* _arg0
;
2428 PyObject
* _argo0
= 0;
2429 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
2442 wxPy_BEGIN_ALLOW_THREADS
;
2443 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
2445 wxPy_END_ALLOW_THREADS
;
2446 } _resultobj
= Py_BuildValue("i",_result
);
2450 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
2451 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2453 wxNavigationKeyEvent
* _arg0
;
2455 PyObject
* _argo0
= 0;
2457 char *_kwnames
[] = { "self","bForward", NULL
};
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
2463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
2469 _arg1
= (bool ) tempbool1
;
2471 wxPy_BEGIN_ALLOW_THREADS
;
2472 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
2474 wxPy_END_ALLOW_THREADS
;
2475 } Py_INCREF(Py_None
);
2476 _resultobj
= Py_None
;
2480 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
2481 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2484 wxNavigationKeyEvent
* _arg0
;
2485 PyObject
* _argo0
= 0;
2486 char *_kwnames
[] = { "self", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
2499 wxPy_BEGIN_ALLOW_THREADS
;
2500 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
2502 wxPy_END_ALLOW_THREADS
;
2503 } _resultobj
= Py_BuildValue("i",_result
);
2507 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
2508 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2510 wxNavigationKeyEvent
* _arg0
;
2512 PyObject
* _argo0
= 0;
2514 char *_kwnames
[] = { "self","bIs", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
2526 _arg1
= (bool ) tempbool1
;
2528 wxPy_BEGIN_ALLOW_THREADS
;
2529 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
2531 wxPy_END_ALLOW_THREADS
;
2532 } Py_INCREF(Py_None
);
2533 _resultobj
= Py_None
;
2537 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
2538 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
* _resultobj
;
2541 wxNavigationKeyEvent
* _arg0
;
2542 PyObject
* _argo0
= 0;
2543 char *_kwnames
[] = { "self", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
2557 wxPy_BEGIN_ALLOW_THREADS
;
2558 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
2560 wxPy_END_ALLOW_THREADS
;
2562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2563 _resultobj
= Py_BuildValue("s",_ptemp
);
2566 _resultobj
= Py_None
;
2571 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
2572 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2574 wxNavigationKeyEvent
* _arg0
;
2576 PyObject
* _argo0
= 0;
2577 PyObject
* _argo1
= 0;
2578 char *_kwnames
[] = { "self","win", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
2591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
2598 wxPy_BEGIN_ALLOW_THREADS
;
2599 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
2601 wxPy_END_ALLOW_THREADS
;
2602 } Py_INCREF(Py_None
);
2603 _resultobj
= Py_None
;
2607 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
2610 src
= (wxMoveEvent
*) ptr
;
2611 dest
= (wxEvent
*) src
;
2612 return (void *) dest
;
2615 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
2616 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
* _resultobj
;
2618 wxMoveEvent
* _result
;
2620 int _arg1
= (int ) 0;
2622 PyObject
* _obj0
= 0;
2623 char *_kwnames
[] = { "pt","id", NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
2631 if (! wxPoint_helper(_obj0
, &_arg0
))
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
2638 wxPy_END_ALLOW_THREADS
;
2640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
2641 _resultobj
= Py_BuildValue("s",_ptemp
);
2644 _resultobj
= Py_None
;
2649 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2650 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2653 wxMoveEvent
* _arg0
;
2654 PyObject
* _argo0
= 0;
2655 char *_kwnames
[] = { "self", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
2662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
2669 wxPy_BEGIN_ALLOW_THREADS
;
2670 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
2672 wxPy_END_ALLOW_THREADS
;
2673 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2674 _resultobj
= Py_BuildValue("s",_ptemp
);
2678 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
2681 src
= (wxPaintEvent
*) ptr
;
2682 dest
= (wxEvent
*) src
;
2683 return (void *) dest
;
2686 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
2687 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxPaintEvent
* _result
;
2690 int _arg0
= (int ) 0;
2691 char *_kwnames
[] = { "id", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
2701 wxPy_END_ALLOW_THREADS
;
2703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
2704 _resultobj
= Py_BuildValue("s",_ptemp
);
2707 _resultobj
= Py_None
;
2712 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
2715 src
= (wxEraseEvent
*) ptr
;
2716 dest
= (wxEvent
*) src
;
2717 return (void *) dest
;
2720 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
2721 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
* _resultobj
;
2723 wxEraseEvent
* _result
;
2724 int _arg0
= (int ) 0;
2725 wxDC
* _arg1
= (wxDC
*) NULL
;
2726 PyObject
* _argo1
= 0;
2727 char *_kwnames
[] = { "id","dc", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
2734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
2744 wxPy_END_ALLOW_THREADS
;
2746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
2747 _resultobj
= Py_BuildValue("s",_ptemp
);
2750 _resultobj
= Py_None
;
2755 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
2756 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2759 wxEraseEvent
* _arg0
;
2760 PyObject
* _argo0
= 0;
2761 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
2775 wxPy_BEGIN_ALLOW_THREADS
;
2776 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
2778 wxPy_END_ALLOW_THREADS
;
2780 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2781 _resultobj
= Py_BuildValue("s",_ptemp
);
2784 _resultobj
= Py_None
;
2789 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
2792 src
= (wxFocusEvent
*) ptr
;
2793 dest
= (wxEvent
*) src
;
2794 return (void *) dest
;
2797 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
2798 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2800 wxFocusEvent
* _result
;
2801 WXTYPE _arg0
= (WXTYPE
) 0;
2802 int _arg1
= (int ) 0;
2803 char *_kwnames
[] = { "eventType","id", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
2810 wxPy_BEGIN_ALLOW_THREADS
;
2811 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
2813 wxPy_END_ALLOW_THREADS
;
2815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
2816 _resultobj
= Py_BuildValue("s",_ptemp
);
2819 _resultobj
= Py_None
;
2824 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
2825 wxActivateEvent
*src
;
2827 src
= (wxActivateEvent
*) ptr
;
2828 dest
= (wxEvent
*) src
;
2829 return (void *) dest
;
2832 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
2833 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2835 wxActivateEvent
* _result
;
2836 WXTYPE _arg0
= (WXTYPE
) 0;
2837 int _arg1
= (int ) TRUE
;
2838 int _arg2
= (int ) 0;
2839 char *_kwnames
[] = { "eventType","active","id", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2846 wxPy_BEGIN_ALLOW_THREADS
;
2847 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
2849 wxPy_END_ALLOW_THREADS
;
2851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
2852 _resultobj
= Py_BuildValue("s",_ptemp
);
2855 _resultobj
= Py_None
;
2860 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
2861 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
* _resultobj
;
2864 wxActivateEvent
* _arg0
;
2865 PyObject
* _argo0
= 0;
2866 char *_kwnames
[] = { "self", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
2879 wxPy_BEGIN_ALLOW_THREADS
;
2880 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
2882 wxPy_END_ALLOW_THREADS
;
2883 } _resultobj
= Py_BuildValue("i",_result
);
2887 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
2888 wxInitDialogEvent
*src
;
2890 src
= (wxInitDialogEvent
*) ptr
;
2891 dest
= (wxEvent
*) src
;
2892 return (void *) dest
;
2895 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
2896 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2898 wxInitDialogEvent
* _result
;
2899 int _arg0
= (int ) 0;
2900 char *_kwnames
[] = { "id", NULL
};
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
2907 wxPy_BEGIN_ALLOW_THREADS
;
2908 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
2910 wxPy_END_ALLOW_THREADS
;
2912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
2913 _resultobj
= Py_BuildValue("s",_ptemp
);
2916 _resultobj
= Py_None
;
2921 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
2924 src
= (wxMenuEvent
*) ptr
;
2925 dest
= (wxEvent
*) src
;
2926 return (void *) dest
;
2929 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
2930 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
* _resultobj
;
2932 wxMenuEvent
* _result
;
2933 WXTYPE _arg0
= (WXTYPE
) 0;
2934 int _arg1
= (int ) 0;
2935 char *_kwnames
[] = { "id","id", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
2942 wxPy_BEGIN_ALLOW_THREADS
;
2943 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
2945 wxPy_END_ALLOW_THREADS
;
2947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
2948 _resultobj
= Py_BuildValue("s",_ptemp
);
2951 _resultobj
= Py_None
;
2956 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
2957 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
* _resultobj
;
2960 wxMenuEvent
* _arg0
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
2975 wxPy_BEGIN_ALLOW_THREADS
;
2976 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
2978 wxPy_END_ALLOW_THREADS
;
2979 } _resultobj
= Py_BuildValue("i",_result
);
2983 static void *SwigwxShowEventTowxEvent(void *ptr
) {
2986 src
= (wxShowEvent
*) ptr
;
2987 dest
= (wxEvent
*) src
;
2988 return (void *) dest
;
2991 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
2992 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2994 wxShowEvent
* _result
;
2995 int _arg0
= (int ) 0;
2996 int _arg1
= (int ) FALSE
;
2997 char *_kwnames
[] = { "id","show", NULL
};
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
3007 wxPy_END_ALLOW_THREADS
;
3009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
3010 _resultobj
= Py_BuildValue("s",_ptemp
);
3013 _resultobj
= Py_None
;
3018 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
3019 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
* _resultobj
;
3021 wxShowEvent
* _arg0
;
3023 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self","show", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
3037 _arg1
= (bool ) tempbool1
;
3039 wxPy_BEGIN_ALLOW_THREADS
;
3040 wxShowEvent_SetShow(_arg0
,_arg1
);
3042 wxPy_END_ALLOW_THREADS
;
3043 } Py_INCREF(Py_None
);
3044 _resultobj
= Py_None
;
3048 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
3049 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3052 wxShowEvent
* _arg0
;
3053 PyObject
* _argo0
= 0;
3054 char *_kwnames
[] = { "self", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
3067 wxPy_BEGIN_ALLOW_THREADS
;
3068 _result
= (bool )wxShowEvent_GetShow(_arg0
);
3070 wxPy_END_ALLOW_THREADS
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
3076 wxIconizeEvent
*src
;
3078 src
= (wxIconizeEvent
*) ptr
;
3079 dest
= (wxEvent
*) src
;
3080 return (void *) dest
;
3083 #define new_wxIconizeEvent(_swigarg0) (new wxIconizeEvent(_swigarg0))
3084 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3086 wxIconizeEvent
* _result
;
3087 int _arg0
= (int ) 0;
3088 char *_kwnames
[] = { "id", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxIconizeEvent",_kwnames
,&_arg0
))
3095 wxPy_BEGIN_ALLOW_THREADS
;
3096 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
);
3098 wxPy_END_ALLOW_THREADS
;
3100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
3101 _resultobj
= Py_BuildValue("s",_ptemp
);
3104 _resultobj
= Py_None
;
3109 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
3110 wxMaximizeEvent
*src
;
3112 src
= (wxMaximizeEvent
*) ptr
;
3113 dest
= (wxEvent
*) src
;
3114 return (void *) dest
;
3117 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
3118 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3120 wxMaximizeEvent
* _result
;
3121 int _arg0
= (int ) 0;
3122 char *_kwnames
[] = { "id", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
3129 wxPy_BEGIN_ALLOW_THREADS
;
3130 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
3132 wxPy_END_ALLOW_THREADS
;
3134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
3135 _resultobj
= Py_BuildValue("s",_ptemp
);
3138 _resultobj
= Py_None
;
3143 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
3144 wxJoystickEvent
*src
;
3146 src
= (wxJoystickEvent
*) ptr
;
3147 dest
= (wxEvent
*) src
;
3148 return (void *) dest
;
3151 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3152 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3154 wxJoystickEvent
* _result
;
3155 int _arg0
= (int ) wxEVT_NULL
;
3156 int _arg1
= (int ) 0;
3157 int _arg2
= (int ) wxJOYSTICK1
;
3158 int _arg3
= (int ) 0;
3159 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3166 wxPy_BEGIN_ALLOW_THREADS
;
3167 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
3169 wxPy_END_ALLOW_THREADS
;
3171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
3172 _resultobj
= Py_BuildValue("s",_ptemp
);
3175 _resultobj
= Py_None
;
3180 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3181 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3184 wxJoystickEvent
* _arg0
;
3185 PyObject
* _argo0
= 0;
3186 char *_kwnames
[] = { "self", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
3203 wxPy_END_ALLOW_THREADS
;
3204 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3205 _resultobj
= Py_BuildValue("s",_ptemp
);
3209 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
3210 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3213 wxJoystickEvent
* _arg0
;
3214 PyObject
* _argo0
= 0;
3215 char *_kwnames
[] = { "self", NULL
};
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
3221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
3228 wxPy_BEGIN_ALLOW_THREADS
;
3229 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
3231 wxPy_END_ALLOW_THREADS
;
3232 } _resultobj
= Py_BuildValue("i",_result
);
3236 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
3237 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3240 wxJoystickEvent
* _arg0
;
3241 PyObject
* _argo0
= 0;
3242 char *_kwnames
[] = { "self", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
3255 wxPy_BEGIN_ALLOW_THREADS
;
3256 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
3258 wxPy_END_ALLOW_THREADS
;
3259 } _resultobj
= Py_BuildValue("i",_result
);
3263 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
3264 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3267 wxJoystickEvent
* _arg0
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
3282 wxPy_BEGIN_ALLOW_THREADS
;
3283 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
3285 wxPy_END_ALLOW_THREADS
;
3286 } _resultobj
= Py_BuildValue("i",_result
);
3290 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
3291 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
* _resultobj
;
3294 wxJoystickEvent
* _arg0
;
3295 PyObject
* _argo0
= 0;
3296 char *_kwnames
[] = { "self", NULL
};
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
3302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
3309 wxPy_BEGIN_ALLOW_THREADS
;
3310 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
3312 wxPy_END_ALLOW_THREADS
;
3313 } _resultobj
= Py_BuildValue("i",_result
);
3317 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
3318 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3320 wxJoystickEvent
* _arg0
;
3322 PyObject
* _argo0
= 0;
3323 char *_kwnames
[] = { "self","stick", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
3339 wxPy_END_ALLOW_THREADS
;
3340 } Py_INCREF(Py_None
);
3341 _resultobj
= Py_None
;
3345 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
3346 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3348 wxJoystickEvent
* _arg0
;
3350 PyObject
* _argo0
= 0;
3351 char *_kwnames
[] = { "self","state", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
3364 wxPy_BEGIN_ALLOW_THREADS
;
3365 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
3367 wxPy_END_ALLOW_THREADS
;
3368 } Py_INCREF(Py_None
);
3369 _resultobj
= Py_None
;
3373 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
3374 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3376 wxJoystickEvent
* _arg0
;
3378 PyObject
* _argo0
= 0;
3379 char *_kwnames
[] = { "self","change", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
3392 wxPy_BEGIN_ALLOW_THREADS
;
3393 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
3395 wxPy_END_ALLOW_THREADS
;
3396 } Py_INCREF(Py_None
);
3397 _resultobj
= Py_None
;
3401 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
3402 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3404 wxJoystickEvent
* _arg0
;
3406 PyObject
* _argo0
= 0;
3408 PyObject
* _obj1
= 0;
3409 char *_kwnames
[] = { "self","pos", NULL
};
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
3423 if (! wxPoint_helper(_obj1
, &_arg1
))
3427 wxPy_BEGIN_ALLOW_THREADS
;
3428 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
3430 wxPy_END_ALLOW_THREADS
;
3431 } Py_INCREF(Py_None
);
3432 _resultobj
= Py_None
;
3436 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
3437 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3439 wxJoystickEvent
* _arg0
;
3441 PyObject
* _argo0
= 0;
3442 char *_kwnames
[] = { "self","zPos", NULL
};
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
3448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
3455 wxPy_BEGIN_ALLOW_THREADS
;
3456 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
3458 wxPy_END_ALLOW_THREADS
;
3459 } Py_INCREF(Py_None
);
3460 _resultobj
= Py_None
;
3464 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
3465 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3468 wxJoystickEvent
* _arg0
;
3469 PyObject
* _argo0
= 0;
3470 char *_kwnames
[] = { "self", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
3483 wxPy_BEGIN_ALLOW_THREADS
;
3484 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
3486 wxPy_END_ALLOW_THREADS
;
3487 } _resultobj
= Py_BuildValue("i",_result
);
3491 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
3492 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
* _resultobj
;
3495 wxJoystickEvent
* _arg0
;
3496 PyObject
* _argo0
= 0;
3497 char *_kwnames
[] = { "self", NULL
};
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
3503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
3510 wxPy_BEGIN_ALLOW_THREADS
;
3511 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
3513 wxPy_END_ALLOW_THREADS
;
3514 } _resultobj
= Py_BuildValue("i",_result
);
3518 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
3519 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
* _resultobj
;
3522 wxJoystickEvent
* _arg0
;
3523 PyObject
* _argo0
= 0;
3524 char *_kwnames
[] = { "self", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
3537 wxPy_BEGIN_ALLOW_THREADS
;
3538 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
3540 wxPy_END_ALLOW_THREADS
;
3541 } _resultobj
= Py_BuildValue("i",_result
);
3545 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
3546 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3549 wxJoystickEvent
* _arg0
;
3550 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
3551 PyObject
* _argo0
= 0;
3552 char *_kwnames
[] = { "self","but", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
3565 wxPy_BEGIN_ALLOW_THREADS
;
3566 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
3568 wxPy_END_ALLOW_THREADS
;
3569 } _resultobj
= Py_BuildValue("i",_result
);
3573 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
3574 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3577 wxJoystickEvent
* _arg0
;
3578 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
3579 PyObject
* _argo0
= 0;
3580 char *_kwnames
[] = { "self","but", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
3593 wxPy_BEGIN_ALLOW_THREADS
;
3594 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
3596 wxPy_END_ALLOW_THREADS
;
3597 } _resultobj
= Py_BuildValue("i",_result
);
3601 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
3602 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3605 wxJoystickEvent
* _arg0
;
3606 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
3607 PyObject
* _argo0
= 0;
3608 char *_kwnames
[] = { "self","but", NULL
};
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
3614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
3621 wxPy_BEGIN_ALLOW_THREADS
;
3622 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
3624 wxPy_END_ALLOW_THREADS
;
3625 } _resultobj
= Py_BuildValue("i",_result
);
3629 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
3630 wxDropFilesEvent
*src
;
3632 src
= (wxDropFilesEvent
*) ptr
;
3633 dest
= (wxEvent
*) src
;
3634 return (void *) dest
;
3637 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3638 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3641 wxDropFilesEvent
* _arg0
;
3642 PyObject
* _argo0
= 0;
3643 char *_kwnames
[] = { "self", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
3657 wxPy_BEGIN_ALLOW_THREADS
;
3658 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
3660 wxPy_END_ALLOW_THREADS
;
3661 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3662 _resultobj
= Py_BuildValue("s",_ptemp
);
3666 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
3667 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3670 wxDropFilesEvent
* _arg0
;
3671 PyObject
* _argo0
= 0;
3672 char *_kwnames
[] = { "self", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
3688 wxPy_END_ALLOW_THREADS
;
3689 } _resultobj
= Py_BuildValue("i",_result
);
3693 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
3694 int count
= self
->GetNumberOfFiles();
3695 wxString
* files
= self
->GetFiles();
3696 PyObject
* list
= PyList_New(count
);
3699 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3703 for (int i
=0; i
<count
; i
++) {
3704 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
3708 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3711 wxDropFilesEvent
* _arg0
;
3712 PyObject
* _argo0
= 0;
3713 char *_kwnames
[] = { "self", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
3726 wxPy_BEGIN_ALLOW_THREADS
;
3727 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
3729 wxPy_END_ALLOW_THREADS
;
3731 _resultobj
= _result
;
3736 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
3739 src
= (wxIdleEvent
*) ptr
;
3740 dest
= (wxEvent
*) src
;
3741 return (void *) dest
;
3744 #define new_wxIdleEvent() (new wxIdleEvent())
3745 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3747 wxIdleEvent
* _result
;
3748 char *_kwnames
[] = { NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
3755 wxPy_BEGIN_ALLOW_THREADS
;
3756 _result
= (wxIdleEvent
*)new_wxIdleEvent();
3758 wxPy_END_ALLOW_THREADS
;
3760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
3761 _resultobj
= Py_BuildValue("s",_ptemp
);
3764 _resultobj
= Py_None
;
3769 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
3770 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
* _resultobj
;
3772 wxIdleEvent
* _arg0
;
3773 bool _arg1
= (bool ) TRUE
;
3774 PyObject
* _argo0
= 0;
3775 int tempbool1
= (int) TRUE
;
3776 char *_kwnames
[] = { "self","needMore", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
3788 _arg1
= (bool ) tempbool1
;
3790 wxPy_BEGIN_ALLOW_THREADS
;
3791 wxIdleEvent_RequestMore(_arg0
,_arg1
);
3793 wxPy_END_ALLOW_THREADS
;
3794 } Py_INCREF(Py_None
);
3795 _resultobj
= Py_None
;
3799 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
3800 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3803 wxIdleEvent
* _arg0
;
3804 PyObject
* _argo0
= 0;
3805 char *_kwnames
[] = { "self", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
3818 wxPy_BEGIN_ALLOW_THREADS
;
3819 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
3821 wxPy_END_ALLOW_THREADS
;
3822 } _resultobj
= Py_BuildValue("i",_result
);
3826 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
3827 wxUpdateUIEvent
*src
;
3829 src
= (wxUpdateUIEvent
*) ptr
;
3830 dest
= (wxEvent
*) src
;
3831 return (void *) dest
;
3834 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
3835 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
* _resultobj
;
3837 wxUpdateUIEvent
* _result
;
3838 wxWindowID _arg0
= (wxWindowID
) 0;
3839 char *_kwnames
[] = { "commandId", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
3846 wxPy_BEGIN_ALLOW_THREADS
;
3847 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
3849 wxPy_END_ALLOW_THREADS
;
3851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
3852 _resultobj
= Py_BuildValue("s",_ptemp
);
3855 _resultobj
= Py_None
;
3860 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
3861 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3864 wxUpdateUIEvent
* _arg0
;
3865 PyObject
* _argo0
= 0;
3866 char *_kwnames
[] = { "self", NULL
};
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
3872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
3879 wxPy_BEGIN_ALLOW_THREADS
;
3880 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
3882 wxPy_END_ALLOW_THREADS
;
3883 } _resultobj
= Py_BuildValue("i",_result
);
3887 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
3888 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3891 wxUpdateUIEvent
* _arg0
;
3892 PyObject
* _argo0
= 0;
3893 char *_kwnames
[] = { "self", NULL
};
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
3899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
3906 wxPy_BEGIN_ALLOW_THREADS
;
3907 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
3909 wxPy_END_ALLOW_THREADS
;
3910 } _resultobj
= Py_BuildValue("i",_result
);
3914 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
3915 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3918 wxUpdateUIEvent
* _arg0
;
3919 PyObject
* _argo0
= 0;
3920 char *_kwnames
[] = { "self", NULL
};
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
3926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
3933 wxPy_BEGIN_ALLOW_THREADS
;
3934 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
3936 wxPy_END_ALLOW_THREADS
;
3938 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3946 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
3947 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3950 wxUpdateUIEvent
* _arg0
;
3951 PyObject
* _argo0
= 0;
3952 char *_kwnames
[] = { "self", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
3965 wxPy_BEGIN_ALLOW_THREADS
;
3966 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
3968 wxPy_END_ALLOW_THREADS
;
3969 } _resultobj
= Py_BuildValue("i",_result
);
3973 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
3974 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3977 wxUpdateUIEvent
* _arg0
;
3978 PyObject
* _argo0
= 0;
3979 char *_kwnames
[] = { "self", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
3992 wxPy_BEGIN_ALLOW_THREADS
;
3993 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
3995 wxPy_END_ALLOW_THREADS
;
3996 } _resultobj
= Py_BuildValue("i",_result
);
4000 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
4001 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4004 wxUpdateUIEvent
* _arg0
;
4005 PyObject
* _argo0
= 0;
4006 char *_kwnames
[] = { "self", NULL
};
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
4012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
4019 wxPy_BEGIN_ALLOW_THREADS
;
4020 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
4022 wxPy_END_ALLOW_THREADS
;
4023 } _resultobj
= Py_BuildValue("i",_result
);
4027 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4028 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4030 wxUpdateUIEvent
* _arg0
;
4032 PyObject
* _argo0
= 0;
4034 char *_kwnames
[] = { "self","check", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
4040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
4046 _arg1
= (bool ) tempbool1
;
4048 wxPy_BEGIN_ALLOW_THREADS
;
4049 wxUpdateUIEvent_Check(_arg0
,_arg1
);
4051 wxPy_END_ALLOW_THREADS
;
4052 } Py_INCREF(Py_None
);
4053 _resultobj
= Py_None
;
4057 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4058 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
* _resultobj
;
4060 wxUpdateUIEvent
* _arg0
;
4062 PyObject
* _argo0
= 0;
4064 char *_kwnames
[] = { "self","enable", NULL
};
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
4070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
4076 _arg1
= (bool ) tempbool1
;
4078 wxPy_BEGIN_ALLOW_THREADS
;
4079 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
4081 wxPy_END_ALLOW_THREADS
;
4082 } Py_INCREF(Py_None
);
4083 _resultobj
= Py_None
;
4087 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
4088 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
* _resultobj
;
4090 wxUpdateUIEvent
* _arg0
;
4092 PyObject
* _argo0
= 0;
4093 PyObject
* _obj1
= 0;
4094 char *_kwnames
[] = { "self","text", NULL
};
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
4100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
4107 if (!PyString_Check(_obj1
)) {
4108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4111 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4114 wxPy_BEGIN_ALLOW_THREADS
;
4115 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
4117 wxPy_END_ALLOW_THREADS
;
4118 } Py_INCREF(Py_None
);
4119 _resultobj
= Py_None
;
4127 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
4128 wxSysColourChangedEvent
*src
;
4130 src
= (wxSysColourChangedEvent
*) ptr
;
4131 dest
= (wxEvent
*) src
;
4132 return (void *) dest
;
4135 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
4136 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4138 wxSysColourChangedEvent
* _result
;
4139 char *_kwnames
[] = { NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
4146 wxPy_BEGIN_ALLOW_THREADS
;
4147 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
4149 wxPy_END_ALLOW_THREADS
;
4151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
4152 _resultobj
= Py_BuildValue("s",_ptemp
);
4155 _resultobj
= Py_None
;
4160 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
4162 wxCommandEvent
*dest
;
4163 src
= (wxNotifyEvent
*) ptr
;
4164 dest
= (wxCommandEvent
*) src
;
4165 return (void *) dest
;
4168 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
4171 src
= (wxNotifyEvent
*) ptr
;
4172 dest
= (wxEvent
*) src
;
4173 return (void *) dest
;
4176 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
4177 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
* _resultobj
;
4179 wxNotifyEvent
* _result
;
4180 int _arg0
= (int ) wxEVT_NULL
;
4181 int _arg1
= (int ) 0;
4182 char *_kwnames
[] = { "commandType","id", NULL
};
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
4189 wxPy_BEGIN_ALLOW_THREADS
;
4190 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
4192 wxPy_END_ALLOW_THREADS
;
4194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
4195 _resultobj
= Py_BuildValue("s",_ptemp
);
4198 _resultobj
= Py_None
;
4203 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
4204 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
* _resultobj
;
4207 wxNotifyEvent
* _arg0
;
4208 PyObject
* _argo0
= 0;
4209 char *_kwnames
[] = { "self", NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
4215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
4222 wxPy_BEGIN_ALLOW_THREADS
;
4223 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
4225 wxPy_END_ALLOW_THREADS
;
4226 } _resultobj
= Py_BuildValue("i",_result
);
4230 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
4231 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4233 wxNotifyEvent
* _arg0
;
4234 PyObject
* _argo0
= 0;
4235 char *_kwnames
[] = { "self", NULL
};
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
4241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
4243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
4248 wxPy_BEGIN_ALLOW_THREADS
;
4249 wxNotifyEvent_Veto(_arg0
);
4251 wxPy_END_ALLOW_THREADS
;
4252 } Py_INCREF(Py_None
);
4253 _resultobj
= Py_None
;
4257 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
4258 wxPaletteChangedEvent
*src
;
4260 src
= (wxPaletteChangedEvent
*) ptr
;
4261 dest
= (wxEvent
*) src
;
4262 return (void *) dest
;
4265 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
4266 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
* _resultobj
;
4268 wxPaletteChangedEvent
* _result
;
4269 wxWindowID _arg0
= (wxWindowID
) 0;
4270 char *_kwnames
[] = { "id", NULL
};
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
4280 wxPy_END_ALLOW_THREADS
;
4282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
4283 _resultobj
= Py_BuildValue("s",_ptemp
);
4286 _resultobj
= Py_None
;
4291 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
4292 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4294 wxPaletteChangedEvent
* _arg0
;
4296 PyObject
* _argo0
= 0;
4297 PyObject
* _argo1
= 0;
4298 char *_kwnames
[] = { "self","win", NULL
};
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
4304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
4306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
4311 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
4318 wxPy_BEGIN_ALLOW_THREADS
;
4319 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
4321 wxPy_END_ALLOW_THREADS
;
4322 } Py_INCREF(Py_None
);
4323 _resultobj
= Py_None
;
4327 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
4328 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4331 wxPaletteChangedEvent
* _arg0
;
4332 PyObject
* _argo0
= 0;
4333 char *_kwnames
[] = { "self", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
4340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
4347 wxPy_BEGIN_ALLOW_THREADS
;
4348 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
4350 wxPy_END_ALLOW_THREADS
;
4352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4353 _resultobj
= Py_BuildValue("s",_ptemp
);
4356 _resultobj
= Py_None
;
4361 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
4362 wxQueryNewPaletteEvent
*src
;
4364 src
= (wxQueryNewPaletteEvent
*) ptr
;
4365 dest
= (wxEvent
*) src
;
4366 return (void *) dest
;
4369 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
4370 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4372 wxQueryNewPaletteEvent
* _result
;
4373 wxWindowID _arg0
= (wxWindowID
) 0;
4374 char *_kwnames
[] = { "id", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
4381 wxPy_BEGIN_ALLOW_THREADS
;
4382 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
4384 wxPy_END_ALLOW_THREADS
;
4386 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
4387 _resultobj
= Py_BuildValue("s",_ptemp
);
4390 _resultobj
= Py_None
;
4395 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
4396 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4398 wxQueryNewPaletteEvent
* _arg0
;
4400 PyObject
* _argo0
= 0;
4402 char *_kwnames
[] = { "self","realized", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
4408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
4414 _arg1
= (bool ) tempbool1
;
4416 wxPy_BEGIN_ALLOW_THREADS
;
4417 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
4419 wxPy_END_ALLOW_THREADS
;
4420 } Py_INCREF(Py_None
);
4421 _resultobj
= Py_None
;
4425 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
4426 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
* _resultobj
;
4429 wxQueryNewPaletteEvent
* _arg0
;
4430 PyObject
* _argo0
= 0;
4431 char *_kwnames
[] = { "self", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
4444 wxPy_BEGIN_ALLOW_THREADS
;
4445 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
4447 wxPy_END_ALLOW_THREADS
;
4448 } _resultobj
= Py_BuildValue("i",_result
);
4452 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
4453 wxWindowCreateEvent
*src
;
4455 src
= (wxWindowCreateEvent
*) ptr
;
4456 dest
= (wxEvent
*) src
;
4457 return (void *) dest
;
4460 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
4461 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4463 wxWindowCreateEvent
* _result
;
4464 wxWindow
* _arg0
= (wxWindow
*) NULL
;
4465 PyObject
* _argo0
= 0;
4466 char *_kwnames
[] = { "win", NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
4473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
4480 wxPy_BEGIN_ALLOW_THREADS
;
4481 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
4483 wxPy_END_ALLOW_THREADS
;
4485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
4486 _resultobj
= Py_BuildValue("s",_ptemp
);
4489 _resultobj
= Py_None
;
4494 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
4495 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4498 wxWindowCreateEvent
* _arg0
;
4499 PyObject
* _argo0
= 0;
4500 char *_kwnames
[] = { "self", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
4514 wxPy_BEGIN_ALLOW_THREADS
;
4515 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
4517 wxPy_END_ALLOW_THREADS
;
4519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4520 _resultobj
= Py_BuildValue("s",_ptemp
);
4523 _resultobj
= Py_None
;
4528 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
4529 wxWindowDestroyEvent
*src
;
4531 src
= (wxWindowDestroyEvent
*) ptr
;
4532 dest
= (wxEvent
*) src
;
4533 return (void *) dest
;
4536 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
4537 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4539 wxWindowDestroyEvent
* _result
;
4540 wxWindow
* _arg0
= (wxWindow
*) NULL
;
4541 PyObject
* _argo0
= 0;
4542 char *_kwnames
[] = { "win", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
4556 wxPy_BEGIN_ALLOW_THREADS
;
4557 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
4559 wxPy_END_ALLOW_THREADS
;
4561 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
4562 _resultobj
= Py_BuildValue("s",_ptemp
);
4565 _resultobj
= Py_None
;
4570 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
4571 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4574 wxWindowDestroyEvent
* _arg0
;
4575 PyObject
* _argo0
= 0;
4576 char *_kwnames
[] = { "self", NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
4583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
4590 wxPy_BEGIN_ALLOW_THREADS
;
4591 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
4593 wxPy_END_ALLOW_THREADS
;
4595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4596 _resultobj
= Py_BuildValue("s",_ptemp
);
4599 _resultobj
= Py_None
;
4604 static void *SwigwxPyEventTowxEvent(void *ptr
) {
4607 src
= (wxPyEvent
*) ptr
;
4608 dest
= (wxEvent
*) src
;
4609 return (void *) dest
;
4612 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
4613 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
* _resultobj
;
4615 wxPyEvent
* _result
;
4616 int _arg0
= (int ) 0;
4617 char *_kwnames
[] = { "id", NULL
};
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
4624 wxPy_BEGIN_ALLOW_THREADS
;
4625 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
4627 wxPy_END_ALLOW_THREADS
;
4629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
4630 _resultobj
= Py_BuildValue("s",_ptemp
);
4633 _resultobj
= Py_None
;
4638 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
4639 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4642 PyObject
* _argo0
= 0;
4643 char *_kwnames
[] = { "self", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
4656 wxPy_BEGIN_ALLOW_THREADS
;
4657 delete_wxPyEvent(_arg0
);
4659 wxPy_END_ALLOW_THREADS
;
4660 } Py_INCREF(Py_None
);
4661 _resultobj
= Py_None
;
4665 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
4666 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4670 PyObject
* _argo0
= 0;
4671 PyObject
* _obj1
= 0;
4672 char *_kwnames
[] = { "self","self", NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
4678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
4688 wxPy_BEGIN_ALLOW_THREADS
;
4689 wxPyEvent_SetSelf(_arg0
,_arg1
);
4691 wxPy_END_ALLOW_THREADS
;
4692 } Py_INCREF(Py_None
);
4693 _resultobj
= Py_None
;
4697 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
4698 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4702 PyObject
* _argo0
= 0;
4703 char *_kwnames
[] = { "self", NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
4709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
4716 wxPy_BEGIN_ALLOW_THREADS
;
4717 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
4719 wxPy_END_ALLOW_THREADS
;
4721 _resultobj
= _result
;
4726 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
4727 wxPyCommandEvent
*src
;
4728 wxCommandEvent
*dest
;
4729 src
= (wxPyCommandEvent
*) ptr
;
4730 dest
= (wxCommandEvent
*) src
;
4731 return (void *) dest
;
4734 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
4735 wxPyCommandEvent
*src
;
4737 src
= (wxPyCommandEvent
*) ptr
;
4738 dest
= (wxEvent
*) src
;
4739 return (void *) dest
;
4742 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
4743 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4745 wxPyCommandEvent
* _result
;
4746 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
4747 int _arg1
= (int ) 0;
4748 char *_kwnames
[] = { "commandType","id", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
4755 wxPy_BEGIN_ALLOW_THREADS
;
4756 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
4758 wxPy_END_ALLOW_THREADS
;
4760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
4761 _resultobj
= Py_BuildValue("s",_ptemp
);
4764 _resultobj
= Py_None
;
4769 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
4770 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4772 wxPyCommandEvent
* _arg0
;
4773 PyObject
* _argo0
= 0;
4774 char *_kwnames
[] = { "self", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 delete_wxPyCommandEvent(_arg0
);
4790 wxPy_END_ALLOW_THREADS
;
4791 } Py_INCREF(Py_None
);
4792 _resultobj
= Py_None
;
4796 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
4797 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4799 wxPyCommandEvent
* _arg0
;
4801 PyObject
* _argo0
= 0;
4802 PyObject
* _obj1
= 0;
4803 char *_kwnames
[] = { "self","self", NULL
};
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
4809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
4811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
4819 wxPy_BEGIN_ALLOW_THREADS
;
4820 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
4822 wxPy_END_ALLOW_THREADS
;
4823 } Py_INCREF(Py_None
);
4824 _resultobj
= Py_None
;
4828 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
4829 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4832 wxPyCommandEvent
* _arg0
;
4833 PyObject
* _argo0
= 0;
4834 char *_kwnames
[] = { "self", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
4847 wxPy_BEGIN_ALLOW_THREADS
;
4848 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
4850 wxPy_END_ALLOW_THREADS
;
4852 _resultobj
= _result
;
4857 static PyMethodDef eventscMethods
[] = {
4858 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
4859 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
4860 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
4861 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
4862 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
4863 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
4864 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4865 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4866 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4867 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4868 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4869 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
4870 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
4871 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
4872 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
4873 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
4874 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
4875 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
4876 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
4877 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
4878 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4879 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
4880 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
4881 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
4882 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
4883 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
4884 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
4885 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
4886 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
4887 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
4888 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
4889 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
4890 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
4891 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
4892 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
4893 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
4894 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
4895 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4896 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
4897 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
4898 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
4899 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
4900 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
4901 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
4902 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
4903 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4904 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_Checked
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
5019 * This table is used by the pointer type-checker
5021 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5022 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5023 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5024 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5025 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
5026 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
5027 { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5028 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5029 { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5030 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5031 { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5032 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5033 { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5034 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5035 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5036 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5037 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5038 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5039 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5040 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5041 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5042 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5043 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5044 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5045 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5046 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5047 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5048 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5049 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5050 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5051 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
5052 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
5053 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5054 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5055 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5056 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5057 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5058 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5059 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5060 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5061 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5062 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5063 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5064 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5065 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5066 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5067 { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5068 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5069 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5070 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5071 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5072 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5073 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5074 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5075 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5076 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5077 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5078 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5079 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5080 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5081 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5082 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5083 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5084 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5085 { "_wxEvent","_class_wxEvent",0},
5086 { "_class_wxActivateEvent","_wxActivateEvent",0},
5087 { "_signed_long","_long",0},
5088 { "_wxMenuEvent","_class_wxMenuEvent",0},
5089 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5090 { "_wxPrintQuality","_wxCoord",0},
5091 { "_wxPrintQuality","_int",0},
5092 { "_wxPrintQuality","_signed_int",0},
5093 { "_wxPrintQuality","_unsigned_int",0},
5094 { "_wxPrintQuality","_wxWindowID",0},
5095 { "_wxPrintQuality","_uint",0},
5096 { "_wxPrintQuality","_EBool",0},
5097 { "_wxPrintQuality","_size_t",0},
5098 { "_class_wxRegionIterator","_wxRegionIterator",0},
5099 { "_wxPaintEvent","_class_wxPaintEvent",0},
5100 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5101 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5102 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5103 { "_byte","_unsigned_char",0},
5104 { "_long","_unsigned_long",0},
5105 { "_long","_signed_long",0},
5106 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5107 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5108 { "_wxSpinEvent","_class_wxSpinEvent",0},
5109 { "_size_t","_wxCoord",0},
5110 { "_size_t","_wxPrintQuality",0},
5111 { "_size_t","_unsigned_int",0},
5112 { "_size_t","_int",0},
5113 { "_size_t","_wxWindowID",0},
5114 { "_size_t","_uint",0},
5115 { "_class_wxRealPoint","_wxRealPoint",0},
5116 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5117 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5118 { "_class_wxPaintEvent","_wxPaintEvent",0},
5119 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5120 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5121 { "_wxPyEvent","_class_wxPyEvent",0},
5122 { "_class_wxKeyEvent","_wxKeyEvent",0},
5123 { "_wxIdleEvent","_class_wxIdleEvent",0},
5124 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5125 { "_wxShowEvent","_class_wxShowEvent",0},
5126 { "_uint","_wxCoord",0},
5127 { "_uint","_wxPrintQuality",0},
5128 { "_uint","_size_t",0},
5129 { "_uint","_unsigned_int",0},
5130 { "_uint","_int",0},
5131 { "_uint","_wxWindowID",0},
5132 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5133 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5134 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
5135 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
5136 { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5137 { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5138 { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5139 { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5140 { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5141 { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5142 { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5143 { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5144 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5145 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5146 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5147 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5148 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5149 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5150 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5151 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5152 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5153 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5154 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5155 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5156 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5157 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5158 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5159 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5160 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
5161 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
5162 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5163 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5164 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5165 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5166 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5167 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5168 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5169 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5170 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5171 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5172 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5173 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5174 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5175 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5176 { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5177 { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5178 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5179 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5180 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5181 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5182 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5183 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5184 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5185 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5186 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5187 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5188 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5189 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5190 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5191 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5192 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5193 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5194 { "_class_wxEvent","_wxEvent",0},
5195 { "_wxRect","_class_wxRect",0},
5196 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5197 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5198 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5199 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5200 { "_wxCommandEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent
},
5201 { "_wxCommandEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent
},
5202 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5203 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5204 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5205 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5206 { "_wxCommandEvent","_class_wxCommandEvent",0},
5207 { "_wxSizeEvent","_class_wxSizeEvent",0},
5208 { "_wxPoint","_class_wxPoint",0},
5209 { "_wxPyTimer","_class_wxPyTimer",0},
5210 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5211 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5212 { "_class_wxPyEvent","_wxPyEvent",0},
5213 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5214 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5215 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5216 { "_wxScrollEvent","_class_wxScrollEvent",0},
5217 { "_EBool","_wxCoord",0},
5218 { "_EBool","_wxPrintQuality",0},
5219 { "_EBool","_signed_int",0},
5220 { "_EBool","_int",0},
5221 { "_EBool","_wxWindowID",0},
5222 { "_class_wxRegion","_wxRegion",0},
5223 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5224 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5225 { "_wxCloseEvent","_class_wxCloseEvent",0},
5226 { "_unsigned_long","_long",0},
5227 { "_class_wxRect","_wxRect",0},
5228 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5229 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5230 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5231 { "_class_wxPyTimer","_wxPyTimer",0},
5232 { "_wxFocusEvent","_class_wxFocusEvent",0},
5233 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5234 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5235 { "_signed_int","_wxCoord",0},
5236 { "_signed_int","_wxPrintQuality",0},
5237 { "_signed_int","_EBool",0},
5238 { "_signed_int","_wxWindowID",0},
5239 { "_signed_int","_int",0},
5240 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5241 { "_class_wxMoveEvent","_wxMoveEvent",0},
5242 { "_WXTYPE","_short",0},
5243 { "_WXTYPE","_signed_short",0},
5244 { "_WXTYPE","_unsigned_short",0},
5245 { "_unsigned_short","_WXTYPE",0},
5246 { "_unsigned_short","_short",0},
5247 { "_class_wxCloseEvent","_wxCloseEvent",0},
5248 { "_wxBusyInfo","_class_wxBusyInfo",0},
5249 { "_class_wxMenuEvent","_wxMenuEvent",0},
5250 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5251 { "_wxMouseEvent","_class_wxMouseEvent",0},
5252 { "_class_wxPoint","_wxPoint",0},
5253 { "_wxRealPoint","_class_wxRealPoint",0},
5254 { "_signed_short","_WXTYPE",0},
5255 { "_signed_short","_short",0},
5256 { "_class_wxFocusEvent","_wxFocusEvent",0},
5257 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5258 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5259 { "_unsigned_char","_byte",0},
5260 { "_unsigned_int","_wxCoord",0},
5261 { "_unsigned_int","_wxPrintQuality",0},
5262 { "_unsigned_int","_size_t",0},
5263 { "_unsigned_int","_uint",0},
5264 { "_unsigned_int","_wxWindowID",0},
5265 { "_unsigned_int","_int",0},
5266 { "_short","_WXTYPE",0},
5267 { "_short","_unsigned_short",0},
5268 { "_short","_signed_short",0},
5269 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5270 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5271 { "_class_wxScrollEvent","_wxScrollEvent",0},
5272 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5273 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5274 { "_wxWindowID","_wxCoord",0},
5275 { "_wxWindowID","_wxPrintQuality",0},
5276 { "_wxWindowID","_size_t",0},
5277 { "_wxWindowID","_EBool",0},
5278 { "_wxWindowID","_uint",0},
5279 { "_wxWindowID","_int",0},
5280 { "_wxWindowID","_signed_int",0},
5281 { "_wxWindowID","_unsigned_int",0},
5282 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5283 { "_int","_wxCoord",0},
5284 { "_int","_wxPrintQuality",0},
5285 { "_int","_size_t",0},
5286 { "_int","_EBool",0},
5287 { "_int","_uint",0},
5288 { "_int","_wxWindowID",0},
5289 { "_int","_unsigned_int",0},
5290 { "_int","_signed_int",0},
5291 { "_class_wxMouseEvent","_wxMouseEvent",0},
5292 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5293 { "_class_wxSpinEvent","_wxSpinEvent",0},
5294 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5295 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5296 { "_wxSize","_class_wxSize",0},
5297 { "_wxRegionIterator","_class_wxRegionIterator",0},
5298 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5299 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5300 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5301 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5302 { "_class_wxIdleEvent","_wxIdleEvent",0},
5303 { "_wxCoord","_int",0},
5304 { "_wxCoord","_signed_int",0},
5305 { "_wxCoord","_unsigned_int",0},
5306 { "_wxCoord","_wxWindowID",0},
5307 { "_wxCoord","_uint",0},
5308 { "_wxCoord","_EBool",0},
5309 { "_wxCoord","_size_t",0},
5310 { "_wxCoord","_wxPrintQuality",0},
5311 { "_wxEraseEvent","_class_wxEraseEvent",0},
5312 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5313 { "_wxRegion","_class_wxRegion",0},
5314 { "_class_wxShowEvent","_wxShowEvent",0},
5315 { "_wxActivateEvent","_class_wxActivateEvent",0},
5316 { "_class_wxBusyInfo","_wxBusyInfo",0},
5317 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5318 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5319 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5320 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5321 { "_class_wxCommandEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent
},
5322 { "_class_wxCommandEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent
},
5323 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5324 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5325 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5326 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5327 { "_class_wxCommandEvent","_wxCommandEvent",0},
5328 { "_class_wxSizeEvent","_wxSizeEvent",0},
5329 { "_class_wxSize","_wxSize",0},
5330 { "_wxKeyEvent","_class_wxKeyEvent",0},
5331 { "_wxMoveEvent","_class_wxMoveEvent",0},
5332 { "_class_wxEraseEvent","_wxEraseEvent",0},
5333 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5336 static PyObject
*SWIG_globals
;
5340 SWIGEXPORT(void) initeventsc() {
5342 SWIG_globals
= SWIG_newvarlink();
5343 m
= Py_InitModule("eventsc", eventscMethods
);
5344 d
= PyModule_GetDict(m
);
5347 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5348 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);