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_FromStringAndSize(_result
->c_str(), _result
->Len());
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 #define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
935 static PyObject
*_wrap_wxCommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
937 wxCommandEvent
* _arg0
;
939 PyObject
* _argo0
= 0;
940 PyObject
* _obj1
= 0;
941 char *_kwnames
[] = { "self","s", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCommandEvent_SetString",_kwnames
,&_argo0
,&_obj1
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
954 if (!PyString_Check(_obj1
)) {
955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
958 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
961 wxPy_BEGIN_ALLOW_THREADS
;
962 wxCommandEvent_SetString(_arg0
,*_arg1
);
964 wxPy_END_ALLOW_THREADS
;
965 } Py_INCREF(Py_None
);
966 _resultobj
= Py_None
;
974 #define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
975 static PyObject
*_wrap_wxCommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
977 wxCommandEvent
* _arg0
;
979 PyObject
* _argo0
= 0;
980 char *_kwnames
[] = { "self","extraLong", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCommandEvent_SetExtraLong",_kwnames
,&_argo0
,&_arg1
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 wxCommandEvent_SetExtraLong(_arg0
,_arg1
);
996 wxPy_END_ALLOW_THREADS
;
997 } Py_INCREF(Py_None
);
998 _resultobj
= Py_None
;
1002 #define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1003 static PyObject
*_wrap_wxCommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
* _resultobj
;
1005 wxCommandEvent
* _arg0
;
1007 PyObject
* _argo0
= 0;
1008 char *_kwnames
[] = { "self","i", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCommandEvent_SetInt",_kwnames
,&_argo0
,&_arg1
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 wxCommandEvent_SetInt(_arg0
,_arg1
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } Py_INCREF(Py_None
);
1026 _resultobj
= Py_None
;
1030 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1032 wxCommandEvent
*dest
;
1033 src
= (wxScrollEvent
*) ptr
;
1034 dest
= (wxCommandEvent
*) src
;
1035 return (void *) dest
;
1038 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1041 src
= (wxScrollEvent
*) ptr
;
1042 dest
= (wxEvent
*) src
;
1043 return (void *) dest
;
1046 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1047 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1049 wxScrollEvent
* _result
;
1050 int _arg0
= (int ) 0;
1051 int _arg1
= (int ) 0;
1052 int _arg2
= (int ) 0;
1053 int _arg3
= (int ) 0;
1054 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1064 wxPy_END_ALLOW_THREADS
;
1066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1067 _resultobj
= Py_BuildValue("s",_ptemp
);
1070 _resultobj
= Py_None
;
1075 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1076 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
* _resultobj
;
1079 wxScrollEvent
* _arg0
;
1080 PyObject
* _argo0
= 0;
1081 char *_kwnames
[] = { "self", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1097 wxPy_END_ALLOW_THREADS
;
1098 } _resultobj
= Py_BuildValue("i",_result
);
1102 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1103 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1106 wxScrollEvent
* _arg0
;
1107 PyObject
* _argo0
= 0;
1108 char *_kwnames
[] = { "self", NULL
};
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1121 wxPy_BEGIN_ALLOW_THREADS
;
1122 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1124 wxPy_END_ALLOW_THREADS
;
1125 } _resultobj
= Py_BuildValue("i",_result
);
1129 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1130 wxScrollWinEvent
*src
;
1132 src
= (wxScrollWinEvent
*) ptr
;
1133 dest
= (wxEvent
*) src
;
1134 return (void *) dest
;
1137 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1138 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1140 wxScrollWinEvent
* _result
;
1141 int _arg0
= (int ) 0;
1142 int _arg1
= (int ) 0;
1143 int _arg2
= (int ) 0;
1144 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1154 wxPy_END_ALLOW_THREADS
;
1156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1157 _resultobj
= Py_BuildValue("s",_ptemp
);
1160 _resultobj
= Py_None
;
1165 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1166 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1169 wxScrollWinEvent
* _arg0
;
1170 PyObject
* _argo0
= 0;
1171 char *_kwnames
[] = { "self", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1187 wxPy_END_ALLOW_THREADS
;
1188 } _resultobj
= Py_BuildValue("i",_result
);
1192 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1193 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1196 wxScrollWinEvent
* _arg0
;
1197 PyObject
* _argo0
= 0;
1198 char *_kwnames
[] = { "self", NULL
};
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1211 wxPy_BEGIN_ALLOW_THREADS
;
1212 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1214 wxPy_END_ALLOW_THREADS
;
1215 } _resultobj
= Py_BuildValue("i",_result
);
1219 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1221 wxScrollEvent
*dest
;
1222 src
= (wxSpinEvent
*) ptr
;
1223 dest
= (wxScrollEvent
*) src
;
1224 return (void *) dest
;
1227 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1229 wxCommandEvent
*dest
;
1230 src
= (wxSpinEvent
*) ptr
;
1231 dest
= (wxCommandEvent
*) src
;
1232 return (void *) dest
;
1235 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1238 src
= (wxSpinEvent
*) ptr
;
1239 dest
= (wxEvent
*) src
;
1240 return (void *) dest
;
1243 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1244 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
* _resultobj
;
1246 wxSpinEvent
* _result
;
1247 int _arg0
= (int ) 0;
1248 int _arg1
= (int ) 0;
1249 char *_kwnames
[] = { "commandType","id", NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1259 wxPy_END_ALLOW_THREADS
;
1261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1262 _resultobj
= Py_BuildValue("s",_ptemp
);
1265 _resultobj
= Py_None
;
1270 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1273 src
= (wxMouseEvent
*) ptr
;
1274 dest
= (wxEvent
*) src
;
1275 return (void *) dest
;
1278 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1279 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1281 wxMouseEvent
* _result
;
1282 int _arg0
= (int ) 0;
1283 char *_kwnames
[] = { "mouseEventType", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1293 wxPy_END_ALLOW_THREADS
;
1295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1296 _resultobj
= Py_BuildValue("s",_ptemp
);
1299 _resultobj
= Py_None
;
1304 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1305 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
* _resultobj
;
1308 wxMouseEvent
* _arg0
;
1309 PyObject
* _argo0
= 0;
1310 char *_kwnames
[] = { "self", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1323 wxPy_BEGIN_ALLOW_THREADS
;
1324 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1326 wxPy_END_ALLOW_THREADS
;
1327 } _resultobj
= Py_BuildValue("i",_result
);
1331 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1332 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1335 wxMouseEvent
* _arg0
;
1336 int _arg1
= (int ) -1;
1337 PyObject
* _argo0
= 0;
1338 char *_kwnames
[] = { "self","but", NULL
};
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1354 wxPy_END_ALLOW_THREADS
;
1355 } _resultobj
= Py_BuildValue("i",_result
);
1359 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1360 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1363 wxMouseEvent
* _arg0
;
1364 int _arg1
= (int ) -1;
1365 PyObject
* _argo0
= 0;
1366 char *_kwnames
[] = { "self","but", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1382 wxPy_END_ALLOW_THREADS
;
1383 } _resultobj
= Py_BuildValue("i",_result
);
1387 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1388 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1391 wxMouseEvent
* _arg0
;
1392 int _arg1
= (int ) -1;
1393 PyObject
* _argo0
= 0;
1394 char *_kwnames
[] = { "self","but", NULL
};
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1407 wxPy_BEGIN_ALLOW_THREADS
;
1408 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1410 wxPy_END_ALLOW_THREADS
;
1411 } _resultobj
= Py_BuildValue("i",_result
);
1415 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1416 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1419 wxMouseEvent
* _arg0
;
1421 PyObject
* _argo0
= 0;
1422 char *_kwnames
[] = { "self","but", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1435 wxPy_BEGIN_ALLOW_THREADS
;
1436 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1438 wxPy_END_ALLOW_THREADS
;
1439 } _resultobj
= Py_BuildValue("i",_result
);
1443 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1444 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1447 wxMouseEvent
* _arg0
;
1449 PyObject
* _argo0
= 0;
1450 char *_kwnames
[] = { "self","but", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1463 wxPy_BEGIN_ALLOW_THREADS
;
1464 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1466 wxPy_END_ALLOW_THREADS
;
1467 } _resultobj
= Py_BuildValue("i",_result
);
1471 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1472 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1475 wxMouseEvent
* _arg0
;
1476 PyObject
* _argo0
= 0;
1477 char *_kwnames
[] = { "self", NULL
};
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1490 wxPy_BEGIN_ALLOW_THREADS
;
1491 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1493 wxPy_END_ALLOW_THREADS
;
1494 } _resultobj
= Py_BuildValue("i",_result
);
1498 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1499 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
* _resultobj
;
1502 wxMouseEvent
* _arg0
;
1503 PyObject
* _argo0
= 0;
1504 char *_kwnames
[] = { "self", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1517 wxPy_BEGIN_ALLOW_THREADS
;
1518 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1520 wxPy_END_ALLOW_THREADS
;
1521 } _resultobj
= Py_BuildValue("i",_result
);
1525 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1526 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1529 wxMouseEvent
* _arg0
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1544 wxPy_BEGIN_ALLOW_THREADS
;
1545 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1547 wxPy_END_ALLOW_THREADS
;
1548 } _resultobj
= Py_BuildValue("i",_result
);
1552 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1553 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
* _resultobj
;
1556 wxMouseEvent
* _arg0
;
1557 PyObject
* _argo0
= 0;
1558 char *_kwnames
[] = { "self", NULL
};
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1571 wxPy_BEGIN_ALLOW_THREADS
;
1572 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1574 wxPy_END_ALLOW_THREADS
;
1575 } _resultobj
= Py_BuildValue("i",_result
);
1579 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1580 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1583 wxMouseEvent
* _arg0
;
1584 PyObject
* _argo0
= 0;
1585 char *_kwnames
[] = { "self", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1601 wxPy_END_ALLOW_THREADS
;
1602 } _resultobj
= Py_BuildValue("i",_result
);
1606 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1607 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1610 wxMouseEvent
* _arg0
;
1611 PyObject
* _argo0
= 0;
1612 char *_kwnames
[] = { "self", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1625 wxPy_BEGIN_ALLOW_THREADS
;
1626 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1628 wxPy_END_ALLOW_THREADS
;
1629 } _resultobj
= Py_BuildValue("i",_result
);
1633 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1634 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1637 wxMouseEvent
* _arg0
;
1638 PyObject
* _argo0
= 0;
1639 char *_kwnames
[] = { "self", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1655 wxPy_END_ALLOW_THREADS
;
1656 } _resultobj
= Py_BuildValue("i",_result
);
1660 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1661 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1664 wxMouseEvent
* _arg0
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "self", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1682 wxPy_END_ALLOW_THREADS
;
1683 } _resultobj
= Py_BuildValue("i",_result
);
1687 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1688 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1691 wxMouseEvent
* _arg0
;
1692 PyObject
* _argo0
= 0;
1693 char *_kwnames
[] = { "self", NULL
};
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1706 wxPy_BEGIN_ALLOW_THREADS
;
1707 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1709 wxPy_END_ALLOW_THREADS
;
1710 } _resultobj
= Py_BuildValue("i",_result
);
1714 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1715 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1718 wxMouseEvent
* _arg0
;
1719 PyObject
* _argo0
= 0;
1720 char *_kwnames
[] = { "self", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1733 wxPy_BEGIN_ALLOW_THREADS
;
1734 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1736 wxPy_END_ALLOW_THREADS
;
1737 } _resultobj
= Py_BuildValue("i",_result
);
1741 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1742 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1745 wxMouseEvent
* _arg0
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1763 wxPy_END_ALLOW_THREADS
;
1764 } _resultobj
= Py_BuildValue("i",_result
);
1768 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1769 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1772 wxMouseEvent
* _arg0
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1790 wxPy_END_ALLOW_THREADS
;
1791 } _resultobj
= Py_BuildValue("i",_result
);
1795 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1796 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1799 wxMouseEvent
* _arg0
;
1800 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1817 wxPy_END_ALLOW_THREADS
;
1818 } _resultobj
= Py_BuildValue("i",_result
);
1822 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1823 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1826 wxMouseEvent
* _arg0
;
1827 PyObject
* _argo0
= 0;
1828 char *_kwnames
[] = { "self", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1841 wxPy_BEGIN_ALLOW_THREADS
;
1842 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1844 wxPy_END_ALLOW_THREADS
;
1845 } _resultobj
= Py_BuildValue("i",_result
);
1849 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1850 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1853 wxMouseEvent
* _arg0
;
1854 PyObject
* _argo0
= 0;
1855 char *_kwnames
[] = { "self", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
1861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1868 wxPy_BEGIN_ALLOW_THREADS
;
1869 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1871 wxPy_END_ALLOW_THREADS
;
1872 } _resultobj
= Py_BuildValue("i",_result
);
1876 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1877 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1880 wxMouseEvent
* _arg0
;
1881 PyObject
* _argo0
= 0;
1882 char *_kwnames
[] = { "self", NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
1888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1895 wxPy_BEGIN_ALLOW_THREADS
;
1896 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1898 wxPy_END_ALLOW_THREADS
;
1899 } _resultobj
= Py_BuildValue("i",_result
);
1903 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1904 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1907 wxMouseEvent
* _arg0
;
1908 PyObject
* _argo0
= 0;
1909 char *_kwnames
[] = { "self", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
1915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1922 wxPy_BEGIN_ALLOW_THREADS
;
1923 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1925 wxPy_END_ALLOW_THREADS
;
1926 } _resultobj
= Py_BuildValue("i",_result
);
1930 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1931 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1934 wxMouseEvent
* _arg0
;
1935 PyObject
* _argo0
= 0;
1936 char *_kwnames
[] = { "self", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1952 wxPy_END_ALLOW_THREADS
;
1953 } _resultobj
= Py_BuildValue("i",_result
);
1957 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1958 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1961 wxMouseEvent
* _arg0
;
1962 PyObject
* _argo0
= 0;
1963 char *_kwnames
[] = { "self", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 _result
= (bool )wxMouseEvent_Entering(_arg0
);
1979 wxPy_END_ALLOW_THREADS
;
1980 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1985 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1988 wxMouseEvent
* _arg0
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 } _resultobj
= Py_BuildValue("i",_result
);
2011 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2012 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2015 wxMouseEvent
* _arg0
;
2016 PyObject
* _argo0
= 0;
2017 char *_kwnames
[] = { "self", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2034 wxPy_END_ALLOW_THREADS
;
2035 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2036 _resultobj
= Py_BuildValue("s",_ptemp
);
2040 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2041 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2043 wxMouseEvent
* _arg0
;
2048 PyObject
* _argo0
= 0;
2049 char *_kwnames
[] = { "self", NULL
};
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
2061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2068 wxPy_BEGIN_ALLOW_THREADS
;
2069 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2071 wxPy_END_ALLOW_THREADS
;
2072 } Py_INCREF(Py_None
);
2073 _resultobj
= Py_None
;
2076 o
= PyInt_FromLong((long) (*_arg1
));
2077 _resultobj
= t_output_helper(_resultobj
, o
);
2081 o
= PyInt_FromLong((long) (*_arg2
));
2082 _resultobj
= t_output_helper(_resultobj
, o
);
2087 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2088 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2091 wxMouseEvent
* _arg0
;
2093 PyObject
* _argo0
= 0;
2094 PyObject
* _argo1
= 0;
2095 char *_kwnames
[] = { "self","dc", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2119 wxPy_END_ALLOW_THREADS
;
2120 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2121 _resultobj
= Py_BuildValue("s",_ptemp
);
2125 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2126 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2129 wxMouseEvent
* _arg0
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 _result
= (long )wxMouseEvent_GetX(_arg0
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } _resultobj
= Py_BuildValue("l",_result
);
2152 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2153 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2156 wxMouseEvent
* _arg0
;
2157 PyObject
* _argo0
= 0;
2158 char *_kwnames
[] = { "self", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 _result
= (long )wxMouseEvent_GetY(_arg0
);
2174 wxPy_END_ALLOW_THREADS
;
2175 } _resultobj
= Py_BuildValue("l",_result
);
2179 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
2182 src
= (wxKeyEvent
*) ptr
;
2183 dest
= (wxEvent
*) src
;
2184 return (void *) dest
;
2187 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
2188 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2190 wxKeyEvent
* _result
;
2192 char *_kwnames
[] = { "keyEventType", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
2199 wxPy_BEGIN_ALLOW_THREADS
;
2200 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
2202 wxPy_END_ALLOW_THREADS
;
2204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
2205 _resultobj
= Py_BuildValue("s",_ptemp
);
2208 _resultobj
= Py_None
;
2213 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
2214 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2218 PyObject
* _argo0
= 0;
2219 char *_kwnames
[] = { "self", NULL
};
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
2225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
2232 wxPy_BEGIN_ALLOW_THREADS
;
2233 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
2235 wxPy_END_ALLOW_THREADS
;
2236 } _resultobj
= Py_BuildValue("i",_result
);
2240 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
2241 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2245 PyObject
* _argo0
= 0;
2246 char *_kwnames
[] = { "self", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
2262 wxPy_END_ALLOW_THREADS
;
2263 } _resultobj
= Py_BuildValue("i",_result
);
2267 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
2268 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2272 PyObject
* _argo0
= 0;
2273 char *_kwnames
[] = { "self", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
2279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
2286 wxPy_BEGIN_ALLOW_THREADS
;
2287 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
2289 wxPy_END_ALLOW_THREADS
;
2290 } _resultobj
= Py_BuildValue("i",_result
);
2294 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
2295 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2299 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
2316 wxPy_END_ALLOW_THREADS
;
2317 } _resultobj
= Py_BuildValue("i",_result
);
2321 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
2322 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2326 PyObject
* _argo0
= 0;
2327 char *_kwnames
[] = { "self", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
2343 wxPy_END_ALLOW_THREADS
;
2344 } _resultobj
= Py_BuildValue("l",_result
);
2348 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
2349 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2353 PyObject
* _argo0
= 0;
2354 char *_kwnames
[] = { "self", NULL
};
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
2360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 _result
= (long )wxKeyEvent_GetX(_arg0
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } _resultobj
= Py_BuildValue("l",_result
);
2375 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
2376 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2380 PyObject
* _argo0
= 0;
2381 char *_kwnames
[] = { "self", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
2394 wxPy_BEGIN_ALLOW_THREADS
;
2395 _result
= (long )wxKeyEvent_GetY(_arg0
);
2397 wxPy_END_ALLOW_THREADS
;
2398 } _resultobj
= Py_BuildValue("l",_result
);
2402 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2403 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
* _resultobj
;
2407 PyObject
* _argo0
= 0;
2408 char *_kwnames
[] = { "self", NULL
};
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
2415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
2425 wxPy_END_ALLOW_THREADS
;
2426 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2427 _resultobj
= Py_BuildValue("s",_ptemp
);
2431 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2432 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2439 PyObject
* _argo0
= 0;
2440 char *_kwnames
[] = { "self", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
2452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
2459 wxPy_BEGIN_ALLOW_THREADS
;
2460 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2462 wxPy_END_ALLOW_THREADS
;
2463 } Py_INCREF(Py_None
);
2464 _resultobj
= Py_None
;
2467 o
= PyInt_FromLong((long) (*_arg1
));
2468 _resultobj
= t_output_helper(_resultobj
, o
);
2472 o
= PyInt_FromLong((long) (*_arg2
));
2473 _resultobj
= t_output_helper(_resultobj
, o
);
2478 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
2479 wxNavigationKeyEvent
*src
;
2481 src
= (wxNavigationKeyEvent
*) ptr
;
2482 dest
= (wxEvent
*) src
;
2483 return (void *) dest
;
2486 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
2487 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2489 wxNavigationKeyEvent
* _result
;
2490 char *_kwnames
[] = { NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
2497 wxPy_BEGIN_ALLOW_THREADS
;
2498 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
2500 wxPy_END_ALLOW_THREADS
;
2502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
2503 _resultobj
= Py_BuildValue("s",_ptemp
);
2506 _resultobj
= Py_None
;
2511 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
2512 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
* _resultobj
;
2515 wxNavigationKeyEvent
* _arg0
;
2516 PyObject
* _argo0
= 0;
2517 char *_kwnames
[] = { "self", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
2530 wxPy_BEGIN_ALLOW_THREADS
;
2531 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
2533 wxPy_END_ALLOW_THREADS
;
2534 } _resultobj
= Py_BuildValue("i",_result
);
2538 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
2539 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2541 wxNavigationKeyEvent
* _arg0
;
2543 PyObject
* _argo0
= 0;
2545 char *_kwnames
[] = { "self","bForward", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
2551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
2557 _arg1
= (bool ) tempbool1
;
2559 wxPy_BEGIN_ALLOW_THREADS
;
2560 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
2562 wxPy_END_ALLOW_THREADS
;
2563 } Py_INCREF(Py_None
);
2564 _resultobj
= Py_None
;
2568 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
2569 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2572 wxNavigationKeyEvent
* _arg0
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
2587 wxPy_BEGIN_ALLOW_THREADS
;
2588 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
2590 wxPy_END_ALLOW_THREADS
;
2591 } _resultobj
= Py_BuildValue("i",_result
);
2595 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
2596 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2598 wxNavigationKeyEvent
* _arg0
;
2600 PyObject
* _argo0
= 0;
2602 char *_kwnames
[] = { "self","bIs", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
2608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
2614 _arg1
= (bool ) tempbool1
;
2616 wxPy_BEGIN_ALLOW_THREADS
;
2617 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
2619 wxPy_END_ALLOW_THREADS
;
2620 } Py_INCREF(Py_None
);
2621 _resultobj
= Py_None
;
2625 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
2626 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
* _resultobj
;
2629 wxNavigationKeyEvent
* _arg0
;
2630 PyObject
* _argo0
= 0;
2631 char *_kwnames
[] = { "self", NULL
};
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
2638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
2645 wxPy_BEGIN_ALLOW_THREADS
;
2646 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
2648 wxPy_END_ALLOW_THREADS
;
2650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2651 _resultobj
= Py_BuildValue("s",_ptemp
);
2654 _resultobj
= Py_None
;
2659 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
2660 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2662 wxNavigationKeyEvent
* _arg0
;
2664 PyObject
* _argo0
= 0;
2665 PyObject
* _argo1
= 0;
2666 char *_kwnames
[] = { "self","win", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
2679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
2686 wxPy_BEGIN_ALLOW_THREADS
;
2687 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
2689 wxPy_END_ALLOW_THREADS
;
2690 } Py_INCREF(Py_None
);
2691 _resultobj
= Py_None
;
2695 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
2698 src
= (wxMoveEvent
*) ptr
;
2699 dest
= (wxEvent
*) src
;
2700 return (void *) dest
;
2703 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
2704 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2706 wxMoveEvent
* _result
;
2708 int _arg1
= (int ) 0;
2710 PyObject
* _obj0
= 0;
2711 char *_kwnames
[] = { "pt","id", NULL
};
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
2719 if (! wxPoint_helper(_obj0
, &_arg0
))
2723 wxPy_BEGIN_ALLOW_THREADS
;
2724 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
2726 wxPy_END_ALLOW_THREADS
;
2728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
2729 _resultobj
= Py_BuildValue("s",_ptemp
);
2732 _resultobj
= Py_None
;
2737 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2738 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2741 wxMoveEvent
* _arg0
;
2742 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self", NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
2750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
2752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
2757 wxPy_BEGIN_ALLOW_THREADS
;
2758 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
2760 wxPy_END_ALLOW_THREADS
;
2761 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2762 _resultobj
= Py_BuildValue("s",_ptemp
);
2766 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
2769 src
= (wxPaintEvent
*) ptr
;
2770 dest
= (wxEvent
*) src
;
2771 return (void *) dest
;
2774 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
2775 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2777 wxPaintEvent
* _result
;
2778 int _arg0
= (int ) 0;
2779 char *_kwnames
[] = { "id", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
2786 wxPy_BEGIN_ALLOW_THREADS
;
2787 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
2789 wxPy_END_ALLOW_THREADS
;
2791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
2792 _resultobj
= Py_BuildValue("s",_ptemp
);
2795 _resultobj
= Py_None
;
2800 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
2803 src
= (wxEraseEvent
*) ptr
;
2804 dest
= (wxEvent
*) src
;
2805 return (void *) dest
;
2808 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
2809 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
* _resultobj
;
2811 wxEraseEvent
* _result
;
2812 int _arg0
= (int ) 0;
2813 wxDC
* _arg1
= (wxDC
*) NULL
;
2814 PyObject
* _argo1
= 0;
2815 char *_kwnames
[] = { "id","dc", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
2822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
2829 wxPy_BEGIN_ALLOW_THREADS
;
2830 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
2832 wxPy_END_ALLOW_THREADS
;
2834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
2835 _resultobj
= Py_BuildValue("s",_ptemp
);
2838 _resultobj
= Py_None
;
2843 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
2844 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2847 wxEraseEvent
* _arg0
;
2848 PyObject
* _argo0
= 0;
2849 char *_kwnames
[] = { "self", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
2856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
2866 wxPy_END_ALLOW_THREADS
;
2868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2869 _resultobj
= Py_BuildValue("s",_ptemp
);
2872 _resultobj
= Py_None
;
2877 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
2880 src
= (wxFocusEvent
*) ptr
;
2881 dest
= (wxEvent
*) src
;
2882 return (void *) dest
;
2885 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
2886 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2888 wxFocusEvent
* _result
;
2889 WXTYPE _arg0
= (WXTYPE
) 0;
2890 int _arg1
= (int ) 0;
2891 char *_kwnames
[] = { "eventType","id", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
2898 wxPy_BEGIN_ALLOW_THREADS
;
2899 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
2901 wxPy_END_ALLOW_THREADS
;
2903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
2904 _resultobj
= Py_BuildValue("s",_ptemp
);
2907 _resultobj
= Py_None
;
2912 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
2913 wxActivateEvent
*src
;
2915 src
= (wxActivateEvent
*) ptr
;
2916 dest
= (wxEvent
*) src
;
2917 return (void *) dest
;
2920 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
2921 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2923 wxActivateEvent
* _result
;
2924 WXTYPE _arg0
= (WXTYPE
) 0;
2925 int _arg1
= (int ) TRUE
;
2926 int _arg2
= (int ) 0;
2927 char *_kwnames
[] = { "eventType","active","id", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2934 wxPy_BEGIN_ALLOW_THREADS
;
2935 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
2937 wxPy_END_ALLOW_THREADS
;
2939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
2940 _resultobj
= Py_BuildValue("s",_ptemp
);
2943 _resultobj
= Py_None
;
2948 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
2949 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
* _resultobj
;
2952 wxActivateEvent
* _arg0
;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
2967 wxPy_BEGIN_ALLOW_THREADS
;
2968 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
2970 wxPy_END_ALLOW_THREADS
;
2971 } _resultobj
= Py_BuildValue("i",_result
);
2975 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
2976 wxInitDialogEvent
*src
;
2978 src
= (wxInitDialogEvent
*) ptr
;
2979 dest
= (wxEvent
*) src
;
2980 return (void *) dest
;
2983 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
2984 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2986 wxInitDialogEvent
* _result
;
2987 int _arg0
= (int ) 0;
2988 char *_kwnames
[] = { "id", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
2995 wxPy_BEGIN_ALLOW_THREADS
;
2996 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
2998 wxPy_END_ALLOW_THREADS
;
3000 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
3001 _resultobj
= Py_BuildValue("s",_ptemp
);
3004 _resultobj
= Py_None
;
3009 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
3012 src
= (wxMenuEvent
*) ptr
;
3013 dest
= (wxEvent
*) src
;
3014 return (void *) dest
;
3017 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
3018 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3020 wxMenuEvent
* _result
;
3021 WXTYPE _arg0
= (WXTYPE
) 0;
3022 int _arg1
= (int ) 0;
3023 char *_kwnames
[] = { "id","id", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
3033 wxPy_END_ALLOW_THREADS
;
3035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
3036 _resultobj
= Py_BuildValue("s",_ptemp
);
3039 _resultobj
= Py_None
;
3044 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
3045 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3048 wxMenuEvent
* _arg0
;
3049 PyObject
* _argo0
= 0;
3050 char *_kwnames
[] = { "self", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
3063 wxPy_BEGIN_ALLOW_THREADS
;
3064 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
3066 wxPy_END_ALLOW_THREADS
;
3067 } _resultobj
= Py_BuildValue("i",_result
);
3071 static void *SwigwxShowEventTowxEvent(void *ptr
) {
3074 src
= (wxShowEvent
*) ptr
;
3075 dest
= (wxEvent
*) src
;
3076 return (void *) dest
;
3079 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
3080 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3082 wxShowEvent
* _result
;
3083 int _arg0
= (int ) 0;
3084 int _arg1
= (int ) FALSE
;
3085 char *_kwnames
[] = { "id","show", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
3092 wxPy_BEGIN_ALLOW_THREADS
;
3093 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
3095 wxPy_END_ALLOW_THREADS
;
3097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
3098 _resultobj
= Py_BuildValue("s",_ptemp
);
3101 _resultobj
= Py_None
;
3106 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
3107 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3109 wxShowEvent
* _arg0
;
3111 PyObject
* _argo0
= 0;
3113 char *_kwnames
[] = { "self","show", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
3125 _arg1
= (bool ) tempbool1
;
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 wxShowEvent_SetShow(_arg0
,_arg1
);
3130 wxPy_END_ALLOW_THREADS
;
3131 } Py_INCREF(Py_None
);
3132 _resultobj
= Py_None
;
3136 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
3137 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3140 wxShowEvent
* _arg0
;
3141 PyObject
* _argo0
= 0;
3142 char *_kwnames
[] = { "self", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
3155 wxPy_BEGIN_ALLOW_THREADS
;
3156 _result
= (bool )wxShowEvent_GetShow(_arg0
);
3158 wxPy_END_ALLOW_THREADS
;
3159 } _resultobj
= Py_BuildValue("i",_result
);
3163 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
3164 wxIconizeEvent
*src
;
3166 src
= (wxIconizeEvent
*) ptr
;
3167 dest
= (wxEvent
*) src
;
3168 return (void *) dest
;
3171 #define new_wxIconizeEvent(_swigarg0) (new wxIconizeEvent(_swigarg0))
3172 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3174 wxIconizeEvent
* _result
;
3175 int _arg0
= (int ) 0;
3176 char *_kwnames
[] = { "id", NULL
};
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxIconizeEvent",_kwnames
,&_arg0
))
3183 wxPy_BEGIN_ALLOW_THREADS
;
3184 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
);
3186 wxPy_END_ALLOW_THREADS
;
3188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
3189 _resultobj
= Py_BuildValue("s",_ptemp
);
3192 _resultobj
= Py_None
;
3197 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
3198 wxMaximizeEvent
*src
;
3200 src
= (wxMaximizeEvent
*) ptr
;
3201 dest
= (wxEvent
*) src
;
3202 return (void *) dest
;
3205 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
3206 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3208 wxMaximizeEvent
* _result
;
3209 int _arg0
= (int ) 0;
3210 char *_kwnames
[] = { "id", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
3217 wxPy_BEGIN_ALLOW_THREADS
;
3218 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
3220 wxPy_END_ALLOW_THREADS
;
3222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
3223 _resultobj
= Py_BuildValue("s",_ptemp
);
3226 _resultobj
= Py_None
;
3231 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
3232 wxJoystickEvent
*src
;
3234 src
= (wxJoystickEvent
*) ptr
;
3235 dest
= (wxEvent
*) src
;
3236 return (void *) dest
;
3239 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3240 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3242 wxJoystickEvent
* _result
;
3243 int _arg0
= (int ) wxEVT_NULL
;
3244 int _arg1
= (int ) 0;
3245 int _arg2
= (int ) wxJOYSTICK1
;
3246 int _arg3
= (int ) 0;
3247 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3254 wxPy_BEGIN_ALLOW_THREADS
;
3255 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
3257 wxPy_END_ALLOW_THREADS
;
3259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
3260 _resultobj
= Py_BuildValue("s",_ptemp
);
3263 _resultobj
= Py_None
;
3268 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3269 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3272 wxJoystickEvent
* _arg0
;
3273 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
3288 wxPy_BEGIN_ALLOW_THREADS
;
3289 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
3291 wxPy_END_ALLOW_THREADS
;
3292 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3293 _resultobj
= Py_BuildValue("s",_ptemp
);
3297 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
3298 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3301 wxJoystickEvent
* _arg0
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
3319 wxPy_END_ALLOW_THREADS
;
3320 } _resultobj
= Py_BuildValue("i",_result
);
3324 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
3325 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3328 wxJoystickEvent
* _arg0
;
3329 PyObject
* _argo0
= 0;
3330 char *_kwnames
[] = { "self", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } _resultobj
= Py_BuildValue("i",_result
);
3351 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
3352 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3355 wxJoystickEvent
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
3379 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3382 wxJoystickEvent
* _arg0
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
3397 wxPy_BEGIN_ALLOW_THREADS
;
3398 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
3400 wxPy_END_ALLOW_THREADS
;
3401 } _resultobj
= Py_BuildValue("i",_result
);
3405 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
3406 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3408 wxJoystickEvent
* _arg0
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self","stick", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
3417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
3424 wxPy_BEGIN_ALLOW_THREADS
;
3425 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
3427 wxPy_END_ALLOW_THREADS
;
3428 } Py_INCREF(Py_None
);
3429 _resultobj
= Py_None
;
3433 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
3434 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
* _resultobj
;
3436 wxJoystickEvent
* _arg0
;
3438 PyObject
* _argo0
= 0;
3439 char *_kwnames
[] = { "self","state", NULL
};
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
3445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
3452 wxPy_BEGIN_ALLOW_THREADS
;
3453 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
3455 wxPy_END_ALLOW_THREADS
;
3456 } Py_INCREF(Py_None
);
3457 _resultobj
= Py_None
;
3461 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
3462 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
* _resultobj
;
3464 wxJoystickEvent
* _arg0
;
3466 PyObject
* _argo0
= 0;
3467 char *_kwnames
[] = { "self","change", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
3480 wxPy_BEGIN_ALLOW_THREADS
;
3481 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
3483 wxPy_END_ALLOW_THREADS
;
3484 } Py_INCREF(Py_None
);
3485 _resultobj
= Py_None
;
3489 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
3490 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3492 wxJoystickEvent
* _arg0
;
3494 PyObject
* _argo0
= 0;
3496 PyObject
* _obj1
= 0;
3497 char *_kwnames
[] = { "self","pos", NULL
};
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
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_SetPosition. Expected _wxJoystickEvent_p.");
3511 if (! wxPoint_helper(_obj1
, &_arg1
))
3515 wxPy_BEGIN_ALLOW_THREADS
;
3516 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
3518 wxPy_END_ALLOW_THREADS
;
3519 } Py_INCREF(Py_None
);
3520 _resultobj
= Py_None
;
3524 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
3525 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
* _resultobj
;
3527 wxJoystickEvent
* _arg0
;
3529 PyObject
* _argo0
= 0;
3530 char *_kwnames
[] = { "self","zPos", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
3536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
3543 wxPy_BEGIN_ALLOW_THREADS
;
3544 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
3546 wxPy_END_ALLOW_THREADS
;
3547 } Py_INCREF(Py_None
);
3548 _resultobj
= Py_None
;
3552 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
3553 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3556 wxJoystickEvent
* _arg0
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
3571 wxPy_BEGIN_ALLOW_THREADS
;
3572 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
3574 wxPy_END_ALLOW_THREADS
;
3575 } _resultobj
= Py_BuildValue("i",_result
);
3579 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
3580 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3583 wxJoystickEvent
* _arg0
;
3584 PyObject
* _argo0
= 0;
3585 char *_kwnames
[] = { "self", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
3598 wxPy_BEGIN_ALLOW_THREADS
;
3599 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
3601 wxPy_END_ALLOW_THREADS
;
3602 } _resultobj
= Py_BuildValue("i",_result
);
3606 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
3607 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
* _resultobj
;
3610 wxJoystickEvent
* _arg0
;
3611 PyObject
* _argo0
= 0;
3612 char *_kwnames
[] = { "self", NULL
};
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
3618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
3625 wxPy_BEGIN_ALLOW_THREADS
;
3626 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
3628 wxPy_END_ALLOW_THREADS
;
3629 } _resultobj
= Py_BuildValue("i",_result
);
3633 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
3634 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3637 wxJoystickEvent
* _arg0
;
3638 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
3639 PyObject
* _argo0
= 0;
3640 char *_kwnames
[] = { "self","but", NULL
};
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
3646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
3656 wxPy_END_ALLOW_THREADS
;
3657 } _resultobj
= Py_BuildValue("i",_result
);
3661 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
3662 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
* _resultobj
;
3665 wxJoystickEvent
* _arg0
;
3666 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
3667 PyObject
* _argo0
= 0;
3668 char *_kwnames
[] = { "self","but", NULL
};
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
3674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
3681 wxPy_BEGIN_ALLOW_THREADS
;
3682 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
3684 wxPy_END_ALLOW_THREADS
;
3685 } _resultobj
= Py_BuildValue("i",_result
);
3689 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
3690 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3693 wxJoystickEvent
* _arg0
;
3694 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
3695 PyObject
* _argo0
= 0;
3696 char *_kwnames
[] = { "self","but", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
3709 wxPy_BEGIN_ALLOW_THREADS
;
3710 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
3712 wxPy_END_ALLOW_THREADS
;
3713 } _resultobj
= Py_BuildValue("i",_result
);
3717 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
3718 wxDropFilesEvent
*src
;
3720 src
= (wxDropFilesEvent
*) ptr
;
3721 dest
= (wxEvent
*) src
;
3722 return (void *) dest
;
3725 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3726 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3729 wxDropFilesEvent
* _arg0
;
3730 PyObject
* _argo0
= 0;
3731 char *_kwnames
[] = { "self", NULL
};
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
3738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
3745 wxPy_BEGIN_ALLOW_THREADS
;
3746 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
3748 wxPy_END_ALLOW_THREADS
;
3749 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3750 _resultobj
= Py_BuildValue("s",_ptemp
);
3754 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
3755 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3758 wxDropFilesEvent
* _arg0
;
3759 PyObject
* _argo0
= 0;
3760 char *_kwnames
[] = { "self", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
3773 wxPy_BEGIN_ALLOW_THREADS
;
3774 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
3776 wxPy_END_ALLOW_THREADS
;
3777 } _resultobj
= Py_BuildValue("i",_result
);
3781 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
3782 int count
= self
->GetNumberOfFiles();
3783 wxString
* files
= self
->GetFiles();
3784 PyObject
* list
= PyList_New(count
);
3787 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3791 for (int i
=0; i
<count
; i
++) {
3792 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
3796 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
* _resultobj
;
3799 wxDropFilesEvent
* _arg0
;
3800 PyObject
* _argo0
= 0;
3801 char *_kwnames
[] = { "self", NULL
};
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
3807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
3814 wxPy_BEGIN_ALLOW_THREADS
;
3815 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
3817 wxPy_END_ALLOW_THREADS
;
3819 _resultobj
= _result
;
3824 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
3827 src
= (wxIdleEvent
*) ptr
;
3828 dest
= (wxEvent
*) src
;
3829 return (void *) dest
;
3832 #define new_wxIdleEvent() (new wxIdleEvent())
3833 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
* _resultobj
;
3835 wxIdleEvent
* _result
;
3836 char *_kwnames
[] = { NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
3843 wxPy_BEGIN_ALLOW_THREADS
;
3844 _result
= (wxIdleEvent
*)new_wxIdleEvent();
3846 wxPy_END_ALLOW_THREADS
;
3848 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
3849 _resultobj
= Py_BuildValue("s",_ptemp
);
3852 _resultobj
= Py_None
;
3857 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
3858 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3860 wxIdleEvent
* _arg0
;
3861 bool _arg1
= (bool ) TRUE
;
3862 PyObject
* _argo0
= 0;
3863 int tempbool1
= (int) TRUE
;
3864 char *_kwnames
[] = { "self","needMore", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
3876 _arg1
= (bool ) tempbool1
;
3878 wxPy_BEGIN_ALLOW_THREADS
;
3879 wxIdleEvent_RequestMore(_arg0
,_arg1
);
3881 wxPy_END_ALLOW_THREADS
;
3882 } Py_INCREF(Py_None
);
3883 _resultobj
= Py_None
;
3887 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
3888 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3891 wxIdleEvent
* _arg0
;
3892 PyObject
* _argo0
= 0;
3893 char *_kwnames
[] = { "self", NULL
};
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
3899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
3906 wxPy_BEGIN_ALLOW_THREADS
;
3907 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
3909 wxPy_END_ALLOW_THREADS
;
3910 } _resultobj
= Py_BuildValue("i",_result
);
3914 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
3915 wxUpdateUIEvent
*src
;
3917 src
= (wxUpdateUIEvent
*) ptr
;
3918 dest
= (wxEvent
*) src
;
3919 return (void *) dest
;
3922 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
3923 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3925 wxUpdateUIEvent
* _result
;
3926 wxWindowID _arg0
= (wxWindowID
) 0;
3927 char *_kwnames
[] = { "commandId", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
3934 wxPy_BEGIN_ALLOW_THREADS
;
3935 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
3937 wxPy_END_ALLOW_THREADS
;
3939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
3940 _resultobj
= Py_BuildValue("s",_ptemp
);
3943 _resultobj
= Py_None
;
3948 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
3949 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3952 wxUpdateUIEvent
* _arg0
;
3953 PyObject
* _argo0
= 0;
3954 char *_kwnames
[] = { "self", NULL
};
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
3960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
3967 wxPy_BEGIN_ALLOW_THREADS
;
3968 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
3970 wxPy_END_ALLOW_THREADS
;
3971 } _resultobj
= Py_BuildValue("i",_result
);
3975 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
3976 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3979 wxUpdateUIEvent
* _arg0
;
3980 PyObject
* _argo0
= 0;
3981 char *_kwnames
[] = { "self", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
3994 wxPy_BEGIN_ALLOW_THREADS
;
3995 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
3997 wxPy_END_ALLOW_THREADS
;
3998 } _resultobj
= Py_BuildValue("i",_result
);
4002 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
4003 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
* _resultobj
;
4006 wxUpdateUIEvent
* _arg0
;
4007 PyObject
* _argo0
= 0;
4008 char *_kwnames
[] = { "self", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
4021 wxPy_BEGIN_ALLOW_THREADS
;
4022 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
4024 wxPy_END_ALLOW_THREADS
;
4026 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4034 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
4035 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4038 wxUpdateUIEvent
* _arg0
;
4039 PyObject
* _argo0
= 0;
4040 char *_kwnames
[] = { "self", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
4053 wxPy_BEGIN_ALLOW_THREADS
;
4054 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
4056 wxPy_END_ALLOW_THREADS
;
4057 } _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
4062 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4065 wxUpdateUIEvent
* _arg0
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
4080 wxPy_BEGIN_ALLOW_THREADS
;
4081 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
4083 wxPy_END_ALLOW_THREADS
;
4084 } _resultobj
= Py_BuildValue("i",_result
);
4088 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
4089 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4092 wxUpdateUIEvent
* _arg0
;
4093 PyObject
* _argo0
= 0;
4094 char *_kwnames
[] = { "self", NULL
};
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
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_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
4107 wxPy_BEGIN_ALLOW_THREADS
;
4108 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
4110 wxPy_END_ALLOW_THREADS
;
4111 } _resultobj
= Py_BuildValue("i",_result
);
4115 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4116 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
* _resultobj
;
4118 wxUpdateUIEvent
* _arg0
;
4120 PyObject
* _argo0
= 0;
4122 char *_kwnames
[] = { "self","check", NULL
};
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
4128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
4134 _arg1
= (bool ) tempbool1
;
4136 wxPy_BEGIN_ALLOW_THREADS
;
4137 wxUpdateUIEvent_Check(_arg0
,_arg1
);
4139 wxPy_END_ALLOW_THREADS
;
4140 } Py_INCREF(Py_None
);
4141 _resultobj
= Py_None
;
4145 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4146 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
* _resultobj
;
4148 wxUpdateUIEvent
* _arg0
;
4150 PyObject
* _argo0
= 0;
4152 char *_kwnames
[] = { "self","enable", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
4164 _arg1
= (bool ) tempbool1
;
4166 wxPy_BEGIN_ALLOW_THREADS
;
4167 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
4169 wxPy_END_ALLOW_THREADS
;
4170 } Py_INCREF(Py_None
);
4171 _resultobj
= Py_None
;
4175 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
4176 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
* _resultobj
;
4178 wxUpdateUIEvent
* _arg0
;
4180 PyObject
* _argo0
= 0;
4181 PyObject
* _obj1
= 0;
4182 char *_kwnames
[] = { "self","text", NULL
};
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
4188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
4195 if (!PyString_Check(_obj1
)) {
4196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4199 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4202 wxPy_BEGIN_ALLOW_THREADS
;
4203 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
4205 wxPy_END_ALLOW_THREADS
;
4206 } Py_INCREF(Py_None
);
4207 _resultobj
= Py_None
;
4215 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
4216 wxSysColourChangedEvent
*src
;
4218 src
= (wxSysColourChangedEvent
*) ptr
;
4219 dest
= (wxEvent
*) src
;
4220 return (void *) dest
;
4223 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
4224 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4226 wxSysColourChangedEvent
* _result
;
4227 char *_kwnames
[] = { NULL
};
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
4234 wxPy_BEGIN_ALLOW_THREADS
;
4235 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
4237 wxPy_END_ALLOW_THREADS
;
4239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
4240 _resultobj
= Py_BuildValue("s",_ptemp
);
4243 _resultobj
= Py_None
;
4248 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
4250 wxCommandEvent
*dest
;
4251 src
= (wxNotifyEvent
*) ptr
;
4252 dest
= (wxCommandEvent
*) src
;
4253 return (void *) dest
;
4256 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
4259 src
= (wxNotifyEvent
*) ptr
;
4260 dest
= (wxEvent
*) src
;
4261 return (void *) dest
;
4264 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
4265 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4267 wxNotifyEvent
* _result
;
4268 int _arg0
= (int ) wxEVT_NULL
;
4269 int _arg1
= (int ) 0;
4270 char *_kwnames
[] = { "commandType","id", NULL
};
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
4280 wxPy_END_ALLOW_THREADS
;
4282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
4283 _resultobj
= Py_BuildValue("s",_ptemp
);
4286 _resultobj
= Py_None
;
4291 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
4292 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4295 wxNotifyEvent
* _arg0
;
4296 PyObject
* _argo0
= 0;
4297 char *_kwnames
[] = { "self", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
4310 wxPy_BEGIN_ALLOW_THREADS
;
4311 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
4313 wxPy_END_ALLOW_THREADS
;
4314 } _resultobj
= Py_BuildValue("i",_result
);
4318 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
4319 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
* _resultobj
;
4321 wxNotifyEvent
* _arg0
;
4322 PyObject
* _argo0
= 0;
4323 char *_kwnames
[] = { "self", NULL
};
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
4329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
4336 wxPy_BEGIN_ALLOW_THREADS
;
4337 wxNotifyEvent_Veto(_arg0
);
4339 wxPy_END_ALLOW_THREADS
;
4340 } Py_INCREF(Py_None
);
4341 _resultobj
= Py_None
;
4345 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
4346 wxPaletteChangedEvent
*src
;
4348 src
= (wxPaletteChangedEvent
*) ptr
;
4349 dest
= (wxEvent
*) src
;
4350 return (void *) dest
;
4353 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
4354 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
* _resultobj
;
4356 wxPaletteChangedEvent
* _result
;
4357 wxWindowID _arg0
= (wxWindowID
) 0;
4358 char *_kwnames
[] = { "id", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
4365 wxPy_BEGIN_ALLOW_THREADS
;
4366 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
4368 wxPy_END_ALLOW_THREADS
;
4370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
4371 _resultobj
= Py_BuildValue("s",_ptemp
);
4374 _resultobj
= Py_None
;
4379 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
4380 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
* _resultobj
;
4382 wxPaletteChangedEvent
* _arg0
;
4384 PyObject
* _argo0
= 0;
4385 PyObject
* _argo1
= 0;
4386 char *_kwnames
[] = { "self","win", NULL
};
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
4392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
4399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
4406 wxPy_BEGIN_ALLOW_THREADS
;
4407 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
4409 wxPy_END_ALLOW_THREADS
;
4410 } Py_INCREF(Py_None
);
4411 _resultobj
= Py_None
;
4415 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
4416 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4419 wxPaletteChangedEvent
* _arg0
;
4420 PyObject
* _argo0
= 0;
4421 char *_kwnames
[] = { "self", NULL
};
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
4428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
4430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
4435 wxPy_BEGIN_ALLOW_THREADS
;
4436 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
4438 wxPy_END_ALLOW_THREADS
;
4440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4441 _resultobj
= Py_BuildValue("s",_ptemp
);
4444 _resultobj
= Py_None
;
4449 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
4450 wxQueryNewPaletteEvent
*src
;
4452 src
= (wxQueryNewPaletteEvent
*) ptr
;
4453 dest
= (wxEvent
*) src
;
4454 return (void *) dest
;
4457 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
4458 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4460 wxQueryNewPaletteEvent
* _result
;
4461 wxWindowID _arg0
= (wxWindowID
) 0;
4462 char *_kwnames
[] = { "id", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
4469 wxPy_BEGIN_ALLOW_THREADS
;
4470 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
4472 wxPy_END_ALLOW_THREADS
;
4474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
4475 _resultobj
= Py_BuildValue("s",_ptemp
);
4478 _resultobj
= Py_None
;
4483 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
4484 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4486 wxQueryNewPaletteEvent
* _arg0
;
4488 PyObject
* _argo0
= 0;
4490 char *_kwnames
[] = { "self","realized", NULL
};
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
4496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
4502 _arg1
= (bool ) tempbool1
;
4504 wxPy_BEGIN_ALLOW_THREADS
;
4505 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
4507 wxPy_END_ALLOW_THREADS
;
4508 } Py_INCREF(Py_None
);
4509 _resultobj
= Py_None
;
4513 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
4514 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
* _resultobj
;
4517 wxQueryNewPaletteEvent
* _arg0
;
4518 PyObject
* _argo0
= 0;
4519 char *_kwnames
[] = { "self", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
4532 wxPy_BEGIN_ALLOW_THREADS
;
4533 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
4535 wxPy_END_ALLOW_THREADS
;
4536 } _resultobj
= Py_BuildValue("i",_result
);
4540 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
4541 wxWindowCreateEvent
*src
;
4543 src
= (wxWindowCreateEvent
*) ptr
;
4544 dest
= (wxEvent
*) src
;
4545 return (void *) dest
;
4548 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
4549 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4551 wxWindowCreateEvent
* _result
;
4552 wxWindow
* _arg0
= (wxWindow
*) NULL
;
4553 PyObject
* _argo0
= 0;
4554 char *_kwnames
[] = { "win", NULL
};
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
4568 wxPy_BEGIN_ALLOW_THREADS
;
4569 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
4571 wxPy_END_ALLOW_THREADS
;
4573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
4574 _resultobj
= Py_BuildValue("s",_ptemp
);
4577 _resultobj
= Py_None
;
4582 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
4583 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4586 wxWindowCreateEvent
* _arg0
;
4587 PyObject
* _argo0
= 0;
4588 char *_kwnames
[] = { "self", NULL
};
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
4595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
4602 wxPy_BEGIN_ALLOW_THREADS
;
4603 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
4605 wxPy_END_ALLOW_THREADS
;
4607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4608 _resultobj
= Py_BuildValue("s",_ptemp
);
4611 _resultobj
= Py_None
;
4616 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
4617 wxWindowDestroyEvent
*src
;
4619 src
= (wxWindowDestroyEvent
*) ptr
;
4620 dest
= (wxEvent
*) src
;
4621 return (void *) dest
;
4624 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
4625 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4627 wxWindowDestroyEvent
* _result
;
4628 wxWindow
* _arg0
= (wxWindow
*) NULL
;
4629 PyObject
* _argo0
= 0;
4630 char *_kwnames
[] = { "win", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
4644 wxPy_BEGIN_ALLOW_THREADS
;
4645 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
4647 wxPy_END_ALLOW_THREADS
;
4649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
4650 _resultobj
= Py_BuildValue("s",_ptemp
);
4653 _resultobj
= Py_None
;
4658 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
4659 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
* _resultobj
;
4662 wxWindowDestroyEvent
* _arg0
;
4663 PyObject
* _argo0
= 0;
4664 char *_kwnames
[] = { "self", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
4671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
4678 wxPy_BEGIN_ALLOW_THREADS
;
4679 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
4681 wxPy_END_ALLOW_THREADS
;
4683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4684 _resultobj
= Py_BuildValue("s",_ptemp
);
4687 _resultobj
= Py_None
;
4692 static void *SwigwxPyEventTowxEvent(void *ptr
) {
4695 src
= (wxPyEvent
*) ptr
;
4696 dest
= (wxEvent
*) src
;
4697 return (void *) dest
;
4700 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
4701 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
* _resultobj
;
4703 wxPyEvent
* _result
;
4704 int _arg0
= (int ) 0;
4705 char *_kwnames
[] = { "id", NULL
};
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
4712 wxPy_BEGIN_ALLOW_THREADS
;
4713 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
4715 wxPy_END_ALLOW_THREADS
;
4717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
4718 _resultobj
= Py_BuildValue("s",_ptemp
);
4721 _resultobj
= Py_None
;
4726 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
4727 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4745 delete_wxPyEvent(_arg0
);
4747 wxPy_END_ALLOW_THREADS
;
4748 } Py_INCREF(Py_None
);
4749 _resultobj
= Py_None
;
4753 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
4754 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4758 PyObject
* _argo0
= 0;
4759 PyObject
* _obj1
= 0;
4760 char *_kwnames
[] = { "self","self", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
4776 wxPy_BEGIN_ALLOW_THREADS
;
4777 wxPyEvent_SetSelf(_arg0
,_arg1
);
4779 wxPy_END_ALLOW_THREADS
;
4780 } Py_INCREF(Py_None
);
4781 _resultobj
= Py_None
;
4785 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
4786 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
* _resultobj
;
4790 PyObject
* _argo0
= 0;
4791 char *_kwnames
[] = { "self", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
4804 wxPy_BEGIN_ALLOW_THREADS
;
4805 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
4807 wxPy_END_ALLOW_THREADS
;
4809 _resultobj
= _result
;
4814 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
4815 wxPyCommandEvent
*src
;
4816 wxCommandEvent
*dest
;
4817 src
= (wxPyCommandEvent
*) ptr
;
4818 dest
= (wxCommandEvent
*) src
;
4819 return (void *) dest
;
4822 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
4823 wxPyCommandEvent
*src
;
4825 src
= (wxPyCommandEvent
*) ptr
;
4826 dest
= (wxEvent
*) src
;
4827 return (void *) dest
;
4830 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
4831 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
* _resultobj
;
4833 wxPyCommandEvent
* _result
;
4834 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
4835 int _arg1
= (int ) 0;
4836 char *_kwnames
[] = { "commandType","id", NULL
};
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
4843 wxPy_BEGIN_ALLOW_THREADS
;
4844 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
4846 wxPy_END_ALLOW_THREADS
;
4848 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
4849 _resultobj
= Py_BuildValue("s",_ptemp
);
4852 _resultobj
= Py_None
;
4857 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
4858 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
* _resultobj
;
4860 wxPyCommandEvent
* _arg0
;
4861 PyObject
* _argo0
= 0;
4862 char *_kwnames
[] = { "self", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 delete_wxPyCommandEvent(_arg0
);
4878 wxPy_END_ALLOW_THREADS
;
4879 } Py_INCREF(Py_None
);
4880 _resultobj
= Py_None
;
4884 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
4885 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4887 wxPyCommandEvent
* _arg0
;
4889 PyObject
* _argo0
= 0;
4890 PyObject
* _obj1
= 0;
4891 char *_kwnames
[] = { "self","self", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
4910 wxPy_END_ALLOW_THREADS
;
4911 } Py_INCREF(Py_None
);
4912 _resultobj
= Py_None
;
4916 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
4917 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4920 wxPyCommandEvent
* _arg0
;
4921 PyObject
* _argo0
= 0;
4922 char *_kwnames
[] = { "self", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
4935 wxPy_BEGIN_ALLOW_THREADS
;
4936 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
4938 wxPy_END_ALLOW_THREADS
;
4940 _resultobj
= _result
;
4945 static PyMethodDef eventscMethods
[] = {
4946 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
5031 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
5032 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5033 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
5034 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5035 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5036 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
5037 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
5038 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5039 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
5040 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
5041 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
5042 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
5043 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
5044 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
5045 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
5046 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
5047 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
5048 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
5049 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
5050 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
5051 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
5052 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
5053 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
5054 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
5055 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5056 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
5057 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
5058 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5059 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
5060 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
5061 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
5062 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
5063 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
5064 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
5065 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
5066 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
5067 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5068 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5069 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
5070 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5071 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5072 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
5073 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
5074 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
5075 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
5076 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
5077 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
5078 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5079 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
5080 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
5081 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_Checked
, METH_VARARGS
| METH_KEYWORDS
},
5082 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
5083 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
5084 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
5085 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
5086 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
5087 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
5088 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
5089 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
5090 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5091 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
5092 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
5110 * This table is used by the pointer type-checker
5112 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5113 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5114 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5115 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5116 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
5117 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
5118 { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5119 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5120 { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5121 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5122 { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5123 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5124 { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5125 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5126 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5127 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5128 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5129 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5130 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5131 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5132 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5133 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5134 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5135 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5136 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5137 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5138 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5139 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5140 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5141 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5142 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
5143 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
5144 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5145 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5146 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5147 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5148 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5149 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5150 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5151 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5152 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5153 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5154 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5155 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5156 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5157 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5158 { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5159 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5160 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5161 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5162 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5163 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5164 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5165 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5166 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5167 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5168 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5169 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5170 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5171 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5172 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5173 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5174 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5175 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5176 { "_wxEvent","_class_wxEvent",0},
5177 { "_class_wxActivateEvent","_wxActivateEvent",0},
5178 { "_signed_long","_long",0},
5179 { "_wxMenuEvent","_class_wxMenuEvent",0},
5180 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5181 { "_wxPrintQuality","_wxCoord",0},
5182 { "_wxPrintQuality","_int",0},
5183 { "_wxPrintQuality","_signed_int",0},
5184 { "_wxPrintQuality","_unsigned_int",0},
5185 { "_wxPrintQuality","_wxWindowID",0},
5186 { "_wxPrintQuality","_uint",0},
5187 { "_wxPrintQuality","_EBool",0},
5188 { "_wxPrintQuality","_size_t",0},
5189 { "_class_wxRegionIterator","_wxRegionIterator",0},
5190 { "_wxPaintEvent","_class_wxPaintEvent",0},
5191 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5192 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5193 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5194 { "_byte","_unsigned_char",0},
5195 { "_long","_unsigned_long",0},
5196 { "_long","_signed_long",0},
5197 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5198 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5199 { "_wxSpinEvent","_class_wxSpinEvent",0},
5200 { "_size_t","_wxCoord",0},
5201 { "_size_t","_wxPrintQuality",0},
5202 { "_size_t","_unsigned_int",0},
5203 { "_size_t","_int",0},
5204 { "_size_t","_wxWindowID",0},
5205 { "_size_t","_uint",0},
5206 { "_class_wxRealPoint","_wxRealPoint",0},
5207 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5208 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5209 { "_class_wxPaintEvent","_wxPaintEvent",0},
5210 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5211 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5212 { "_wxPyEvent","_class_wxPyEvent",0},
5213 { "_class_wxKeyEvent","_wxKeyEvent",0},
5214 { "_wxIdleEvent","_class_wxIdleEvent",0},
5215 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5216 { "_wxShowEvent","_class_wxShowEvent",0},
5217 { "_uint","_wxCoord",0},
5218 { "_uint","_wxPrintQuality",0},
5219 { "_uint","_size_t",0},
5220 { "_uint","_unsigned_int",0},
5221 { "_uint","_int",0},
5222 { "_uint","_wxWindowID",0},
5223 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5224 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5225 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
5226 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
5227 { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5228 { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5229 { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5230 { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5231 { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5232 { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5233 { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5234 { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5235 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5236 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5237 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5238 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5239 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5240 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5241 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5242 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5243 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5244 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5245 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5246 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5247 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5248 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5249 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5250 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5251 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
5252 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
5253 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5254 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5255 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5256 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5257 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5258 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5259 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5260 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5261 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5262 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5263 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5264 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5265 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5266 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5267 { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5268 { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5269 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5270 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5271 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5272 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5273 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5274 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5275 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5276 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5277 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5278 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5279 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5280 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5281 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5282 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5283 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5284 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5285 { "_class_wxEvent","_wxEvent",0},
5286 { "_wxRect","_class_wxRect",0},
5287 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5288 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5289 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5290 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5291 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5292 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5293 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5294 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5295 { "_wxCommandEvent","_class_wxCommandEvent",0},
5296 { "_wxSizeEvent","_class_wxSizeEvent",0},
5297 { "_wxPoint","_class_wxPoint",0},
5298 { "_wxPyTimer","_class_wxPyTimer",0},
5299 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5300 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5301 { "_class_wxPyEvent","_wxPyEvent",0},
5302 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5303 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5304 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5305 { "_wxScrollEvent","_class_wxScrollEvent",0},
5306 { "_EBool","_wxCoord",0},
5307 { "_EBool","_wxPrintQuality",0},
5308 { "_EBool","_signed_int",0},
5309 { "_EBool","_int",0},
5310 { "_EBool","_wxWindowID",0},
5311 { "_class_wxRegion","_wxRegion",0},
5312 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5313 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5314 { "_wxCloseEvent","_class_wxCloseEvent",0},
5315 { "_unsigned_long","_long",0},
5316 { "_class_wxRect","_wxRect",0},
5317 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5318 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5319 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5320 { "_class_wxPyTimer","_wxPyTimer",0},
5321 { "_wxFocusEvent","_class_wxFocusEvent",0},
5322 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5323 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5324 { "_signed_int","_wxCoord",0},
5325 { "_signed_int","_wxPrintQuality",0},
5326 { "_signed_int","_EBool",0},
5327 { "_signed_int","_wxWindowID",0},
5328 { "_signed_int","_int",0},
5329 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5330 { "_class_wxMoveEvent","_wxMoveEvent",0},
5331 { "_WXTYPE","_short",0},
5332 { "_WXTYPE","_signed_short",0},
5333 { "_WXTYPE","_unsigned_short",0},
5334 { "_unsigned_short","_WXTYPE",0},
5335 { "_unsigned_short","_short",0},
5336 { "_class_wxCloseEvent","_wxCloseEvent",0},
5337 { "_wxBusyInfo","_class_wxBusyInfo",0},
5338 { "_class_wxMenuEvent","_wxMenuEvent",0},
5339 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5340 { "_wxMouseEvent","_class_wxMouseEvent",0},
5341 { "_class_wxPoint","_wxPoint",0},
5342 { "_wxRealPoint","_class_wxRealPoint",0},
5343 { "_signed_short","_WXTYPE",0},
5344 { "_signed_short","_short",0},
5345 { "_class_wxFocusEvent","_wxFocusEvent",0},
5346 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5347 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5348 { "_unsigned_char","_byte",0},
5349 { "_unsigned_int","_wxCoord",0},
5350 { "_unsigned_int","_wxPrintQuality",0},
5351 { "_unsigned_int","_size_t",0},
5352 { "_unsigned_int","_uint",0},
5353 { "_unsigned_int","_wxWindowID",0},
5354 { "_unsigned_int","_int",0},
5355 { "_short","_WXTYPE",0},
5356 { "_short","_unsigned_short",0},
5357 { "_short","_signed_short",0},
5358 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5359 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5360 { "_class_wxScrollEvent","_wxScrollEvent",0},
5361 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5362 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5363 { "_wxWindowID","_wxCoord",0},
5364 { "_wxWindowID","_wxPrintQuality",0},
5365 { "_wxWindowID","_size_t",0},
5366 { "_wxWindowID","_EBool",0},
5367 { "_wxWindowID","_uint",0},
5368 { "_wxWindowID","_int",0},
5369 { "_wxWindowID","_signed_int",0},
5370 { "_wxWindowID","_unsigned_int",0},
5371 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5372 { "_int","_wxCoord",0},
5373 { "_int","_wxPrintQuality",0},
5374 { "_int","_size_t",0},
5375 { "_int","_EBool",0},
5376 { "_int","_uint",0},
5377 { "_int","_wxWindowID",0},
5378 { "_int","_unsigned_int",0},
5379 { "_int","_signed_int",0},
5380 { "_class_wxMouseEvent","_wxMouseEvent",0},
5381 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5382 { "_class_wxSpinEvent","_wxSpinEvent",0},
5383 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5384 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5385 { "_wxSize","_class_wxSize",0},
5386 { "_wxRegionIterator","_class_wxRegionIterator",0},
5387 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5388 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5389 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5390 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5391 { "_class_wxIdleEvent","_wxIdleEvent",0},
5392 { "_wxCoord","_int",0},
5393 { "_wxCoord","_signed_int",0},
5394 { "_wxCoord","_unsigned_int",0},
5395 { "_wxCoord","_wxWindowID",0},
5396 { "_wxCoord","_uint",0},
5397 { "_wxCoord","_EBool",0},
5398 { "_wxCoord","_size_t",0},
5399 { "_wxCoord","_wxPrintQuality",0},
5400 { "_wxEraseEvent","_class_wxEraseEvent",0},
5401 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5402 { "_wxRegion","_class_wxRegion",0},
5403 { "_class_wxShowEvent","_wxShowEvent",0},
5404 { "_wxActivateEvent","_class_wxActivateEvent",0},
5405 { "_class_wxBusyInfo","_wxBusyInfo",0},
5406 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5407 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5408 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5409 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5410 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5411 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5412 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5413 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5414 { "_class_wxCommandEvent","_wxCommandEvent",0},
5415 { "_class_wxSizeEvent","_wxSizeEvent",0},
5416 { "_class_wxSize","_wxSize",0},
5417 { "_wxKeyEvent","_class_wxKeyEvent",0},
5418 { "_wxMoveEvent","_class_wxMoveEvent",0},
5419 { "_class_wxEraseEvent","_wxEraseEvent",0},
5420 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5423 static PyObject
*SWIG_globals
;
5427 SWIGEXPORT(void) initeventsc() {
5429 SWIG_globals
= SWIG_newvarlink();
5430 m
= Py_InitModule("eventsc", eventscMethods
);
5431 d
= PyModule_GetDict(m
);
5434 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5435 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);