2 * FILE : src/msw/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initeventsc
56 #define SWIG_name "eventsc"
59 #include <wx/spinbutt.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 #if PYTHON_API_VERSION >= 1009
108 static char* wxStringErrorMsg
= "String or Unicode type required";
110 static char* wxStringErrorMsg
= "string type is required for parameter";
115 static PyObject
*_wrap_wxNewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
116 PyObject
* _resultobj
;
118 char *_kwnames
[] = { NULL
};
121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewEventType",_kwnames
))
124 wxPy_BEGIN_ALLOW_THREADS
;
125 _result
= (int )wxNewEventType();
127 wxPy_END_ALLOW_THREADS
;
128 } _resultobj
= Py_BuildValue("i",_result
);
132 #define new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
133 static PyObject
*_wrap_new_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
134 PyObject
* _resultobj
;
136 int _arg0
= (int ) 0;
137 char *_kwnames
[] = { "id", NULL
};
141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxEvent",_kwnames
,&_arg0
))
144 wxPy_BEGIN_ALLOW_THREADS
;
145 _result
= (wxEvent
*)new_wxEvent(_arg0
);
147 wxPy_END_ALLOW_THREADS
;
149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
150 _resultobj
= Py_BuildValue("s",_ptemp
);
153 _resultobj
= Py_None
;
158 #define delete_wxEvent(_swigobj) (delete _swigobj)
159 static PyObject
*_wrap_delete_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
160 PyObject
* _resultobj
;
162 PyObject
* _argo0
= 0;
163 char *_kwnames
[] = { "self", NULL
};
166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEvent",_kwnames
,&_argo0
))
169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
176 wxPy_BEGIN_ALLOW_THREADS
;
177 delete_wxEvent(_arg0
);
179 wxPy_END_ALLOW_THREADS
;
180 } Py_INCREF(Py_None
);
181 _resultobj
= Py_None
;
185 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
186 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
187 PyObject
* _resultobj
;
190 PyObject
* _argo0
= 0;
191 char *_kwnames
[] = { "self", NULL
};
195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
205 wxPy_BEGIN_ALLOW_THREADS
;
206 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
208 wxPy_END_ALLOW_THREADS
;
210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
211 _resultobj
= Py_BuildValue("s",_ptemp
);
214 _resultobj
= Py_None
;
219 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
220 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
221 PyObject
* _resultobj
;
224 PyObject
* _argo0
= 0;
225 char *_kwnames
[] = { "self", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
238 wxPy_BEGIN_ALLOW_THREADS
;
239 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
241 wxPy_END_ALLOW_THREADS
;
242 } _resultobj
= Py_BuildValue("i",_result
);
246 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
247 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
251 PyObject
* _argo0
= 0;
252 char *_kwnames
[] = { "self", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 _result
= (int )wxEvent_GetId(_arg0
);
268 wxPy_END_ALLOW_THREADS
;
269 } _resultobj
= Py_BuildValue("i",_result
);
273 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
274 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
278 PyObject
* _argo0
= 0;
279 char *_kwnames
[] = { "self", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
292 wxPy_BEGIN_ALLOW_THREADS
;
293 _result
= (bool )wxEvent_GetSkipped(_arg0
);
295 wxPy_END_ALLOW_THREADS
;
296 } _resultobj
= Py_BuildValue("i",_result
);
300 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
301 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
302 PyObject
* _resultobj
;
305 PyObject
* _argo0
= 0;
306 char *_kwnames
[] = { "self", NULL
};
309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
319 wxPy_BEGIN_ALLOW_THREADS
;
320 _result
= (long )wxEvent_GetTimestamp(_arg0
);
322 wxPy_END_ALLOW_THREADS
;
323 } _resultobj
= Py_BuildValue("l",_result
);
327 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
328 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
332 PyObject
* _argo0
= 0;
333 PyObject
* _argo1
= 0;
334 char *_kwnames
[] = { "self","object", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
354 wxPy_BEGIN_ALLOW_THREADS
;
355 wxEvent_SetEventObject(_arg0
,_arg1
);
357 wxPy_END_ALLOW_THREADS
;
358 } Py_INCREF(Py_None
);
359 _resultobj
= Py_None
;
363 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
364 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
368 PyObject
* _argo0
= 0;
369 char *_kwnames
[] = { "self","typ", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
382 wxPy_BEGIN_ALLOW_THREADS
;
383 wxEvent_SetEventType(_arg0
,_arg1
);
385 wxPy_END_ALLOW_THREADS
;
386 } Py_INCREF(Py_None
);
387 _resultobj
= Py_None
;
391 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
392 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
396 PyObject
* _argo0
= 0;
397 char *_kwnames
[] = { "self","id", NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
410 wxPy_BEGIN_ALLOW_THREADS
;
411 wxEvent_SetId(_arg0
,_arg1
);
413 wxPy_END_ALLOW_THREADS
;
414 } Py_INCREF(Py_None
);
415 _resultobj
= Py_None
;
419 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
420 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
424 PyObject
* _argo0
= 0;
425 char *_kwnames
[] = { "self","timeStamp", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
438 wxPy_BEGIN_ALLOW_THREADS
;
439 wxEvent_SetTimestamp(_arg0
,_arg1
);
441 wxPy_END_ALLOW_THREADS
;
442 } Py_INCREF(Py_None
);
443 _resultobj
= Py_None
;
447 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
448 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
451 bool _arg1
= (bool ) TRUE
;
452 PyObject
* _argo0
= 0;
453 int tempbool1
= (int) TRUE
;
454 char *_kwnames
[] = { "self","skip", NULL
};
457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
466 _arg1
= (bool ) tempbool1
;
468 wxPy_BEGIN_ALLOW_THREADS
;
469 wxEvent_Skip(_arg0
,_arg1
);
471 wxPy_END_ALLOW_THREADS
;
472 } Py_INCREF(Py_None
);
473 _resultobj
= Py_None
;
477 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
480 src
= (wxSizeEvent
*) ptr
;
481 dest
= (wxEvent
*) src
;
482 return (void *) dest
;
485 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
486 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
488 wxSizeEvent
* _result
;
490 int _arg1
= (int ) 0;
492 PyObject
* _obj0
= 0;
493 char *_kwnames
[] = { "sz","id", NULL
};
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxSizeEvent",_kwnames
,&_obj0
,&_arg1
))
501 if (! wxSize_helper(_obj0
, &_arg0
))
505 wxPy_BEGIN_ALLOW_THREADS
;
506 _result
= (wxSizeEvent
*)new_wxSizeEvent(*_arg0
,_arg1
);
508 wxPy_END_ALLOW_THREADS
;
510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizeEvent_p");
511 _resultobj
= Py_BuildValue("s",_ptemp
);
514 _resultobj
= Py_None
;
519 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
520 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
539 wxPy_BEGIN_ALLOW_THREADS
;
540 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
542 wxPy_END_ALLOW_THREADS
;
543 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
544 _resultobj
= Py_BuildValue("s",_ptemp
);
548 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
551 src
= (wxCloseEvent
*) ptr
;
552 dest
= (wxEvent
*) src
;
553 return (void *) dest
;
556 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
557 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
558 PyObject
* _resultobj
;
559 wxCloseEvent
* _result
;
560 int _arg0
= (int ) 0;
561 int _arg1
= (int ) 0;
562 char *_kwnames
[] = { "commandEventType","id", NULL
};
566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCloseEvent",_kwnames
,&_arg0
,&_arg1
))
569 wxPy_BEGIN_ALLOW_THREADS
;
570 _result
= (wxCloseEvent
*)new_wxCloseEvent(_arg0
,_arg1
);
572 wxPy_END_ALLOW_THREADS
;
574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCloseEvent_p");
575 _resultobj
= Py_BuildValue("s",_ptemp
);
578 _resultobj
= Py_None
;
583 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
584 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
585 PyObject
* _resultobj
;
586 wxCloseEvent
* _arg0
;
588 PyObject
* _argo0
= 0;
590 char *_kwnames
[] = { "self","loggingOff", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
602 _arg1
= (bool ) tempbool1
;
604 wxPy_BEGIN_ALLOW_THREADS
;
605 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
607 wxPy_END_ALLOW_THREADS
;
608 } Py_INCREF(Py_None
);
609 _resultobj
= Py_None
;
613 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
614 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
615 PyObject
* _resultobj
;
617 wxCloseEvent
* _arg0
;
618 PyObject
* _argo0
= 0;
619 char *_kwnames
[] = { "self", NULL
};
622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
632 wxPy_BEGIN_ALLOW_THREADS
;
633 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
635 wxPy_END_ALLOW_THREADS
;
636 } _resultobj
= Py_BuildValue("i",_result
);
640 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
641 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
642 PyObject
* _resultobj
;
643 wxCloseEvent
* _arg0
;
644 bool _arg1
= (bool ) TRUE
;
645 PyObject
* _argo0
= 0;
646 int tempbool1
= (int) TRUE
;
647 char *_kwnames
[] = { "self","veto", NULL
};
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
659 _arg1
= (bool ) tempbool1
;
661 wxPy_BEGIN_ALLOW_THREADS
;
662 wxCloseEvent_Veto(_arg0
,_arg1
);
664 wxPy_END_ALLOW_THREADS
;
665 } Py_INCREF(Py_None
);
666 _resultobj
= Py_None
;
670 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
671 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
674 wxCloseEvent
* _arg0
;
675 PyObject
* _argo0
= 0;
676 char *_kwnames
[] = { "self", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
689 wxPy_BEGIN_ALLOW_THREADS
;
690 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
692 wxPy_END_ALLOW_THREADS
;
693 } _resultobj
= Py_BuildValue("i",_result
);
697 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
698 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
701 wxCloseEvent
* _arg0
;
702 PyObject
* _argo0
= 0;
703 char *_kwnames
[] = { "self", NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
716 wxPy_BEGIN_ALLOW_THREADS
;
717 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
719 wxPy_END_ALLOW_THREADS
;
720 } _resultobj
= Py_BuildValue("i",_result
);
724 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
725 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
727 wxCloseEvent
* _arg0
;
729 PyObject
* _argo0
= 0;
731 char *_kwnames
[] = { "self","canVeto", NULL
};
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
743 _arg1
= (bool ) tempbool1
;
745 wxPy_BEGIN_ALLOW_THREADS
;
746 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
748 wxPy_END_ALLOW_THREADS
;
749 } Py_INCREF(Py_None
);
750 _resultobj
= Py_None
;
754 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
757 src
= (wxCommandEvent
*) ptr
;
758 dest
= (wxEvent
*) src
;
759 return (void *) dest
;
762 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
763 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
765 wxCommandEvent
* _result
;
766 int _arg0
= (int ) 0;
767 int _arg1
= (int ) 0;
768 char *_kwnames
[] = { "commandEventType","id", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCommandEvent",_kwnames
,&_arg0
,&_arg1
))
775 wxPy_BEGIN_ALLOW_THREADS
;
776 _result
= (wxCommandEvent
*)new_wxCommandEvent(_arg0
,_arg1
);
778 wxPy_END_ALLOW_THREADS
;
780 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCommandEvent_p");
781 _resultobj
= Py_BuildValue("s",_ptemp
);
784 _resultobj
= Py_None
;
789 #define wxCommandEvent_IsChecked(_swigobj) (_swigobj->IsChecked())
790 static PyObject
*_wrap_wxCommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
793 wxCommandEvent
* _arg0
;
794 PyObject
* _argo0
= 0;
795 char *_kwnames
[] = { "self", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsChecked",_kwnames
,&_argo0
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsChecked. Expected _wxCommandEvent_p.");
808 wxPy_BEGIN_ALLOW_THREADS
;
809 _result
= (bool )wxCommandEvent_IsChecked(_arg0
);
811 wxPy_END_ALLOW_THREADS
;
812 } _resultobj
= Py_BuildValue("i",_result
);
816 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
817 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
820 wxCommandEvent
* _arg0
;
821 PyObject
* _argo0
= 0;
822 char *_kwnames
[] = { "self", NULL
};
825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
835 wxPy_BEGIN_ALLOW_THREADS
;
836 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
838 wxPy_END_ALLOW_THREADS
;
839 } _resultobj
= Py_BuildValue("l",_result
);
843 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
844 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
847 wxCommandEvent
* _arg0
;
848 PyObject
* _argo0
= 0;
849 char *_kwnames
[] = { "self", NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
862 wxPy_BEGIN_ALLOW_THREADS
;
863 _result
= (int )wxCommandEvent_GetInt(_arg0
);
865 wxPy_END_ALLOW_THREADS
;
866 } _resultobj
= Py_BuildValue("i",_result
);
870 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
871 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
874 wxCommandEvent
* _arg0
;
875 PyObject
* _argo0
= 0;
876 char *_kwnames
[] = { "self", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
889 wxPy_BEGIN_ALLOW_THREADS
;
890 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
892 wxPy_END_ALLOW_THREADS
;
893 } _resultobj
= Py_BuildValue("i",_result
);
897 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
898 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
901 wxCommandEvent
* _arg0
;
902 PyObject
* _argo0
= 0;
903 char *_kwnames
[] = { "self", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
916 wxPy_BEGIN_ALLOW_THREADS
;
917 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
919 wxPy_END_ALLOW_THREADS
;
921 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
929 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
930 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
933 wxCommandEvent
* _arg0
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
948 wxPy_BEGIN_ALLOW_THREADS
;
949 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
951 wxPy_END_ALLOW_THREADS
;
952 } _resultobj
= Py_BuildValue("i",_result
);
956 #define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
957 static PyObject
*_wrap_wxCommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
958 PyObject
* _resultobj
;
959 wxCommandEvent
* _arg0
;
961 PyObject
* _argo0
= 0;
962 PyObject
* _obj1
= 0;
963 char *_kwnames
[] = { "self","s", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCommandEvent_SetString",_kwnames
,&_argo0
,&_obj1
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
976 #if PYTHON_API_VERSION >= 1009
977 char* tmpPtr
; int tmpSize
;
978 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
979 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
982 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
984 _arg1
= new wxString(tmpPtr
, tmpSize
);
986 if (!PyString_Check(_obj1
)) {
987 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
990 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
994 wxPy_BEGIN_ALLOW_THREADS
;
995 wxCommandEvent_SetString(_arg0
,*_arg1
);
997 wxPy_END_ALLOW_THREADS
;
998 } Py_INCREF(Py_None
);
999 _resultobj
= Py_None
;
1007 #define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
1008 static PyObject
*_wrap_wxCommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1010 wxCommandEvent
* _arg0
;
1012 PyObject
* _argo0
= 0;
1013 char *_kwnames
[] = { "self","extraLong", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCommandEvent_SetExtraLong",_kwnames
,&_argo0
,&_arg1
))
1019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
1026 wxPy_BEGIN_ALLOW_THREADS
;
1027 wxCommandEvent_SetExtraLong(_arg0
,_arg1
);
1029 wxPy_END_ALLOW_THREADS
;
1030 } Py_INCREF(Py_None
);
1031 _resultobj
= Py_None
;
1035 #define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1036 static PyObject
*_wrap_wxCommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1038 wxCommandEvent
* _arg0
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self","i", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCommandEvent_SetInt",_kwnames
,&_argo0
,&_arg1
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 wxCommandEvent_SetInt(_arg0
,_arg1
);
1057 wxPy_END_ALLOW_THREADS
;
1058 } Py_INCREF(Py_None
);
1059 _resultobj
= Py_None
;
1063 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1065 wxCommandEvent
*dest
;
1066 src
= (wxScrollEvent
*) ptr
;
1067 dest
= (wxCommandEvent
*) src
;
1068 return (void *) dest
;
1071 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1074 src
= (wxScrollEvent
*) ptr
;
1075 dest
= (wxEvent
*) src
;
1076 return (void *) dest
;
1079 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1080 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1082 wxScrollEvent
* _result
;
1083 int _arg0
= (int ) 0;
1084 int _arg1
= (int ) 0;
1085 int _arg2
= (int ) 0;
1086 int _arg3
= (int ) 0;
1087 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1097 wxPy_END_ALLOW_THREADS
;
1099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1100 _resultobj
= Py_BuildValue("s",_ptemp
);
1103 _resultobj
= Py_None
;
1108 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1109 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1112 wxScrollEvent
* _arg0
;
1113 PyObject
* _argo0
= 0;
1114 char *_kwnames
[] = { "self", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1130 wxPy_END_ALLOW_THREADS
;
1131 } _resultobj
= Py_BuildValue("i",_result
);
1135 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1136 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1139 wxScrollEvent
* _arg0
;
1140 PyObject
* _argo0
= 0;
1141 char *_kwnames
[] = { "self", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1157 wxPy_END_ALLOW_THREADS
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1162 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1163 wxScrollWinEvent
*src
;
1165 src
= (wxScrollWinEvent
*) ptr
;
1166 dest
= (wxEvent
*) src
;
1167 return (void *) dest
;
1170 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1171 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
* _resultobj
;
1173 wxScrollWinEvent
* _result
;
1174 int _arg0
= (int ) 0;
1175 int _arg1
= (int ) 0;
1176 int _arg2
= (int ) 0;
1177 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1187 wxPy_END_ALLOW_THREADS
;
1189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1190 _resultobj
= Py_BuildValue("s",_ptemp
);
1193 _resultobj
= Py_None
;
1198 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1199 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1202 wxScrollWinEvent
* _arg0
;
1203 PyObject
* _argo0
= 0;
1204 char *_kwnames
[] = { "self", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1217 wxPy_BEGIN_ALLOW_THREADS
;
1218 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1220 wxPy_END_ALLOW_THREADS
;
1221 } _resultobj
= Py_BuildValue("i",_result
);
1225 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1226 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
* _resultobj
;
1229 wxScrollWinEvent
* _arg0
;
1230 PyObject
* _argo0
= 0;
1231 char *_kwnames
[] = { "self", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1247 wxPy_END_ALLOW_THREADS
;
1248 } _resultobj
= Py_BuildValue("i",_result
);
1252 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1254 wxScrollEvent
*dest
;
1255 src
= (wxSpinEvent
*) ptr
;
1256 dest
= (wxScrollEvent
*) src
;
1257 return (void *) dest
;
1260 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1262 wxCommandEvent
*dest
;
1263 src
= (wxSpinEvent
*) ptr
;
1264 dest
= (wxCommandEvent
*) src
;
1265 return (void *) dest
;
1268 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1271 src
= (wxSpinEvent
*) ptr
;
1272 dest
= (wxEvent
*) src
;
1273 return (void *) dest
;
1276 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1277 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1279 wxSpinEvent
* _result
;
1280 int _arg0
= (int ) 0;
1281 int _arg1
= (int ) 0;
1282 char *_kwnames
[] = { "commandType","id", NULL
};
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1289 wxPy_BEGIN_ALLOW_THREADS
;
1290 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1292 wxPy_END_ALLOW_THREADS
;
1294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1295 _resultobj
= Py_BuildValue("s",_ptemp
);
1298 _resultobj
= Py_None
;
1303 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1306 src
= (wxMouseEvent
*) ptr
;
1307 dest
= (wxEvent
*) src
;
1308 return (void *) dest
;
1311 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1312 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1314 wxMouseEvent
* _result
;
1315 int _arg0
= (int ) 0;
1316 char *_kwnames
[] = { "mouseEventType", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1323 wxPy_BEGIN_ALLOW_THREADS
;
1324 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1326 wxPy_END_ALLOW_THREADS
;
1328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1329 _resultobj
= Py_BuildValue("s",_ptemp
);
1332 _resultobj
= Py_None
;
1337 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1338 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1341 wxMouseEvent
* _arg0
;
1342 PyObject
* _argo0
= 0;
1343 char *_kwnames
[] = { "self", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1356 wxPy_BEGIN_ALLOW_THREADS
;
1357 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1359 wxPy_END_ALLOW_THREADS
;
1360 } _resultobj
= Py_BuildValue("i",_result
);
1364 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1365 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1368 wxMouseEvent
* _arg0
;
1369 int _arg1
= (int ) -1;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self","but", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1387 wxPy_END_ALLOW_THREADS
;
1388 } _resultobj
= Py_BuildValue("i",_result
);
1392 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1393 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1396 wxMouseEvent
* _arg0
;
1397 int _arg1
= (int ) -1;
1398 PyObject
* _argo0
= 0;
1399 char *_kwnames
[] = { "self","but", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1412 wxPy_BEGIN_ALLOW_THREADS
;
1413 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1415 wxPy_END_ALLOW_THREADS
;
1416 } _resultobj
= Py_BuildValue("i",_result
);
1420 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1421 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
* _resultobj
;
1424 wxMouseEvent
* _arg0
;
1425 int _arg1
= (int ) -1;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self","but", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1443 wxPy_END_ALLOW_THREADS
;
1444 } _resultobj
= Py_BuildValue("i",_result
);
1448 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1449 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1452 wxMouseEvent
* _arg0
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self","but", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } _resultobj
= Py_BuildValue("i",_result
);
1476 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1477 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1480 wxMouseEvent
* _arg0
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self","but", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1499 wxPy_END_ALLOW_THREADS
;
1500 } _resultobj
= Py_BuildValue("i",_result
);
1504 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1505 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1508 wxMouseEvent
* _arg0
;
1509 PyObject
* _argo0
= 0;
1510 char *_kwnames
[] = { "self", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1523 wxPy_BEGIN_ALLOW_THREADS
;
1524 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1526 wxPy_END_ALLOW_THREADS
;
1527 } _resultobj
= Py_BuildValue("i",_result
);
1531 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1532 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1535 wxMouseEvent
* _arg0
;
1536 PyObject
* _argo0
= 0;
1537 char *_kwnames
[] = { "self", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1550 wxPy_BEGIN_ALLOW_THREADS
;
1551 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1553 wxPy_END_ALLOW_THREADS
;
1554 } _resultobj
= Py_BuildValue("i",_result
);
1558 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1559 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1562 wxMouseEvent
* _arg0
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1580 wxPy_END_ALLOW_THREADS
;
1581 } _resultobj
= Py_BuildValue("i",_result
);
1585 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1586 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
* _resultobj
;
1589 wxMouseEvent
* _arg0
;
1590 PyObject
* _argo0
= 0;
1591 char *_kwnames
[] = { "self", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1607 wxPy_END_ALLOW_THREADS
;
1608 } _resultobj
= Py_BuildValue("i",_result
);
1612 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1613 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1616 wxMouseEvent
* _arg0
;
1617 PyObject
* _argo0
= 0;
1618 char *_kwnames
[] = { "self", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1631 wxPy_BEGIN_ALLOW_THREADS
;
1632 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1634 wxPy_END_ALLOW_THREADS
;
1635 } _resultobj
= Py_BuildValue("i",_result
);
1639 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1640 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1643 wxMouseEvent
* _arg0
;
1644 PyObject
* _argo0
= 0;
1645 char *_kwnames
[] = { "self", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1658 wxPy_BEGIN_ALLOW_THREADS
;
1659 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1661 wxPy_END_ALLOW_THREADS
;
1662 } _resultobj
= Py_BuildValue("i",_result
);
1666 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1667 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1670 wxMouseEvent
* _arg0
;
1671 PyObject
* _argo0
= 0;
1672 char *_kwnames
[] = { "self", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1688 wxPy_END_ALLOW_THREADS
;
1689 } _resultobj
= Py_BuildValue("i",_result
);
1693 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1694 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1697 wxMouseEvent
* _arg0
;
1698 PyObject
* _argo0
= 0;
1699 char *_kwnames
[] = { "self", NULL
};
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1712 wxPy_BEGIN_ALLOW_THREADS
;
1713 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1715 wxPy_END_ALLOW_THREADS
;
1716 } _resultobj
= Py_BuildValue("i",_result
);
1720 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1721 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1724 wxMouseEvent
* _arg0
;
1725 PyObject
* _argo0
= 0;
1726 char *_kwnames
[] = { "self", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1739 wxPy_BEGIN_ALLOW_THREADS
;
1740 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1742 wxPy_END_ALLOW_THREADS
;
1743 } _resultobj
= Py_BuildValue("i",_result
);
1747 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1748 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1751 wxMouseEvent
* _arg0
;
1752 PyObject
* _argo0
= 0;
1753 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1769 wxPy_END_ALLOW_THREADS
;
1770 } _resultobj
= Py_BuildValue("i",_result
);
1774 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1775 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1778 wxMouseEvent
* _arg0
;
1779 PyObject
* _argo0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1796 wxPy_END_ALLOW_THREADS
;
1797 } _resultobj
= Py_BuildValue("i",_result
);
1801 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1802 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1805 wxMouseEvent
* _arg0
;
1806 PyObject
* _argo0
= 0;
1807 char *_kwnames
[] = { "self", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1820 wxPy_BEGIN_ALLOW_THREADS
;
1821 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1823 wxPy_END_ALLOW_THREADS
;
1824 } _resultobj
= Py_BuildValue("i",_result
);
1828 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1829 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
* _resultobj
;
1832 wxMouseEvent
* _arg0
;
1833 PyObject
* _argo0
= 0;
1834 char *_kwnames
[] = { "self", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1847 wxPy_BEGIN_ALLOW_THREADS
;
1848 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1850 wxPy_END_ALLOW_THREADS
;
1851 } _resultobj
= Py_BuildValue("i",_result
);
1855 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1856 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1859 wxMouseEvent
* _arg0
;
1860 PyObject
* _argo0
= 0;
1861 char *_kwnames
[] = { "self", NULL
};
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1874 wxPy_BEGIN_ALLOW_THREADS
;
1875 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1877 wxPy_END_ALLOW_THREADS
;
1878 } _resultobj
= Py_BuildValue("i",_result
);
1882 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1883 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
* _resultobj
;
1886 wxMouseEvent
* _arg0
;
1887 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1901 wxPy_BEGIN_ALLOW_THREADS
;
1902 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1904 wxPy_END_ALLOW_THREADS
;
1905 } _resultobj
= Py_BuildValue("i",_result
);
1909 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1910 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1913 wxMouseEvent
* _arg0
;
1914 PyObject
* _argo0
= 0;
1915 char *_kwnames
[] = { "self", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1928 wxPy_BEGIN_ALLOW_THREADS
;
1929 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1931 wxPy_END_ALLOW_THREADS
;
1932 } _resultobj
= Py_BuildValue("i",_result
);
1936 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1937 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1940 wxMouseEvent
* _arg0
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1955 wxPy_BEGIN_ALLOW_THREADS
;
1956 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1958 wxPy_END_ALLOW_THREADS
;
1959 } _resultobj
= Py_BuildValue("i",_result
);
1963 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1964 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1967 wxMouseEvent
* _arg0
;
1968 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "self", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1985 wxPy_END_ALLOW_THREADS
;
1986 } _resultobj
= Py_BuildValue("i",_result
);
1990 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1991 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1994 wxMouseEvent
* _arg0
;
1995 PyObject
* _argo0
= 0;
1996 char *_kwnames
[] = { "self", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
2009 wxPy_BEGIN_ALLOW_THREADS
;
2010 _result
= (bool )wxMouseEvent_Entering(_arg0
);
2012 wxPy_END_ALLOW_THREADS
;
2013 } _resultobj
= Py_BuildValue("i",_result
);
2017 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
2018 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2021 wxMouseEvent
* _arg0
;
2022 PyObject
* _argo0
= 0;
2023 char *_kwnames
[] = { "self", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
2029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2036 wxPy_BEGIN_ALLOW_THREADS
;
2037 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
2039 wxPy_END_ALLOW_THREADS
;
2040 } _resultobj
= Py_BuildValue("i",_result
);
2044 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2045 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2048 wxMouseEvent
* _arg0
;
2049 PyObject
* _argo0
= 0;
2050 char *_kwnames
[] = { "self", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2064 wxPy_BEGIN_ALLOW_THREADS
;
2065 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2067 wxPy_END_ALLOW_THREADS
;
2068 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2069 _resultobj
= Py_BuildValue("s",_ptemp
);
2073 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2074 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2076 wxMouseEvent
* _arg0
;
2081 PyObject
* _argo0
= 0;
2082 char *_kwnames
[] = { "self", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2104 wxPy_END_ALLOW_THREADS
;
2105 } Py_INCREF(Py_None
);
2106 _resultobj
= Py_None
;
2109 o
= PyInt_FromLong((long) (*_arg1
));
2110 _resultobj
= t_output_helper(_resultobj
, o
);
2114 o
= PyInt_FromLong((long) (*_arg2
));
2115 _resultobj
= t_output_helper(_resultobj
, o
);
2120 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2121 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2124 wxMouseEvent
* _arg0
;
2126 PyObject
* _argo0
= 0;
2127 PyObject
* _argo1
= 0;
2128 char *_kwnames
[] = { "self","dc", NULL
};
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2149 wxPy_BEGIN_ALLOW_THREADS
;
2150 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2152 wxPy_END_ALLOW_THREADS
;
2153 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2154 _resultobj
= Py_BuildValue("s",_ptemp
);
2158 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2159 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2162 wxMouseEvent
* _arg0
;
2163 PyObject
* _argo0
= 0;
2164 char *_kwnames
[] = { "self", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2177 wxPy_BEGIN_ALLOW_THREADS
;
2178 _result
= (long )wxMouseEvent_GetX(_arg0
);
2180 wxPy_END_ALLOW_THREADS
;
2181 } _resultobj
= Py_BuildValue("l",_result
);
2185 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2186 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2189 wxMouseEvent
* _arg0
;
2190 PyObject
* _argo0
= 0;
2191 char *_kwnames
[] = { "self", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 _result
= (long )wxMouseEvent_GetY(_arg0
);
2207 wxPy_END_ALLOW_THREADS
;
2208 } _resultobj
= Py_BuildValue("l",_result
);
2212 #define wxMouseEvent_GetWheelRotation(_swigobj) (_swigobj->GetWheelRotation())
2213 static PyObject
*_wrap_wxMouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2216 wxMouseEvent
* _arg0
;
2217 PyObject
* _argo0
= 0;
2218 char *_kwnames
[] = { "self", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelRotation",_kwnames
,&_argo0
))
2224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelRotation. Expected _wxMouseEvent_p.");
2231 wxPy_BEGIN_ALLOW_THREADS
;
2232 _result
= (int )wxMouseEvent_GetWheelRotation(_arg0
);
2234 wxPy_END_ALLOW_THREADS
;
2235 } _resultobj
= Py_BuildValue("i",_result
);
2239 #define wxMouseEvent_GetWheelDelta(_swigobj) (_swigobj->GetWheelDelta())
2240 static PyObject
*_wrap_wxMouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2243 wxMouseEvent
* _arg0
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelDelta",_kwnames
,&_argo0
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelDelta. Expected _wxMouseEvent_p.");
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 _result
= (int )wxMouseEvent_GetWheelDelta(_arg0
);
2261 wxPy_END_ALLOW_THREADS
;
2262 } _resultobj
= Py_BuildValue("i",_result
);
2266 #define wxMouseEvent_GetLinesPerAction(_swigobj) (_swigobj->GetLinesPerAction())
2267 static PyObject
*_wrap_wxMouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2270 wxMouseEvent
* _arg0
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetLinesPerAction",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLinesPerAction. Expected _wxMouseEvent_p.");
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 _result
= (int )wxMouseEvent_GetLinesPerAction(_arg0
);
2288 wxPy_END_ALLOW_THREADS
;
2289 } _resultobj
= Py_BuildValue("i",_result
);
2293 #define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2294 static PyObject
*_wrap_wxMouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2297 wxMouseEvent
* _arg0
;
2299 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self","m_x", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 _result
= (long )wxMouseEvent_m_x_set(_arg0
,_arg1
);
2316 wxPy_END_ALLOW_THREADS
;
2317 } _resultobj
= Py_BuildValue("l",_result
);
2321 #define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2322 static PyObject
*_wrap_wxMouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2325 wxMouseEvent
* _arg0
;
2326 PyObject
* _argo0
= 0;
2327 char *_kwnames
[] = { "self", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_x_get",_kwnames
,&_argo0
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 _result
= (long )wxMouseEvent_m_x_get(_arg0
);
2343 wxPy_END_ALLOW_THREADS
;
2344 } _resultobj
= Py_BuildValue("l",_result
);
2348 #define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2349 static PyObject
*_wrap_wxMouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2352 wxMouseEvent
* _arg0
;
2354 PyObject
* _argo0
= 0;
2355 char *_kwnames
[] = { "self","m_y", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 _result
= (long )wxMouseEvent_m_y_set(_arg0
,_arg1
);
2371 wxPy_END_ALLOW_THREADS
;
2372 } _resultobj
= Py_BuildValue("l",_result
);
2376 #define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2377 static PyObject
*_wrap_wxMouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2380 wxMouseEvent
* _arg0
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_y_get",_kwnames
,&_argo0
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 _result
= (long )wxMouseEvent_m_y_get(_arg0
);
2398 wxPy_END_ALLOW_THREADS
;
2399 } _resultobj
= Py_BuildValue("l",_result
);
2403 #define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2404 static PyObject
*_wrap_wxMouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2407 wxMouseEvent
* _arg0
;
2409 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self","m_leftDown", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_leftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
2423 _arg1
= (bool ) tempbool1
;
2425 wxPy_BEGIN_ALLOW_THREADS
;
2426 _result
= (bool )wxMouseEvent_m_leftDown_set(_arg0
,_arg1
);
2428 wxPy_END_ALLOW_THREADS
;
2429 } _resultobj
= Py_BuildValue("i",_result
);
2433 #define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2434 static PyObject
*_wrap_wxMouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2437 wxMouseEvent
* _arg0
;
2438 PyObject
* _argo0
= 0;
2439 char *_kwnames
[] = { "self", NULL
};
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_leftDown_get",_kwnames
,&_argo0
))
2445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
2452 wxPy_BEGIN_ALLOW_THREADS
;
2453 _result
= (bool )wxMouseEvent_m_leftDown_get(_arg0
);
2455 wxPy_END_ALLOW_THREADS
;
2456 } _resultobj
= Py_BuildValue("i",_result
);
2460 #define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2461 static PyObject
*_wrap_wxMouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2464 wxMouseEvent
* _arg0
;
2466 PyObject
* _argo0
= 0;
2468 char *_kwnames
[] = { "self","m_middleDown", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_middleDown_set",_kwnames
,&_argo0
,&tempbool1
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
2480 _arg1
= (bool ) tempbool1
;
2482 wxPy_BEGIN_ALLOW_THREADS
;
2483 _result
= (bool )wxMouseEvent_m_middleDown_set(_arg0
,_arg1
);
2485 wxPy_END_ALLOW_THREADS
;
2486 } _resultobj
= Py_BuildValue("i",_result
);
2490 #define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2491 static PyObject
*_wrap_wxMouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
* _resultobj
;
2494 wxMouseEvent
* _arg0
;
2495 PyObject
* _argo0
= 0;
2496 char *_kwnames
[] = { "self", NULL
};
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_middleDown_get",_kwnames
,&_argo0
))
2502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
2509 wxPy_BEGIN_ALLOW_THREADS
;
2510 _result
= (bool )wxMouseEvent_m_middleDown_get(_arg0
);
2512 wxPy_END_ALLOW_THREADS
;
2513 } _resultobj
= Py_BuildValue("i",_result
);
2517 #define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2518 static PyObject
*_wrap_wxMouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2521 wxMouseEvent
* _arg0
;
2523 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self","m_rightDown", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_rightDown_set",_kwnames
,&_argo0
,&tempbool1
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
2537 _arg1
= (bool ) tempbool1
;
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 _result
= (bool )wxMouseEvent_m_rightDown_set(_arg0
,_arg1
);
2542 wxPy_END_ALLOW_THREADS
;
2543 } _resultobj
= Py_BuildValue("i",_result
);
2547 #define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2548 static PyObject
*_wrap_wxMouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2551 wxMouseEvent
* _arg0
;
2552 PyObject
* _argo0
= 0;
2553 char *_kwnames
[] = { "self", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_rightDown_get",_kwnames
,&_argo0
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
2566 wxPy_BEGIN_ALLOW_THREADS
;
2567 _result
= (bool )wxMouseEvent_m_rightDown_get(_arg0
);
2569 wxPy_END_ALLOW_THREADS
;
2570 } _resultobj
= Py_BuildValue("i",_result
);
2574 #define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2575 static PyObject
*_wrap_wxMouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2578 wxMouseEvent
* _arg0
;
2580 PyObject
* _argo0
= 0;
2582 char *_kwnames
[] = { "self","m_controlDown", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
2594 _arg1
= (bool ) tempbool1
;
2596 wxPy_BEGIN_ALLOW_THREADS
;
2597 _result
= (bool )wxMouseEvent_m_controlDown_set(_arg0
,_arg1
);
2599 wxPy_END_ALLOW_THREADS
;
2600 } _resultobj
= Py_BuildValue("i",_result
);
2604 #define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2605 static PyObject
*_wrap_wxMouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2608 wxMouseEvent
* _arg0
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_controlDown_get",_kwnames
,&_argo0
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
2623 wxPy_BEGIN_ALLOW_THREADS
;
2624 _result
= (bool )wxMouseEvent_m_controlDown_get(_arg0
);
2626 wxPy_END_ALLOW_THREADS
;
2627 } _resultobj
= Py_BuildValue("i",_result
);
2631 #define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2632 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2635 wxMouseEvent
* _arg0
;
2637 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
2651 _arg1
= (bool ) tempbool1
;
2653 wxPy_BEGIN_ALLOW_THREADS
;
2654 _result
= (bool )wxMouseEvent_m_shiftDown_set(_arg0
,_arg1
);
2656 wxPy_END_ALLOW_THREADS
;
2657 } _resultobj
= Py_BuildValue("i",_result
);
2661 #define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2662 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2665 wxMouseEvent
* _arg0
;
2666 PyObject
* _argo0
= 0;
2667 char *_kwnames
[] = { "self", NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_shiftDown_get",_kwnames
,&_argo0
))
2673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2680 wxPy_BEGIN_ALLOW_THREADS
;
2681 _result
= (bool )wxMouseEvent_m_shiftDown_get(_arg0
);
2683 wxPy_END_ALLOW_THREADS
;
2684 } _resultobj
= Py_BuildValue("i",_result
);
2688 #define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2689 static PyObject
*_wrap_wxMouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2692 wxMouseEvent
* _arg0
;
2694 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self","m_altDown", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
2708 _arg1
= (bool ) tempbool1
;
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 _result
= (bool )wxMouseEvent_m_altDown_set(_arg0
,_arg1
);
2713 wxPy_END_ALLOW_THREADS
;
2714 } _resultobj
= Py_BuildValue("i",_result
);
2718 #define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2719 static PyObject
*_wrap_wxMouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2722 wxMouseEvent
* _arg0
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_altDown_get",_kwnames
,&_argo0
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 _result
= (bool )wxMouseEvent_m_altDown_get(_arg0
);
2740 wxPy_END_ALLOW_THREADS
;
2741 } _resultobj
= Py_BuildValue("i",_result
);
2745 #define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2746 static PyObject
*_wrap_wxMouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
* _resultobj
;
2749 wxMouseEvent
* _arg0
;
2751 PyObject
* _argo0
= 0;
2753 char *_kwnames
[] = { "self","m_metaDown", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2765 _arg1
= (bool ) tempbool1
;
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 _result
= (bool )wxMouseEvent_m_metaDown_set(_arg0
,_arg1
);
2770 wxPy_END_ALLOW_THREADS
;
2771 } _resultobj
= Py_BuildValue("i",_result
);
2775 #define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2776 static PyObject
*_wrap_wxMouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
* _resultobj
;
2779 wxMouseEvent
* _arg0
;
2780 PyObject
* _argo0
= 0;
2781 char *_kwnames
[] = { "self", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_metaDown_get",_kwnames
,&_argo0
))
2787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 _result
= (bool )wxMouseEvent_m_metaDown_get(_arg0
);
2797 wxPy_END_ALLOW_THREADS
;
2798 } _resultobj
= Py_BuildValue("i",_result
);
2802 #define wxMouseEvent_m_wheelRotation_set(_swigobj,_swigval) (_swigobj->m_wheelRotation = _swigval,_swigval)
2803 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2806 wxMouseEvent
* _arg0
;
2808 PyObject
* _argo0
= 0;
2809 char *_kwnames
[] = { "self","m_wheelRotation", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelRotation_set",_kwnames
,&_argo0
,&_arg1
))
2815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_set. Expected _wxMouseEvent_p.");
2822 wxPy_BEGIN_ALLOW_THREADS
;
2823 _result
= (int )wxMouseEvent_m_wheelRotation_set(_arg0
,_arg1
);
2825 wxPy_END_ALLOW_THREADS
;
2826 } _resultobj
= Py_BuildValue("i",_result
);
2830 #define wxMouseEvent_m_wheelRotation_get(_swigobj) ((int ) _swigobj->m_wheelRotation)
2831 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
* _resultobj
;
2834 wxMouseEvent
* _arg0
;
2835 PyObject
* _argo0
= 0;
2836 char *_kwnames
[] = { "self", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelRotation_get",_kwnames
,&_argo0
))
2842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_get. Expected _wxMouseEvent_p.");
2849 wxPy_BEGIN_ALLOW_THREADS
;
2850 _result
= (int )wxMouseEvent_m_wheelRotation_get(_arg0
);
2852 wxPy_END_ALLOW_THREADS
;
2853 } _resultobj
= Py_BuildValue("i",_result
);
2857 #define wxMouseEvent_m_wheelDelta_set(_swigobj,_swigval) (_swigobj->m_wheelDelta = _swigval,_swigval)
2858 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2861 wxMouseEvent
* _arg0
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self","m_wheelDelta", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelDelta_set",_kwnames
,&_argo0
,&_arg1
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_set. Expected _wxMouseEvent_p.");
2877 wxPy_BEGIN_ALLOW_THREADS
;
2878 _result
= (int )wxMouseEvent_m_wheelDelta_set(_arg0
,_arg1
);
2880 wxPy_END_ALLOW_THREADS
;
2881 } _resultobj
= Py_BuildValue("i",_result
);
2885 #define wxMouseEvent_m_wheelDelta_get(_swigobj) ((int ) _swigobj->m_wheelDelta)
2886 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2889 wxMouseEvent
* _arg0
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelDelta_get",_kwnames
,&_argo0
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_get. Expected _wxMouseEvent_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 _result
= (int )wxMouseEvent_m_wheelDelta_get(_arg0
);
2907 wxPy_END_ALLOW_THREADS
;
2908 } _resultobj
= Py_BuildValue("i",_result
);
2912 #define wxMouseEvent_m_linesPerAction_set(_swigobj,_swigval) (_swigobj->m_linesPerAction = _swigval,_swigval)
2913 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2916 wxMouseEvent
* _arg0
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self","m_linesPerAction", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_linesPerAction_set",_kwnames
,&_argo0
,&_arg1
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_set. Expected _wxMouseEvent_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 _result
= (int )wxMouseEvent_m_linesPerAction_set(_arg0
,_arg1
);
2935 wxPy_END_ALLOW_THREADS
;
2936 } _resultobj
= Py_BuildValue("i",_result
);
2940 #define wxMouseEvent_m_linesPerAction_get(_swigobj) ((int ) _swigobj->m_linesPerAction)
2941 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2944 wxMouseEvent
* _arg0
;
2945 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_linesPerAction_get",_kwnames
,&_argo0
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_get. Expected _wxMouseEvent_p.");
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 _result
= (int )wxMouseEvent_m_linesPerAction_get(_arg0
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } _resultobj
= Py_BuildValue("i",_result
);
2967 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
2970 src
= (wxKeyEvent
*) ptr
;
2971 dest
= (wxEvent
*) src
;
2972 return (void *) dest
;
2975 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
2976 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
* _resultobj
;
2978 wxKeyEvent
* _result
;
2980 char *_kwnames
[] = { "keyEventType", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
2990 wxPy_END_ALLOW_THREADS
;
2992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
2993 _resultobj
= Py_BuildValue("s",_ptemp
);
2996 _resultobj
= Py_None
;
3001 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3002 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3006 PyObject
* _argo0
= 0;
3007 char *_kwnames
[] = { "self", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
3020 wxPy_BEGIN_ALLOW_THREADS
;
3021 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
3023 wxPy_END_ALLOW_THREADS
;
3024 } _resultobj
= Py_BuildValue("i",_result
);
3028 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
3029 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
* _resultobj
;
3033 PyObject
* _argo0
= 0;
3034 char *_kwnames
[] = { "self", NULL
};
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
3040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
3047 wxPy_BEGIN_ALLOW_THREADS
;
3048 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
3050 wxPy_END_ALLOW_THREADS
;
3051 } _resultobj
= Py_BuildValue("i",_result
);
3055 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
3056 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3060 PyObject
* _argo0
= 0;
3061 char *_kwnames
[] = { "self", NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
3067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
3074 wxPy_BEGIN_ALLOW_THREADS
;
3075 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
3077 wxPy_END_ALLOW_THREADS
;
3078 } _resultobj
= Py_BuildValue("i",_result
);
3082 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3083 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
* _resultobj
;
3087 PyObject
* _argo0
= 0;
3088 char *_kwnames
[] = { "self", NULL
};
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
3094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
3101 wxPy_BEGIN_ALLOW_THREADS
;
3102 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
3104 wxPy_END_ALLOW_THREADS
;
3105 } _resultobj
= Py_BuildValue("i",_result
);
3109 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
3110 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
3131 wxPy_END_ALLOW_THREADS
;
3132 } _resultobj
= Py_BuildValue("l",_result
);
3136 #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3137 static PyObject
*_wrap_wxKeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3141 PyObject
* _argo0
= 0;
3142 char *_kwnames
[] = { "self", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetKeyCode",_kwnames
,&_argo0
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
3155 wxPy_BEGIN_ALLOW_THREADS
;
3156 _result
= (long )wxKeyEvent_GetKeyCode(_arg0
);
3158 wxPy_END_ALLOW_THREADS
;
3159 } _resultobj
= Py_BuildValue("l",_result
);
3163 #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
3164 static PyObject
*_wrap_wxKeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
* _resultobj
;
3168 PyObject
* _argo0
= 0;
3169 char *_kwnames
[] = { "self", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_HasModifiers",_kwnames
,&_argo0
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
3182 wxPy_BEGIN_ALLOW_THREADS
;
3183 _result
= (bool )wxKeyEvent_HasModifiers(_arg0
);
3185 wxPy_END_ALLOW_THREADS
;
3186 } _resultobj
= Py_BuildValue("i",_result
);
3190 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
3191 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3195 PyObject
* _argo0
= 0;
3196 char *_kwnames
[] = { "self", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
3209 wxPy_BEGIN_ALLOW_THREADS
;
3210 _result
= (long )wxKeyEvent_GetX(_arg0
);
3212 wxPy_END_ALLOW_THREADS
;
3213 } _resultobj
= Py_BuildValue("l",_result
);
3217 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
3218 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3222 PyObject
* _argo0
= 0;
3223 char *_kwnames
[] = { "self", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
3236 wxPy_BEGIN_ALLOW_THREADS
;
3237 _result
= (long )wxKeyEvent_GetY(_arg0
);
3239 wxPy_END_ALLOW_THREADS
;
3240 } _resultobj
= Py_BuildValue("l",_result
);
3244 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3245 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
* _resultobj
;
3249 PyObject
* _argo0
= 0;
3250 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
3264 wxPy_BEGIN_ALLOW_THREADS
;
3265 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
3267 wxPy_END_ALLOW_THREADS
;
3268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3269 _resultobj
= Py_BuildValue("s",_ptemp
);
3273 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3274 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3281 PyObject
* _argo0
= 0;
3282 char *_kwnames
[] = { "self", NULL
};
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
3294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3301 wxPy_BEGIN_ALLOW_THREADS
;
3302 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3304 wxPy_END_ALLOW_THREADS
;
3305 } Py_INCREF(Py_None
);
3306 _resultobj
= Py_None
;
3309 o
= PyInt_FromLong((long) (*_arg1
));
3310 _resultobj
= t_output_helper(_resultobj
, o
);
3314 o
= PyInt_FromLong((long) (*_arg2
));
3315 _resultobj
= t_output_helper(_resultobj
, o
);
3320 #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3321 static PyObject
*_wrap_wxKeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3326 PyObject
* _argo0
= 0;
3327 char *_kwnames
[] = { "self","m_x", NULL
};
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
3333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3340 wxPy_BEGIN_ALLOW_THREADS
;
3341 _result
= (long )wxKeyEvent_m_x_set(_arg0
,_arg1
);
3343 wxPy_END_ALLOW_THREADS
;
3344 } _resultobj
= Py_BuildValue("l",_result
);
3348 #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3349 static PyObject
*_wrap_wxKeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3353 PyObject
* _argo0
= 0;
3354 char *_kwnames
[] = { "self", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_x_get",_kwnames
,&_argo0
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3367 wxPy_BEGIN_ALLOW_THREADS
;
3368 _result
= (long )wxKeyEvent_m_x_get(_arg0
);
3370 wxPy_END_ALLOW_THREADS
;
3371 } _resultobj
= Py_BuildValue("l",_result
);
3375 #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3376 static PyObject
*_wrap_wxKeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3381 PyObject
* _argo0
= 0;
3382 char *_kwnames
[] = { "self","m_y", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p.");
3395 wxPy_BEGIN_ALLOW_THREADS
;
3396 _result
= (long )wxKeyEvent_m_y_set(_arg0
,_arg1
);
3398 wxPy_END_ALLOW_THREADS
;
3399 } _resultobj
= Py_BuildValue("l",_result
);
3403 #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3404 static PyObject
*_wrap_wxKeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
* _resultobj
;
3408 PyObject
* _argo0
= 0;
3409 char *_kwnames
[] = { "self", NULL
};
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_y_get",_kwnames
,&_argo0
))
3415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p.");
3422 wxPy_BEGIN_ALLOW_THREADS
;
3423 _result
= (long )wxKeyEvent_m_y_get(_arg0
);
3425 wxPy_END_ALLOW_THREADS
;
3426 } _resultobj
= Py_BuildValue("l",_result
);
3430 #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3431 static PyObject
*_wrap_wxKeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3436 PyObject
* _argo0
= 0;
3437 char *_kwnames
[] = { "self","m_keyCode", NULL
};
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_keyCode_set",_kwnames
,&_argo0
,&_arg1
))
3443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3450 wxPy_BEGIN_ALLOW_THREADS
;
3451 _result
= (long )wxKeyEvent_m_keyCode_set(_arg0
,_arg1
);
3453 wxPy_END_ALLOW_THREADS
;
3454 } _resultobj
= Py_BuildValue("l",_result
);
3458 #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3459 static PyObject
*_wrap_wxKeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3463 PyObject
* _argo0
= 0;
3464 char *_kwnames
[] = { "self", NULL
};
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_keyCode_get",_kwnames
,&_argo0
))
3470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3477 wxPy_BEGIN_ALLOW_THREADS
;
3478 _result
= (long )wxKeyEvent_m_keyCode_get(_arg0
);
3480 wxPy_END_ALLOW_THREADS
;
3481 } _resultobj
= Py_BuildValue("l",_result
);
3485 #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3486 static PyObject
*_wrap_wxKeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3491 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self","m_controlDown", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
3505 _arg1
= (bool ) tempbool1
;
3507 wxPy_BEGIN_ALLOW_THREADS
;
3508 _result
= (bool )wxKeyEvent_m_controlDown_set(_arg0
,_arg1
);
3510 wxPy_END_ALLOW_THREADS
;
3511 } _resultobj
= Py_BuildValue("i",_result
);
3515 #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
3516 static PyObject
*_wrap_wxKeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3520 PyObject
* _argo0
= 0;
3521 char *_kwnames
[] = { "self", NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_controlDown_get",_kwnames
,&_argo0
))
3527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 _result
= (bool )wxKeyEvent_m_controlDown_get(_arg0
);
3537 wxPy_END_ALLOW_THREADS
;
3538 } _resultobj
= Py_BuildValue("i",_result
);
3542 #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
3543 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3548 PyObject
* _argo0
= 0;
3550 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
3562 _arg1
= (bool ) tempbool1
;
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 _result
= (bool )wxKeyEvent_m_shiftDown_set(_arg0
,_arg1
);
3567 wxPy_END_ALLOW_THREADS
;
3568 } _resultobj
= Py_BuildValue("i",_result
);
3572 #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
3573 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3577 PyObject
* _argo0
= 0;
3578 char *_kwnames
[] = { "self", NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_shiftDown_get",_kwnames
,&_argo0
))
3584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
3591 wxPy_BEGIN_ALLOW_THREADS
;
3592 _result
= (bool )wxKeyEvent_m_shiftDown_get(_arg0
);
3594 wxPy_END_ALLOW_THREADS
;
3595 } _resultobj
= Py_BuildValue("i",_result
);
3599 #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
3600 static PyObject
*_wrap_wxKeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3605 PyObject
* _argo0
= 0;
3607 char *_kwnames
[] = { "self","m_altDown", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
3619 _arg1
= (bool ) tempbool1
;
3621 wxPy_BEGIN_ALLOW_THREADS
;
3622 _result
= (bool )wxKeyEvent_m_altDown_set(_arg0
,_arg1
);
3624 wxPy_END_ALLOW_THREADS
;
3625 } _resultobj
= Py_BuildValue("i",_result
);
3629 #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
3630 static PyObject
*_wrap_wxKeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_altDown_get",_kwnames
,&_argo0
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
3648 wxPy_BEGIN_ALLOW_THREADS
;
3649 _result
= (bool )wxKeyEvent_m_altDown_get(_arg0
);
3651 wxPy_END_ALLOW_THREADS
;
3652 } _resultobj
= Py_BuildValue("i",_result
);
3656 #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
3657 static PyObject
*_wrap_wxKeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3662 PyObject
* _argo0
= 0;
3664 char *_kwnames
[] = { "self","m_metaDown", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p.");
3676 _arg1
= (bool ) tempbool1
;
3678 wxPy_BEGIN_ALLOW_THREADS
;
3679 _result
= (bool )wxKeyEvent_m_metaDown_set(_arg0
,_arg1
);
3681 wxPy_END_ALLOW_THREADS
;
3682 } _resultobj
= Py_BuildValue("i",_result
);
3686 #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
3687 static PyObject
*_wrap_wxKeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3691 PyObject
* _argo0
= 0;
3692 char *_kwnames
[] = { "self", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_metaDown_get",_kwnames
,&_argo0
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p.");
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 _result
= (bool )wxKeyEvent_m_metaDown_get(_arg0
);
3708 wxPy_END_ALLOW_THREADS
;
3709 } _resultobj
= Py_BuildValue("i",_result
);
3713 #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
3714 static PyObject
*_wrap_wxKeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3719 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self","m_scanCode", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_scanCode_set",_kwnames
,&_argo0
,&tempbool1
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
3733 _arg1
= (bool ) tempbool1
;
3735 wxPy_BEGIN_ALLOW_THREADS
;
3736 _result
= (bool )wxKeyEvent_m_scanCode_set(_arg0
,_arg1
);
3738 wxPy_END_ALLOW_THREADS
;
3739 } _resultobj
= Py_BuildValue("i",_result
);
3743 #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
3744 static PyObject
*_wrap_wxKeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_scanCode_get",_kwnames
,&_argo0
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
3762 wxPy_BEGIN_ALLOW_THREADS
;
3763 _result
= (bool )wxKeyEvent_m_scanCode_get(_arg0
);
3765 wxPy_END_ALLOW_THREADS
;
3766 } _resultobj
= Py_BuildValue("i",_result
);
3770 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
3771 wxNavigationKeyEvent
*src
;
3773 src
= (wxNavigationKeyEvent
*) ptr
;
3774 dest
= (wxEvent
*) src
;
3775 return (void *) dest
;
3778 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
3779 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3781 wxNavigationKeyEvent
* _result
;
3782 char *_kwnames
[] = { NULL
};
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
3789 wxPy_BEGIN_ALLOW_THREADS
;
3790 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
3792 wxPy_END_ALLOW_THREADS
;
3794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
3795 _resultobj
= Py_BuildValue("s",_ptemp
);
3798 _resultobj
= Py_None
;
3803 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
3804 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3807 wxNavigationKeyEvent
* _arg0
;
3808 PyObject
* _argo0
= 0;
3809 char *_kwnames
[] = { "self", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
3815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
3822 wxPy_BEGIN_ALLOW_THREADS
;
3823 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
3825 wxPy_END_ALLOW_THREADS
;
3826 } _resultobj
= Py_BuildValue("i",_result
);
3830 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
3831 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3833 wxNavigationKeyEvent
* _arg0
;
3835 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self","bForward", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
3849 _arg1
= (bool ) tempbool1
;
3851 wxPy_BEGIN_ALLOW_THREADS
;
3852 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
3854 wxPy_END_ALLOW_THREADS
;
3855 } Py_INCREF(Py_None
);
3856 _resultobj
= Py_None
;
3860 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
3861 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3864 wxNavigationKeyEvent
* _arg0
;
3865 PyObject
* _argo0
= 0;
3866 char *_kwnames
[] = { "self", NULL
};
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
3872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
3879 wxPy_BEGIN_ALLOW_THREADS
;
3880 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
3882 wxPy_END_ALLOW_THREADS
;
3883 } _resultobj
= Py_BuildValue("i",_result
);
3887 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
3888 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3890 wxNavigationKeyEvent
* _arg0
;
3892 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "self","bIs", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
3906 _arg1
= (bool ) tempbool1
;
3908 wxPy_BEGIN_ALLOW_THREADS
;
3909 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
3911 wxPy_END_ALLOW_THREADS
;
3912 } Py_INCREF(Py_None
);
3913 _resultobj
= Py_None
;
3917 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
3918 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3921 wxNavigationKeyEvent
* _arg0
;
3922 PyObject
* _argo0
= 0;
3923 char *_kwnames
[] = { "self", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
3937 wxPy_BEGIN_ALLOW_THREADS
;
3938 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
3940 wxPy_END_ALLOW_THREADS
;
3942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3943 _resultobj
= Py_BuildValue("s",_ptemp
);
3946 _resultobj
= Py_None
;
3951 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
3952 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3954 wxNavigationKeyEvent
* _arg0
;
3956 PyObject
* _argo0
= 0;
3957 PyObject
* _argo1
= 0;
3958 char *_kwnames
[] = { "self","win", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
3971 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3972 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
3978 wxPy_BEGIN_ALLOW_THREADS
;
3979 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
3981 wxPy_END_ALLOW_THREADS
;
3982 } Py_INCREF(Py_None
);
3983 _resultobj
= Py_None
;
3987 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
3990 src
= (wxMoveEvent
*) ptr
;
3991 dest
= (wxEvent
*) src
;
3992 return (void *) dest
;
3995 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
3996 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
3998 wxMoveEvent
* _result
;
4000 int _arg1
= (int ) 0;
4002 PyObject
* _obj0
= 0;
4003 char *_kwnames
[] = { "pt","id", NULL
};
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
4011 if (! wxPoint_helper(_obj0
, &_arg0
))
4015 wxPy_BEGIN_ALLOW_THREADS
;
4016 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
4018 wxPy_END_ALLOW_THREADS
;
4020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
4021 _resultobj
= Py_BuildValue("s",_ptemp
);
4024 _resultobj
= Py_None
;
4029 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4030 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
* _resultobj
;
4033 wxMoveEvent
* _arg0
;
4034 PyObject
* _argo0
= 0;
4035 char *_kwnames
[] = { "self", NULL
};
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
4042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
4049 wxPy_BEGIN_ALLOW_THREADS
;
4050 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
4052 wxPy_END_ALLOW_THREADS
;
4053 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4054 _resultobj
= Py_BuildValue("s",_ptemp
);
4058 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
4061 src
= (wxPaintEvent
*) ptr
;
4062 dest
= (wxEvent
*) src
;
4063 return (void *) dest
;
4066 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
4067 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
* _resultobj
;
4069 wxPaintEvent
* _result
;
4070 int _arg0
= (int ) 0;
4071 char *_kwnames
[] = { "id", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
4078 wxPy_BEGIN_ALLOW_THREADS
;
4079 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
4081 wxPy_END_ALLOW_THREADS
;
4083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
4084 _resultobj
= Py_BuildValue("s",_ptemp
);
4087 _resultobj
= Py_None
;
4092 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
4095 src
= (wxEraseEvent
*) ptr
;
4096 dest
= (wxEvent
*) src
;
4097 return (void *) dest
;
4100 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
4101 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
* _resultobj
;
4103 wxEraseEvent
* _result
;
4104 int _arg0
= (int ) 0;
4105 wxDC
* _arg1
= (wxDC
*) NULL
;
4106 PyObject
* _argo1
= 0;
4107 char *_kwnames
[] = { "id","dc", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
4114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
4121 wxPy_BEGIN_ALLOW_THREADS
;
4122 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
4124 wxPy_END_ALLOW_THREADS
;
4126 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
4127 _resultobj
= Py_BuildValue("s",_ptemp
);
4130 _resultobj
= Py_None
;
4135 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
4136 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4139 wxEraseEvent
* _arg0
;
4140 PyObject
* _argo0
= 0;
4141 char *_kwnames
[] = { "self", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
4155 wxPy_BEGIN_ALLOW_THREADS
;
4156 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
4158 wxPy_END_ALLOW_THREADS
;
4160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
4161 _resultobj
= Py_BuildValue("s",_ptemp
);
4164 _resultobj
= Py_None
;
4169 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
4172 src
= (wxFocusEvent
*) ptr
;
4173 dest
= (wxEvent
*) src
;
4174 return (void *) dest
;
4177 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
4178 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
* _resultobj
;
4180 wxFocusEvent
* _result
;
4181 WXTYPE _arg0
= (WXTYPE
) 0;
4182 int _arg1
= (int ) 0;
4183 char *_kwnames
[] = { "eventType","id", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
4190 wxPy_BEGIN_ALLOW_THREADS
;
4191 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
4193 wxPy_END_ALLOW_THREADS
;
4195 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
4196 _resultobj
= Py_BuildValue("s",_ptemp
);
4199 _resultobj
= Py_None
;
4204 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
4205 wxActivateEvent
*src
;
4207 src
= (wxActivateEvent
*) ptr
;
4208 dest
= (wxEvent
*) src
;
4209 return (void *) dest
;
4212 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
4213 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
* _resultobj
;
4215 wxActivateEvent
* _result
;
4216 WXTYPE _arg0
= (WXTYPE
) 0;
4217 int _arg1
= (int ) TRUE
;
4218 int _arg2
= (int ) 0;
4219 char *_kwnames
[] = { "eventType","active","id", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
4229 wxPy_END_ALLOW_THREADS
;
4231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
4232 _resultobj
= Py_BuildValue("s",_ptemp
);
4235 _resultobj
= Py_None
;
4240 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
4241 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
* _resultobj
;
4244 wxActivateEvent
* _arg0
;
4245 PyObject
* _argo0
= 0;
4246 char *_kwnames
[] = { "self", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
4259 wxPy_BEGIN_ALLOW_THREADS
;
4260 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
4262 wxPy_END_ALLOW_THREADS
;
4263 } _resultobj
= Py_BuildValue("i",_result
);
4267 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
4268 wxInitDialogEvent
*src
;
4270 src
= (wxInitDialogEvent
*) ptr
;
4271 dest
= (wxEvent
*) src
;
4272 return (void *) dest
;
4275 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
4276 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4278 wxInitDialogEvent
* _result
;
4279 int _arg0
= (int ) 0;
4280 char *_kwnames
[] = { "id", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
4287 wxPy_BEGIN_ALLOW_THREADS
;
4288 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
4290 wxPy_END_ALLOW_THREADS
;
4292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
4293 _resultobj
= Py_BuildValue("s",_ptemp
);
4296 _resultobj
= Py_None
;
4301 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
4304 src
= (wxMenuEvent
*) ptr
;
4305 dest
= (wxEvent
*) src
;
4306 return (void *) dest
;
4309 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
4310 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4312 wxMenuEvent
* _result
;
4313 WXTYPE _arg0
= (WXTYPE
) 0;
4314 int _arg1
= (int ) 0;
4315 char *_kwnames
[] = { "id","id", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
4322 wxPy_BEGIN_ALLOW_THREADS
;
4323 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
4325 wxPy_END_ALLOW_THREADS
;
4327 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
4328 _resultobj
= Py_BuildValue("s",_ptemp
);
4331 _resultobj
= Py_None
;
4336 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
4337 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
* _resultobj
;
4340 wxMenuEvent
* _arg0
;
4341 PyObject
* _argo0
= 0;
4342 char *_kwnames
[] = { "self", NULL
};
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
4348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
4355 wxPy_BEGIN_ALLOW_THREADS
;
4356 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
4358 wxPy_END_ALLOW_THREADS
;
4359 } _resultobj
= Py_BuildValue("i",_result
);
4363 static void *SwigwxShowEventTowxEvent(void *ptr
) {
4366 src
= (wxShowEvent
*) ptr
;
4367 dest
= (wxEvent
*) src
;
4368 return (void *) dest
;
4371 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
4372 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
* _resultobj
;
4374 wxShowEvent
* _result
;
4375 int _arg0
= (int ) 0;
4376 int _arg1
= (int ) FALSE
;
4377 char *_kwnames
[] = { "id","show", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
4384 wxPy_BEGIN_ALLOW_THREADS
;
4385 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
4387 wxPy_END_ALLOW_THREADS
;
4389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
4390 _resultobj
= Py_BuildValue("s",_ptemp
);
4393 _resultobj
= Py_None
;
4398 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
4399 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
* _resultobj
;
4401 wxShowEvent
* _arg0
;
4403 PyObject
* _argo0
= 0;
4405 char *_kwnames
[] = { "self","show", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
4417 _arg1
= (bool ) tempbool1
;
4419 wxPy_BEGIN_ALLOW_THREADS
;
4420 wxShowEvent_SetShow(_arg0
,_arg1
);
4422 wxPy_END_ALLOW_THREADS
;
4423 } Py_INCREF(Py_None
);
4424 _resultobj
= Py_None
;
4428 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
4429 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4432 wxShowEvent
* _arg0
;
4433 PyObject
* _argo0
= 0;
4434 char *_kwnames
[] = { "self", NULL
};
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
4440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
4447 wxPy_BEGIN_ALLOW_THREADS
;
4448 _result
= (bool )wxShowEvent_GetShow(_arg0
);
4450 wxPy_END_ALLOW_THREADS
;
4451 } _resultobj
= Py_BuildValue("i",_result
);
4455 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
4456 wxIconizeEvent
*src
;
4458 src
= (wxIconizeEvent
*) ptr
;
4459 dest
= (wxEvent
*) src
;
4460 return (void *) dest
;
4463 #define new_wxIconizeEvent(_swigarg0) (new wxIconizeEvent(_swigarg0))
4464 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4466 wxIconizeEvent
* _result
;
4467 int _arg0
= (int ) 0;
4468 char *_kwnames
[] = { "id", NULL
};
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxIconizeEvent",_kwnames
,&_arg0
))
4475 wxPy_BEGIN_ALLOW_THREADS
;
4476 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
);
4478 wxPy_END_ALLOW_THREADS
;
4480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
4481 _resultobj
= Py_BuildValue("s",_ptemp
);
4484 _resultobj
= Py_None
;
4489 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
4490 wxMaximizeEvent
*src
;
4492 src
= (wxMaximizeEvent
*) ptr
;
4493 dest
= (wxEvent
*) src
;
4494 return (void *) dest
;
4497 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4498 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
* _resultobj
;
4500 wxMaximizeEvent
* _result
;
4501 int _arg0
= (int ) 0;
4502 char *_kwnames
[] = { "id", NULL
};
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
4512 wxPy_END_ALLOW_THREADS
;
4514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
4515 _resultobj
= Py_BuildValue("s",_ptemp
);
4518 _resultobj
= Py_None
;
4523 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
4524 wxJoystickEvent
*src
;
4526 src
= (wxJoystickEvent
*) ptr
;
4527 dest
= (wxEvent
*) src
;
4528 return (void *) dest
;
4531 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4532 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4534 wxJoystickEvent
* _result
;
4535 int _arg0
= (int ) wxEVT_NULL
;
4536 int _arg1
= (int ) 0;
4537 int _arg2
= (int ) wxJOYSTICK1
;
4538 int _arg3
= (int ) 0;
4539 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
4546 wxPy_BEGIN_ALLOW_THREADS
;
4547 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
4549 wxPy_END_ALLOW_THREADS
;
4551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
4552 _resultobj
= Py_BuildValue("s",_ptemp
);
4555 _resultobj
= Py_None
;
4560 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4561 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
* _resultobj
;
4564 wxJoystickEvent
* _arg0
;
4565 PyObject
* _argo0
= 0;
4566 char *_kwnames
[] = { "self", NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
4573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4580 wxPy_BEGIN_ALLOW_THREADS
;
4581 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
4583 wxPy_END_ALLOW_THREADS
;
4584 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4585 _resultobj
= Py_BuildValue("s",_ptemp
);
4589 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4590 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
* _resultobj
;
4593 wxJoystickEvent
* _arg0
;
4594 PyObject
* _argo0
= 0;
4595 char *_kwnames
[] = { "self", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4608 wxPy_BEGIN_ALLOW_THREADS
;
4609 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
4611 wxPy_END_ALLOW_THREADS
;
4612 } _resultobj
= Py_BuildValue("i",_result
);
4616 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
4617 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4620 wxJoystickEvent
* _arg0
;
4621 PyObject
* _argo0
= 0;
4622 char *_kwnames
[] = { "self", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
4635 wxPy_BEGIN_ALLOW_THREADS
;
4636 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
4638 wxPy_END_ALLOW_THREADS
;
4639 } _resultobj
= Py_BuildValue("i",_result
);
4643 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
4644 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4647 wxJoystickEvent
* _arg0
;
4648 PyObject
* _argo0
= 0;
4649 char *_kwnames
[] = { "self", NULL
};
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
4655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
4662 wxPy_BEGIN_ALLOW_THREADS
;
4663 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
4665 wxPy_END_ALLOW_THREADS
;
4666 } _resultobj
= Py_BuildValue("i",_result
);
4670 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
4671 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4674 wxJoystickEvent
* _arg0
;
4675 PyObject
* _argo0
= 0;
4676 char *_kwnames
[] = { "self", NULL
};
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
4682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
4689 wxPy_BEGIN_ALLOW_THREADS
;
4690 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
4692 wxPy_END_ALLOW_THREADS
;
4693 } _resultobj
= Py_BuildValue("i",_result
);
4697 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
4698 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4700 wxJoystickEvent
* _arg0
;
4702 PyObject
* _argo0
= 0;
4703 char *_kwnames
[] = { "self","stick", NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
4709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
4716 wxPy_BEGIN_ALLOW_THREADS
;
4717 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
4719 wxPy_END_ALLOW_THREADS
;
4720 } Py_INCREF(Py_None
);
4721 _resultobj
= Py_None
;
4725 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
4726 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
* _resultobj
;
4728 wxJoystickEvent
* _arg0
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self","state", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4745 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
4747 wxPy_END_ALLOW_THREADS
;
4748 } Py_INCREF(Py_None
);
4749 _resultobj
= Py_None
;
4753 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
4754 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4756 wxJoystickEvent
* _arg0
;
4758 PyObject
* _argo0
= 0;
4759 char *_kwnames
[] = { "self","change", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
4772 wxPy_BEGIN_ALLOW_THREADS
;
4773 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
4775 wxPy_END_ALLOW_THREADS
;
4776 } Py_INCREF(Py_None
);
4777 _resultobj
= Py_None
;
4781 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
4782 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4784 wxJoystickEvent
* _arg0
;
4786 PyObject
* _argo0
= 0;
4788 PyObject
* _obj1
= 0;
4789 char *_kwnames
[] = { "self","pos", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
4803 if (! wxPoint_helper(_obj1
, &_arg1
))
4807 wxPy_BEGIN_ALLOW_THREADS
;
4808 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
4810 wxPy_END_ALLOW_THREADS
;
4811 } Py_INCREF(Py_None
);
4812 _resultobj
= Py_None
;
4816 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
4817 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
* _resultobj
;
4819 wxJoystickEvent
* _arg0
;
4821 PyObject
* _argo0
= 0;
4822 char *_kwnames
[] = { "self","zPos", NULL
};
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
4828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
4835 wxPy_BEGIN_ALLOW_THREADS
;
4836 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
4838 wxPy_END_ALLOW_THREADS
;
4839 } Py_INCREF(Py_None
);
4840 _resultobj
= Py_None
;
4844 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
4845 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
* _resultobj
;
4848 wxJoystickEvent
* _arg0
;
4849 PyObject
* _argo0
= 0;
4850 char *_kwnames
[] = { "self", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
4863 wxPy_BEGIN_ALLOW_THREADS
;
4864 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
4866 wxPy_END_ALLOW_THREADS
;
4867 } _resultobj
= Py_BuildValue("i",_result
);
4871 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
4872 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4875 wxJoystickEvent
* _arg0
;
4876 PyObject
* _argo0
= 0;
4877 char *_kwnames
[] = { "self", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
4890 wxPy_BEGIN_ALLOW_THREADS
;
4891 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
4893 wxPy_END_ALLOW_THREADS
;
4894 } _resultobj
= Py_BuildValue("i",_result
);
4898 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
4899 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4902 wxJoystickEvent
* _arg0
;
4903 PyObject
* _argo0
= 0;
4904 char *_kwnames
[] = { "self", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
4917 wxPy_BEGIN_ALLOW_THREADS
;
4918 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
4920 wxPy_END_ALLOW_THREADS
;
4921 } _resultobj
= Py_BuildValue("i",_result
);
4925 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
4926 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4929 wxJoystickEvent
* _arg0
;
4930 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self","but", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } _resultobj
= Py_BuildValue("i",_result
);
4953 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
4954 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4957 wxJoystickEvent
* _arg0
;
4958 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
4959 PyObject
* _argo0
= 0;
4960 char *_kwnames
[] = { "self","but", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
4973 wxPy_BEGIN_ALLOW_THREADS
;
4974 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
4976 wxPy_END_ALLOW_THREADS
;
4977 } _resultobj
= Py_BuildValue("i",_result
);
4981 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
4982 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4985 wxJoystickEvent
* _arg0
;
4986 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
4987 PyObject
* _argo0
= 0;
4988 char *_kwnames
[] = { "self","but", NULL
};
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
4994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
5001 wxPy_BEGIN_ALLOW_THREADS
;
5002 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
5004 wxPy_END_ALLOW_THREADS
;
5005 } _resultobj
= Py_BuildValue("i",_result
);
5009 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
5010 wxDropFilesEvent
*src
;
5012 src
= (wxDropFilesEvent
*) ptr
;
5013 dest
= (wxEvent
*) src
;
5014 return (void *) dest
;
5017 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
5018 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
* _resultobj
;
5021 wxDropFilesEvent
* _arg0
;
5022 PyObject
* _argo0
= 0;
5023 char *_kwnames
[] = { "self", NULL
};
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
5030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
5037 wxPy_BEGIN_ALLOW_THREADS
;
5038 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
5040 wxPy_END_ALLOW_THREADS
;
5041 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5042 _resultobj
= Py_BuildValue("s",_ptemp
);
5046 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
5047 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5050 wxDropFilesEvent
* _arg0
;
5051 PyObject
* _argo0
= 0;
5052 char *_kwnames
[] = { "self", NULL
};
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
5058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
5065 wxPy_BEGIN_ALLOW_THREADS
;
5066 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
5068 wxPy_END_ALLOW_THREADS
;
5069 } _resultobj
= Py_BuildValue("i",_result
);
5073 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
5074 int count
= self
->GetNumberOfFiles();
5075 wxString
* files
= self
->GetFiles();
5076 PyObject
* list
= PyList_New(count
);
5079 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
5083 for (int i
=0; i
<count
; i
++) {
5084 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
5088 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5091 wxDropFilesEvent
* _arg0
;
5092 PyObject
* _argo0
= 0;
5093 char *_kwnames
[] = { "self", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
5099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
5106 wxPy_BEGIN_ALLOW_THREADS
;
5107 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
5109 wxPy_END_ALLOW_THREADS
;
5111 _resultobj
= _result
;
5116 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
5119 src
= (wxIdleEvent
*) ptr
;
5120 dest
= (wxEvent
*) src
;
5121 return (void *) dest
;
5124 #define new_wxIdleEvent() (new wxIdleEvent())
5125 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5127 wxIdleEvent
* _result
;
5128 char *_kwnames
[] = { NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
5135 wxPy_BEGIN_ALLOW_THREADS
;
5136 _result
= (wxIdleEvent
*)new_wxIdleEvent();
5138 wxPy_END_ALLOW_THREADS
;
5140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
5141 _resultobj
= Py_BuildValue("s",_ptemp
);
5144 _resultobj
= Py_None
;
5149 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
5150 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
* _resultobj
;
5152 wxIdleEvent
* _arg0
;
5153 bool _arg1
= (bool ) TRUE
;
5154 PyObject
* _argo0
= 0;
5155 int tempbool1
= (int) TRUE
;
5156 char *_kwnames
[] = { "self","needMore", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
5168 _arg1
= (bool ) tempbool1
;
5170 wxPy_BEGIN_ALLOW_THREADS
;
5171 wxIdleEvent_RequestMore(_arg0
,_arg1
);
5173 wxPy_END_ALLOW_THREADS
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5179 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
5180 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5183 wxIdleEvent
* _arg0
;
5184 PyObject
* _argo0
= 0;
5185 char *_kwnames
[] = { "self", NULL
};
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
5191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
5198 wxPy_BEGIN_ALLOW_THREADS
;
5199 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
5201 wxPy_END_ALLOW_THREADS
;
5202 } _resultobj
= Py_BuildValue("i",_result
);
5206 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
5207 wxUpdateUIEvent
*src
;
5209 src
= (wxUpdateUIEvent
*) ptr
;
5210 dest
= (wxEvent
*) src
;
5211 return (void *) dest
;
5214 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
5215 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
5217 wxUpdateUIEvent
* _result
;
5218 wxWindowID _arg0
= (wxWindowID
) 0;
5219 char *_kwnames
[] = { "commandId", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
5226 wxPy_BEGIN_ALLOW_THREADS
;
5227 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
5229 wxPy_END_ALLOW_THREADS
;
5231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
5232 _resultobj
= Py_BuildValue("s",_ptemp
);
5235 _resultobj
= Py_None
;
5240 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
5241 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5244 wxUpdateUIEvent
* _arg0
;
5245 PyObject
* _argo0
= 0;
5246 char *_kwnames
[] = { "self", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
5259 wxPy_BEGIN_ALLOW_THREADS
;
5260 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
5262 wxPy_END_ALLOW_THREADS
;
5263 } _resultobj
= Py_BuildValue("i",_result
);
5267 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5268 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
* _resultobj
;
5271 wxUpdateUIEvent
* _arg0
;
5272 PyObject
* _argo0
= 0;
5273 char *_kwnames
[] = { "self", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
5286 wxPy_BEGIN_ALLOW_THREADS
;
5287 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
5289 wxPy_END_ALLOW_THREADS
;
5290 } _resultobj
= Py_BuildValue("i",_result
);
5294 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5295 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
* _resultobj
;
5298 wxUpdateUIEvent
* _arg0
;
5299 PyObject
* _argo0
= 0;
5300 char *_kwnames
[] = { "self", NULL
};
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
5306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
5313 wxPy_BEGIN_ALLOW_THREADS
;
5314 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
5316 wxPy_END_ALLOW_THREADS
;
5318 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5326 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5327 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5330 wxUpdateUIEvent
* _arg0
;
5331 PyObject
* _argo0
= 0;
5332 char *_kwnames
[] = { "self", NULL
};
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
5338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
5345 wxPy_BEGIN_ALLOW_THREADS
;
5346 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
5348 wxPy_END_ALLOW_THREADS
;
5349 } _resultobj
= Py_BuildValue("i",_result
);
5353 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5354 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
* _resultobj
;
5357 wxUpdateUIEvent
* _arg0
;
5358 PyObject
* _argo0
= 0;
5359 char *_kwnames
[] = { "self", NULL
};
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
5365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
5372 wxPy_BEGIN_ALLOW_THREADS
;
5373 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
5375 wxPy_END_ALLOW_THREADS
;
5376 } _resultobj
= Py_BuildValue("i",_result
);
5380 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5381 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
* _resultobj
;
5384 wxUpdateUIEvent
* _arg0
;
5385 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
5399 wxPy_BEGIN_ALLOW_THREADS
;
5400 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
5402 wxPy_END_ALLOW_THREADS
;
5403 } _resultobj
= Py_BuildValue("i",_result
);
5407 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5408 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
* _resultobj
;
5410 wxUpdateUIEvent
* _arg0
;
5412 PyObject
* _argo0
= 0;
5414 char *_kwnames
[] = { "self","check", NULL
};
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
5420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
5426 _arg1
= (bool ) tempbool1
;
5428 wxPy_BEGIN_ALLOW_THREADS
;
5429 wxUpdateUIEvent_Check(_arg0
,_arg1
);
5431 wxPy_END_ALLOW_THREADS
;
5432 } Py_INCREF(Py_None
);
5433 _resultobj
= Py_None
;
5437 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5438 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
* _resultobj
;
5440 wxUpdateUIEvent
* _arg0
;
5442 PyObject
* _argo0
= 0;
5444 char *_kwnames
[] = { "self","enable", NULL
};
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
5450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
5456 _arg1
= (bool ) tempbool1
;
5458 wxPy_BEGIN_ALLOW_THREADS
;
5459 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
5461 wxPy_END_ALLOW_THREADS
;
5462 } Py_INCREF(Py_None
);
5463 _resultobj
= Py_None
;
5467 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5468 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5470 wxUpdateUIEvent
* _arg0
;
5472 PyObject
* _argo0
= 0;
5473 PyObject
* _obj1
= 0;
5474 char *_kwnames
[] = { "self","text", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
5487 #if PYTHON_API_VERSION >= 1009
5488 char* tmpPtr
; int tmpSize
;
5489 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5493 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5495 _arg1
= new wxString(tmpPtr
, tmpSize
);
5497 if (!PyString_Check(_obj1
)) {
5498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5501 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5505 wxPy_BEGIN_ALLOW_THREADS
;
5506 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
5508 wxPy_END_ALLOW_THREADS
;
5509 } Py_INCREF(Py_None
);
5510 _resultobj
= Py_None
;
5518 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
5519 wxSysColourChangedEvent
*src
;
5521 src
= (wxSysColourChangedEvent
*) ptr
;
5522 dest
= (wxEvent
*) src
;
5523 return (void *) dest
;
5526 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5527 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
* _resultobj
;
5529 wxSysColourChangedEvent
* _result
;
5530 char *_kwnames
[] = { NULL
};
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
5537 wxPy_BEGIN_ALLOW_THREADS
;
5538 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
5540 wxPy_END_ALLOW_THREADS
;
5542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
5543 _resultobj
= Py_BuildValue("s",_ptemp
);
5546 _resultobj
= Py_None
;
5551 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
5553 wxCommandEvent
*dest
;
5554 src
= (wxNotifyEvent
*) ptr
;
5555 dest
= (wxCommandEvent
*) src
;
5556 return (void *) dest
;
5559 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
5562 src
= (wxNotifyEvent
*) ptr
;
5563 dest
= (wxEvent
*) src
;
5564 return (void *) dest
;
5567 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
5568 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5570 wxNotifyEvent
* _result
;
5571 int _arg0
= (int ) wxEVT_NULL
;
5572 int _arg1
= (int ) 0;
5573 char *_kwnames
[] = { "commandType","id", NULL
};
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
5580 wxPy_BEGIN_ALLOW_THREADS
;
5581 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
5583 wxPy_END_ALLOW_THREADS
;
5585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
5586 _resultobj
= Py_BuildValue("s",_ptemp
);
5589 _resultobj
= Py_None
;
5594 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
5595 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
* _resultobj
;
5598 wxNotifyEvent
* _arg0
;
5599 PyObject
* _argo0
= 0;
5600 char *_kwnames
[] = { "self", NULL
};
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
5606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
5613 wxPy_BEGIN_ALLOW_THREADS
;
5614 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
5616 wxPy_END_ALLOW_THREADS
;
5617 } _resultobj
= Py_BuildValue("i",_result
);
5621 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
5622 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
* _resultobj
;
5624 wxNotifyEvent
* _arg0
;
5625 PyObject
* _argo0
= 0;
5626 char *_kwnames
[] = { "self", NULL
};
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Allow",_kwnames
,&_argo0
))
5632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
5639 wxPy_BEGIN_ALLOW_THREADS
;
5640 wxNotifyEvent_Allow(_arg0
);
5642 wxPy_END_ALLOW_THREADS
;
5643 } Py_INCREF(Py_None
);
5644 _resultobj
= Py_None
;
5648 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
5649 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
* _resultobj
;
5651 wxNotifyEvent
* _arg0
;
5652 PyObject
* _argo0
= 0;
5653 char *_kwnames
[] = { "self", NULL
};
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
5659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
5666 wxPy_BEGIN_ALLOW_THREADS
;
5667 wxNotifyEvent_Veto(_arg0
);
5669 wxPy_END_ALLOW_THREADS
;
5670 } Py_INCREF(Py_None
);
5671 _resultobj
= Py_None
;
5675 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
5676 wxPaletteChangedEvent
*src
;
5678 src
= (wxPaletteChangedEvent
*) ptr
;
5679 dest
= (wxEvent
*) src
;
5680 return (void *) dest
;
5683 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
5684 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
* _resultobj
;
5686 wxPaletteChangedEvent
* _result
;
5687 wxWindowID _arg0
= (wxWindowID
) 0;
5688 char *_kwnames
[] = { "id", NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
5695 wxPy_BEGIN_ALLOW_THREADS
;
5696 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
5698 wxPy_END_ALLOW_THREADS
;
5700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
5701 _resultobj
= Py_BuildValue("s",_ptemp
);
5704 _resultobj
= Py_None
;
5709 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
5710 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
* _resultobj
;
5712 wxPaletteChangedEvent
* _arg0
;
5714 PyObject
* _argo0
= 0;
5715 PyObject
* _argo1
= 0;
5716 char *_kwnames
[] = { "self","win", NULL
};
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
5722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
5724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
5729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
5736 wxPy_BEGIN_ALLOW_THREADS
;
5737 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
5739 wxPy_END_ALLOW_THREADS
;
5740 } Py_INCREF(Py_None
);
5741 _resultobj
= Py_None
;
5745 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
5746 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
* _resultobj
;
5749 wxPaletteChangedEvent
* _arg0
;
5750 PyObject
* _argo0
= 0;
5751 char *_kwnames
[] = { "self", NULL
};
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
5758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
5760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
5765 wxPy_BEGIN_ALLOW_THREADS
;
5766 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
5768 wxPy_END_ALLOW_THREADS
;
5770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5771 _resultobj
= Py_BuildValue("s",_ptemp
);
5774 _resultobj
= Py_None
;
5779 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
5780 wxQueryNewPaletteEvent
*src
;
5782 src
= (wxQueryNewPaletteEvent
*) ptr
;
5783 dest
= (wxEvent
*) src
;
5784 return (void *) dest
;
5787 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
5788 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5790 wxQueryNewPaletteEvent
* _result
;
5791 wxWindowID _arg0
= (wxWindowID
) 0;
5792 char *_kwnames
[] = { "id", NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
5799 wxPy_BEGIN_ALLOW_THREADS
;
5800 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
5802 wxPy_END_ALLOW_THREADS
;
5804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
5805 _resultobj
= Py_BuildValue("s",_ptemp
);
5808 _resultobj
= Py_None
;
5813 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
5814 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
* _resultobj
;
5816 wxQueryNewPaletteEvent
* _arg0
;
5818 PyObject
* _argo0
= 0;
5820 char *_kwnames
[] = { "self","realized", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
5832 _arg1
= (bool ) tempbool1
;
5834 wxPy_BEGIN_ALLOW_THREADS
;
5835 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
5837 wxPy_END_ALLOW_THREADS
;
5838 } Py_INCREF(Py_None
);
5839 _resultobj
= Py_None
;
5843 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
5844 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5847 wxQueryNewPaletteEvent
* _arg0
;
5848 PyObject
* _argo0
= 0;
5849 char *_kwnames
[] = { "self", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
5862 wxPy_BEGIN_ALLOW_THREADS
;
5863 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
5865 wxPy_END_ALLOW_THREADS
;
5866 } _resultobj
= Py_BuildValue("i",_result
);
5870 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr
) {
5871 wxWindowCreateEvent
*src
;
5872 wxCommandEvent
*dest
;
5873 src
= (wxWindowCreateEvent
*) ptr
;
5874 dest
= (wxCommandEvent
*) src
;
5875 return (void *) dest
;
5878 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
5879 wxWindowCreateEvent
*src
;
5881 src
= (wxWindowCreateEvent
*) ptr
;
5882 dest
= (wxEvent
*) src
;
5883 return (void *) dest
;
5886 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
5887 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5889 wxWindowCreateEvent
* _result
;
5890 wxWindow
* _arg0
= (wxWindow
*) NULL
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "win", NULL
};
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
5899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
5906 wxPy_BEGIN_ALLOW_THREADS
;
5907 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
5909 wxPy_END_ALLOW_THREADS
;
5911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
5912 _resultobj
= Py_BuildValue("s",_ptemp
);
5915 _resultobj
= Py_None
;
5920 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
5921 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5924 wxWindowCreateEvent
* _arg0
;
5925 PyObject
* _argo0
= 0;
5926 char *_kwnames
[] = { "self", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
5940 wxPy_BEGIN_ALLOW_THREADS
;
5941 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
5943 wxPy_END_ALLOW_THREADS
;
5945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5946 _resultobj
= Py_BuildValue("s",_ptemp
);
5949 _resultobj
= Py_None
;
5954 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr
) {
5955 wxWindowDestroyEvent
*src
;
5956 wxCommandEvent
*dest
;
5957 src
= (wxWindowDestroyEvent
*) ptr
;
5958 dest
= (wxCommandEvent
*) src
;
5959 return (void *) dest
;
5962 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
5963 wxWindowDestroyEvent
*src
;
5965 src
= (wxWindowDestroyEvent
*) ptr
;
5966 dest
= (wxEvent
*) src
;
5967 return (void *) dest
;
5970 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
5971 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
* _resultobj
;
5973 wxWindowDestroyEvent
* _result
;
5974 wxWindow
* _arg0
= (wxWindow
*) NULL
;
5975 PyObject
* _argo0
= 0;
5976 char *_kwnames
[] = { "win", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
5990 wxPy_BEGIN_ALLOW_THREADS
;
5991 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
5993 wxPy_END_ALLOW_THREADS
;
5995 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
5996 _resultobj
= Py_BuildValue("s",_ptemp
);
5999 _resultobj
= Py_None
;
6004 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6005 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
* _resultobj
;
6008 wxWindowDestroyEvent
* _arg0
;
6009 PyObject
* _argo0
= 0;
6010 char *_kwnames
[] = { "self", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
6017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
6024 wxPy_BEGIN_ALLOW_THREADS
;
6025 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
6027 wxPy_END_ALLOW_THREADS
;
6029 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6030 _resultobj
= Py_BuildValue("s",_ptemp
);
6033 _resultobj
= Py_None
;
6038 static void *SwigwxTimerEventTowxEvent(void *ptr
) {
6041 src
= (wxTimerEvent
*) ptr
;
6042 dest
= (wxEvent
*) src
;
6043 return (void *) dest
;
6046 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
6047 static PyObject
*_wrap_new_wxTimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
* _resultobj
;
6049 wxTimerEvent
* _result
;
6050 int _arg0
= (int ) 0;
6051 int _arg1
= (int ) 0;
6052 char *_kwnames
[] = { "id","interval", NULL
};
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTimerEvent",_kwnames
,&_arg0
,&_arg1
))
6059 wxPy_BEGIN_ALLOW_THREADS
;
6060 _result
= (wxTimerEvent
*)new_wxTimerEvent(_arg0
,_arg1
);
6062 wxPy_END_ALLOW_THREADS
;
6064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimerEvent_p");
6065 _resultobj
= Py_BuildValue("s",_ptemp
);
6068 _resultobj
= Py_None
;
6073 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
6074 static PyObject
*_wrap_wxTimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
* _resultobj
;
6077 wxTimerEvent
* _arg0
;
6078 PyObject
* _argo0
= 0;
6079 char *_kwnames
[] = { "self", NULL
};
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimerEvent_GetInterval",_kwnames
,&_argo0
))
6085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimerEvent_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
6092 wxPy_BEGIN_ALLOW_THREADS
;
6093 _result
= (int )wxTimerEvent_GetInterval(_arg0
);
6095 wxPy_END_ALLOW_THREADS
;
6096 } _resultobj
= Py_BuildValue("i",_result
);
6100 static void *SwigwxPyEventTowxEvent(void *ptr
) {
6103 src
= (wxPyEvent
*) ptr
;
6104 dest
= (wxEvent
*) src
;
6105 return (void *) dest
;
6108 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
6109 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
* _resultobj
;
6111 wxPyEvent
* _result
;
6112 int _arg0
= (int ) 0;
6113 char *_kwnames
[] = { "id", NULL
};
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
6120 wxPy_BEGIN_ALLOW_THREADS
;
6121 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
6123 wxPy_END_ALLOW_THREADS
;
6125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
6126 _resultobj
= Py_BuildValue("s",_ptemp
);
6129 _resultobj
= Py_None
;
6134 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
6135 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
* _resultobj
;
6138 PyObject
* _argo0
= 0;
6139 char *_kwnames
[] = { "self", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 delete_wxPyEvent(_arg0
);
6155 wxPy_END_ALLOW_THREADS
;
6156 } Py_INCREF(Py_None
);
6157 _resultobj
= Py_None
;
6161 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6162 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
* _resultobj
;
6166 PyObject
* _argo0
= 0;
6167 PyObject
* _obj1
= 0;
6168 char *_kwnames
[] = { "self","self", NULL
};
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
6184 wxPy_BEGIN_ALLOW_THREADS
;
6185 wxPyEvent_SetSelf(_arg0
,_arg1
);
6187 wxPy_END_ALLOW_THREADS
;
6188 } Py_INCREF(Py_None
);
6189 _resultobj
= Py_None
;
6193 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6194 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6198 PyObject
* _argo0
= 0;
6199 char *_kwnames
[] = { "self", NULL
};
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
6205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
6212 wxPy_BEGIN_ALLOW_THREADS
;
6213 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
6215 wxPy_END_ALLOW_THREADS
;
6217 _resultobj
= _result
;
6222 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
6223 wxPyCommandEvent
*src
;
6224 wxCommandEvent
*dest
;
6225 src
= (wxPyCommandEvent
*) ptr
;
6226 dest
= (wxCommandEvent
*) src
;
6227 return (void *) dest
;
6230 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
6231 wxPyCommandEvent
*src
;
6233 src
= (wxPyCommandEvent
*) ptr
;
6234 dest
= (wxEvent
*) src
;
6235 return (void *) dest
;
6238 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
6239 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
* _resultobj
;
6241 wxPyCommandEvent
* _result
;
6242 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6243 int _arg1
= (int ) 0;
6244 char *_kwnames
[] = { "commandType","id", NULL
};
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
6251 wxPy_BEGIN_ALLOW_THREADS
;
6252 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
6254 wxPy_END_ALLOW_THREADS
;
6256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
6257 _resultobj
= Py_BuildValue("s",_ptemp
);
6260 _resultobj
= Py_None
;
6265 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
6266 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
* _resultobj
;
6268 wxPyCommandEvent
* _arg0
;
6269 PyObject
* _argo0
= 0;
6270 char *_kwnames
[] = { "self", NULL
};
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
6276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
6283 wxPy_BEGIN_ALLOW_THREADS
;
6284 delete_wxPyCommandEvent(_arg0
);
6286 wxPy_END_ALLOW_THREADS
;
6287 } Py_INCREF(Py_None
);
6288 _resultobj
= Py_None
;
6292 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6293 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
* _resultobj
;
6295 wxPyCommandEvent
* _arg0
;
6297 PyObject
* _argo0
= 0;
6298 PyObject
* _obj1
= 0;
6299 char *_kwnames
[] = { "self","self", NULL
};
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
6315 wxPy_BEGIN_ALLOW_THREADS
;
6316 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
6318 wxPy_END_ALLOW_THREADS
;
6319 } Py_INCREF(Py_None
);
6320 _resultobj
= Py_None
;
6324 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6325 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
* _resultobj
;
6328 wxPyCommandEvent
* _arg0
;
6329 PyObject
* _argo0
= 0;
6330 char *_kwnames
[] = { "self", NULL
};
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
6336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
6343 wxPy_BEGIN_ALLOW_THREADS
;
6344 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
6346 wxPy_END_ALLOW_THREADS
;
6348 _resultobj
= _result
;
6353 static PyMethodDef eventscMethods
[] = {
6354 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6355 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6356 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6357 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6358 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6359 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6360 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6361 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6362 { "wxTimerEvent_GetInterval", (PyCFunction
) _wrap_wxTimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6363 { "new_wxTimerEvent", (PyCFunction
) _wrap_new_wxTimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
6364 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6365 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6366 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6367 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6368 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6369 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6370 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
6371 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6372 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6373 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6374 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6375 { "wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
6376 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
6377 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6378 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6379 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
6380 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6381 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
6382 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6383 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6384 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
6385 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
6386 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6387 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6388 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
6389 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
6390 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
6391 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
6392 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
6393 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
6394 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6395 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6396 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6397 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6398 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
6399 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
6400 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6401 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6402 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6403 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6404 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6405 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6406 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6407 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6408 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6409 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6410 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6411 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
6412 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6413 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6414 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
6415 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
6416 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
6417 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
6418 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
6419 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
6420 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
6421 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6422 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
6423 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6424 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6425 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
6426 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6427 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
6428 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6429 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6430 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6431 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6432 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6433 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6434 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6435 { "wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6436 { "wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6437 { "wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6438 { "wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6439 { "wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6440 { "wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6441 { "wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6442 { "wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6443 { "wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6444 { "wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6445 { "wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6446 { "wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6447 { "wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6448 { "wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6449 { "wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6450 { "wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6451 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6452 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6453 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6454 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6455 { "wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
6456 { "wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6457 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6458 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6459 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6460 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6461 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6462 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6463 { "wxMouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
6464 { "wxMouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
6465 { "wxMouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
6466 { "wxMouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
6467 { "wxMouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
6468 { "wxMouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
6469 { "wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6470 { "wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6471 { "wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6472 { "wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6473 { "wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6474 { "wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6475 { "wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6476 { "wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6477 { "wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6478 { "wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6479 { "wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6480 { "wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6481 { "wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6482 { "wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6483 { "wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6484 { "wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6485 { "wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6486 { "wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6487 { "wxMouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_wxMouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
6488 { "wxMouseEvent_GetWheelDelta", (PyCFunction
) _wrap_wxMouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
6489 { "wxMouseEvent_GetWheelRotation", (PyCFunction
) _wrap_wxMouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
6490 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6491 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6492 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
6493 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6494 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6495 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
6496 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
6497 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
6498 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
6499 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6500 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6501 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6502 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
6503 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
6504 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
6505 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
6506 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
6507 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
6508 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
6509 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
6510 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
6511 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6512 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6513 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6514 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6515 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6516 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
6517 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6518 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
6519 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6520 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6521 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6522 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6523 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6524 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6525 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6526 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6527 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6528 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
6529 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
6530 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6531 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
6532 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
6533 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
6534 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6535 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
6536 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6537 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6538 { "wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6539 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6540 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6541 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
6542 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6543 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6544 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6545 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6546 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6547 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6548 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6549 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
6550 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6551 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6552 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
6553 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
6554 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6555 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
6556 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6557 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
6558 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
6559 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
6560 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
6561 { "wxNewEventType", (PyCFunction
) _wrap_wxNewEventType
, METH_VARARGS
| METH_KEYWORDS
},
6568 * This table is used by the pointer type-checker
6570 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6571 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6572 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6573 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6574 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
6575 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
6576 { "_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6577 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6578 { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6579 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6580 { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6581 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6582 { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6583 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6584 { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6585 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6586 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6587 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6588 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6589 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6590 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6591 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6592 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6593 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6594 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6595 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6596 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6597 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6598 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6599 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6600 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6601 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6602 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
6603 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
6604 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6605 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6606 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6607 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6608 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6609 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6610 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6611 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6612 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6613 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6614 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6615 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6616 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6617 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6618 { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6619 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6620 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6621 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6622 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6623 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6624 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6625 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6626 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6627 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6628 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6629 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6630 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6631 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6632 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6633 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6634 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6635 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6636 { "_wxEvent","_class_wxEvent",0},
6637 { "_class_wxActivateEvent","_wxActivateEvent",0},
6638 { "_signed_long","_long",0},
6639 { "_wxMenuEvent","_class_wxMenuEvent",0},
6640 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6641 { "_wxPrintQuality","_wxCoord",0},
6642 { "_wxPrintQuality","_int",0},
6643 { "_wxPrintQuality","_signed_int",0},
6644 { "_wxPrintQuality","_unsigned_int",0},
6645 { "_wxPrintQuality","_wxWindowID",0},
6646 { "_wxPrintQuality","_uint",0},
6647 { "_wxPrintQuality","_EBool",0},
6648 { "_wxPrintQuality","_size_t",0},
6649 { "_wxPrintQuality","_time_t",0},
6650 { "_class_wxRegionIterator","_wxRegionIterator",0},
6651 { "_wxPaintEvent","_class_wxPaintEvent",0},
6652 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6653 { "_wxCursor","_class_wxCursor",0},
6654 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6655 { "_wxMask","_class_wxMask",0},
6656 { "_wxPen","_class_wxPen",0},
6657 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6658 { "_byte","_unsigned_char",0},
6659 { "_wxColourDatabase","_class_wxColourDatabase",0},
6660 { "_long","_unsigned_long",0},
6661 { "_long","_signed_long",0},
6662 { "_wxImageList","_class_wxImageList",0},
6663 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6664 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6665 { "_wxDC","_class_wxDC",0},
6666 { "_wxSpinEvent","_class_wxSpinEvent",0},
6667 { "_size_t","_wxCoord",0},
6668 { "_size_t","_wxPrintQuality",0},
6669 { "_size_t","_time_t",0},
6670 { "_size_t","_unsigned_int",0},
6671 { "_size_t","_int",0},
6672 { "_size_t","_wxWindowID",0},
6673 { "_size_t","_uint",0},
6674 { "_class_wxRealPoint","_wxRealPoint",0},
6675 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6676 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6677 { "_class_wxPaintEvent","_wxPaintEvent",0},
6678 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6679 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6680 { "_wxPyEvent","_class_wxPyEvent",0},
6681 { "_class_wxMask","_wxMask",0},
6682 { "_class_wxKeyEvent","_wxKeyEvent",0},
6683 { "_wxColour","_class_wxColour",0},
6684 { "_wxIdleEvent","_class_wxIdleEvent",0},
6685 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6686 { "_wxBrush","_class_wxBrush",0},
6687 { "_wxShowEvent","_class_wxShowEvent",0},
6688 { "_uint","_wxCoord",0},
6689 { "_uint","_wxPrintQuality",0},
6690 { "_uint","_time_t",0},
6691 { "_uint","_size_t",0},
6692 { "_uint","_unsigned_int",0},
6693 { "_uint","_int",0},
6694 { "_uint","_wxWindowID",0},
6695 { "_wxChar","_char",0},
6696 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6697 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6698 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
6699 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
6700 { "_class_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6701 { "_class_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6702 { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6703 { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6704 { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6705 { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6706 { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6707 { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6708 { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6709 { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6710 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6711 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6712 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6713 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6714 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6715 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6716 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6717 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6718 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6719 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6720 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6721 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6722 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6723 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6724 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6725 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6726 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
6727 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
6728 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6729 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6730 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6731 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6732 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6733 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6734 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6735 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6736 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6737 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6738 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6739 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6740 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6741 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6742 { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6743 { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6744 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6745 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6746 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6747 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6748 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6749 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6750 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6751 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6752 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6753 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6754 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6755 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6756 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6757 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6758 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6759 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6760 { "_class_wxEvent","_wxEvent",0},
6761 { "_wxRect","_class_wxRect",0},
6762 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6763 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6764 { "_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6765 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6766 { "_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6767 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6768 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6769 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6770 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6771 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6772 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6773 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6774 { "_wxCommandEvent","_class_wxCommandEvent",0},
6775 { "_wxSizeEvent","_class_wxSizeEvent",0},
6776 { "_wxPoint","_class_wxPoint",0},
6777 { "_char","_wxChar",0},
6778 { "_wxBitmap","_class_wxBitmap",0},
6779 { "_wxPenList","_class_wxPenList",0},
6780 { "_wxWindowDC","_class_wxWindowDC",0},
6781 { "_wxTimerEvent","_class_wxTimerEvent",0},
6782 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6783 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6784 { "_class_wxPyEvent","_wxPyEvent",0},
6785 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6786 { "_class_wxColourDatabase","_wxColourDatabase",0},
6787 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6788 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6789 { "_wxScrollEvent","_class_wxScrollEvent",0},
6790 { "_EBool","_wxCoord",0},
6791 { "_EBool","_wxPrintQuality",0},
6792 { "_EBool","_signed_int",0},
6793 { "_EBool","_int",0},
6794 { "_EBool","_wxWindowID",0},
6795 { "_class_wxRegion","_wxRegion",0},
6796 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6797 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6798 { "_wxFont","_class_wxFont",0},
6799 { "_wxCloseEvent","_class_wxCloseEvent",0},
6800 { "_unsigned_long","_long",0},
6801 { "_class_wxRect","_wxRect",0},
6802 { "_class_wxDC","_wxDC",0},
6803 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6804 { "_class_wxBrushList","_wxBrushList",0},
6805 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6806 { "_class_wxPenList","_wxPenList",0},
6807 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6808 { "_wxFocusEvent","_class_wxFocusEvent",0},
6809 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6810 { "_class_wxTimerEvent","_wxTimerEvent",0},
6811 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6812 { "_signed_int","_wxCoord",0},
6813 { "_signed_int","_wxPrintQuality",0},
6814 { "_signed_int","_EBool",0},
6815 { "_signed_int","_wxWindowID",0},
6816 { "_signed_int","_int",0},
6817 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6818 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6819 { "_class_wxMoveEvent","_wxMoveEvent",0},
6820 { "_wxScreenDC","_class_wxScreenDC",0},
6821 { "_WXTYPE","_short",0},
6822 { "_WXTYPE","_signed_short",0},
6823 { "_WXTYPE","_unsigned_short",0},
6824 { "_class_wxBrush","_wxBrush",0},
6825 { "_unsigned_short","_WXTYPE",0},
6826 { "_unsigned_short","_short",0},
6827 { "_class_wxFont","_wxFont",0},
6828 { "_class_wxCloseEvent","_wxCloseEvent",0},
6829 { "_wxBusyInfo","_class_wxBusyInfo",0},
6830 { "_wxFontList","_class_wxFontList",0},
6831 { "_class_wxMenuEvent","_wxMenuEvent",0},
6832 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6833 { "_wxClientDC","_class_wxClientDC",0},
6834 { "_wxMouseEvent","_class_wxMouseEvent",0},
6835 { "_class_wxPoint","_wxPoint",0},
6836 { "_wxRealPoint","_class_wxRealPoint",0},
6837 { "_signed_short","_WXTYPE",0},
6838 { "_signed_short","_short",0},
6839 { "_wxMemoryDC","_class_wxMemoryDC",0},
6840 { "_wxPaintDC","_class_wxPaintDC",0},
6841 { "_class_wxWindowDC","_wxWindowDC",0},
6842 { "_class_wxFocusEvent","_wxFocusEvent",0},
6843 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6844 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6845 { "_class_wxCursor","_wxCursor",0},
6846 { "_unsigned_char","_byte",0},
6847 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6848 { "_unsigned_int","_wxCoord",0},
6849 { "_unsigned_int","_wxPrintQuality",0},
6850 { "_unsigned_int","_time_t",0},
6851 { "_unsigned_int","_size_t",0},
6852 { "_unsigned_int","_uint",0},
6853 { "_unsigned_int","_wxWindowID",0},
6854 { "_unsigned_int","_int",0},
6855 { "_wxIcon","_class_wxIcon",0},
6856 { "_class_wxPen","_wxPen",0},
6857 { "_short","_WXTYPE",0},
6858 { "_short","_unsigned_short",0},
6859 { "_short","_signed_short",0},
6860 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6861 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6862 { "_class_wxScrollEvent","_wxScrollEvent",0},
6863 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6864 { "_class_wxImageList","_wxImageList",0},
6865 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6866 { "_wxWindowID","_wxCoord",0},
6867 { "_wxWindowID","_wxPrintQuality",0},
6868 { "_wxWindowID","_time_t",0},
6869 { "_wxWindowID","_size_t",0},
6870 { "_wxWindowID","_EBool",0},
6871 { "_wxWindowID","_uint",0},
6872 { "_wxWindowID","_int",0},
6873 { "_wxWindowID","_signed_int",0},
6874 { "_wxWindowID","_unsigned_int",0},
6875 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6876 { "_int","_wxCoord",0},
6877 { "_int","_wxPrintQuality",0},
6878 { "_int","_time_t",0},
6879 { "_int","_size_t",0},
6880 { "_int","_EBool",0},
6881 { "_int","_uint",0},
6882 { "_int","_wxWindowID",0},
6883 { "_int","_unsigned_int",0},
6884 { "_int","_signed_int",0},
6885 { "_class_wxMouseEvent","_wxMouseEvent",0},
6886 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6887 { "_class_wxSpinEvent","_wxSpinEvent",0},
6888 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6889 { "_time_t","_wxCoord",0},
6890 { "_time_t","_wxPrintQuality",0},
6891 { "_time_t","_unsigned_int",0},
6892 { "_time_t","_int",0},
6893 { "_time_t","_wxWindowID",0},
6894 { "_time_t","_uint",0},
6895 { "_time_t","_size_t",0},
6896 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6897 { "_wxSize","_class_wxSize",0},
6898 { "_wxRegionIterator","_class_wxRegionIterator",0},
6899 { "_class_wxPaintDC","_wxPaintDC",0},
6900 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6901 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6902 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6903 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6904 { "_class_wxIcon","_wxIcon",0},
6905 { "_class_wxColour","_wxColour",0},
6906 { "_class_wxScreenDC","_wxScreenDC",0},
6907 { "_wxPalette","_class_wxPalette",0},
6908 { "_class_wxIdleEvent","_wxIdleEvent",0},
6909 { "_wxCoord","_int",0},
6910 { "_wxCoord","_signed_int",0},
6911 { "_wxCoord","_unsigned_int",0},
6912 { "_wxCoord","_wxWindowID",0},
6913 { "_wxCoord","_uint",0},
6914 { "_wxCoord","_EBool",0},
6915 { "_wxCoord","_size_t",0},
6916 { "_wxCoord","_time_t",0},
6917 { "_wxCoord","_wxPrintQuality",0},
6918 { "_wxEraseEvent","_class_wxEraseEvent",0},
6919 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6920 { "_wxRegion","_class_wxRegion",0},
6921 { "_class_wxShowEvent","_wxShowEvent",0},
6922 { "_wxActivateEvent","_class_wxActivateEvent",0},
6923 { "_class_wxBusyInfo","_wxBusyInfo",0},
6924 { "_class_wxFontList","_wxFontList",0},
6925 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6926 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6927 { "_class_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6928 { "_class_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6929 { "_class_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6930 { "_class_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6931 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6932 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6933 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6934 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6935 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6936 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6937 { "_class_wxCommandEvent","_wxCommandEvent",0},
6938 { "_class_wxClientDC","_wxClientDC",0},
6939 { "_class_wxSizeEvent","_wxSizeEvent",0},
6940 { "_wxBrushList","_class_wxBrushList",0},
6941 { "_class_wxSize","_wxSize",0},
6942 { "_class_wxBitmap","_wxBitmap",0},
6943 { "_class_wxMemoryDC","_wxMemoryDC",0},
6944 { "_wxKeyEvent","_class_wxKeyEvent",0},
6945 { "_wxMoveEvent","_class_wxMoveEvent",0},
6946 { "_class_wxPalette","_wxPalette",0},
6947 { "_class_wxEraseEvent","_wxEraseEvent",0},
6948 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6951 static PyObject
*SWIG_globals
;
6955 SWIGEXPORT(void) initeventsc() {
6957 SWIG_globals
= SWIG_newvarlink();
6958 m
= Py_InitModule("eventsc", eventscMethods
);
6959 d
= PyModule_GetDict(m
);
6962 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6963 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);