2 * FILE : src/msw/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initeventsc
56 #define SWIG_name "eventsc"
59 #include <wx/spinbutt.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
111 #define new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
112 static PyObject
*_wrap_new_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
113 PyObject
* _resultobj
;
115 int _arg0
= (int ) 0;
116 char *_kwnames
[] = { "id", NULL
};
120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxEvent",_kwnames
,&_arg0
))
123 wxPy_BEGIN_ALLOW_THREADS
;
124 _result
= (wxEvent
*)new_wxEvent(_arg0
);
126 wxPy_END_ALLOW_THREADS
;
128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
129 _resultobj
= Py_BuildValue("s",_ptemp
);
132 _resultobj
= Py_None
;
137 #define delete_wxEvent(_swigobj) (delete _swigobj)
138 static PyObject
*_wrap_delete_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
139 PyObject
* _resultobj
;
141 PyObject
* _argo0
= 0;
142 char *_kwnames
[] = { "self", NULL
};
145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEvent",_kwnames
,&_argo0
))
148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
155 wxPy_BEGIN_ALLOW_THREADS
;
156 delete_wxEvent(_arg0
);
158 wxPy_END_ALLOW_THREADS
;
159 } Py_INCREF(Py_None
);
160 _resultobj
= Py_None
;
164 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
165 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
166 PyObject
* _resultobj
;
169 PyObject
* _argo0
= 0;
170 char *_kwnames
[] = { "self", NULL
};
174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
184 wxPy_BEGIN_ALLOW_THREADS
;
185 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
187 wxPy_END_ALLOW_THREADS
;
189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
190 _resultobj
= Py_BuildValue("s",_ptemp
);
193 _resultobj
= Py_None
;
198 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
199 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
203 PyObject
* _argo0
= 0;
204 char *_kwnames
[] = { "self", NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
217 wxPy_BEGIN_ALLOW_THREADS
;
218 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
220 wxPy_END_ALLOW_THREADS
;
221 } _resultobj
= Py_BuildValue("i",_result
);
225 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
226 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
230 PyObject
* _argo0
= 0;
231 char *_kwnames
[] = { "self", NULL
};
234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
244 wxPy_BEGIN_ALLOW_THREADS
;
245 _result
= (int )wxEvent_GetId(_arg0
);
247 wxPy_END_ALLOW_THREADS
;
248 } _resultobj
= Py_BuildValue("i",_result
);
252 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
253 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
254 PyObject
* _resultobj
;
257 PyObject
* _argo0
= 0;
258 char *_kwnames
[] = { "self", NULL
};
261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
271 wxPy_BEGIN_ALLOW_THREADS
;
272 _result
= (bool )wxEvent_GetSkipped(_arg0
);
274 wxPy_END_ALLOW_THREADS
;
275 } _resultobj
= Py_BuildValue("i",_result
);
279 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
280 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
284 PyObject
* _argo0
= 0;
285 char *_kwnames
[] = { "self", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
298 wxPy_BEGIN_ALLOW_THREADS
;
299 _result
= (long )wxEvent_GetTimestamp(_arg0
);
301 wxPy_END_ALLOW_THREADS
;
302 } _resultobj
= Py_BuildValue("l",_result
);
306 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
307 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
308 PyObject
* _resultobj
;
311 PyObject
* _argo0
= 0;
312 PyObject
* _argo1
= 0;
313 char *_kwnames
[] = { "self","object", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
326 if (_argo1
== Py_None
) { _arg1
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
333 wxPy_BEGIN_ALLOW_THREADS
;
334 wxEvent_SetEventObject(_arg0
,_arg1
);
336 wxPy_END_ALLOW_THREADS
;
337 } Py_INCREF(Py_None
);
338 _resultobj
= Py_None
;
342 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
343 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
344 PyObject
* _resultobj
;
347 PyObject
* _argo0
= 0;
348 char *_kwnames
[] = { "self","typ", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
361 wxPy_BEGIN_ALLOW_THREADS
;
362 wxEvent_SetEventType(_arg0
,_arg1
);
364 wxPy_END_ALLOW_THREADS
;
365 } Py_INCREF(Py_None
);
366 _resultobj
= Py_None
;
370 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
371 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
375 PyObject
* _argo0
= 0;
376 char *_kwnames
[] = { "self","id", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
389 wxPy_BEGIN_ALLOW_THREADS
;
390 wxEvent_SetId(_arg0
,_arg1
);
392 wxPy_END_ALLOW_THREADS
;
393 } Py_INCREF(Py_None
);
394 _resultobj
= Py_None
;
398 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
399 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
403 PyObject
* _argo0
= 0;
404 char *_kwnames
[] = { "self","timeStamp", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
417 wxPy_BEGIN_ALLOW_THREADS
;
418 wxEvent_SetTimestamp(_arg0
,_arg1
);
420 wxPy_END_ALLOW_THREADS
;
421 } Py_INCREF(Py_None
);
422 _resultobj
= Py_None
;
426 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
427 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
430 bool _arg1
= (bool ) TRUE
;
431 PyObject
* _argo0
= 0;
432 int tempbool1
= (int) TRUE
;
433 char *_kwnames
[] = { "self","skip", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
445 _arg1
= (bool ) tempbool1
;
447 wxPy_BEGIN_ALLOW_THREADS
;
448 wxEvent_Skip(_arg0
,_arg1
);
450 wxPy_END_ALLOW_THREADS
;
451 } Py_INCREF(Py_None
);
452 _resultobj
= Py_None
;
456 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
459 src
= (wxSizeEvent
*) ptr
;
460 dest
= (wxEvent
*) src
;
461 return (void *) dest
;
464 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
465 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
467 wxSizeEvent
* _result
;
469 int _arg1
= (int ) 0;
471 PyObject
* _obj0
= 0;
472 char *_kwnames
[] = { "sz","id", NULL
};
476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxSizeEvent",_kwnames
,&_obj0
,&_arg1
))
480 if (! wxSize_helper(_obj0
, &_arg0
))
484 wxPy_BEGIN_ALLOW_THREADS
;
485 _result
= (wxSizeEvent
*)new_wxSizeEvent(*_arg0
,_arg1
);
487 wxPy_END_ALLOW_THREADS
;
489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizeEvent_p");
490 _resultobj
= Py_BuildValue("s",_ptemp
);
493 _resultobj
= Py_None
;
498 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
499 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 PyObject
* _resultobj
;
503 PyObject
* _argo0
= 0;
504 char *_kwnames
[] = { "self", NULL
};
508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
518 wxPy_BEGIN_ALLOW_THREADS
;
519 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
521 wxPy_END_ALLOW_THREADS
;
522 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
523 _resultobj
= Py_BuildValue("s",_ptemp
);
527 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
530 src
= (wxCloseEvent
*) ptr
;
531 dest
= (wxEvent
*) src
;
532 return (void *) dest
;
535 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
536 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
538 wxCloseEvent
* _result
;
539 int _arg0
= (int ) 0;
540 int _arg1
= (int ) 0;
541 char *_kwnames
[] = { "commandEventType","id", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCloseEvent",_kwnames
,&_arg0
,&_arg1
))
548 wxPy_BEGIN_ALLOW_THREADS
;
549 _result
= (wxCloseEvent
*)new_wxCloseEvent(_arg0
,_arg1
);
551 wxPy_END_ALLOW_THREADS
;
553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCloseEvent_p");
554 _resultobj
= Py_BuildValue("s",_ptemp
);
557 _resultobj
= Py_None
;
562 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
563 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
565 wxCloseEvent
* _arg0
;
567 PyObject
* _argo0
= 0;
569 char *_kwnames
[] = { "self","loggingOff", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
581 _arg1
= (bool ) tempbool1
;
583 wxPy_BEGIN_ALLOW_THREADS
;
584 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
586 wxPy_END_ALLOW_THREADS
;
587 } Py_INCREF(Py_None
);
588 _resultobj
= Py_None
;
592 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
593 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
596 wxCloseEvent
* _arg0
;
597 PyObject
* _argo0
= 0;
598 char *_kwnames
[] = { "self", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
614 wxPy_END_ALLOW_THREADS
;
615 } _resultobj
= Py_BuildValue("i",_result
);
619 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
620 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 PyObject
* _resultobj
;
622 wxCloseEvent
* _arg0
;
623 bool _arg1
= (bool ) TRUE
;
624 PyObject
* _argo0
= 0;
625 int tempbool1
= (int) TRUE
;
626 char *_kwnames
[] = { "self","veto", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
638 _arg1
= (bool ) tempbool1
;
640 wxPy_BEGIN_ALLOW_THREADS
;
641 wxCloseEvent_Veto(_arg0
,_arg1
);
643 wxPy_END_ALLOW_THREADS
;
644 } Py_INCREF(Py_None
);
645 _resultobj
= Py_None
;
649 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
650 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
651 PyObject
* _resultobj
;
653 wxCloseEvent
* _arg0
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self", NULL
};
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
668 wxPy_BEGIN_ALLOW_THREADS
;
669 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
671 wxPy_END_ALLOW_THREADS
;
672 } _resultobj
= Py_BuildValue("i",_result
);
676 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
677 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
680 wxCloseEvent
* _arg0
;
681 PyObject
* _argo0
= 0;
682 char *_kwnames
[] = { "self", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
695 wxPy_BEGIN_ALLOW_THREADS
;
696 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
698 wxPy_END_ALLOW_THREADS
;
699 } _resultobj
= Py_BuildValue("i",_result
);
703 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
704 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
706 wxCloseEvent
* _arg0
;
708 PyObject
* _argo0
= 0;
710 char *_kwnames
[] = { "self","canVeto", NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
722 _arg1
= (bool ) tempbool1
;
724 wxPy_BEGIN_ALLOW_THREADS
;
725 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
727 wxPy_END_ALLOW_THREADS
;
728 } Py_INCREF(Py_None
);
729 _resultobj
= Py_None
;
733 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
736 src
= (wxCommandEvent
*) ptr
;
737 dest
= (wxEvent
*) src
;
738 return (void *) dest
;
741 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
742 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
743 PyObject
* _resultobj
;
744 wxCommandEvent
* _result
;
745 int _arg0
= (int ) 0;
746 int _arg1
= (int ) 0;
747 char *_kwnames
[] = { "commandEventType","id", NULL
};
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCommandEvent",_kwnames
,&_arg0
,&_arg1
))
754 wxPy_BEGIN_ALLOW_THREADS
;
755 _result
= (wxCommandEvent
*)new_wxCommandEvent(_arg0
,_arg1
);
757 wxPy_END_ALLOW_THREADS
;
759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCommandEvent_p");
760 _resultobj
= Py_BuildValue("s",_ptemp
);
763 _resultobj
= Py_None
;
768 #define wxCommandEvent_IsChecked(_swigobj) (_swigobj->IsChecked())
769 static PyObject
*_wrap_wxCommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
772 wxCommandEvent
* _arg0
;
773 PyObject
* _argo0
= 0;
774 char *_kwnames
[] = { "self", NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsChecked",_kwnames
,&_argo0
))
780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsChecked. Expected _wxCommandEvent_p.");
787 wxPy_BEGIN_ALLOW_THREADS
;
788 _result
= (bool )wxCommandEvent_IsChecked(_arg0
);
790 wxPy_END_ALLOW_THREADS
;
791 } _resultobj
= Py_BuildValue("i",_result
);
795 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
796 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
799 wxCommandEvent
* _arg0
;
800 PyObject
* _argo0
= 0;
801 char *_kwnames
[] = { "self", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
814 wxPy_BEGIN_ALLOW_THREADS
;
815 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
817 wxPy_END_ALLOW_THREADS
;
818 } _resultobj
= Py_BuildValue("l",_result
);
822 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
823 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 wxCommandEvent
* _arg0
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
841 wxPy_BEGIN_ALLOW_THREADS
;
842 _result
= (int )wxCommandEvent_GetInt(_arg0
);
844 wxPy_END_ALLOW_THREADS
;
845 } _resultobj
= Py_BuildValue("i",_result
);
849 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
850 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 PyObject
* _resultobj
;
853 wxCommandEvent
* _arg0
;
854 PyObject
* _argo0
= 0;
855 char *_kwnames
[] = { "self", NULL
};
858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
868 wxPy_BEGIN_ALLOW_THREADS
;
869 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
871 wxPy_END_ALLOW_THREADS
;
872 } _resultobj
= Py_BuildValue("i",_result
);
876 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
877 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 PyObject
* _resultobj
;
880 wxCommandEvent
* _arg0
;
881 PyObject
* _argo0
= 0;
882 char *_kwnames
[] = { "self", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
895 wxPy_BEGIN_ALLOW_THREADS
;
896 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
898 wxPy_END_ALLOW_THREADS
;
900 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
908 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
909 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
912 wxCommandEvent
* _arg0
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
927 wxPy_BEGIN_ALLOW_THREADS
;
928 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
930 wxPy_END_ALLOW_THREADS
;
931 } _resultobj
= Py_BuildValue("i",_result
);
935 #define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
936 static PyObject
*_wrap_wxCommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
938 wxCommandEvent
* _arg0
;
940 PyObject
* _argo0
= 0;
941 PyObject
* _obj1
= 0;
942 char *_kwnames
[] = { "self","s", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCommandEvent_SetString",_kwnames
,&_argo0
,&_obj1
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
955 #if PYTHON_API_VERSION >= 1009
956 char* tmpPtr
; int tmpSize
;
957 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
958 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
961 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
963 _arg1
= new wxString(tmpPtr
, tmpSize
);
965 if (!PyString_Check(_obj1
)) {
966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
969 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
973 wxPy_BEGIN_ALLOW_THREADS
;
974 wxCommandEvent_SetString(_arg0
,*_arg1
);
976 wxPy_END_ALLOW_THREADS
;
977 } Py_INCREF(Py_None
);
978 _resultobj
= Py_None
;
986 #define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
987 static PyObject
*_wrap_wxCommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
989 wxCommandEvent
* _arg0
;
991 PyObject
* _argo0
= 0;
992 char *_kwnames
[] = { "self","extraLong", NULL
};
995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCommandEvent_SetExtraLong",_kwnames
,&_argo0
,&_arg1
))
998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
1005 wxPy_BEGIN_ALLOW_THREADS
;
1006 wxCommandEvent_SetExtraLong(_arg0
,_arg1
);
1008 wxPy_END_ALLOW_THREADS
;
1009 } Py_INCREF(Py_None
);
1010 _resultobj
= Py_None
;
1014 #define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1015 static PyObject
*_wrap_wxCommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
* _resultobj
;
1017 wxCommandEvent
* _arg0
;
1019 PyObject
* _argo0
= 0;
1020 char *_kwnames
[] = { "self","i", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCommandEvent_SetInt",_kwnames
,&_argo0
,&_arg1
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 wxCommandEvent_SetInt(_arg0
,_arg1
);
1036 wxPy_END_ALLOW_THREADS
;
1037 } Py_INCREF(Py_None
);
1038 _resultobj
= Py_None
;
1042 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1044 wxCommandEvent
*dest
;
1045 src
= (wxScrollEvent
*) ptr
;
1046 dest
= (wxCommandEvent
*) src
;
1047 return (void *) dest
;
1050 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1053 src
= (wxScrollEvent
*) ptr
;
1054 dest
= (wxEvent
*) src
;
1055 return (void *) dest
;
1058 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1059 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1061 wxScrollEvent
* _result
;
1062 int _arg0
= (int ) 0;
1063 int _arg1
= (int ) 0;
1064 int _arg2
= (int ) 0;
1065 int _arg3
= (int ) 0;
1066 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1073 wxPy_BEGIN_ALLOW_THREADS
;
1074 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1076 wxPy_END_ALLOW_THREADS
;
1078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1079 _resultobj
= Py_BuildValue("s",_ptemp
);
1082 _resultobj
= Py_None
;
1087 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1088 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1091 wxScrollEvent
* _arg0
;
1092 PyObject
* _argo0
= 0;
1093 char *_kwnames
[] = { "self", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1106 wxPy_BEGIN_ALLOW_THREADS
;
1107 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1109 wxPy_END_ALLOW_THREADS
;
1110 } _resultobj
= Py_BuildValue("i",_result
);
1114 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1115 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 wxScrollEvent
* _arg0
;
1119 PyObject
* _argo0
= 0;
1120 char *_kwnames
[] = { "self", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1133 wxPy_BEGIN_ALLOW_THREADS
;
1134 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1136 wxPy_END_ALLOW_THREADS
;
1137 } _resultobj
= Py_BuildValue("i",_result
);
1141 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1142 wxScrollWinEvent
*src
;
1144 src
= (wxScrollWinEvent
*) ptr
;
1145 dest
= (wxEvent
*) src
;
1146 return (void *) dest
;
1149 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1150 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1152 wxScrollWinEvent
* _result
;
1153 int _arg0
= (int ) 0;
1154 int _arg1
= (int ) 0;
1155 int _arg2
= (int ) 0;
1156 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1163 wxPy_BEGIN_ALLOW_THREADS
;
1164 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1166 wxPy_END_ALLOW_THREADS
;
1168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1169 _resultobj
= Py_BuildValue("s",_ptemp
);
1172 _resultobj
= Py_None
;
1177 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1178 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1181 wxScrollWinEvent
* _arg0
;
1182 PyObject
* _argo0
= 0;
1183 char *_kwnames
[] = { "self", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1196 wxPy_BEGIN_ALLOW_THREADS
;
1197 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1199 wxPy_END_ALLOW_THREADS
;
1200 } _resultobj
= Py_BuildValue("i",_result
);
1204 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1205 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1208 wxScrollWinEvent
* _arg0
;
1209 PyObject
* _argo0
= 0;
1210 char *_kwnames
[] = { "self", NULL
};
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1223 wxPy_BEGIN_ALLOW_THREADS
;
1224 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1226 wxPy_END_ALLOW_THREADS
;
1227 } _resultobj
= Py_BuildValue("i",_result
);
1231 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1233 wxScrollEvent
*dest
;
1234 src
= (wxSpinEvent
*) ptr
;
1235 dest
= (wxScrollEvent
*) src
;
1236 return (void *) dest
;
1239 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1241 wxCommandEvent
*dest
;
1242 src
= (wxSpinEvent
*) ptr
;
1243 dest
= (wxCommandEvent
*) src
;
1244 return (void *) dest
;
1247 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1250 src
= (wxSpinEvent
*) ptr
;
1251 dest
= (wxEvent
*) src
;
1252 return (void *) dest
;
1255 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1256 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1258 wxSpinEvent
* _result
;
1259 int _arg0
= (int ) 0;
1260 int _arg1
= (int ) 0;
1261 char *_kwnames
[] = { "commandType","id", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1268 wxPy_BEGIN_ALLOW_THREADS
;
1269 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1271 wxPy_END_ALLOW_THREADS
;
1273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1274 _resultobj
= Py_BuildValue("s",_ptemp
);
1277 _resultobj
= Py_None
;
1282 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1285 src
= (wxMouseEvent
*) ptr
;
1286 dest
= (wxEvent
*) src
;
1287 return (void *) dest
;
1290 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1291 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1293 wxMouseEvent
* _result
;
1294 int _arg0
= (int ) 0;
1295 char *_kwnames
[] = { "mouseEventType", NULL
};
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1305 wxPy_END_ALLOW_THREADS
;
1307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1308 _resultobj
= Py_BuildValue("s",_ptemp
);
1311 _resultobj
= Py_None
;
1316 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1317 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1320 wxMouseEvent
* _arg0
;
1321 PyObject
* _argo0
= 0;
1322 char *_kwnames
[] = { "self", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1338 wxPy_END_ALLOW_THREADS
;
1339 } _resultobj
= Py_BuildValue("i",_result
);
1343 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1344 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1347 wxMouseEvent
* _arg0
;
1348 int _arg1
= (int ) -1;
1349 PyObject
* _argo0
= 0;
1350 char *_kwnames
[] = { "self","but", NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1363 wxPy_BEGIN_ALLOW_THREADS
;
1364 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1366 wxPy_END_ALLOW_THREADS
;
1367 } _resultobj
= Py_BuildValue("i",_result
);
1371 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1372 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1375 wxMouseEvent
* _arg0
;
1376 int _arg1
= (int ) -1;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "self","but", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1394 wxPy_END_ALLOW_THREADS
;
1395 } _resultobj
= Py_BuildValue("i",_result
);
1399 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1400 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1403 wxMouseEvent
* _arg0
;
1404 int _arg1
= (int ) -1;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self","but", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1419 wxPy_BEGIN_ALLOW_THREADS
;
1420 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1422 wxPy_END_ALLOW_THREADS
;
1423 } _resultobj
= Py_BuildValue("i",_result
);
1427 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1428 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1431 wxMouseEvent
* _arg0
;
1433 PyObject
* _argo0
= 0;
1434 char *_kwnames
[] = { "self","but", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1447 wxPy_BEGIN_ALLOW_THREADS
;
1448 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1450 wxPy_END_ALLOW_THREADS
;
1451 } _resultobj
= Py_BuildValue("i",_result
);
1455 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1456 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1459 wxMouseEvent
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 char *_kwnames
[] = { "self","but", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1478 wxPy_END_ALLOW_THREADS
;
1479 } _resultobj
= Py_BuildValue("i",_result
);
1483 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1484 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1487 wxMouseEvent
* _arg0
;
1488 PyObject
* _argo0
= 0;
1489 char *_kwnames
[] = { "self", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } _resultobj
= Py_BuildValue("i",_result
);
1510 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1511 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1514 wxMouseEvent
* _arg0
;
1515 PyObject
* _argo0
= 0;
1516 char *_kwnames
[] = { "self", NULL
};
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1529 wxPy_BEGIN_ALLOW_THREADS
;
1530 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1532 wxPy_END_ALLOW_THREADS
;
1533 } _resultobj
= Py_BuildValue("i",_result
);
1537 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1538 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1541 wxMouseEvent
* _arg0
;
1542 PyObject
* _argo0
= 0;
1543 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1559 wxPy_END_ALLOW_THREADS
;
1560 } _resultobj
= Py_BuildValue("i",_result
);
1564 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1565 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1568 wxMouseEvent
* _arg0
;
1569 PyObject
* _argo0
= 0;
1570 char *_kwnames
[] = { "self", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1586 wxPy_END_ALLOW_THREADS
;
1587 } _resultobj
= Py_BuildValue("i",_result
);
1591 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1592 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1595 wxMouseEvent
* _arg0
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1610 wxPy_BEGIN_ALLOW_THREADS
;
1611 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1613 wxPy_END_ALLOW_THREADS
;
1614 } _resultobj
= Py_BuildValue("i",_result
);
1618 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1619 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1622 wxMouseEvent
* _arg0
;
1623 PyObject
* _argo0
= 0;
1624 char *_kwnames
[] = { "self", NULL
};
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1637 wxPy_BEGIN_ALLOW_THREADS
;
1638 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1640 wxPy_END_ALLOW_THREADS
;
1641 } _resultobj
= Py_BuildValue("i",_result
);
1645 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1646 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1649 wxMouseEvent
* _arg0
;
1650 PyObject
* _argo0
= 0;
1651 char *_kwnames
[] = { "self", NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1664 wxPy_BEGIN_ALLOW_THREADS
;
1665 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1667 wxPy_END_ALLOW_THREADS
;
1668 } _resultobj
= Py_BuildValue("i",_result
);
1672 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1673 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1676 wxMouseEvent
* _arg0
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 } _resultobj
= Py_BuildValue("i",_result
);
1699 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1700 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1703 wxMouseEvent
* _arg0
;
1704 PyObject
* _argo0
= 0;
1705 char *_kwnames
[] = { "self", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1718 wxPy_BEGIN_ALLOW_THREADS
;
1719 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1721 wxPy_END_ALLOW_THREADS
;
1722 } _resultobj
= Py_BuildValue("i",_result
);
1726 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1727 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1730 wxMouseEvent
* _arg0
;
1731 PyObject
* _argo0
= 0;
1732 char *_kwnames
[] = { "self", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1745 wxPy_BEGIN_ALLOW_THREADS
;
1746 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1748 wxPy_END_ALLOW_THREADS
;
1749 } _resultobj
= Py_BuildValue("i",_result
);
1753 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1754 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1757 wxMouseEvent
* _arg0
;
1758 PyObject
* _argo0
= 0;
1759 char *_kwnames
[] = { "self", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1775 wxPy_END_ALLOW_THREADS
;
1776 } _resultobj
= Py_BuildValue("i",_result
);
1780 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1781 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1784 wxMouseEvent
* _arg0
;
1785 PyObject
* _argo0
= 0;
1786 char *_kwnames
[] = { "self", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1799 wxPy_BEGIN_ALLOW_THREADS
;
1800 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1802 wxPy_END_ALLOW_THREADS
;
1803 } _resultobj
= Py_BuildValue("i",_result
);
1807 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1808 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1811 wxMouseEvent
* _arg0
;
1812 PyObject
* _argo0
= 0;
1813 char *_kwnames
[] = { "self", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1826 wxPy_BEGIN_ALLOW_THREADS
;
1827 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1829 wxPy_END_ALLOW_THREADS
;
1830 } _resultobj
= Py_BuildValue("i",_result
);
1834 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1835 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1838 wxMouseEvent
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1856 wxPy_END_ALLOW_THREADS
;
1857 } _resultobj
= Py_BuildValue("i",_result
);
1861 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1862 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1865 wxMouseEvent
* _arg0
;
1866 PyObject
* _argo0
= 0;
1867 char *_kwnames
[] = { "self", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1883 wxPy_END_ALLOW_THREADS
;
1884 } _resultobj
= Py_BuildValue("i",_result
);
1888 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1889 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1892 wxMouseEvent
* _arg0
;
1893 PyObject
* _argo0
= 0;
1894 char *_kwnames
[] = { "self", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1907 wxPy_BEGIN_ALLOW_THREADS
;
1908 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1910 wxPy_END_ALLOW_THREADS
;
1911 } _resultobj
= Py_BuildValue("i",_result
);
1915 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1916 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1919 wxMouseEvent
* _arg0
;
1920 PyObject
* _argo0
= 0;
1921 char *_kwnames
[] = { "self", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1934 wxPy_BEGIN_ALLOW_THREADS
;
1935 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1937 wxPy_END_ALLOW_THREADS
;
1938 } _resultobj
= Py_BuildValue("i",_result
);
1942 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1943 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1946 wxMouseEvent
* _arg0
;
1947 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } _resultobj
= Py_BuildValue("i",_result
);
1969 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1970 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1973 wxMouseEvent
* _arg0
;
1974 PyObject
* _argo0
= 0;
1975 char *_kwnames
[] = { "self", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
1981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 _result
= (bool )wxMouseEvent_Entering(_arg0
);
1991 wxPy_END_ALLOW_THREADS
;
1992 } _resultobj
= Py_BuildValue("i",_result
);
1996 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1997 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2000 wxMouseEvent
* _arg0
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
2018 wxPy_END_ALLOW_THREADS
;
2019 } _resultobj
= Py_BuildValue("i",_result
);
2023 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2024 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2027 wxMouseEvent
* _arg0
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "self", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2043 wxPy_BEGIN_ALLOW_THREADS
;
2044 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2046 wxPy_END_ALLOW_THREADS
;
2047 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2048 _resultobj
= Py_BuildValue("s",_ptemp
);
2052 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2053 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2055 wxMouseEvent
* _arg0
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2083 wxPy_END_ALLOW_THREADS
;
2084 } Py_INCREF(Py_None
);
2085 _resultobj
= Py_None
;
2088 o
= PyInt_FromLong((long) (*_arg1
));
2089 _resultobj
= t_output_helper(_resultobj
, o
);
2093 o
= PyInt_FromLong((long) (*_arg2
));
2094 _resultobj
= t_output_helper(_resultobj
, o
);
2099 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2100 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2103 wxMouseEvent
* _arg0
;
2105 PyObject
* _argo0
= 0;
2106 PyObject
* _argo1
= 0;
2107 char *_kwnames
[] = { "self","dc", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2131 wxPy_END_ALLOW_THREADS
;
2132 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2133 _resultobj
= Py_BuildValue("s",_ptemp
);
2137 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2138 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 wxMouseEvent
* _arg0
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (long )wxMouseEvent_GetX(_arg0
);
2159 wxPy_END_ALLOW_THREADS
;
2160 } _resultobj
= Py_BuildValue("l",_result
);
2164 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2165 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2168 wxMouseEvent
* _arg0
;
2169 PyObject
* _argo0
= 0;
2170 char *_kwnames
[] = { "self", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 _result
= (long )wxMouseEvent_GetY(_arg0
);
2186 wxPy_END_ALLOW_THREADS
;
2187 } _resultobj
= Py_BuildValue("l",_result
);
2191 #define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2192 static PyObject
*_wrap_wxMouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2195 wxMouseEvent
* _arg0
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self","m_x", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 _result
= (long )wxMouseEvent_m_x_set(_arg0
,_arg1
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } _resultobj
= Py_BuildValue("l",_result
);
2219 #define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2220 static PyObject
*_wrap_wxMouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2223 wxMouseEvent
* _arg0
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_x_get",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 _result
= (long )wxMouseEvent_m_x_get(_arg0
);
2241 wxPy_END_ALLOW_THREADS
;
2242 } _resultobj
= Py_BuildValue("l",_result
);
2246 #define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2247 static PyObject
*_wrap_wxMouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2250 wxMouseEvent
* _arg0
;
2252 PyObject
* _argo0
= 0;
2253 char *_kwnames
[] = { "self","m_y", NULL
};
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
2259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2266 wxPy_BEGIN_ALLOW_THREADS
;
2267 _result
= (long )wxMouseEvent_m_y_set(_arg0
,_arg1
);
2269 wxPy_END_ALLOW_THREADS
;
2270 } _resultobj
= Py_BuildValue("l",_result
);
2274 #define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2275 static PyObject
*_wrap_wxMouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
* _resultobj
;
2278 wxMouseEvent
* _arg0
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "self", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_y_get",_kwnames
,&_argo0
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 _result
= (long )wxMouseEvent_m_y_get(_arg0
);
2296 wxPy_END_ALLOW_THREADS
;
2297 } _resultobj
= Py_BuildValue("l",_result
);
2301 #define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2302 static PyObject
*_wrap_wxMouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2305 wxMouseEvent
* _arg0
;
2307 PyObject
* _argo0
= 0;
2309 char *_kwnames
[] = { "self","m_leftDown", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_leftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
2321 _arg1
= (bool ) tempbool1
;
2323 wxPy_BEGIN_ALLOW_THREADS
;
2324 _result
= (bool )wxMouseEvent_m_leftDown_set(_arg0
,_arg1
);
2326 wxPy_END_ALLOW_THREADS
;
2327 } _resultobj
= Py_BuildValue("i",_result
);
2331 #define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2332 static PyObject
*_wrap_wxMouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2335 wxMouseEvent
* _arg0
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_leftDown_get",_kwnames
,&_argo0
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
2350 wxPy_BEGIN_ALLOW_THREADS
;
2351 _result
= (bool )wxMouseEvent_m_leftDown_get(_arg0
);
2353 wxPy_END_ALLOW_THREADS
;
2354 } _resultobj
= Py_BuildValue("i",_result
);
2358 #define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2359 static PyObject
*_wrap_wxMouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2362 wxMouseEvent
* _arg0
;
2364 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self","m_middleDown", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_middleDown_set",_kwnames
,&_argo0
,&tempbool1
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
2378 _arg1
= (bool ) tempbool1
;
2380 wxPy_BEGIN_ALLOW_THREADS
;
2381 _result
= (bool )wxMouseEvent_m_middleDown_set(_arg0
,_arg1
);
2383 wxPy_END_ALLOW_THREADS
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2389 static PyObject
*_wrap_wxMouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2392 wxMouseEvent
* _arg0
;
2393 PyObject
* _argo0
= 0;
2394 char *_kwnames
[] = { "self", NULL
};
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_middleDown_get",_kwnames
,&_argo0
))
2400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
2407 wxPy_BEGIN_ALLOW_THREADS
;
2408 _result
= (bool )wxMouseEvent_m_middleDown_get(_arg0
);
2410 wxPy_END_ALLOW_THREADS
;
2411 } _resultobj
= Py_BuildValue("i",_result
);
2415 #define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2416 static PyObject
*_wrap_wxMouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2419 wxMouseEvent
* _arg0
;
2421 PyObject
* _argo0
= 0;
2423 char *_kwnames
[] = { "self","m_rightDown", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_rightDown_set",_kwnames
,&_argo0
,&tempbool1
))
2429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
2435 _arg1
= (bool ) tempbool1
;
2437 wxPy_BEGIN_ALLOW_THREADS
;
2438 _result
= (bool )wxMouseEvent_m_rightDown_set(_arg0
,_arg1
);
2440 wxPy_END_ALLOW_THREADS
;
2441 } _resultobj
= Py_BuildValue("i",_result
);
2445 #define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2446 static PyObject
*_wrap_wxMouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2449 wxMouseEvent
* _arg0
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_rightDown_get",_kwnames
,&_argo0
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
2464 wxPy_BEGIN_ALLOW_THREADS
;
2465 _result
= (bool )wxMouseEvent_m_rightDown_get(_arg0
);
2467 wxPy_END_ALLOW_THREADS
;
2468 } _resultobj
= Py_BuildValue("i",_result
);
2472 #define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2473 static PyObject
*_wrap_wxMouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2476 wxMouseEvent
* _arg0
;
2478 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "self","m_controlDown", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
2492 _arg1
= (bool ) tempbool1
;
2494 wxPy_BEGIN_ALLOW_THREADS
;
2495 _result
= (bool )wxMouseEvent_m_controlDown_set(_arg0
,_arg1
);
2497 wxPy_END_ALLOW_THREADS
;
2498 } _resultobj
= Py_BuildValue("i",_result
);
2502 #define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2503 static PyObject
*_wrap_wxMouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2506 wxMouseEvent
* _arg0
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_controlDown_get",_kwnames
,&_argo0
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 _result
= (bool )wxMouseEvent_m_controlDown_get(_arg0
);
2524 wxPy_END_ALLOW_THREADS
;
2525 } _resultobj
= Py_BuildValue("i",_result
);
2529 #define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2530 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2533 wxMouseEvent
* _arg0
;
2535 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
2549 _arg1
= (bool ) tempbool1
;
2551 wxPy_BEGIN_ALLOW_THREADS
;
2552 _result
= (bool )wxMouseEvent_m_shiftDown_set(_arg0
,_arg1
);
2554 wxPy_END_ALLOW_THREADS
;
2555 } _resultobj
= Py_BuildValue("i",_result
);
2559 #define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2560 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2563 wxMouseEvent
* _arg0
;
2564 PyObject
* _argo0
= 0;
2565 char *_kwnames
[] = { "self", NULL
};
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_shiftDown_get",_kwnames
,&_argo0
))
2571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2578 wxPy_BEGIN_ALLOW_THREADS
;
2579 _result
= (bool )wxMouseEvent_m_shiftDown_get(_arg0
);
2581 wxPy_END_ALLOW_THREADS
;
2582 } _resultobj
= Py_BuildValue("i",_result
);
2586 #define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2587 static PyObject
*_wrap_wxMouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
* _resultobj
;
2590 wxMouseEvent
* _arg0
;
2592 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "self","m_altDown", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
2606 _arg1
= (bool ) tempbool1
;
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 _result
= (bool )wxMouseEvent_m_altDown_set(_arg0
,_arg1
);
2611 wxPy_END_ALLOW_THREADS
;
2612 } _resultobj
= Py_BuildValue("i",_result
);
2616 #define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2617 static PyObject
*_wrap_wxMouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2620 wxMouseEvent
* _arg0
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_altDown_get",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (bool )wxMouseEvent_m_altDown_get(_arg0
);
2638 wxPy_END_ALLOW_THREADS
;
2639 } _resultobj
= Py_BuildValue("i",_result
);
2643 #define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2644 static PyObject
*_wrap_wxMouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2647 wxMouseEvent
* _arg0
;
2649 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self","m_metaDown", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2663 _arg1
= (bool ) tempbool1
;
2665 wxPy_BEGIN_ALLOW_THREADS
;
2666 _result
= (bool )wxMouseEvent_m_metaDown_set(_arg0
,_arg1
);
2668 wxPy_END_ALLOW_THREADS
;
2669 } _resultobj
= Py_BuildValue("i",_result
);
2673 #define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2674 static PyObject
*_wrap_wxMouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2677 wxMouseEvent
* _arg0
;
2678 PyObject
* _argo0
= 0;
2679 char *_kwnames
[] = { "self", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_metaDown_get",_kwnames
,&_argo0
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2692 wxPy_BEGIN_ALLOW_THREADS
;
2693 _result
= (bool )wxMouseEvent_m_metaDown_get(_arg0
);
2695 wxPy_END_ALLOW_THREADS
;
2696 } _resultobj
= Py_BuildValue("i",_result
);
2700 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
2703 src
= (wxKeyEvent
*) ptr
;
2704 dest
= (wxEvent
*) src
;
2705 return (void *) dest
;
2708 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
2709 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2711 wxKeyEvent
* _result
;
2713 char *_kwnames
[] = { "keyEventType", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
2723 wxPy_END_ALLOW_THREADS
;
2725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
2726 _resultobj
= Py_BuildValue("s",_ptemp
);
2729 _resultobj
= Py_None
;
2734 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
2735 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2739 PyObject
* _argo0
= 0;
2740 char *_kwnames
[] = { "self", NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
2746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
2753 wxPy_BEGIN_ALLOW_THREADS
;
2754 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
2756 wxPy_END_ALLOW_THREADS
;
2757 } _resultobj
= Py_BuildValue("i",_result
);
2761 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
2762 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
2783 wxPy_END_ALLOW_THREADS
;
2784 } _resultobj
= Py_BuildValue("i",_result
);
2788 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
2789 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2793 PyObject
* _argo0
= 0;
2794 char *_kwnames
[] = { "self", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
2810 wxPy_END_ALLOW_THREADS
;
2811 } _resultobj
= Py_BuildValue("i",_result
);
2815 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
2816 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2820 PyObject
* _argo0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
2837 wxPy_END_ALLOW_THREADS
;
2838 } _resultobj
= Py_BuildValue("i",_result
);
2842 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
2843 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } _resultobj
= Py_BuildValue("l",_result
);
2869 #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2870 static PyObject
*_wrap_wxKeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetKeyCode",_kwnames
,&_argo0
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 _result
= (long )wxKeyEvent_GetKeyCode(_arg0
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } _resultobj
= Py_BuildValue("l",_result
);
2896 #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
2897 static PyObject
*_wrap_wxKeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
* _resultobj
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_HasModifiers",_kwnames
,&_argo0
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 _result
= (bool )wxKeyEvent_HasModifiers(_arg0
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } _resultobj
= Py_BuildValue("i",_result
);
2923 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
2924 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2928 PyObject
* _argo0
= 0;
2929 char *_kwnames
[] = { "self", NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
2942 wxPy_BEGIN_ALLOW_THREADS
;
2943 _result
= (long )wxKeyEvent_GetX(_arg0
);
2945 wxPy_END_ALLOW_THREADS
;
2946 } _resultobj
= Py_BuildValue("l",_result
);
2950 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
2951 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2955 PyObject
* _argo0
= 0;
2956 char *_kwnames
[] = { "self", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 _result
= (long )wxKeyEvent_GetY(_arg0
);
2972 wxPy_END_ALLOW_THREADS
;
2973 } _resultobj
= Py_BuildValue("l",_result
);
2977 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2978 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2982 PyObject
* _argo0
= 0;
2983 char *_kwnames
[] = { "self", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
3000 wxPy_END_ALLOW_THREADS
;
3001 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3002 _resultobj
= Py_BuildValue("s",_ptemp
);
3006 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3007 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3014 PyObject
* _argo0
= 0;
3015 char *_kwnames
[] = { "self", NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
3027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3034 wxPy_BEGIN_ALLOW_THREADS
;
3035 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3037 wxPy_END_ALLOW_THREADS
;
3038 } Py_INCREF(Py_None
);
3039 _resultobj
= Py_None
;
3042 o
= PyInt_FromLong((long) (*_arg1
));
3043 _resultobj
= t_output_helper(_resultobj
, o
);
3047 o
= PyInt_FromLong((long) (*_arg2
));
3048 _resultobj
= t_output_helper(_resultobj
, o
);
3053 #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3054 static PyObject
*_wrap_wxKeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3059 PyObject
* _argo0
= 0;
3060 char *_kwnames
[] = { "self","m_x", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 _result
= (long )wxKeyEvent_m_x_set(_arg0
,_arg1
);
3076 wxPy_END_ALLOW_THREADS
;
3077 } _resultobj
= Py_BuildValue("l",_result
);
3081 #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3082 static PyObject
*_wrap_wxKeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3086 PyObject
* _argo0
= 0;
3087 char *_kwnames
[] = { "self", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_x_get",_kwnames
,&_argo0
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 _result
= (long )wxKeyEvent_m_x_get(_arg0
);
3103 wxPy_END_ALLOW_THREADS
;
3104 } _resultobj
= Py_BuildValue("l",_result
);
3108 #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3109 static PyObject
*_wrap_wxKeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self","m_y", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
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_m_y_set. Expected _wxKeyEvent_p.");
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 _result
= (long )wxKeyEvent_m_y_set(_arg0
,_arg1
);
3131 wxPy_END_ALLOW_THREADS
;
3132 } _resultobj
= Py_BuildValue("l",_result
);
3136 #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3137 static PyObject
*_wrap_wxKeyEvent_m_y_get(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_m_y_get",_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_m_y_get. Expected _wxKeyEvent_p.");
3155 wxPy_BEGIN_ALLOW_THREADS
;
3156 _result
= (long )wxKeyEvent_m_y_get(_arg0
);
3158 wxPy_END_ALLOW_THREADS
;
3159 } _resultobj
= Py_BuildValue("l",_result
);
3163 #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3164 static PyObject
*_wrap_wxKeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
* _resultobj
;
3169 PyObject
* _argo0
= 0;
3170 char *_kwnames
[] = { "self","m_keyCode", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_keyCode_set",_kwnames
,&_argo0
,&_arg1
))
3176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3183 wxPy_BEGIN_ALLOW_THREADS
;
3184 _result
= (long )wxKeyEvent_m_keyCode_set(_arg0
,_arg1
);
3186 wxPy_END_ALLOW_THREADS
;
3187 } _resultobj
= Py_BuildValue("l",_result
);
3191 #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3192 static PyObject
*_wrap_wxKeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
* _resultobj
;
3196 PyObject
* _argo0
= 0;
3197 char *_kwnames
[] = { "self", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_keyCode_get",_kwnames
,&_argo0
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3210 wxPy_BEGIN_ALLOW_THREADS
;
3211 _result
= (long )wxKeyEvent_m_keyCode_get(_arg0
);
3213 wxPy_END_ALLOW_THREADS
;
3214 } _resultobj
= Py_BuildValue("l",_result
);
3218 #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3219 static PyObject
*_wrap_wxKeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3224 PyObject
* _argo0
= 0;
3226 char *_kwnames
[] = { "self","m_controlDown", NULL
};
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
3232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
3238 _arg1
= (bool ) tempbool1
;
3240 wxPy_BEGIN_ALLOW_THREADS
;
3241 _result
= (bool )wxKeyEvent_m_controlDown_set(_arg0
,_arg1
);
3243 wxPy_END_ALLOW_THREADS
;
3244 } _resultobj
= Py_BuildValue("i",_result
);
3248 #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
3249 static PyObject
*_wrap_wxKeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
* _resultobj
;
3253 PyObject
* _argo0
= 0;
3254 char *_kwnames
[] = { "self", NULL
};
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_controlDown_get",_kwnames
,&_argo0
))
3260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
3267 wxPy_BEGIN_ALLOW_THREADS
;
3268 _result
= (bool )wxKeyEvent_m_controlDown_get(_arg0
);
3270 wxPy_END_ALLOW_THREADS
;
3271 } _resultobj
= Py_BuildValue("i",_result
);
3275 #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
3276 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
* _resultobj
;
3281 PyObject
* _argo0
= 0;
3283 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
3289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
3295 _arg1
= (bool ) tempbool1
;
3297 wxPy_BEGIN_ALLOW_THREADS
;
3298 _result
= (bool )wxKeyEvent_m_shiftDown_set(_arg0
,_arg1
);
3300 wxPy_END_ALLOW_THREADS
;
3301 } _resultobj
= Py_BuildValue("i",_result
);
3305 #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
3306 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self", NULL
};
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_shiftDown_get",_kwnames
,&_argo0
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
3324 wxPy_BEGIN_ALLOW_THREADS
;
3325 _result
= (bool )wxKeyEvent_m_shiftDown_get(_arg0
);
3327 wxPy_END_ALLOW_THREADS
;
3328 } _resultobj
= Py_BuildValue("i",_result
);
3332 #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
3333 static PyObject
*_wrap_wxKeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3338 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self","m_altDown", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
3352 _arg1
= (bool ) tempbool1
;
3354 wxPy_BEGIN_ALLOW_THREADS
;
3355 _result
= (bool )wxKeyEvent_m_altDown_set(_arg0
,_arg1
);
3357 wxPy_END_ALLOW_THREADS
;
3358 } _resultobj
= Py_BuildValue("i",_result
);
3362 #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
3363 static PyObject
*_wrap_wxKeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3367 PyObject
* _argo0
= 0;
3368 char *_kwnames
[] = { "self", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_altDown_get",_kwnames
,&_argo0
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
3381 wxPy_BEGIN_ALLOW_THREADS
;
3382 _result
= (bool )wxKeyEvent_m_altDown_get(_arg0
);
3384 wxPy_END_ALLOW_THREADS
;
3385 } _resultobj
= Py_BuildValue("i",_result
);
3389 #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
3390 static PyObject
*_wrap_wxKeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3395 PyObject
* _argo0
= 0;
3397 char *_kwnames
[] = { "self","m_metaDown", NULL
};
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
3403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p.");
3409 _arg1
= (bool ) tempbool1
;
3411 wxPy_BEGIN_ALLOW_THREADS
;
3412 _result
= (bool )wxKeyEvent_m_metaDown_set(_arg0
,_arg1
);
3414 wxPy_END_ALLOW_THREADS
;
3415 } _resultobj
= Py_BuildValue("i",_result
);
3419 #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
3420 static PyObject
*_wrap_wxKeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3424 PyObject
* _argo0
= 0;
3425 char *_kwnames
[] = { "self", NULL
};
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_metaDown_get",_kwnames
,&_argo0
))
3431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p.");
3438 wxPy_BEGIN_ALLOW_THREADS
;
3439 _result
= (bool )wxKeyEvent_m_metaDown_get(_arg0
);
3441 wxPy_END_ALLOW_THREADS
;
3442 } _resultobj
= Py_BuildValue("i",_result
);
3446 #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
3447 static PyObject
*_wrap_wxKeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3452 PyObject
* _argo0
= 0;
3454 char *_kwnames
[] = { "self","m_scanCode", NULL
};
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_scanCode_set",_kwnames
,&_argo0
,&tempbool1
))
3460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
3466 _arg1
= (bool ) tempbool1
;
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 _result
= (bool )wxKeyEvent_m_scanCode_set(_arg0
,_arg1
);
3471 wxPy_END_ALLOW_THREADS
;
3472 } _resultobj
= Py_BuildValue("i",_result
);
3476 #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
3477 static PyObject
*_wrap_wxKeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3481 PyObject
* _argo0
= 0;
3482 char *_kwnames
[] = { "self", NULL
};
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_scanCode_get",_kwnames
,&_argo0
))
3488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
3495 wxPy_BEGIN_ALLOW_THREADS
;
3496 _result
= (bool )wxKeyEvent_m_scanCode_get(_arg0
);
3498 wxPy_END_ALLOW_THREADS
;
3499 } _resultobj
= Py_BuildValue("i",_result
);
3503 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
3504 wxNavigationKeyEvent
*src
;
3506 src
= (wxNavigationKeyEvent
*) ptr
;
3507 dest
= (wxEvent
*) src
;
3508 return (void *) dest
;
3511 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
3512 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3514 wxNavigationKeyEvent
* _result
;
3515 char *_kwnames
[] = { NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
3522 wxPy_BEGIN_ALLOW_THREADS
;
3523 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
3525 wxPy_END_ALLOW_THREADS
;
3527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
3528 _resultobj
= Py_BuildValue("s",_ptemp
);
3531 _resultobj
= Py_None
;
3536 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
3537 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3540 wxNavigationKeyEvent
* _arg0
;
3541 PyObject
* _argo0
= 0;
3542 char *_kwnames
[] = { "self", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
3555 wxPy_BEGIN_ALLOW_THREADS
;
3556 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
3558 wxPy_END_ALLOW_THREADS
;
3559 } _resultobj
= Py_BuildValue("i",_result
);
3563 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
3564 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3566 wxNavigationKeyEvent
* _arg0
;
3568 PyObject
* _argo0
= 0;
3570 char *_kwnames
[] = { "self","bForward", NULL
};
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
3576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
3582 _arg1
= (bool ) tempbool1
;
3584 wxPy_BEGIN_ALLOW_THREADS
;
3585 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
3587 wxPy_END_ALLOW_THREADS
;
3588 } Py_INCREF(Py_None
);
3589 _resultobj
= Py_None
;
3593 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
3594 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
* _resultobj
;
3597 wxNavigationKeyEvent
* _arg0
;
3598 PyObject
* _argo0
= 0;
3599 char *_kwnames
[] = { "self", NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
3605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
3612 wxPy_BEGIN_ALLOW_THREADS
;
3613 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
3615 wxPy_END_ALLOW_THREADS
;
3616 } _resultobj
= Py_BuildValue("i",_result
);
3620 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
3621 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3623 wxNavigationKeyEvent
* _arg0
;
3625 PyObject
* _argo0
= 0;
3627 char *_kwnames
[] = { "self","bIs", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
3639 _arg1
= (bool ) tempbool1
;
3641 wxPy_BEGIN_ALLOW_THREADS
;
3642 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
3644 wxPy_END_ALLOW_THREADS
;
3645 } Py_INCREF(Py_None
);
3646 _resultobj
= Py_None
;
3650 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
3651 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
* _resultobj
;
3654 wxNavigationKeyEvent
* _arg0
;
3655 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
3670 wxPy_BEGIN_ALLOW_THREADS
;
3671 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
3673 wxPy_END_ALLOW_THREADS
;
3675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3676 _resultobj
= Py_BuildValue("s",_ptemp
);
3679 _resultobj
= Py_None
;
3684 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
3685 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3687 wxNavigationKeyEvent
* _arg0
;
3689 PyObject
* _argo0
= 0;
3690 PyObject
* _argo1
= 0;
3691 char *_kwnames
[] = { "self","win", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
3704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
3711 wxPy_BEGIN_ALLOW_THREADS
;
3712 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
3714 wxPy_END_ALLOW_THREADS
;
3715 } Py_INCREF(Py_None
);
3716 _resultobj
= Py_None
;
3720 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
3723 src
= (wxMoveEvent
*) ptr
;
3724 dest
= (wxEvent
*) src
;
3725 return (void *) dest
;
3728 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
3729 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
* _resultobj
;
3731 wxMoveEvent
* _result
;
3733 int _arg1
= (int ) 0;
3735 PyObject
* _obj0
= 0;
3736 char *_kwnames
[] = { "pt","id", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
3744 if (! wxPoint_helper(_obj0
, &_arg0
))
3748 wxPy_BEGIN_ALLOW_THREADS
;
3749 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
3751 wxPy_END_ALLOW_THREADS
;
3753 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
3754 _resultobj
= Py_BuildValue("s",_ptemp
);
3757 _resultobj
= Py_None
;
3762 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3763 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
* _resultobj
;
3766 wxMoveEvent
* _arg0
;
3767 PyObject
* _argo0
= 0;
3768 char *_kwnames
[] = { "self", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
3782 wxPy_BEGIN_ALLOW_THREADS
;
3783 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
3785 wxPy_END_ALLOW_THREADS
;
3786 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3787 _resultobj
= Py_BuildValue("s",_ptemp
);
3791 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
3794 src
= (wxPaintEvent
*) ptr
;
3795 dest
= (wxEvent
*) src
;
3796 return (void *) dest
;
3799 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
3800 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3802 wxPaintEvent
* _result
;
3803 int _arg0
= (int ) 0;
3804 char *_kwnames
[] = { "id", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
3811 wxPy_BEGIN_ALLOW_THREADS
;
3812 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
3814 wxPy_END_ALLOW_THREADS
;
3816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
3817 _resultobj
= Py_BuildValue("s",_ptemp
);
3820 _resultobj
= Py_None
;
3825 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
3828 src
= (wxEraseEvent
*) ptr
;
3829 dest
= (wxEvent
*) src
;
3830 return (void *) dest
;
3833 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
3834 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3836 wxEraseEvent
* _result
;
3837 int _arg0
= (int ) 0;
3838 wxDC
* _arg1
= (wxDC
*) NULL
;
3839 PyObject
* _argo1
= 0;
3840 char *_kwnames
[] = { "id","dc", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
3847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
3854 wxPy_BEGIN_ALLOW_THREADS
;
3855 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
3857 wxPy_END_ALLOW_THREADS
;
3859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
3860 _resultobj
= Py_BuildValue("s",_ptemp
);
3863 _resultobj
= Py_None
;
3868 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
3869 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
* _resultobj
;
3872 wxEraseEvent
* _arg0
;
3873 PyObject
* _argo0
= 0;
3874 char *_kwnames
[] = { "self", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
3888 wxPy_BEGIN_ALLOW_THREADS
;
3889 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
3891 wxPy_END_ALLOW_THREADS
;
3893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
3894 _resultobj
= Py_BuildValue("s",_ptemp
);
3897 _resultobj
= Py_None
;
3902 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
3905 src
= (wxFocusEvent
*) ptr
;
3906 dest
= (wxEvent
*) src
;
3907 return (void *) dest
;
3910 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
3911 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
* _resultobj
;
3913 wxFocusEvent
* _result
;
3914 WXTYPE _arg0
= (WXTYPE
) 0;
3915 int _arg1
= (int ) 0;
3916 char *_kwnames
[] = { "eventType","id", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
3923 wxPy_BEGIN_ALLOW_THREADS
;
3924 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
3926 wxPy_END_ALLOW_THREADS
;
3928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
3929 _resultobj
= Py_BuildValue("s",_ptemp
);
3932 _resultobj
= Py_None
;
3937 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
3938 wxActivateEvent
*src
;
3940 src
= (wxActivateEvent
*) ptr
;
3941 dest
= (wxEvent
*) src
;
3942 return (void *) dest
;
3945 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
3946 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3948 wxActivateEvent
* _result
;
3949 WXTYPE _arg0
= (WXTYPE
) 0;
3950 int _arg1
= (int ) TRUE
;
3951 int _arg2
= (int ) 0;
3952 char *_kwnames
[] = { "eventType","active","id", NULL
};
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3959 wxPy_BEGIN_ALLOW_THREADS
;
3960 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
3962 wxPy_END_ALLOW_THREADS
;
3964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
3965 _resultobj
= Py_BuildValue("s",_ptemp
);
3968 _resultobj
= Py_None
;
3973 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
3974 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3977 wxActivateEvent
* _arg0
;
3978 PyObject
* _argo0
= 0;
3979 char *_kwnames
[] = { "self", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
3992 wxPy_BEGIN_ALLOW_THREADS
;
3993 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
3995 wxPy_END_ALLOW_THREADS
;
3996 } _resultobj
= Py_BuildValue("i",_result
);
4000 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
4001 wxInitDialogEvent
*src
;
4003 src
= (wxInitDialogEvent
*) ptr
;
4004 dest
= (wxEvent
*) src
;
4005 return (void *) dest
;
4008 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
4009 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4011 wxInitDialogEvent
* _result
;
4012 int _arg0
= (int ) 0;
4013 char *_kwnames
[] = { "id", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
4020 wxPy_BEGIN_ALLOW_THREADS
;
4021 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
4023 wxPy_END_ALLOW_THREADS
;
4025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
4026 _resultobj
= Py_BuildValue("s",_ptemp
);
4029 _resultobj
= Py_None
;
4034 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
4037 src
= (wxMenuEvent
*) ptr
;
4038 dest
= (wxEvent
*) src
;
4039 return (void *) dest
;
4042 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
4043 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4045 wxMenuEvent
* _result
;
4046 WXTYPE _arg0
= (WXTYPE
) 0;
4047 int _arg1
= (int ) 0;
4048 char *_kwnames
[] = { "id","id", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
4055 wxPy_BEGIN_ALLOW_THREADS
;
4056 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
4058 wxPy_END_ALLOW_THREADS
;
4060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
4061 _resultobj
= Py_BuildValue("s",_ptemp
);
4064 _resultobj
= Py_None
;
4069 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
4070 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4073 wxMenuEvent
* _arg0
;
4074 PyObject
* _argo0
= 0;
4075 char *_kwnames
[] = { "self", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
4088 wxPy_BEGIN_ALLOW_THREADS
;
4089 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
4091 wxPy_END_ALLOW_THREADS
;
4092 } _resultobj
= Py_BuildValue("i",_result
);
4096 static void *SwigwxShowEventTowxEvent(void *ptr
) {
4099 src
= (wxShowEvent
*) ptr
;
4100 dest
= (wxEvent
*) src
;
4101 return (void *) dest
;
4104 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
4105 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
* _resultobj
;
4107 wxShowEvent
* _result
;
4108 int _arg0
= (int ) 0;
4109 int _arg1
= (int ) FALSE
;
4110 char *_kwnames
[] = { "id","show", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
4120 wxPy_END_ALLOW_THREADS
;
4122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
4123 _resultobj
= Py_BuildValue("s",_ptemp
);
4126 _resultobj
= Py_None
;
4131 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
4132 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4134 wxShowEvent
* _arg0
;
4136 PyObject
* _argo0
= 0;
4138 char *_kwnames
[] = { "self","show", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
4150 _arg1
= (bool ) tempbool1
;
4152 wxPy_BEGIN_ALLOW_THREADS
;
4153 wxShowEvent_SetShow(_arg0
,_arg1
);
4155 wxPy_END_ALLOW_THREADS
;
4156 } Py_INCREF(Py_None
);
4157 _resultobj
= Py_None
;
4161 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
4162 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
* _resultobj
;
4165 wxShowEvent
* _arg0
;
4166 PyObject
* _argo0
= 0;
4167 char *_kwnames
[] = { "self", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
4173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
4180 wxPy_BEGIN_ALLOW_THREADS
;
4181 _result
= (bool )wxShowEvent_GetShow(_arg0
);
4183 wxPy_END_ALLOW_THREADS
;
4184 } _resultobj
= Py_BuildValue("i",_result
);
4188 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
4189 wxIconizeEvent
*src
;
4191 src
= (wxIconizeEvent
*) ptr
;
4192 dest
= (wxEvent
*) src
;
4193 return (void *) dest
;
4196 #define new_wxIconizeEvent(_swigarg0) (new wxIconizeEvent(_swigarg0))
4197 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
* _resultobj
;
4199 wxIconizeEvent
* _result
;
4200 int _arg0
= (int ) 0;
4201 char *_kwnames
[] = { "id", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxIconizeEvent",_kwnames
,&_arg0
))
4208 wxPy_BEGIN_ALLOW_THREADS
;
4209 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
);
4211 wxPy_END_ALLOW_THREADS
;
4213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
4214 _resultobj
= Py_BuildValue("s",_ptemp
);
4217 _resultobj
= Py_None
;
4222 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
4223 wxMaximizeEvent
*src
;
4225 src
= (wxMaximizeEvent
*) ptr
;
4226 dest
= (wxEvent
*) src
;
4227 return (void *) dest
;
4230 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4231 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4233 wxMaximizeEvent
* _result
;
4234 int _arg0
= (int ) 0;
4235 char *_kwnames
[] = { "id", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
4242 wxPy_BEGIN_ALLOW_THREADS
;
4243 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
4245 wxPy_END_ALLOW_THREADS
;
4247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
4248 _resultobj
= Py_BuildValue("s",_ptemp
);
4251 _resultobj
= Py_None
;
4256 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
4257 wxJoystickEvent
*src
;
4259 src
= (wxJoystickEvent
*) ptr
;
4260 dest
= (wxEvent
*) src
;
4261 return (void *) dest
;
4264 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4265 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4267 wxJoystickEvent
* _result
;
4268 int _arg0
= (int ) wxEVT_NULL
;
4269 int _arg1
= (int ) 0;
4270 int _arg2
= (int ) wxJOYSTICK1
;
4271 int _arg3
= (int ) 0;
4272 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
4279 wxPy_BEGIN_ALLOW_THREADS
;
4280 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
4282 wxPy_END_ALLOW_THREADS
;
4284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
4285 _resultobj
= Py_BuildValue("s",_ptemp
);
4288 _resultobj
= Py_None
;
4293 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4294 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4297 wxJoystickEvent
* _arg0
;
4298 PyObject
* _argo0
= 0;
4299 char *_kwnames
[] = { "self", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
4316 wxPy_END_ALLOW_THREADS
;
4317 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4318 _resultobj
= Py_BuildValue("s",_ptemp
);
4322 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4323 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4326 wxJoystickEvent
* _arg0
;
4327 PyObject
* _argo0
= 0;
4328 char *_kwnames
[] = { "self", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4341 wxPy_BEGIN_ALLOW_THREADS
;
4342 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
4344 wxPy_END_ALLOW_THREADS
;
4345 } _resultobj
= Py_BuildValue("i",_result
);
4349 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
4350 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
* _resultobj
;
4353 wxJoystickEvent
* _arg0
;
4354 PyObject
* _argo0
= 0;
4355 char *_kwnames
[] = { "self", NULL
};
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
4361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
4368 wxPy_BEGIN_ALLOW_THREADS
;
4369 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
4371 wxPy_END_ALLOW_THREADS
;
4372 } _resultobj
= Py_BuildValue("i",_result
);
4376 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
4377 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
* _resultobj
;
4380 wxJoystickEvent
* _arg0
;
4381 PyObject
* _argo0
= 0;
4382 char *_kwnames
[] = { "self", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
4398 wxPy_END_ALLOW_THREADS
;
4399 } _resultobj
= Py_BuildValue("i",_result
);
4403 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
4404 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4407 wxJoystickEvent
* _arg0
;
4408 PyObject
* _argo0
= 0;
4409 char *_kwnames
[] = { "self", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
4425 wxPy_END_ALLOW_THREADS
;
4426 } _resultobj
= Py_BuildValue("i",_result
);
4430 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
4431 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4433 wxJoystickEvent
* _arg0
;
4435 PyObject
* _argo0
= 0;
4436 char *_kwnames
[] = { "self","stick", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
4449 wxPy_BEGIN_ALLOW_THREADS
;
4450 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
4452 wxPy_END_ALLOW_THREADS
;
4453 } Py_INCREF(Py_None
);
4454 _resultobj
= Py_None
;
4458 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
4459 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4461 wxJoystickEvent
* _arg0
;
4463 PyObject
* _argo0
= 0;
4464 char *_kwnames
[] = { "self","state", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
4477 wxPy_BEGIN_ALLOW_THREADS
;
4478 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
4480 wxPy_END_ALLOW_THREADS
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
4487 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4489 wxJoystickEvent
* _arg0
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self","change", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
4505 wxPy_BEGIN_ALLOW_THREADS
;
4506 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
4508 wxPy_END_ALLOW_THREADS
;
4509 } Py_INCREF(Py_None
);
4510 _resultobj
= Py_None
;
4514 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
4515 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4517 wxJoystickEvent
* _arg0
;
4519 PyObject
* _argo0
= 0;
4521 PyObject
* _obj1
= 0;
4522 char *_kwnames
[] = { "self","pos", NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
4536 if (! wxPoint_helper(_obj1
, &_arg1
))
4540 wxPy_BEGIN_ALLOW_THREADS
;
4541 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
4543 wxPy_END_ALLOW_THREADS
;
4544 } Py_INCREF(Py_None
);
4545 _resultobj
= Py_None
;
4549 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
4550 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4552 wxJoystickEvent
* _arg0
;
4554 PyObject
* _argo0
= 0;
4555 char *_kwnames
[] = { "self","zPos", NULL
};
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
4568 wxPy_BEGIN_ALLOW_THREADS
;
4569 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
4571 wxPy_END_ALLOW_THREADS
;
4572 } Py_INCREF(Py_None
);
4573 _resultobj
= Py_None
;
4577 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
4578 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4581 wxJoystickEvent
* _arg0
;
4582 PyObject
* _argo0
= 0;
4583 char *_kwnames
[] = { "self", NULL
};
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
4596 wxPy_BEGIN_ALLOW_THREADS
;
4597 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
4599 wxPy_END_ALLOW_THREADS
;
4600 } _resultobj
= Py_BuildValue("i",_result
);
4604 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
4605 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
* _resultobj
;
4608 wxJoystickEvent
* _arg0
;
4609 PyObject
* _argo0
= 0;
4610 char *_kwnames
[] = { "self", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
4623 wxPy_BEGIN_ALLOW_THREADS
;
4624 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
4626 wxPy_END_ALLOW_THREADS
;
4627 } _resultobj
= Py_BuildValue("i",_result
);
4631 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
4632 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4635 wxJoystickEvent
* _arg0
;
4636 PyObject
* _argo0
= 0;
4637 char *_kwnames
[] = { "self", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
4650 wxPy_BEGIN_ALLOW_THREADS
;
4651 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
4653 wxPy_END_ALLOW_THREADS
;
4654 } _resultobj
= Py_BuildValue("i",_result
);
4658 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
4659 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
* _resultobj
;
4662 wxJoystickEvent
* _arg0
;
4663 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
4664 PyObject
* _argo0
= 0;
4665 char *_kwnames
[] = { "self","but", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
4671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
4678 wxPy_BEGIN_ALLOW_THREADS
;
4679 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
4681 wxPy_END_ALLOW_THREADS
;
4682 } _resultobj
= Py_BuildValue("i",_result
);
4686 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
4687 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4690 wxJoystickEvent
* _arg0
;
4691 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self","but", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
4709 wxPy_END_ALLOW_THREADS
;
4710 } _resultobj
= Py_BuildValue("i",_result
);
4714 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
4715 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4718 wxJoystickEvent
* _arg0
;
4719 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
4720 PyObject
* _argo0
= 0;
4721 char *_kwnames
[] = { "self","but", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
4734 wxPy_BEGIN_ALLOW_THREADS
;
4735 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
4737 wxPy_END_ALLOW_THREADS
;
4738 } _resultobj
= Py_BuildValue("i",_result
);
4742 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
4743 wxDropFilesEvent
*src
;
4745 src
= (wxDropFilesEvent
*) ptr
;
4746 dest
= (wxEvent
*) src
;
4747 return (void *) dest
;
4750 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4751 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4754 wxDropFilesEvent
* _arg0
;
4755 PyObject
* _argo0
= 0;
4756 char *_kwnames
[] = { "self", NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
4763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
4770 wxPy_BEGIN_ALLOW_THREADS
;
4771 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
4773 wxPy_END_ALLOW_THREADS
;
4774 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4775 _resultobj
= Py_BuildValue("s",_ptemp
);
4779 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
4780 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4783 wxDropFilesEvent
* _arg0
;
4784 PyObject
* _argo0
= 0;
4785 char *_kwnames
[] = { "self", NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
4791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
4798 wxPy_BEGIN_ALLOW_THREADS
;
4799 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
4801 wxPy_END_ALLOW_THREADS
;
4802 } _resultobj
= Py_BuildValue("i",_result
);
4806 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
4807 int count
= self
->GetNumberOfFiles();
4808 wxString
* files
= self
->GetFiles();
4809 PyObject
* list
= PyList_New(count
);
4812 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
4816 for (int i
=0; i
<count
; i
++) {
4817 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
4821 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
* _resultobj
;
4824 wxDropFilesEvent
* _arg0
;
4825 PyObject
* _argo0
= 0;
4826 char *_kwnames
[] = { "self", NULL
};
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
4832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
4834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
4839 wxPy_BEGIN_ALLOW_THREADS
;
4840 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
4842 wxPy_END_ALLOW_THREADS
;
4844 _resultobj
= _result
;
4849 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
4852 src
= (wxIdleEvent
*) ptr
;
4853 dest
= (wxEvent
*) src
;
4854 return (void *) dest
;
4857 #define new_wxIdleEvent() (new wxIdleEvent())
4858 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
* _resultobj
;
4860 wxIdleEvent
* _result
;
4861 char *_kwnames
[] = { NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
4868 wxPy_BEGIN_ALLOW_THREADS
;
4869 _result
= (wxIdleEvent
*)new_wxIdleEvent();
4871 wxPy_END_ALLOW_THREADS
;
4873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
4874 _resultobj
= Py_BuildValue("s",_ptemp
);
4877 _resultobj
= Py_None
;
4882 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
4883 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4885 wxIdleEvent
* _arg0
;
4886 bool _arg1
= (bool ) TRUE
;
4887 PyObject
* _argo0
= 0;
4888 int tempbool1
= (int) TRUE
;
4889 char *_kwnames
[] = { "self","needMore", NULL
};
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
4895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
4901 _arg1
= (bool ) tempbool1
;
4903 wxPy_BEGIN_ALLOW_THREADS
;
4904 wxIdleEvent_RequestMore(_arg0
,_arg1
);
4906 wxPy_END_ALLOW_THREADS
;
4907 } Py_INCREF(Py_None
);
4908 _resultobj
= Py_None
;
4912 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
4913 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4916 wxIdleEvent
* _arg0
;
4917 PyObject
* _argo0
= 0;
4918 char *_kwnames
[] = { "self", NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
4924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
4934 wxPy_END_ALLOW_THREADS
;
4935 } _resultobj
= Py_BuildValue("i",_result
);
4939 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
4940 wxUpdateUIEvent
*src
;
4942 src
= (wxUpdateUIEvent
*) ptr
;
4943 dest
= (wxEvent
*) src
;
4944 return (void *) dest
;
4947 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
4948 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
* _resultobj
;
4950 wxUpdateUIEvent
* _result
;
4951 wxWindowID _arg0
= (wxWindowID
) 0;
4952 char *_kwnames
[] = { "commandId", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
4959 wxPy_BEGIN_ALLOW_THREADS
;
4960 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
4962 wxPy_END_ALLOW_THREADS
;
4964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
4965 _resultobj
= Py_BuildValue("s",_ptemp
);
4968 _resultobj
= Py_None
;
4973 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
4974 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
* _resultobj
;
4977 wxUpdateUIEvent
* _arg0
;
4978 PyObject
* _argo0
= 0;
4979 char *_kwnames
[] = { "self", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
4995 wxPy_END_ALLOW_THREADS
;
4996 } _resultobj
= Py_BuildValue("i",_result
);
5000 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5001 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
* _resultobj
;
5004 wxUpdateUIEvent
* _arg0
;
5005 PyObject
* _argo0
= 0;
5006 char *_kwnames
[] = { "self", NULL
};
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
5012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
5019 wxPy_BEGIN_ALLOW_THREADS
;
5020 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
5022 wxPy_END_ALLOW_THREADS
;
5023 } _resultobj
= Py_BuildValue("i",_result
);
5027 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5028 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
* _resultobj
;
5031 wxUpdateUIEvent
* _arg0
;
5032 PyObject
* _argo0
= 0;
5033 char *_kwnames
[] = { "self", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
5046 wxPy_BEGIN_ALLOW_THREADS
;
5047 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
5049 wxPy_END_ALLOW_THREADS
;
5051 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5059 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5060 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5063 wxUpdateUIEvent
* _arg0
;
5064 PyObject
* _argo0
= 0;
5065 char *_kwnames
[] = { "self", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
5078 wxPy_BEGIN_ALLOW_THREADS
;
5079 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
5081 wxPy_END_ALLOW_THREADS
;
5082 } _resultobj
= Py_BuildValue("i",_result
);
5086 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5087 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5090 wxUpdateUIEvent
* _arg0
;
5091 PyObject
* _argo0
= 0;
5092 char *_kwnames
[] = { "self", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
5098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
5105 wxPy_BEGIN_ALLOW_THREADS
;
5106 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
5108 wxPy_END_ALLOW_THREADS
;
5109 } _resultobj
= Py_BuildValue("i",_result
);
5113 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5114 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
* _resultobj
;
5117 wxUpdateUIEvent
* _arg0
;
5118 PyObject
* _argo0
= 0;
5119 char *_kwnames
[] = { "self", NULL
};
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
5125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
5132 wxPy_BEGIN_ALLOW_THREADS
;
5133 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
5135 wxPy_END_ALLOW_THREADS
;
5136 } _resultobj
= Py_BuildValue("i",_result
);
5140 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5141 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5143 wxUpdateUIEvent
* _arg0
;
5145 PyObject
* _argo0
= 0;
5147 char *_kwnames
[] = { "self","check", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
5153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
5159 _arg1
= (bool ) tempbool1
;
5161 wxPy_BEGIN_ALLOW_THREADS
;
5162 wxUpdateUIEvent_Check(_arg0
,_arg1
);
5164 wxPy_END_ALLOW_THREADS
;
5165 } Py_INCREF(Py_None
);
5166 _resultobj
= Py_None
;
5170 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5171 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
* _resultobj
;
5173 wxUpdateUIEvent
* _arg0
;
5175 PyObject
* _argo0
= 0;
5177 char *_kwnames
[] = { "self","enable", NULL
};
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
5183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
5189 _arg1
= (bool ) tempbool1
;
5191 wxPy_BEGIN_ALLOW_THREADS
;
5192 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
5194 wxPy_END_ALLOW_THREADS
;
5195 } Py_INCREF(Py_None
);
5196 _resultobj
= Py_None
;
5200 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5201 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5203 wxUpdateUIEvent
* _arg0
;
5205 PyObject
* _argo0
= 0;
5206 PyObject
* _obj1
= 0;
5207 char *_kwnames
[] = { "self","text", NULL
};
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
5213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
5220 #if PYTHON_API_VERSION >= 1009
5221 char* tmpPtr
; int tmpSize
;
5222 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5223 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5226 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5228 _arg1
= new wxString(tmpPtr
, tmpSize
);
5230 if (!PyString_Check(_obj1
)) {
5231 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5234 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5238 wxPy_BEGIN_ALLOW_THREADS
;
5239 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
5241 wxPy_END_ALLOW_THREADS
;
5242 } Py_INCREF(Py_None
);
5243 _resultobj
= Py_None
;
5251 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
5252 wxSysColourChangedEvent
*src
;
5254 src
= (wxSysColourChangedEvent
*) ptr
;
5255 dest
= (wxEvent
*) src
;
5256 return (void *) dest
;
5259 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5260 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
* _resultobj
;
5262 wxSysColourChangedEvent
* _result
;
5263 char *_kwnames
[] = { NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
5270 wxPy_BEGIN_ALLOW_THREADS
;
5271 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
5273 wxPy_END_ALLOW_THREADS
;
5275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
5276 _resultobj
= Py_BuildValue("s",_ptemp
);
5279 _resultobj
= Py_None
;
5284 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
5286 wxCommandEvent
*dest
;
5287 src
= (wxNotifyEvent
*) ptr
;
5288 dest
= (wxCommandEvent
*) src
;
5289 return (void *) dest
;
5292 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
5295 src
= (wxNotifyEvent
*) ptr
;
5296 dest
= (wxEvent
*) src
;
5297 return (void *) dest
;
5300 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
5301 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5303 wxNotifyEvent
* _result
;
5304 int _arg0
= (int ) wxEVT_NULL
;
5305 int _arg1
= (int ) 0;
5306 char *_kwnames
[] = { "commandType","id", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
5313 wxPy_BEGIN_ALLOW_THREADS
;
5314 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
5316 wxPy_END_ALLOW_THREADS
;
5318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
5319 _resultobj
= Py_BuildValue("s",_ptemp
);
5322 _resultobj
= Py_None
;
5327 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
5328 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
* _resultobj
;
5331 wxNotifyEvent
* _arg0
;
5332 PyObject
* _argo0
= 0;
5333 char *_kwnames
[] = { "self", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
5346 wxPy_BEGIN_ALLOW_THREADS
;
5347 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
5349 wxPy_END_ALLOW_THREADS
;
5350 } _resultobj
= Py_BuildValue("i",_result
);
5354 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
5355 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
* _resultobj
;
5357 wxNotifyEvent
* _arg0
;
5358 PyObject
* _argo0
= 0;
5359 char *_kwnames
[] = { "self", NULL
};
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Allow",_kwnames
,&_argo0
))
5365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
5372 wxPy_BEGIN_ALLOW_THREADS
;
5373 wxNotifyEvent_Allow(_arg0
);
5375 wxPy_END_ALLOW_THREADS
;
5376 } Py_INCREF(Py_None
);
5377 _resultobj
= Py_None
;
5381 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
5382 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
* _resultobj
;
5384 wxNotifyEvent
* _arg0
;
5385 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
5399 wxPy_BEGIN_ALLOW_THREADS
;
5400 wxNotifyEvent_Veto(_arg0
);
5402 wxPy_END_ALLOW_THREADS
;
5403 } Py_INCREF(Py_None
);
5404 _resultobj
= Py_None
;
5408 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
5409 wxPaletteChangedEvent
*src
;
5411 src
= (wxPaletteChangedEvent
*) ptr
;
5412 dest
= (wxEvent
*) src
;
5413 return (void *) dest
;
5416 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
5417 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5419 wxPaletteChangedEvent
* _result
;
5420 wxWindowID _arg0
= (wxWindowID
) 0;
5421 char *_kwnames
[] = { "id", NULL
};
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
5428 wxPy_BEGIN_ALLOW_THREADS
;
5429 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
5431 wxPy_END_ALLOW_THREADS
;
5433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
5434 _resultobj
= Py_BuildValue("s",_ptemp
);
5437 _resultobj
= Py_None
;
5442 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
5443 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
* _resultobj
;
5445 wxPaletteChangedEvent
* _arg0
;
5447 PyObject
* _argo0
= 0;
5448 PyObject
* _argo1
= 0;
5449 char *_kwnames
[] = { "self","win", NULL
};
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
5455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
5462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
5469 wxPy_BEGIN_ALLOW_THREADS
;
5470 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
5472 wxPy_END_ALLOW_THREADS
;
5473 } Py_INCREF(Py_None
);
5474 _resultobj
= Py_None
;
5478 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
5479 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
* _resultobj
;
5482 wxPaletteChangedEvent
* _arg0
;
5483 PyObject
* _argo0
= 0;
5484 char *_kwnames
[] = { "self", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
5498 wxPy_BEGIN_ALLOW_THREADS
;
5499 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
5501 wxPy_END_ALLOW_THREADS
;
5503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5504 _resultobj
= Py_BuildValue("s",_ptemp
);
5507 _resultobj
= Py_None
;
5512 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
5513 wxQueryNewPaletteEvent
*src
;
5515 src
= (wxQueryNewPaletteEvent
*) ptr
;
5516 dest
= (wxEvent
*) src
;
5517 return (void *) dest
;
5520 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
5521 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5523 wxQueryNewPaletteEvent
* _result
;
5524 wxWindowID _arg0
= (wxWindowID
) 0;
5525 char *_kwnames
[] = { "id", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
5532 wxPy_BEGIN_ALLOW_THREADS
;
5533 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
5535 wxPy_END_ALLOW_THREADS
;
5537 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
5538 _resultobj
= Py_BuildValue("s",_ptemp
);
5541 _resultobj
= Py_None
;
5546 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
5547 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
* _resultobj
;
5549 wxQueryNewPaletteEvent
* _arg0
;
5551 PyObject
* _argo0
= 0;
5553 char *_kwnames
[] = { "self","realized", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
5565 _arg1
= (bool ) tempbool1
;
5567 wxPy_BEGIN_ALLOW_THREADS
;
5568 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
5570 wxPy_END_ALLOW_THREADS
;
5571 } Py_INCREF(Py_None
);
5572 _resultobj
= Py_None
;
5576 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
5577 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
* _resultobj
;
5580 wxQueryNewPaletteEvent
* _arg0
;
5581 PyObject
* _argo0
= 0;
5582 char *_kwnames
[] = { "self", NULL
};
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
5588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
5590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
5595 wxPy_BEGIN_ALLOW_THREADS
;
5596 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
5598 wxPy_END_ALLOW_THREADS
;
5599 } _resultobj
= Py_BuildValue("i",_result
);
5603 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr
) {
5604 wxWindowCreateEvent
*src
;
5605 wxCommandEvent
*dest
;
5606 src
= (wxWindowCreateEvent
*) ptr
;
5607 dest
= (wxCommandEvent
*) src
;
5608 return (void *) dest
;
5611 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
5612 wxWindowCreateEvent
*src
;
5614 src
= (wxWindowCreateEvent
*) ptr
;
5615 dest
= (wxEvent
*) src
;
5616 return (void *) dest
;
5619 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
5620 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
* _resultobj
;
5622 wxWindowCreateEvent
* _result
;
5623 wxWindow
* _arg0
= (wxWindow
*) NULL
;
5624 PyObject
* _argo0
= 0;
5625 char *_kwnames
[] = { "win", NULL
};
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
5632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
5639 wxPy_BEGIN_ALLOW_THREADS
;
5640 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
5642 wxPy_END_ALLOW_THREADS
;
5644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
5645 _resultobj
= Py_BuildValue("s",_ptemp
);
5648 _resultobj
= Py_None
;
5653 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
5654 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
* _resultobj
;
5657 wxWindowCreateEvent
* _arg0
;
5658 PyObject
* _argo0
= 0;
5659 char *_kwnames
[] = { "self", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
5673 wxPy_BEGIN_ALLOW_THREADS
;
5674 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
5676 wxPy_END_ALLOW_THREADS
;
5678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5679 _resultobj
= Py_BuildValue("s",_ptemp
);
5682 _resultobj
= Py_None
;
5687 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr
) {
5688 wxWindowDestroyEvent
*src
;
5689 wxCommandEvent
*dest
;
5690 src
= (wxWindowDestroyEvent
*) ptr
;
5691 dest
= (wxCommandEvent
*) src
;
5692 return (void *) dest
;
5695 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
5696 wxWindowDestroyEvent
*src
;
5698 src
= (wxWindowDestroyEvent
*) ptr
;
5699 dest
= (wxEvent
*) src
;
5700 return (void *) dest
;
5703 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
5704 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
* _resultobj
;
5706 wxWindowDestroyEvent
* _result
;
5707 wxWindow
* _arg0
= (wxWindow
*) NULL
;
5708 PyObject
* _argo0
= 0;
5709 char *_kwnames
[] = { "win", NULL
};
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
5716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
5723 wxPy_BEGIN_ALLOW_THREADS
;
5724 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
5726 wxPy_END_ALLOW_THREADS
;
5728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
5729 _resultobj
= Py_BuildValue("s",_ptemp
);
5732 _resultobj
= Py_None
;
5737 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
5738 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5741 wxWindowDestroyEvent
* _arg0
;
5742 PyObject
* _argo0
= 0;
5743 char *_kwnames
[] = { "self", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
5757 wxPy_BEGIN_ALLOW_THREADS
;
5758 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
5760 wxPy_END_ALLOW_THREADS
;
5762 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5763 _resultobj
= Py_BuildValue("s",_ptemp
);
5766 _resultobj
= Py_None
;
5771 static void *SwigwxTimerEventTowxEvent(void *ptr
) {
5774 src
= (wxTimerEvent
*) ptr
;
5775 dest
= (wxEvent
*) src
;
5776 return (void *) dest
;
5779 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
5780 static PyObject
*_wrap_new_wxTimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
* _resultobj
;
5782 wxTimerEvent
* _result
;
5783 int _arg0
= (int ) 0;
5784 int _arg1
= (int ) 0;
5785 char *_kwnames
[] = { "id","interval", NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTimerEvent",_kwnames
,&_arg0
,&_arg1
))
5792 wxPy_BEGIN_ALLOW_THREADS
;
5793 _result
= (wxTimerEvent
*)new_wxTimerEvent(_arg0
,_arg1
);
5795 wxPy_END_ALLOW_THREADS
;
5797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimerEvent_p");
5798 _resultobj
= Py_BuildValue("s",_ptemp
);
5801 _resultobj
= Py_None
;
5806 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
5807 static PyObject
*_wrap_wxTimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
* _resultobj
;
5810 wxTimerEvent
* _arg0
;
5811 PyObject
* _argo0
= 0;
5812 char *_kwnames
[] = { "self", NULL
};
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimerEvent_GetInterval",_kwnames
,&_argo0
))
5818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimerEvent_p")) {
5820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
5825 wxPy_BEGIN_ALLOW_THREADS
;
5826 _result
= (int )wxTimerEvent_GetInterval(_arg0
);
5828 wxPy_END_ALLOW_THREADS
;
5829 } _resultobj
= Py_BuildValue("i",_result
);
5833 static void *SwigwxPyEventTowxEvent(void *ptr
) {
5836 src
= (wxPyEvent
*) ptr
;
5837 dest
= (wxEvent
*) src
;
5838 return (void *) dest
;
5841 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
5842 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
* _resultobj
;
5844 wxPyEvent
* _result
;
5845 int _arg0
= (int ) 0;
5846 char *_kwnames
[] = { "id", NULL
};
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
5853 wxPy_BEGIN_ALLOW_THREADS
;
5854 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
5856 wxPy_END_ALLOW_THREADS
;
5858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
5859 _resultobj
= Py_BuildValue("s",_ptemp
);
5862 _resultobj
= Py_None
;
5867 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
5868 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
* _resultobj
;
5871 PyObject
* _argo0
= 0;
5872 char *_kwnames
[] = { "self", NULL
};
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
5878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
5880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
5885 wxPy_BEGIN_ALLOW_THREADS
;
5886 delete_wxPyEvent(_arg0
);
5888 wxPy_END_ALLOW_THREADS
;
5889 } Py_INCREF(Py_None
);
5890 _resultobj
= Py_None
;
5894 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
5895 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5899 PyObject
* _argo0
= 0;
5900 PyObject
* _obj1
= 0;
5901 char *_kwnames
[] = { "self","self", NULL
};
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
5907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
5909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
5917 wxPy_BEGIN_ALLOW_THREADS
;
5918 wxPyEvent_SetSelf(_arg0
,_arg1
);
5920 wxPy_END_ALLOW_THREADS
;
5921 } Py_INCREF(Py_None
);
5922 _resultobj
= Py_None
;
5926 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
5927 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
5945 wxPy_BEGIN_ALLOW_THREADS
;
5946 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
5948 wxPy_END_ALLOW_THREADS
;
5950 _resultobj
= _result
;
5955 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
5956 wxPyCommandEvent
*src
;
5957 wxCommandEvent
*dest
;
5958 src
= (wxPyCommandEvent
*) ptr
;
5959 dest
= (wxCommandEvent
*) src
;
5960 return (void *) dest
;
5963 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
5964 wxPyCommandEvent
*src
;
5966 src
= (wxPyCommandEvent
*) ptr
;
5967 dest
= (wxEvent
*) src
;
5968 return (void *) dest
;
5971 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
5972 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5974 wxPyCommandEvent
* _result
;
5975 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
5976 int _arg1
= (int ) 0;
5977 char *_kwnames
[] = { "commandType","id", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
5984 wxPy_BEGIN_ALLOW_THREADS
;
5985 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
5987 wxPy_END_ALLOW_THREADS
;
5989 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
5990 _resultobj
= Py_BuildValue("s",_ptemp
);
5993 _resultobj
= Py_None
;
5998 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
5999 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
* _resultobj
;
6001 wxPyCommandEvent
* _arg0
;
6002 PyObject
* _argo0
= 0;
6003 char *_kwnames
[] = { "self", NULL
};
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
6009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
6016 wxPy_BEGIN_ALLOW_THREADS
;
6017 delete_wxPyCommandEvent(_arg0
);
6019 wxPy_END_ALLOW_THREADS
;
6020 } Py_INCREF(Py_None
);
6021 _resultobj
= Py_None
;
6025 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6026 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
* _resultobj
;
6028 wxPyCommandEvent
* _arg0
;
6030 PyObject
* _argo0
= 0;
6031 PyObject
* _obj1
= 0;
6032 char *_kwnames
[] = { "self","self", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
6048 wxPy_BEGIN_ALLOW_THREADS
;
6049 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
6051 wxPy_END_ALLOW_THREADS
;
6052 } Py_INCREF(Py_None
);
6053 _resultobj
= Py_None
;
6057 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6058 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
* _resultobj
;
6061 wxPyCommandEvent
* _arg0
;
6062 PyObject
* _argo0
= 0;
6063 char *_kwnames
[] = { "self", NULL
};
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
6069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
6076 wxPy_BEGIN_ALLOW_THREADS
;
6077 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
6079 wxPy_END_ALLOW_THREADS
;
6081 _resultobj
= _result
;
6086 static PyMethodDef eventscMethods
[] = {
6087 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6088 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6089 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6090 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6091 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6092 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6093 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6094 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6095 { "wxTimerEvent_GetInterval", (PyCFunction
) _wrap_wxTimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6096 { "new_wxTimerEvent", (PyCFunction
) _wrap_new_wxTimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
6097 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6098 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6099 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6100 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6101 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6102 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6103 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
6104 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6105 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6106 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6107 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6108 { "wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
6109 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
6110 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6111 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6112 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
6113 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6114 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
6115 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6116 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6117 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
6118 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
6119 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6120 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6121 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
6122 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
6123 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
6124 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
6125 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
6126 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
6127 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6128 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6129 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6130 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6131 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
6132 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
6133 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6134 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6135 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6136 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6137 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6138 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6139 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6140 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6141 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6142 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6143 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6144 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
6145 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6146 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6147 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
6148 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
6149 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
6150 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
6151 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
6152 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
6153 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
6154 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6155 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
6156 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6157 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6158 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
6159 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6160 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
6161 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6162 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6163 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6164 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
6231 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
6232 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
6233 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
6234 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
6235 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6236 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6237 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6238 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
6257 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
6258 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6259 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
6260 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6261 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6262 { "wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6263 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6264 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6265 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
6266 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6267 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6268 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6269 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6270 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6271 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6272 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6273 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
6274 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6275 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6276 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
6277 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
6278 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6279 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
6280 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6281 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
6282 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
6283 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
6284 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
6291 * This table is used by the pointer type-checker
6293 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6294 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6295 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6296 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6297 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
6298 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
6299 { "_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6300 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6301 { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6302 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6303 { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6304 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6305 { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6306 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6307 { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6308 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6309 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6310 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6311 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6312 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6313 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6314 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6315 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6316 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6317 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6318 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6319 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6320 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6321 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6322 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6323 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6324 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6325 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
6326 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
6327 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6328 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6329 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6330 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6331 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6332 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6333 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6334 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6335 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6336 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6337 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6338 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6339 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6340 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6341 { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6342 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6343 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6344 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6345 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6346 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6347 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6348 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6349 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6350 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6351 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6352 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6353 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6354 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6355 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6356 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6357 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6358 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6359 { "_wxEvent","_class_wxEvent",0},
6360 { "_class_wxActivateEvent","_wxActivateEvent",0},
6361 { "_signed_long","_long",0},
6362 { "_wxMenuEvent","_class_wxMenuEvent",0},
6363 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6364 { "_wxPrintQuality","_wxCoord",0},
6365 { "_wxPrintQuality","_int",0},
6366 { "_wxPrintQuality","_signed_int",0},
6367 { "_wxPrintQuality","_unsigned_int",0},
6368 { "_wxPrintQuality","_wxWindowID",0},
6369 { "_wxPrintQuality","_uint",0},
6370 { "_wxPrintQuality","_EBool",0},
6371 { "_wxPrintQuality","_size_t",0},
6372 { "_wxPrintQuality","_time_t",0},
6373 { "_class_wxRegionIterator","_wxRegionIterator",0},
6374 { "_wxPaintEvent","_class_wxPaintEvent",0},
6375 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6376 { "_wxCursor","_class_wxCursor",0},
6377 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6378 { "_wxMask","_class_wxMask",0},
6379 { "_wxPen","_class_wxPen",0},
6380 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6381 { "_byte","_unsigned_char",0},
6382 { "_long","_unsigned_long",0},
6383 { "_long","_signed_long",0},
6384 { "_wxImageList","_class_wxImageList",0},
6385 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6386 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6387 { "_wxDC","_class_wxDC",0},
6388 { "_wxSpinEvent","_class_wxSpinEvent",0},
6389 { "_size_t","_wxCoord",0},
6390 { "_size_t","_wxPrintQuality",0},
6391 { "_size_t","_time_t",0},
6392 { "_size_t","_unsigned_int",0},
6393 { "_size_t","_int",0},
6394 { "_size_t","_wxWindowID",0},
6395 { "_size_t","_uint",0},
6396 { "_class_wxRealPoint","_wxRealPoint",0},
6397 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6398 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6399 { "_class_wxPaintEvent","_wxPaintEvent",0},
6400 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6401 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6402 { "_wxPyEvent","_class_wxPyEvent",0},
6403 { "_class_wxMask","_wxMask",0},
6404 { "_class_wxKeyEvent","_wxKeyEvent",0},
6405 { "_wxColour","_class_wxColour",0},
6406 { "_wxIdleEvent","_class_wxIdleEvent",0},
6407 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6408 { "_wxBrush","_class_wxBrush",0},
6409 { "_wxShowEvent","_class_wxShowEvent",0},
6410 { "_uint","_wxCoord",0},
6411 { "_uint","_wxPrintQuality",0},
6412 { "_uint","_time_t",0},
6413 { "_uint","_size_t",0},
6414 { "_uint","_unsigned_int",0},
6415 { "_uint","_int",0},
6416 { "_uint","_wxWindowID",0},
6417 { "_wxChar","_char",0},
6418 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6419 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6420 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
6421 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
6422 { "_class_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6423 { "_class_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6424 { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6425 { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6426 { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6427 { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6428 { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6429 { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6430 { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6431 { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6432 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6433 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6434 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6435 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6436 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6437 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6438 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6439 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6440 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6441 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6442 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6443 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6444 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6445 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6446 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6447 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6448 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
6449 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
6450 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6451 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6452 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6453 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6454 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6455 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
6456 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6457 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
6458 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6459 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
6460 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6461 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
6462 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6463 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
6464 { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6465 { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
6466 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6467 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
6468 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6469 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
6470 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6471 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
6472 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6473 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
6474 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6475 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
6476 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6477 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
6478 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6479 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
6480 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6481 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
6482 { "_class_wxEvent","_wxEvent",0},
6483 { "_wxRect","_class_wxRect",0},
6484 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6485 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6486 { "_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6487 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6488 { "_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6489 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6490 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6491 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6492 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6493 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6494 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6495 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6496 { "_wxCommandEvent","_class_wxCommandEvent",0},
6497 { "_wxSizeEvent","_class_wxSizeEvent",0},
6498 { "_wxPoint","_class_wxPoint",0},
6499 { "_char","_wxChar",0},
6500 { "_wxBitmap","_class_wxBitmap",0},
6501 { "_wxWindowDC","_class_wxWindowDC",0},
6502 { "_wxTimerEvent","_class_wxTimerEvent",0},
6503 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6504 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6505 { "_class_wxPyEvent","_wxPyEvent",0},
6506 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6507 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6508 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6509 { "_wxScrollEvent","_class_wxScrollEvent",0},
6510 { "_EBool","_wxCoord",0},
6511 { "_EBool","_wxPrintQuality",0},
6512 { "_EBool","_signed_int",0},
6513 { "_EBool","_int",0},
6514 { "_EBool","_wxWindowID",0},
6515 { "_class_wxRegion","_wxRegion",0},
6516 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6517 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6518 { "_wxFont","_class_wxFont",0},
6519 { "_wxCloseEvent","_class_wxCloseEvent",0},
6520 { "_unsigned_long","_long",0},
6521 { "_class_wxRect","_wxRect",0},
6522 { "_class_wxDC","_wxDC",0},
6523 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6524 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6525 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6526 { "_wxFocusEvent","_class_wxFocusEvent",0},
6527 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6528 { "_class_wxTimerEvent","_wxTimerEvent",0},
6529 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6530 { "_signed_int","_wxCoord",0},
6531 { "_signed_int","_wxPrintQuality",0},
6532 { "_signed_int","_EBool",0},
6533 { "_signed_int","_wxWindowID",0},
6534 { "_signed_int","_int",0},
6535 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6536 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6537 { "_class_wxMoveEvent","_wxMoveEvent",0},
6538 { "_wxScreenDC","_class_wxScreenDC",0},
6539 { "_WXTYPE","_short",0},
6540 { "_WXTYPE","_signed_short",0},
6541 { "_WXTYPE","_unsigned_short",0},
6542 { "_class_wxBrush","_wxBrush",0},
6543 { "_unsigned_short","_WXTYPE",0},
6544 { "_unsigned_short","_short",0},
6545 { "_class_wxFont","_wxFont",0},
6546 { "_class_wxCloseEvent","_wxCloseEvent",0},
6547 { "_wxBusyInfo","_class_wxBusyInfo",0},
6548 { "_class_wxMenuEvent","_wxMenuEvent",0},
6549 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6550 { "_wxClientDC","_class_wxClientDC",0},
6551 { "_wxMouseEvent","_class_wxMouseEvent",0},
6552 { "_class_wxPoint","_wxPoint",0},
6553 { "_wxRealPoint","_class_wxRealPoint",0},
6554 { "_signed_short","_WXTYPE",0},
6555 { "_signed_short","_short",0},
6556 { "_wxMemoryDC","_class_wxMemoryDC",0},
6557 { "_wxPaintDC","_class_wxPaintDC",0},
6558 { "_class_wxWindowDC","_wxWindowDC",0},
6559 { "_class_wxFocusEvent","_wxFocusEvent",0},
6560 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6561 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6562 { "_class_wxCursor","_wxCursor",0},
6563 { "_unsigned_char","_byte",0},
6564 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6565 { "_unsigned_int","_wxCoord",0},
6566 { "_unsigned_int","_wxPrintQuality",0},
6567 { "_unsigned_int","_time_t",0},
6568 { "_unsigned_int","_size_t",0},
6569 { "_unsigned_int","_uint",0},
6570 { "_unsigned_int","_wxWindowID",0},
6571 { "_unsigned_int","_int",0},
6572 { "_wxIcon","_class_wxIcon",0},
6573 { "_class_wxPen","_wxPen",0},
6574 { "_short","_WXTYPE",0},
6575 { "_short","_unsigned_short",0},
6576 { "_short","_signed_short",0},
6577 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6578 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
6579 { "_class_wxScrollEvent","_wxScrollEvent",0},
6580 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6581 { "_class_wxImageList","_wxImageList",0},
6582 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6583 { "_wxWindowID","_wxCoord",0},
6584 { "_wxWindowID","_wxPrintQuality",0},
6585 { "_wxWindowID","_time_t",0},
6586 { "_wxWindowID","_size_t",0},
6587 { "_wxWindowID","_EBool",0},
6588 { "_wxWindowID","_uint",0},
6589 { "_wxWindowID","_int",0},
6590 { "_wxWindowID","_signed_int",0},
6591 { "_wxWindowID","_unsigned_int",0},
6592 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6593 { "_int","_wxCoord",0},
6594 { "_int","_wxPrintQuality",0},
6595 { "_int","_time_t",0},
6596 { "_int","_size_t",0},
6597 { "_int","_EBool",0},
6598 { "_int","_uint",0},
6599 { "_int","_wxWindowID",0},
6600 { "_int","_unsigned_int",0},
6601 { "_int","_signed_int",0},
6602 { "_class_wxMouseEvent","_wxMouseEvent",0},
6603 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6604 { "_class_wxSpinEvent","_wxSpinEvent",0},
6605 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6606 { "_time_t","_wxCoord",0},
6607 { "_time_t","_wxPrintQuality",0},
6608 { "_time_t","_unsigned_int",0},
6609 { "_time_t","_int",0},
6610 { "_time_t","_wxWindowID",0},
6611 { "_time_t","_uint",0},
6612 { "_time_t","_size_t",0},
6613 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6614 { "_wxSize","_class_wxSize",0},
6615 { "_wxRegionIterator","_class_wxRegionIterator",0},
6616 { "_class_wxPaintDC","_wxPaintDC",0},
6617 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6618 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6619 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6620 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6621 { "_class_wxIcon","_wxIcon",0},
6622 { "_class_wxColour","_wxColour",0},
6623 { "_class_wxScreenDC","_wxScreenDC",0},
6624 { "_wxPalette","_class_wxPalette",0},
6625 { "_class_wxIdleEvent","_wxIdleEvent",0},
6626 { "_wxCoord","_int",0},
6627 { "_wxCoord","_signed_int",0},
6628 { "_wxCoord","_unsigned_int",0},
6629 { "_wxCoord","_wxWindowID",0},
6630 { "_wxCoord","_uint",0},
6631 { "_wxCoord","_EBool",0},
6632 { "_wxCoord","_size_t",0},
6633 { "_wxCoord","_time_t",0},
6634 { "_wxCoord","_wxPrintQuality",0},
6635 { "_wxEraseEvent","_class_wxEraseEvent",0},
6636 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6637 { "_wxRegion","_class_wxRegion",0},
6638 { "_class_wxShowEvent","_wxShowEvent",0},
6639 { "_wxActivateEvent","_class_wxActivateEvent",0},
6640 { "_class_wxBusyInfo","_wxBusyInfo",0},
6641 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6642 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
6643 { "_class_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6644 { "_class_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
6645 { "_class_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6646 { "_class_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
6647 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6648 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
6649 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6650 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
6651 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6652 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
6653 { "_class_wxCommandEvent","_wxCommandEvent",0},
6654 { "_class_wxClientDC","_wxClientDC",0},
6655 { "_class_wxSizeEvent","_wxSizeEvent",0},
6656 { "_class_wxSize","_wxSize",0},
6657 { "_class_wxBitmap","_wxBitmap",0},
6658 { "_class_wxMemoryDC","_wxMemoryDC",0},
6659 { "_wxKeyEvent","_class_wxKeyEvent",0},
6660 { "_wxMoveEvent","_class_wxMoveEvent",0},
6661 { "_class_wxPalette","_wxPalette",0},
6662 { "_class_wxEraseEvent","_wxEraseEvent",0},
6663 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6666 static PyObject
*SWIG_globals
;
6670 SWIGEXPORT(void) initeventsc() {
6672 SWIG_globals
= SWIG_newvarlink();
6673 m
= Py_InitModule("eventsc", eventscMethods
);
6674 d
= PyModule_GetDict(m
);
6677 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6678 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);