]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/events.cpp
update for interface changes
[wxWidgets.git] / wxPython / src / gtk / events.cpp
1 /*
2 * FILE : src/gtk/events.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initeventsc
53
54 #define SWIG_name "eventsc"
55
56 #include "helpers.h"
57 #include <wx/spinbutt.h>
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 if (!target) {
62 target = o;
63 } else if (target == Py_None) {
64 Py_DECREF(Py_None);
65 target = o;
66 } else {
67 if (!PyList_Check(target)) {
68 o2 = target;
69 target = PyList_New(0);
70 PyList_Append(target, o2);
71 Py_XDECREF(o2);
72 }
73 PyList_Append(target,o);
74 Py_XDECREF(o);
75 }
76 return target;
77 }
78
79 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
83 if (!target) {
84 target = o;
85 } else if (target == Py_None) {
86 Py_DECREF(Py_None);
87 target = o;
88 } else {
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
96
97 o2 = target;
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
100 Py_DECREF(o3);
101 }
102 return target;
103 }
104
105 #if PYTHON_API_VERSION >= 1009
106 static char* wxStringErrorMsg = "String or Unicode type required";
107 #else
108 static char* wxStringErrorMsg = "String type required";
109 #endif
110 #ifdef __cplusplus
111 extern "C" {
112 #endif
113 static PyObject *_wrap_wxNewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
114 PyObject * _resultobj;
115 int _result;
116 char *_kwnames[] = { NULL };
117
118 self = self;
119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxNewEventType",_kwnames))
120 return NULL;
121 {
122 wxPy_BEGIN_ALLOW_THREADS;
123 _result = (int )wxNewEventType();
124
125 wxPy_END_ALLOW_THREADS;
126 if (PyErr_Occurred()) return NULL;
127 } _resultobj = Py_BuildValue("i",_result);
128 return _resultobj;
129 }
130
131 static void *SwigwxEventTowxObject(void *ptr) {
132 wxEvent *src;
133 wxObject *dest;
134 src = (wxEvent *) ptr;
135 dest = (wxObject *) src;
136 return (void *) dest;
137 }
138
139 #define new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
140 static PyObject *_wrap_new_wxEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
141 PyObject * _resultobj;
142 wxEvent * _result;
143 int _arg0 = (int ) 0;
144 char *_kwnames[] = { "id", NULL };
145 char _ptemp[128];
146
147 self = self;
148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxEvent",_kwnames,&_arg0))
149 return NULL;
150 {
151 wxPy_BEGIN_ALLOW_THREADS;
152 _result = (wxEvent *)new_wxEvent(_arg0);
153
154 wxPy_END_ALLOW_THREADS;
155 if (PyErr_Occurred()) return NULL;
156 } if (_result) {
157 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p");
158 _resultobj = Py_BuildValue("s",_ptemp);
159 } else {
160 Py_INCREF(Py_None);
161 _resultobj = Py_None;
162 }
163 return _resultobj;
164 }
165
166 #define delete_wxEvent(_swigobj) (delete _swigobj)
167 static PyObject *_wrap_delete_wxEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
168 PyObject * _resultobj;
169 wxEvent * _arg0;
170 PyObject * _argo0 = 0;
171 char *_kwnames[] = { "self", NULL };
172
173 self = self;
174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxEvent",_kwnames,&_argo0))
175 return NULL;
176 if (_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 delete_wxEvent. Expected _wxEvent_p.");
180 return NULL;
181 }
182 }
183 {
184 wxPy_BEGIN_ALLOW_THREADS;
185 delete_wxEvent(_arg0);
186
187 wxPy_END_ALLOW_THREADS;
188 if (PyErr_Occurred()) return NULL;
189 } Py_INCREF(Py_None);
190 _resultobj = Py_None;
191 return _resultobj;
192 }
193
194 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
195 static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
196 PyObject * _resultobj;
197 wxObject * _result;
198 wxEvent * _arg0;
199 PyObject * _argo0 = 0;
200 char *_kwnames[] = { "self", NULL };
201
202 self = self;
203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventObject",_kwnames,&_argo0))
204 return NULL;
205 if (_argo0) {
206 if (_argo0 == Py_None) { _arg0 = NULL; }
207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
209 return NULL;
210 }
211 }
212 {
213 wxPy_BEGIN_ALLOW_THREADS;
214 _result = (wxObject *)wxEvent_GetEventObject(_arg0);
215
216 wxPy_END_ALLOW_THREADS;
217 if (PyErr_Occurred()) return NULL;
218 }{ _resultobj = wxPyMake_wxObject(_result); }
219 return _resultobj;
220 }
221
222 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
223 static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
224 PyObject * _resultobj;
225 wxEventType _result;
226 wxEvent * _arg0;
227 PyObject * _argo0 = 0;
228 char *_kwnames[] = { "self", NULL };
229
230 self = self;
231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventType",_kwnames,&_argo0))
232 return NULL;
233 if (_argo0) {
234 if (_argo0 == Py_None) { _arg0 = NULL; }
235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
237 return NULL;
238 }
239 }
240 {
241 wxPy_BEGIN_ALLOW_THREADS;
242 _result = (wxEventType )wxEvent_GetEventType(_arg0);
243
244 wxPy_END_ALLOW_THREADS;
245 if (PyErr_Occurred()) return NULL;
246 } _resultobj = Py_BuildValue("i",_result);
247 return _resultobj;
248 }
249
250 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
251 static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
252 PyObject * _resultobj;
253 int _result;
254 wxEvent * _arg0;
255 PyObject * _argo0 = 0;
256 char *_kwnames[] = { "self", NULL };
257
258 self = self;
259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetId",_kwnames,&_argo0))
260 return NULL;
261 if (_argo0) {
262 if (_argo0 == Py_None) { _arg0 = NULL; }
263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
265 return NULL;
266 }
267 }
268 {
269 wxPy_BEGIN_ALLOW_THREADS;
270 _result = (int )wxEvent_GetId(_arg0);
271
272 wxPy_END_ALLOW_THREADS;
273 if (PyErr_Occurred()) return NULL;
274 } _resultobj = Py_BuildValue("i",_result);
275 return _resultobj;
276 }
277
278 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
279 static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
280 PyObject * _resultobj;
281 bool _result;
282 wxEvent * _arg0;
283 PyObject * _argo0 = 0;
284 char *_kwnames[] = { "self", NULL };
285
286 self = self;
287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetSkipped",_kwnames,&_argo0))
288 return NULL;
289 if (_argo0) {
290 if (_argo0 == Py_None) { _arg0 = NULL; }
291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
293 return NULL;
294 }
295 }
296 {
297 wxPy_BEGIN_ALLOW_THREADS;
298 _result = (bool )wxEvent_GetSkipped(_arg0);
299
300 wxPy_END_ALLOW_THREADS;
301 if (PyErr_Occurred()) return NULL;
302 } _resultobj = Py_BuildValue("i",_result);
303 return _resultobj;
304 }
305
306 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
307 static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
308 PyObject * _resultobj;
309 long _result;
310 wxEvent * _arg0;
311 PyObject * _argo0 = 0;
312 char *_kwnames[] = { "self", NULL };
313
314 self = self;
315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetTimestamp",_kwnames,&_argo0))
316 return NULL;
317 if (_argo0) {
318 if (_argo0 == Py_None) { _arg0 = NULL; }
319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
321 return NULL;
322 }
323 }
324 {
325 wxPy_BEGIN_ALLOW_THREADS;
326 _result = (long )wxEvent_GetTimestamp(_arg0);
327
328 wxPy_END_ALLOW_THREADS;
329 if (PyErr_Occurred()) return NULL;
330 } _resultobj = Py_BuildValue("l",_result);
331 return _resultobj;
332 }
333
334 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
335 static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
336 PyObject * _resultobj;
337 wxEvent * _arg0;
338 wxObject * _arg1;
339 PyObject * _argo0 = 0;
340 PyObject * _argo1 = 0;
341 char *_kwnames[] = { "self","object", NULL };
342
343 self = self;
344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvent_SetEventObject",_kwnames,&_argo0,&_argo1))
345 return NULL;
346 if (_argo0) {
347 if (_argo0 == Py_None) { _arg0 = NULL; }
348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
350 return NULL;
351 }
352 }
353 if (_argo1) {
354 if (_argo1 == Py_None) { _arg1 = NULL; }
355 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
356 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
357 return NULL;
358 }
359 }
360 {
361 wxPy_BEGIN_ALLOW_THREADS;
362 wxEvent_SetEventObject(_arg0,_arg1);
363
364 wxPy_END_ALLOW_THREADS;
365 if (PyErr_Occurred()) return NULL;
366 } Py_INCREF(Py_None);
367 _resultobj = Py_None;
368 return _resultobj;
369 }
370
371 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
372 static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
373 PyObject * _resultobj;
374 wxEvent * _arg0;
375 wxEventType _arg1;
376 PyObject * _argo0 = 0;
377 char *_kwnames[] = { "self","typ", NULL };
378
379 self = self;
380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetEventType",_kwnames,&_argo0,&_arg1))
381 return NULL;
382 if (_argo0) {
383 if (_argo0 == Py_None) { _arg0 = NULL; }
384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
386 return NULL;
387 }
388 }
389 {
390 wxPy_BEGIN_ALLOW_THREADS;
391 wxEvent_SetEventType(_arg0,_arg1);
392
393 wxPy_END_ALLOW_THREADS;
394 if (PyErr_Occurred()) return NULL;
395 } Py_INCREF(Py_None);
396 _resultobj = Py_None;
397 return _resultobj;
398 }
399
400 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
401 static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
402 PyObject * _resultobj;
403 wxEvent * _arg0;
404 int _arg1;
405 PyObject * _argo0 = 0;
406 char *_kwnames[] = { "self","id", NULL };
407
408 self = self;
409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetId",_kwnames,&_argo0,&_arg1))
410 return NULL;
411 if (_argo0) {
412 if (_argo0 == Py_None) { _arg0 = NULL; }
413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
415 return NULL;
416 }
417 }
418 {
419 wxPy_BEGIN_ALLOW_THREADS;
420 wxEvent_SetId(_arg0,_arg1);
421
422 wxPy_END_ALLOW_THREADS;
423 if (PyErr_Occurred()) return NULL;
424 } Py_INCREF(Py_None);
425 _resultobj = Py_None;
426 return _resultobj;
427 }
428
429 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
430 static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
431 PyObject * _resultobj;
432 wxEvent * _arg0;
433 long _arg1;
434 PyObject * _argo0 = 0;
435 char *_kwnames[] = { "self","timeStamp", NULL };
436
437 self = self;
438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxEvent_SetTimestamp",_kwnames,&_argo0,&_arg1))
439 return NULL;
440 if (_argo0) {
441 if (_argo0 == Py_None) { _arg0 = NULL; }
442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
444 return NULL;
445 }
446 }
447 {
448 wxPy_BEGIN_ALLOW_THREADS;
449 wxEvent_SetTimestamp(_arg0,_arg1);
450
451 wxPy_END_ALLOW_THREADS;
452 if (PyErr_Occurred()) return NULL;
453 } Py_INCREF(Py_None);
454 _resultobj = Py_None;
455 return _resultobj;
456 }
457
458 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
459 static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
460 PyObject * _resultobj;
461 wxEvent * _arg0;
462 bool _arg1 = (bool ) TRUE;
463 PyObject * _argo0 = 0;
464 int tempbool1 = (int) TRUE;
465 char *_kwnames[] = { "self","skip", NULL };
466
467 self = self;
468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxEvent_Skip",_kwnames,&_argo0,&tempbool1))
469 return NULL;
470 if (_argo0) {
471 if (_argo0 == Py_None) { _arg0 = NULL; }
472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
474 return NULL;
475 }
476 }
477 _arg1 = (bool ) tempbool1;
478 {
479 wxPy_BEGIN_ALLOW_THREADS;
480 wxEvent_Skip(_arg0,_arg1);
481
482 wxPy_END_ALLOW_THREADS;
483 if (PyErr_Occurred()) return NULL;
484 } Py_INCREF(Py_None);
485 _resultobj = Py_None;
486 return _resultobj;
487 }
488
489 static void *SwigwxSizeEventTowxEvent(void *ptr) {
490 wxSizeEvent *src;
491 wxEvent *dest;
492 src = (wxSizeEvent *) ptr;
493 dest = (wxEvent *) src;
494 return (void *) dest;
495 }
496
497 static void *SwigwxSizeEventTowxObject(void *ptr) {
498 wxSizeEvent *src;
499 wxObject *dest;
500 src = (wxSizeEvent *) ptr;
501 dest = (wxObject *) src;
502 return (void *) dest;
503 }
504
505 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
506 static PyObject *_wrap_new_wxSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
507 PyObject * _resultobj;
508 wxSizeEvent * _result;
509 wxSize * _arg0;
510 int _arg1 = (int ) 0;
511 wxSize temp;
512 PyObject * _obj0 = 0;
513 char *_kwnames[] = { "sz","id", NULL };
514 char _ptemp[128];
515
516 self = self;
517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxSizeEvent",_kwnames,&_obj0,&_arg1))
518 return NULL;
519 {
520 _arg0 = &temp;
521 if (! wxSize_helper(_obj0, &_arg0))
522 return NULL;
523 }
524 {
525 wxPy_BEGIN_ALLOW_THREADS;
526 _result = (wxSizeEvent *)new_wxSizeEvent(*_arg0,_arg1);
527
528 wxPy_END_ALLOW_THREADS;
529 if (PyErr_Occurred()) return NULL;
530 } if (_result) {
531 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSizeEvent_p");
532 _resultobj = Py_BuildValue("s",_ptemp);
533 } else {
534 Py_INCREF(Py_None);
535 _resultobj = Py_None;
536 }
537 return _resultobj;
538 }
539
540 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
541 static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
542 PyObject * _resultobj;
543 wxSize * _result;
544 wxSizeEvent * _arg0;
545 PyObject * _argo0 = 0;
546 char *_kwnames[] = { "self", NULL };
547 char _ptemp[128];
548
549 self = self;
550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizeEvent_GetSize",_kwnames,&_argo0))
551 return NULL;
552 if (_argo0) {
553 if (_argo0 == Py_None) { _arg0 = NULL; }
554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizeEvent_p")) {
555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
556 return NULL;
557 }
558 }
559 {
560 wxPy_BEGIN_ALLOW_THREADS;
561 _result = new wxSize (wxSizeEvent_GetSize(_arg0));
562
563 wxPy_END_ALLOW_THREADS;
564 if (PyErr_Occurred()) return NULL;
565 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
566 _resultobj = Py_BuildValue("s",_ptemp);
567 return _resultobj;
568 }
569
570 static void *SwigwxCloseEventTowxEvent(void *ptr) {
571 wxCloseEvent *src;
572 wxEvent *dest;
573 src = (wxCloseEvent *) ptr;
574 dest = (wxEvent *) src;
575 return (void *) dest;
576 }
577
578 static void *SwigwxCloseEventTowxObject(void *ptr) {
579 wxCloseEvent *src;
580 wxObject *dest;
581 src = (wxCloseEvent *) ptr;
582 dest = (wxObject *) src;
583 return (void *) dest;
584 }
585
586 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
587 static PyObject *_wrap_new_wxCloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
588 PyObject * _resultobj;
589 wxCloseEvent * _result;
590 int _arg0 = (int ) 0;
591 int _arg1 = (int ) 0;
592 char *_kwnames[] = { "commandEventType","id", NULL };
593 char _ptemp[128];
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxCloseEvent",_kwnames,&_arg0,&_arg1))
597 return NULL;
598 {
599 wxPy_BEGIN_ALLOW_THREADS;
600 _result = (wxCloseEvent *)new_wxCloseEvent(_arg0,_arg1);
601
602 wxPy_END_ALLOW_THREADS;
603 if (PyErr_Occurred()) return NULL;
604 } if (_result) {
605 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCloseEvent_p");
606 _resultobj = Py_BuildValue("s",_ptemp);
607 } else {
608 Py_INCREF(Py_None);
609 _resultobj = Py_None;
610 }
611 return _resultobj;
612 }
613
614 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
615 static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
616 PyObject * _resultobj;
617 wxCloseEvent * _arg0;
618 bool _arg1;
619 PyObject * _argo0 = 0;
620 int tempbool1;
621 char *_kwnames[] = { "self","loggingOff", NULL };
622
623 self = self;
624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetLoggingOff",_kwnames,&_argo0,&tempbool1))
625 return NULL;
626 if (_argo0) {
627 if (_argo0 == Py_None) { _arg0 = NULL; }
628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
630 return NULL;
631 }
632 }
633 _arg1 = (bool ) tempbool1;
634 {
635 wxPy_BEGIN_ALLOW_THREADS;
636 wxCloseEvent_SetLoggingOff(_arg0,_arg1);
637
638 wxPy_END_ALLOW_THREADS;
639 if (PyErr_Occurred()) return NULL;
640 } Py_INCREF(Py_None);
641 _resultobj = Py_None;
642 return _resultobj;
643 }
644
645 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
646 static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
647 PyObject * _resultobj;
648 bool _result;
649 wxCloseEvent * _arg0;
650 PyObject * _argo0 = 0;
651 char *_kwnames[] = { "self", NULL };
652
653 self = self;
654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetLoggingOff",_kwnames,&_argo0))
655 return NULL;
656 if (_argo0) {
657 if (_argo0 == Py_None) { _arg0 = NULL; }
658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
660 return NULL;
661 }
662 }
663 {
664 wxPy_BEGIN_ALLOW_THREADS;
665 _result = (bool )wxCloseEvent_GetLoggingOff(_arg0);
666
667 wxPy_END_ALLOW_THREADS;
668 if (PyErr_Occurred()) return NULL;
669 } _resultobj = Py_BuildValue("i",_result);
670 return _resultobj;
671 }
672
673 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
674 static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
675 PyObject * _resultobj;
676 wxCloseEvent * _arg0;
677 bool _arg1 = (bool ) TRUE;
678 PyObject * _argo0 = 0;
679 int tempbool1 = (int) TRUE;
680 char *_kwnames[] = { "self","veto", NULL };
681
682 self = self;
683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCloseEvent_Veto",_kwnames,&_argo0,&tempbool1))
684 return NULL;
685 if (_argo0) {
686 if (_argo0 == Py_None) { _arg0 = NULL; }
687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
689 return NULL;
690 }
691 }
692 _arg1 = (bool ) tempbool1;
693 {
694 wxPy_BEGIN_ALLOW_THREADS;
695 wxCloseEvent_Veto(_arg0,_arg1);
696
697 wxPy_END_ALLOW_THREADS;
698 if (PyErr_Occurred()) return NULL;
699 } Py_INCREF(Py_None);
700 _resultobj = Py_None;
701 return _resultobj;
702 }
703
704 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
705 static PyObject *_wrap_wxCloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
706 PyObject * _resultobj;
707 bool _result;
708 wxCloseEvent * _arg0;
709 PyObject * _argo0 = 0;
710 char *_kwnames[] = { "self", NULL };
711
712 self = self;
713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_CanVeto",_kwnames,&_argo0))
714 return NULL;
715 if (_argo0) {
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_CanVeto. Expected _wxCloseEvent_p.");
719 return NULL;
720 }
721 }
722 {
723 wxPy_BEGIN_ALLOW_THREADS;
724 _result = (bool )wxCloseEvent_CanVeto(_arg0);
725
726 wxPy_END_ALLOW_THREADS;
727 if (PyErr_Occurred()) return NULL;
728 } _resultobj = Py_BuildValue("i",_result);
729 return _resultobj;
730 }
731
732 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
733 static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
734 PyObject * _resultobj;
735 bool _result;
736 wxCloseEvent * _arg0;
737 PyObject * _argo0 = 0;
738 char *_kwnames[] = { "self", NULL };
739
740 self = self;
741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetVeto",_kwnames,&_argo0))
742 return NULL;
743 if (_argo0) {
744 if (_argo0 == Py_None) { _arg0 = NULL; }
745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
747 return NULL;
748 }
749 }
750 {
751 wxPy_BEGIN_ALLOW_THREADS;
752 _result = (bool )wxCloseEvent_GetVeto(_arg0);
753
754 wxPy_END_ALLOW_THREADS;
755 if (PyErr_Occurred()) return NULL;
756 } _resultobj = Py_BuildValue("i",_result);
757 return _resultobj;
758 }
759
760 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
761 static PyObject *_wrap_wxCloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
762 PyObject * _resultobj;
763 wxCloseEvent * _arg0;
764 bool _arg1;
765 PyObject * _argo0 = 0;
766 int tempbool1;
767 char *_kwnames[] = { "self","canVeto", NULL };
768
769 self = self;
770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetCanVeto",_kwnames,&_argo0,&tempbool1))
771 return NULL;
772 if (_argo0) {
773 if (_argo0 == Py_None) { _arg0 = NULL; }
774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
776 return NULL;
777 }
778 }
779 _arg1 = (bool ) tempbool1;
780 {
781 wxPy_BEGIN_ALLOW_THREADS;
782 wxCloseEvent_SetCanVeto(_arg0,_arg1);
783
784 wxPy_END_ALLOW_THREADS;
785 if (PyErr_Occurred()) return NULL;
786 } Py_INCREF(Py_None);
787 _resultobj = Py_None;
788 return _resultobj;
789 }
790
791 static void *SwigwxCommandEventTowxEvent(void *ptr) {
792 wxCommandEvent *src;
793 wxEvent *dest;
794 src = (wxCommandEvent *) ptr;
795 dest = (wxEvent *) src;
796 return (void *) dest;
797 }
798
799 static void *SwigwxCommandEventTowxObject(void *ptr) {
800 wxCommandEvent *src;
801 wxObject *dest;
802 src = (wxCommandEvent *) ptr;
803 dest = (wxObject *) src;
804 return (void *) dest;
805 }
806
807 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
808 static PyObject *_wrap_new_wxCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
809 PyObject * _resultobj;
810 wxCommandEvent * _result;
811 int _arg0 = (int ) 0;
812 int _arg1 = (int ) 0;
813 char *_kwnames[] = { "commandEventType","id", NULL };
814 char _ptemp[128];
815
816 self = self;
817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxCommandEvent",_kwnames,&_arg0,&_arg1))
818 return NULL;
819 {
820 wxPy_BEGIN_ALLOW_THREADS;
821 _result = (wxCommandEvent *)new_wxCommandEvent(_arg0,_arg1);
822
823 wxPy_END_ALLOW_THREADS;
824 if (PyErr_Occurred()) return NULL;
825 } if (_result) {
826 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCommandEvent_p");
827 _resultobj = Py_BuildValue("s",_ptemp);
828 } else {
829 Py_INCREF(Py_None);
830 _resultobj = Py_None;
831 }
832 return _resultobj;
833 }
834
835 #define wxCommandEvent_IsChecked(_swigobj) (_swigobj->IsChecked())
836 static PyObject *_wrap_wxCommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject * _resultobj;
838 bool _result;
839 wxCommandEvent * _arg0;
840 PyObject * _argo0 = 0;
841 char *_kwnames[] = { "self", NULL };
842
843 self = self;
844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_IsChecked",_kwnames,&_argo0))
845 return NULL;
846 if (_argo0) {
847 if (_argo0 == Py_None) { _arg0 = NULL; }
848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsChecked. Expected _wxCommandEvent_p.");
850 return NULL;
851 }
852 }
853 {
854 wxPy_BEGIN_ALLOW_THREADS;
855 _result = (bool )wxCommandEvent_IsChecked(_arg0);
856
857 wxPy_END_ALLOW_THREADS;
858 if (PyErr_Occurred()) return NULL;
859 } _resultobj = Py_BuildValue("i",_result);
860 return _resultobj;
861 }
862
863 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
864 static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
865 PyObject * _resultobj;
866 long _result;
867 wxCommandEvent * _arg0;
868 PyObject * _argo0 = 0;
869 char *_kwnames[] = { "self", NULL };
870
871 self = self;
872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetExtraLong",_kwnames,&_argo0))
873 return NULL;
874 if (_argo0) {
875 if (_argo0 == Py_None) { _arg0 = NULL; }
876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
878 return NULL;
879 }
880 }
881 {
882 wxPy_BEGIN_ALLOW_THREADS;
883 _result = (long )wxCommandEvent_GetExtraLong(_arg0);
884
885 wxPy_END_ALLOW_THREADS;
886 if (PyErr_Occurred()) return NULL;
887 } _resultobj = Py_BuildValue("l",_result);
888 return _resultobj;
889 }
890
891 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
892 static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
893 PyObject * _resultobj;
894 int _result;
895 wxCommandEvent * _arg0;
896 PyObject * _argo0 = 0;
897 char *_kwnames[] = { "self", NULL };
898
899 self = self;
900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetInt",_kwnames,&_argo0))
901 return NULL;
902 if (_argo0) {
903 if (_argo0 == Py_None) { _arg0 = NULL; }
904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
906 return NULL;
907 }
908 }
909 {
910 wxPy_BEGIN_ALLOW_THREADS;
911 _result = (int )wxCommandEvent_GetInt(_arg0);
912
913 wxPy_END_ALLOW_THREADS;
914 if (PyErr_Occurred()) return NULL;
915 } _resultobj = Py_BuildValue("i",_result);
916 return _resultobj;
917 }
918
919 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
920 static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
921 PyObject * _resultobj;
922 int _result;
923 wxCommandEvent * _arg0;
924 PyObject * _argo0 = 0;
925 char *_kwnames[] = { "self", NULL };
926
927 self = self;
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetSelection",_kwnames,&_argo0))
929 return NULL;
930 if (_argo0) {
931 if (_argo0 == Py_None) { _arg0 = NULL; }
932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
934 return NULL;
935 }
936 }
937 {
938 wxPy_BEGIN_ALLOW_THREADS;
939 _result = (int )wxCommandEvent_GetSelection(_arg0);
940
941 wxPy_END_ALLOW_THREADS;
942 if (PyErr_Occurred()) return NULL;
943 } _resultobj = Py_BuildValue("i",_result);
944 return _resultobj;
945 }
946
947 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
948 static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
949 PyObject * _resultobj;
950 wxString * _result;
951 wxCommandEvent * _arg0;
952 PyObject * _argo0 = 0;
953 char *_kwnames[] = { "self", NULL };
954
955 self = self;
956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetString",_kwnames,&_argo0))
957 return NULL;
958 if (_argo0) {
959 if (_argo0 == Py_None) { _arg0 = NULL; }
960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
962 return NULL;
963 }
964 }
965 {
966 wxPy_BEGIN_ALLOW_THREADS;
967 _result = new wxString (wxCommandEvent_GetString(_arg0));
968
969 wxPy_END_ALLOW_THREADS;
970 if (PyErr_Occurred()) return NULL;
971 }{
972 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
973 }
974 {
975 delete _result;
976 }
977 return _resultobj;
978 }
979
980 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
981 static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
982 PyObject * _resultobj;
983 bool _result;
984 wxCommandEvent * _arg0;
985 PyObject * _argo0 = 0;
986 char *_kwnames[] = { "self", NULL };
987
988 self = self;
989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_IsSelection",_kwnames,&_argo0))
990 return NULL;
991 if (_argo0) {
992 if (_argo0 == Py_None) { _arg0 = NULL; }
993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
995 return NULL;
996 }
997 }
998 {
999 wxPy_BEGIN_ALLOW_THREADS;
1000 _result = (bool )wxCommandEvent_IsSelection(_arg0);
1001
1002 wxPy_END_ALLOW_THREADS;
1003 if (PyErr_Occurred()) return NULL;
1004 } _resultobj = Py_BuildValue("i",_result);
1005 return _resultobj;
1006 }
1007
1008 #define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
1009 static PyObject *_wrap_wxCommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
1010 PyObject * _resultobj;
1011 wxCommandEvent * _arg0;
1012 wxString * _arg1;
1013 PyObject * _argo0 = 0;
1014 PyObject * _obj1 = 0;
1015 char *_kwnames[] = { "self","s", NULL };
1016
1017 self = self;
1018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCommandEvent_SetString",_kwnames,&_argo0,&_obj1))
1019 return NULL;
1020 if (_argo0) {
1021 if (_argo0 == Py_None) { _arg0 = NULL; }
1022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
1024 return NULL;
1025 }
1026 }
1027 {
1028 #if PYTHON_API_VERSION >= 1009
1029 char* tmpPtr; int tmpSize;
1030 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1031 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1032 return NULL;
1033 }
1034 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1035 return NULL;
1036 _arg1 = new wxString(tmpPtr, tmpSize);
1037 #else
1038 if (!PyString_Check(_obj1)) {
1039 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1040 return NULL;
1041 }
1042 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1043 #endif
1044 }
1045 {
1046 wxPy_BEGIN_ALLOW_THREADS;
1047 wxCommandEvent_SetString(_arg0,*_arg1);
1048
1049 wxPy_END_ALLOW_THREADS;
1050 if (PyErr_Occurred()) return NULL;
1051 } Py_INCREF(Py_None);
1052 _resultobj = Py_None;
1053 {
1054 if (_obj1)
1055 delete _arg1;
1056 }
1057 return _resultobj;
1058 }
1059
1060 #define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
1061 static PyObject *_wrap_wxCommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject * _resultobj;
1063 wxCommandEvent * _arg0;
1064 long _arg1;
1065 PyObject * _argo0 = 0;
1066 char *_kwnames[] = { "self","extraLong", NULL };
1067
1068 self = self;
1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxCommandEvent_SetExtraLong",_kwnames,&_argo0,&_arg1))
1070 return NULL;
1071 if (_argo0) {
1072 if (_argo0 == Py_None) { _arg0 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
1075 return NULL;
1076 }
1077 }
1078 {
1079 wxPy_BEGIN_ALLOW_THREADS;
1080 wxCommandEvent_SetExtraLong(_arg0,_arg1);
1081
1082 wxPy_END_ALLOW_THREADS;
1083 if (PyErr_Occurred()) return NULL;
1084 } Py_INCREF(Py_None);
1085 _resultobj = Py_None;
1086 return _resultobj;
1087 }
1088
1089 #define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1090 static PyObject *_wrap_wxCommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1091 PyObject * _resultobj;
1092 wxCommandEvent * _arg0;
1093 int _arg1;
1094 PyObject * _argo0 = 0;
1095 char *_kwnames[] = { "self","i", NULL };
1096
1097 self = self;
1098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCommandEvent_SetInt",_kwnames,&_argo0,&_arg1))
1099 return NULL;
1100 if (_argo0) {
1101 if (_argo0 == Py_None) { _arg0 = NULL; }
1102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
1103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1104 return NULL;
1105 }
1106 }
1107 {
1108 wxPy_BEGIN_ALLOW_THREADS;
1109 wxCommandEvent_SetInt(_arg0,_arg1);
1110
1111 wxPy_END_ALLOW_THREADS;
1112 if (PyErr_Occurred()) return NULL;
1113 } Py_INCREF(Py_None);
1114 _resultobj = Py_None;
1115 return _resultobj;
1116 }
1117
1118 static PyObject * wxCommandEvent_GetClientData(wxCommandEvent *self) {
1119 wxPyClientData* data = (wxPyClientData*)self->GetClientObject();
1120 if (data) {
1121 Py_INCREF(data->m_obj);
1122 return data->m_obj;
1123 } else {
1124 Py_INCREF(Py_None);
1125 return Py_None;
1126 }
1127 }
1128 static PyObject *_wrap_wxCommandEvent_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
1129 PyObject * _resultobj;
1130 PyObject * _result;
1131 wxCommandEvent * _arg0;
1132 PyObject * _argo0 = 0;
1133 char *_kwnames[] = { "self", NULL };
1134
1135 self = self;
1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetClientData",_kwnames,&_argo0))
1137 return NULL;
1138 if (_argo0) {
1139 if (_argo0 == Py_None) { _arg0 = NULL; }
1140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
1141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetClientData. Expected _wxCommandEvent_p.");
1142 return NULL;
1143 }
1144 }
1145 {
1146 wxPy_BEGIN_ALLOW_THREADS;
1147 _result = (PyObject *)wxCommandEvent_GetClientData(_arg0);
1148
1149 wxPy_END_ALLOW_THREADS;
1150 if (PyErr_Occurred()) return NULL;
1151 }{
1152 _resultobj = _result;
1153 }
1154 return _resultobj;
1155 }
1156
1157 static void *SwigwxScrollEventTowxCommandEvent(void *ptr) {
1158 wxScrollEvent *src;
1159 wxCommandEvent *dest;
1160 src = (wxScrollEvent *) ptr;
1161 dest = (wxCommandEvent *) src;
1162 return (void *) dest;
1163 }
1164
1165 static void *SwigwxScrollEventTowxEvent(void *ptr) {
1166 wxScrollEvent *src;
1167 wxEvent *dest;
1168 src = (wxScrollEvent *) ptr;
1169 dest = (wxEvent *) src;
1170 return (void *) dest;
1171 }
1172
1173 static void *SwigwxScrollEventTowxObject(void *ptr) {
1174 wxScrollEvent *src;
1175 wxObject *dest;
1176 src = (wxScrollEvent *) ptr;
1177 dest = (wxObject *) src;
1178 return (void *) dest;
1179 }
1180
1181 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1182 static PyObject *_wrap_new_wxScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1183 PyObject * _resultobj;
1184 wxScrollEvent * _result;
1185 int _arg0 = (int ) 0;
1186 int _arg1 = (int ) 0;
1187 int _arg2 = (int ) 0;
1188 int _arg3 = (int ) 0;
1189 char *_kwnames[] = { "commandType","id","pos","orientation", NULL };
1190 char _ptemp[128];
1191
1192 self = self;
1193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxScrollEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1194 return NULL;
1195 {
1196 wxPy_BEGIN_ALLOW_THREADS;
1197 _result = (wxScrollEvent *)new_wxScrollEvent(_arg0,_arg1,_arg2,_arg3);
1198
1199 wxPy_END_ALLOW_THREADS;
1200 if (PyErr_Occurred()) return NULL;
1201 } if (_result) {
1202 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollEvent_p");
1203 _resultobj = Py_BuildValue("s",_ptemp);
1204 } else {
1205 Py_INCREF(Py_None);
1206 _resultobj = Py_None;
1207 }
1208 return _resultobj;
1209 }
1210
1211 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1212 static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1213 PyObject * _resultobj;
1214 int _result;
1215 wxScrollEvent * _arg0;
1216 PyObject * _argo0 = 0;
1217 char *_kwnames[] = { "self", NULL };
1218
1219 self = self;
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetOrientation",_kwnames,&_argo0))
1221 return NULL;
1222 if (_argo0) {
1223 if (_argo0 == Py_None) { _arg0 = NULL; }
1224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1226 return NULL;
1227 }
1228 }
1229 {
1230 wxPy_BEGIN_ALLOW_THREADS;
1231 _result = (int )wxScrollEvent_GetOrientation(_arg0);
1232
1233 wxPy_END_ALLOW_THREADS;
1234 if (PyErr_Occurred()) return NULL;
1235 } _resultobj = Py_BuildValue("i",_result);
1236 return _resultobj;
1237 }
1238
1239 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1240 static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject * _resultobj;
1242 int _result;
1243 wxScrollEvent * _arg0;
1244 PyObject * _argo0 = 0;
1245 char *_kwnames[] = { "self", NULL };
1246
1247 self = self;
1248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetPosition",_kwnames,&_argo0))
1249 return NULL;
1250 if (_argo0) {
1251 if (_argo0 == Py_None) { _arg0 = NULL; }
1252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
1253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1254 return NULL;
1255 }
1256 }
1257 {
1258 wxPy_BEGIN_ALLOW_THREADS;
1259 _result = (int )wxScrollEvent_GetPosition(_arg0);
1260
1261 wxPy_END_ALLOW_THREADS;
1262 if (PyErr_Occurred()) return NULL;
1263 } _resultobj = Py_BuildValue("i",_result);
1264 return _resultobj;
1265 }
1266
1267 static void *SwigwxScrollWinEventTowxEvent(void *ptr) {
1268 wxScrollWinEvent *src;
1269 wxEvent *dest;
1270 src = (wxScrollWinEvent *) ptr;
1271 dest = (wxEvent *) src;
1272 return (void *) dest;
1273 }
1274
1275 static void *SwigwxScrollWinEventTowxObject(void *ptr) {
1276 wxScrollWinEvent *src;
1277 wxObject *dest;
1278 src = (wxScrollWinEvent *) ptr;
1279 dest = (wxObject *) src;
1280 return (void *) dest;
1281 }
1282
1283 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1284 static PyObject *_wrap_new_wxScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1285 PyObject * _resultobj;
1286 wxScrollWinEvent * _result;
1287 int _arg0 = (int ) 0;
1288 int _arg1 = (int ) 0;
1289 int _arg2 = (int ) 0;
1290 char *_kwnames[] = { "commandType","pos","orientation", NULL };
1291 char _ptemp[128];
1292
1293 self = self;
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxScrollWinEvent",_kwnames,&_arg0,&_arg1,&_arg2))
1295 return NULL;
1296 {
1297 wxPy_BEGIN_ALLOW_THREADS;
1298 _result = (wxScrollWinEvent *)new_wxScrollWinEvent(_arg0,_arg1,_arg2);
1299
1300 wxPy_END_ALLOW_THREADS;
1301 if (PyErr_Occurred()) return NULL;
1302 } if (_result) {
1303 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollWinEvent_p");
1304 _resultobj = Py_BuildValue("s",_ptemp);
1305 } else {
1306 Py_INCREF(Py_None);
1307 _resultobj = Py_None;
1308 }
1309 return _resultobj;
1310 }
1311
1312 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1313 static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1314 PyObject * _resultobj;
1315 int _result;
1316 wxScrollWinEvent * _arg0;
1317 PyObject * _argo0 = 0;
1318 char *_kwnames[] = { "self", NULL };
1319
1320 self = self;
1321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetOrientation",_kwnames,&_argo0))
1322 return NULL;
1323 if (_argo0) {
1324 if (_argo0 == Py_None) { _arg0 = NULL; }
1325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
1326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1327 return NULL;
1328 }
1329 }
1330 {
1331 wxPy_BEGIN_ALLOW_THREADS;
1332 _result = (int )wxScrollWinEvent_GetOrientation(_arg0);
1333
1334 wxPy_END_ALLOW_THREADS;
1335 if (PyErr_Occurred()) return NULL;
1336 } _resultobj = Py_BuildValue("i",_result);
1337 return _resultobj;
1338 }
1339
1340 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1341 static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1342 PyObject * _resultobj;
1343 int _result;
1344 wxScrollWinEvent * _arg0;
1345 PyObject * _argo0 = 0;
1346 char *_kwnames[] = { "self", NULL };
1347
1348 self = self;
1349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetPosition",_kwnames,&_argo0))
1350 return NULL;
1351 if (_argo0) {
1352 if (_argo0 == Py_None) { _arg0 = NULL; }
1353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
1354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1355 return NULL;
1356 }
1357 }
1358 {
1359 wxPy_BEGIN_ALLOW_THREADS;
1360 _result = (int )wxScrollWinEvent_GetPosition(_arg0);
1361
1362 wxPy_END_ALLOW_THREADS;
1363 if (PyErr_Occurred()) return NULL;
1364 } _resultobj = Py_BuildValue("i",_result);
1365 return _resultobj;
1366 }
1367
1368 static void *SwigwxSpinEventTowxScrollEvent(void *ptr) {
1369 wxSpinEvent *src;
1370 wxScrollEvent *dest;
1371 src = (wxSpinEvent *) ptr;
1372 dest = (wxScrollEvent *) src;
1373 return (void *) dest;
1374 }
1375
1376 static void *SwigwxSpinEventTowxCommandEvent(void *ptr) {
1377 wxSpinEvent *src;
1378 wxCommandEvent *dest;
1379 src = (wxSpinEvent *) ptr;
1380 dest = (wxCommandEvent *) src;
1381 return (void *) dest;
1382 }
1383
1384 static void *SwigwxSpinEventTowxEvent(void *ptr) {
1385 wxSpinEvent *src;
1386 wxEvent *dest;
1387 src = (wxSpinEvent *) ptr;
1388 dest = (wxEvent *) src;
1389 return (void *) dest;
1390 }
1391
1392 static void *SwigwxSpinEventTowxObject(void *ptr) {
1393 wxSpinEvent *src;
1394 wxObject *dest;
1395 src = (wxSpinEvent *) ptr;
1396 dest = (wxObject *) src;
1397 return (void *) dest;
1398 }
1399
1400 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1401 static PyObject *_wrap_new_wxSpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject * _resultobj;
1403 wxSpinEvent * _result;
1404 int _arg0 = (int ) 0;
1405 int _arg1 = (int ) 0;
1406 char *_kwnames[] = { "commandType","id", NULL };
1407 char _ptemp[128];
1408
1409 self = self;
1410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxSpinEvent",_kwnames,&_arg0,&_arg1))
1411 return NULL;
1412 {
1413 wxPy_BEGIN_ALLOW_THREADS;
1414 _result = (wxSpinEvent *)new_wxSpinEvent(_arg0,_arg1);
1415
1416 wxPy_END_ALLOW_THREADS;
1417 if (PyErr_Occurred()) return NULL;
1418 } if (_result) {
1419 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinEvent_p");
1420 _resultobj = Py_BuildValue("s",_ptemp);
1421 } else {
1422 Py_INCREF(Py_None);
1423 _resultobj = Py_None;
1424 }
1425 return _resultobj;
1426 }
1427
1428 static void *SwigwxMouseEventTowxEvent(void *ptr) {
1429 wxMouseEvent *src;
1430 wxEvent *dest;
1431 src = (wxMouseEvent *) ptr;
1432 dest = (wxEvent *) src;
1433 return (void *) dest;
1434 }
1435
1436 static void *SwigwxMouseEventTowxObject(void *ptr) {
1437 wxMouseEvent *src;
1438 wxObject *dest;
1439 src = (wxMouseEvent *) ptr;
1440 dest = (wxObject *) src;
1441 return (void *) dest;
1442 }
1443
1444 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1445 static PyObject *_wrap_new_wxMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject * _resultobj;
1447 wxMouseEvent * _result;
1448 int _arg0 = (int ) 0;
1449 char *_kwnames[] = { "mouseEventType", NULL };
1450 char _ptemp[128];
1451
1452 self = self;
1453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxMouseEvent",_kwnames,&_arg0))
1454 return NULL;
1455 {
1456 wxPy_BEGIN_ALLOW_THREADS;
1457 _result = (wxMouseEvent *)new_wxMouseEvent(_arg0);
1458
1459 wxPy_END_ALLOW_THREADS;
1460 if (PyErr_Occurred()) return NULL;
1461 } if (_result) {
1462 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMouseEvent_p");
1463 _resultobj = Py_BuildValue("s",_ptemp);
1464 } else {
1465 Py_INCREF(Py_None);
1466 _resultobj = Py_None;
1467 }
1468 return _resultobj;
1469 }
1470
1471 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1472 static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1473 PyObject * _resultobj;
1474 bool _result;
1475 wxMouseEvent * _arg0;
1476 PyObject * _argo0 = 0;
1477 char *_kwnames[] = { "self", NULL };
1478
1479 self = self;
1480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_IsButton",_kwnames,&_argo0))
1481 return NULL;
1482 if (_argo0) {
1483 if (_argo0 == Py_None) { _arg0 = NULL; }
1484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1486 return NULL;
1487 }
1488 }
1489 {
1490 wxPy_BEGIN_ALLOW_THREADS;
1491 _result = (bool )wxMouseEvent_IsButton(_arg0);
1492
1493 wxPy_END_ALLOW_THREADS;
1494 if (PyErr_Occurred()) return NULL;
1495 } _resultobj = Py_BuildValue("i",_result);
1496 return _resultobj;
1497 }
1498
1499 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1500 static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1501 PyObject * _resultobj;
1502 bool _result;
1503 wxMouseEvent * _arg0;
1504 int _arg1 = (int ) -1;
1505 PyObject * _argo0 = 0;
1506 char *_kwnames[] = { "self","but", NULL };
1507
1508 self = self;
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
1510 return NULL;
1511 if (_argo0) {
1512 if (_argo0 == Py_None) { _arg0 = NULL; }
1513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1515 return NULL;
1516 }
1517 }
1518 {
1519 wxPy_BEGIN_ALLOW_THREADS;
1520 _result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1);
1521
1522 wxPy_END_ALLOW_THREADS;
1523 if (PyErr_Occurred()) return NULL;
1524 } _resultobj = Py_BuildValue("i",_result);
1525 return _resultobj;
1526 }
1527
1528 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1529 static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1530 PyObject * _resultobj;
1531 bool _result;
1532 wxMouseEvent * _arg0;
1533 int _arg1 = (int ) -1;
1534 PyObject * _argo0 = 0;
1535 char *_kwnames[] = { "self","but", NULL };
1536
1537 self = self;
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDClick",_kwnames,&_argo0,&_arg1))
1539 return NULL;
1540 if (_argo0) {
1541 if (_argo0 == Py_None) { _arg0 = NULL; }
1542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1544 return NULL;
1545 }
1546 }
1547 {
1548 wxPy_BEGIN_ALLOW_THREADS;
1549 _result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1);
1550
1551 wxPy_END_ALLOW_THREADS;
1552 if (PyErr_Occurred()) return NULL;
1553 } _resultobj = Py_BuildValue("i",_result);
1554 return _resultobj;
1555 }
1556
1557 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1558 static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject * _resultobj;
1560 bool _result;
1561 wxMouseEvent * _arg0;
1562 int _arg1 = (int ) -1;
1563 PyObject * _argo0 = 0;
1564 char *_kwnames[] = { "self","but", NULL };
1565
1566 self = self;
1567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
1568 return NULL;
1569 if (_argo0) {
1570 if (_argo0 == Py_None) { _arg0 = NULL; }
1571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1573 return NULL;
1574 }
1575 }
1576 {
1577 wxPy_BEGIN_ALLOW_THREADS;
1578 _result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1);
1579
1580 wxPy_END_ALLOW_THREADS;
1581 if (PyErr_Occurred()) return NULL;
1582 } _resultobj = Py_BuildValue("i",_result);
1583 return _resultobj;
1584 }
1585
1586 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1587 static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject * _resultobj;
1589 bool _result;
1590 wxMouseEvent * _arg0;
1591 int _arg1;
1592 PyObject * _argo0 = 0;
1593 char *_kwnames[] = { "self","but", NULL };
1594
1595 self = self;
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_Button",_kwnames,&_argo0,&_arg1))
1597 return NULL;
1598 if (_argo0) {
1599 if (_argo0 == Py_None) { _arg0 = NULL; }
1600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1602 return NULL;
1603 }
1604 }
1605 {
1606 wxPy_BEGIN_ALLOW_THREADS;
1607 _result = (bool )wxMouseEvent_Button(_arg0,_arg1);
1608
1609 wxPy_END_ALLOW_THREADS;
1610 if (PyErr_Occurred()) return NULL;
1611 } _resultobj = Py_BuildValue("i",_result);
1612 return _resultobj;
1613 }
1614
1615 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1616 static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject * _resultobj;
1618 bool _result;
1619 wxMouseEvent * _arg0;
1620 int _arg1;
1621 PyObject * _argo0 = 0;
1622 char *_kwnames[] = { "self","but", NULL };
1623
1624 self = self;
1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
1626 return NULL;
1627 if (_argo0) {
1628 if (_argo0 == Py_None) { _arg0 = NULL; }
1629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1631 return NULL;
1632 }
1633 }
1634 {
1635 wxPy_BEGIN_ALLOW_THREADS;
1636 _result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1);
1637
1638 wxPy_END_ALLOW_THREADS;
1639 if (PyErr_Occurred()) return NULL;
1640 } _resultobj = Py_BuildValue("i",_result);
1641 return _resultobj;
1642 }
1643
1644 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1645 static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1646 PyObject * _resultobj;
1647 bool _result;
1648 wxMouseEvent * _arg0;
1649 PyObject * _argo0 = 0;
1650 char *_kwnames[] = { "self", NULL };
1651
1652 self = self;
1653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ControlDown",_kwnames,&_argo0))
1654 return NULL;
1655 if (_argo0) {
1656 if (_argo0 == Py_None) { _arg0 = NULL; }
1657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1659 return NULL;
1660 }
1661 }
1662 {
1663 wxPy_BEGIN_ALLOW_THREADS;
1664 _result = (bool )wxMouseEvent_ControlDown(_arg0);
1665
1666 wxPy_END_ALLOW_THREADS;
1667 if (PyErr_Occurred()) return NULL;
1668 } _resultobj = Py_BuildValue("i",_result);
1669 return _resultobj;
1670 }
1671
1672 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1673 static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1674 PyObject * _resultobj;
1675 bool _result;
1676 wxMouseEvent * _arg0;
1677 PyObject * _argo0 = 0;
1678 char *_kwnames[] = { "self", NULL };
1679
1680 self = self;
1681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MetaDown",_kwnames,&_argo0))
1682 return NULL;
1683 if (_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_MetaDown. Expected _wxMouseEvent_p.");
1687 return NULL;
1688 }
1689 }
1690 {
1691 wxPy_BEGIN_ALLOW_THREADS;
1692 _result = (bool )wxMouseEvent_MetaDown(_arg0);
1693
1694 wxPy_END_ALLOW_THREADS;
1695 if (PyErr_Occurred()) return NULL;
1696 } _resultobj = Py_BuildValue("i",_result);
1697 return _resultobj;
1698 }
1699
1700 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1701 static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1702 PyObject * _resultobj;
1703 bool _result;
1704 wxMouseEvent * _arg0;
1705 PyObject * _argo0 = 0;
1706 char *_kwnames[] = { "self", NULL };
1707
1708 self = self;
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_AltDown",_kwnames,&_argo0))
1710 return NULL;
1711 if (_argo0) {
1712 if (_argo0 == Py_None) { _arg0 = NULL; }
1713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1715 return NULL;
1716 }
1717 }
1718 {
1719 wxPy_BEGIN_ALLOW_THREADS;
1720 _result = (bool )wxMouseEvent_AltDown(_arg0);
1721
1722 wxPy_END_ALLOW_THREADS;
1723 if (PyErr_Occurred()) return NULL;
1724 } _resultobj = Py_BuildValue("i",_result);
1725 return _resultobj;
1726 }
1727
1728 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1729 static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject * _resultobj;
1731 bool _result;
1732 wxMouseEvent * _arg0;
1733 PyObject * _argo0 = 0;
1734 char *_kwnames[] = { "self", NULL };
1735
1736 self = self;
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ShiftDown",_kwnames,&_argo0))
1738 return NULL;
1739 if (_argo0) {
1740 if (_argo0 == Py_None) { _arg0 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1743 return NULL;
1744 }
1745 }
1746 {
1747 wxPy_BEGIN_ALLOW_THREADS;
1748 _result = (bool )wxMouseEvent_ShiftDown(_arg0);
1749
1750 wxPy_END_ALLOW_THREADS;
1751 if (PyErr_Occurred()) return NULL;
1752 } _resultobj = Py_BuildValue("i",_result);
1753 return _resultobj;
1754 }
1755
1756 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1757 static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1758 PyObject * _resultobj;
1759 bool _result;
1760 wxMouseEvent * _arg0;
1761 PyObject * _argo0 = 0;
1762 char *_kwnames[] = { "self", NULL };
1763
1764 self = self;
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDown",_kwnames,&_argo0))
1766 return NULL;
1767 if (_argo0) {
1768 if (_argo0 == Py_None) { _arg0 = NULL; }
1769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1771 return NULL;
1772 }
1773 }
1774 {
1775 wxPy_BEGIN_ALLOW_THREADS;
1776 _result = (bool )wxMouseEvent_LeftDown(_arg0);
1777
1778 wxPy_END_ALLOW_THREADS;
1779 if (PyErr_Occurred()) return NULL;
1780 } _resultobj = Py_BuildValue("i",_result);
1781 return _resultobj;
1782 }
1783
1784 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1785 static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject * _resultobj;
1787 bool _result;
1788 wxMouseEvent * _arg0;
1789 PyObject * _argo0 = 0;
1790 char *_kwnames[] = { "self", NULL };
1791
1792 self = self;
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDown",_kwnames,&_argo0))
1794 return NULL;
1795 if (_argo0) {
1796 if (_argo0 == Py_None) { _arg0 = NULL; }
1797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1799 return NULL;
1800 }
1801 }
1802 {
1803 wxPy_BEGIN_ALLOW_THREADS;
1804 _result = (bool )wxMouseEvent_MiddleDown(_arg0);
1805
1806 wxPy_END_ALLOW_THREADS;
1807 if (PyErr_Occurred()) return NULL;
1808 } _resultobj = Py_BuildValue("i",_result);
1809 return _resultobj;
1810 }
1811
1812 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1813 static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject * _resultobj;
1815 bool _result;
1816 wxMouseEvent * _arg0;
1817 PyObject * _argo0 = 0;
1818 char *_kwnames[] = { "self", NULL };
1819
1820 self = self;
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDown",_kwnames,&_argo0))
1822 return NULL;
1823 if (_argo0) {
1824 if (_argo0 == Py_None) { _arg0 = NULL; }
1825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1827 return NULL;
1828 }
1829 }
1830 {
1831 wxPy_BEGIN_ALLOW_THREADS;
1832 _result = (bool )wxMouseEvent_RightDown(_arg0);
1833
1834 wxPy_END_ALLOW_THREADS;
1835 if (PyErr_Occurred()) return NULL;
1836 } _resultobj = Py_BuildValue("i",_result);
1837 return _resultobj;
1838 }
1839
1840 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1841 static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1842 PyObject * _resultobj;
1843 bool _result;
1844 wxMouseEvent * _arg0;
1845 PyObject * _argo0 = 0;
1846 char *_kwnames[] = { "self", NULL };
1847
1848 self = self;
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftUp",_kwnames,&_argo0))
1850 return NULL;
1851 if (_argo0) {
1852 if (_argo0 == Py_None) { _arg0 = NULL; }
1853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1855 return NULL;
1856 }
1857 }
1858 {
1859 wxPy_BEGIN_ALLOW_THREADS;
1860 _result = (bool )wxMouseEvent_LeftUp(_arg0);
1861
1862 wxPy_END_ALLOW_THREADS;
1863 if (PyErr_Occurred()) return NULL;
1864 } _resultobj = Py_BuildValue("i",_result);
1865 return _resultobj;
1866 }
1867
1868 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1869 static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject * _resultobj;
1871 bool _result;
1872 wxMouseEvent * _arg0;
1873 PyObject * _argo0 = 0;
1874 char *_kwnames[] = { "self", NULL };
1875
1876 self = self;
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleUp",_kwnames,&_argo0))
1878 return NULL;
1879 if (_argo0) {
1880 if (_argo0 == Py_None) { _arg0 = NULL; }
1881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1883 return NULL;
1884 }
1885 }
1886 {
1887 wxPy_BEGIN_ALLOW_THREADS;
1888 _result = (bool )wxMouseEvent_MiddleUp(_arg0);
1889
1890 wxPy_END_ALLOW_THREADS;
1891 if (PyErr_Occurred()) return NULL;
1892 } _resultobj = Py_BuildValue("i",_result);
1893 return _resultobj;
1894 }
1895
1896 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1897 static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 bool _result;
1900 wxMouseEvent * _arg0;
1901 PyObject * _argo0 = 0;
1902 char *_kwnames[] = { "self", NULL };
1903
1904 self = self;
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightUp",_kwnames,&_argo0))
1906 return NULL;
1907 if (_argo0) {
1908 if (_argo0 == Py_None) { _arg0 = NULL; }
1909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1911 return NULL;
1912 }
1913 }
1914 {
1915 wxPy_BEGIN_ALLOW_THREADS;
1916 _result = (bool )wxMouseEvent_RightUp(_arg0);
1917
1918 wxPy_END_ALLOW_THREADS;
1919 if (PyErr_Occurred()) return NULL;
1920 } _resultobj = Py_BuildValue("i",_result);
1921 return _resultobj;
1922 }
1923
1924 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1925 static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject * _resultobj;
1927 bool _result;
1928 wxMouseEvent * _arg0;
1929 PyObject * _argo0 = 0;
1930 char *_kwnames[] = { "self", NULL };
1931
1932 self = self;
1933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDClick",_kwnames,&_argo0))
1934 return NULL;
1935 if (_argo0) {
1936 if (_argo0 == Py_None) { _arg0 = NULL; }
1937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1939 return NULL;
1940 }
1941 }
1942 {
1943 wxPy_BEGIN_ALLOW_THREADS;
1944 _result = (bool )wxMouseEvent_LeftDClick(_arg0);
1945
1946 wxPy_END_ALLOW_THREADS;
1947 if (PyErr_Occurred()) return NULL;
1948 } _resultobj = Py_BuildValue("i",_result);
1949 return _resultobj;
1950 }
1951
1952 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1953 static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1954 PyObject * _resultobj;
1955 bool _result;
1956 wxMouseEvent * _arg0;
1957 PyObject * _argo0 = 0;
1958 char *_kwnames[] = { "self", NULL };
1959
1960 self = self;
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDClick",_kwnames,&_argo0))
1962 return NULL;
1963 if (_argo0) {
1964 if (_argo0 == Py_None) { _arg0 = NULL; }
1965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1967 return NULL;
1968 }
1969 }
1970 {
1971 wxPy_BEGIN_ALLOW_THREADS;
1972 _result = (bool )wxMouseEvent_MiddleDClick(_arg0);
1973
1974 wxPy_END_ALLOW_THREADS;
1975 if (PyErr_Occurred()) return NULL;
1976 } _resultobj = Py_BuildValue("i",_result);
1977 return _resultobj;
1978 }
1979
1980 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1981 static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject * _resultobj;
1983 bool _result;
1984 wxMouseEvent * _arg0;
1985 PyObject * _argo0 = 0;
1986 char *_kwnames[] = { "self", NULL };
1987
1988 self = self;
1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDClick",_kwnames,&_argo0))
1990 return NULL;
1991 if (_argo0) {
1992 if (_argo0 == Py_None) { _arg0 = NULL; }
1993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1995 return NULL;
1996 }
1997 }
1998 {
1999 wxPy_BEGIN_ALLOW_THREADS;
2000 _result = (bool )wxMouseEvent_RightDClick(_arg0);
2001
2002 wxPy_END_ALLOW_THREADS;
2003 if (PyErr_Occurred()) return NULL;
2004 } _resultobj = Py_BuildValue("i",_result);
2005 return _resultobj;
2006 }
2007
2008 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
2009 static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2010 PyObject * _resultobj;
2011 bool _result;
2012 wxMouseEvent * _arg0;
2013 PyObject * _argo0 = 0;
2014 char *_kwnames[] = { "self", NULL };
2015
2016 self = self;
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftIsDown",_kwnames,&_argo0))
2018 return NULL;
2019 if (_argo0) {
2020 if (_argo0 == Py_None) { _arg0 = NULL; }
2021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
2023 return NULL;
2024 }
2025 }
2026 {
2027 wxPy_BEGIN_ALLOW_THREADS;
2028 _result = (bool )wxMouseEvent_LeftIsDown(_arg0);
2029
2030 wxPy_END_ALLOW_THREADS;
2031 if (PyErr_Occurred()) return NULL;
2032 } _resultobj = Py_BuildValue("i",_result);
2033 return _resultobj;
2034 }
2035
2036 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
2037 static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2038 PyObject * _resultobj;
2039 bool _result;
2040 wxMouseEvent * _arg0;
2041 PyObject * _argo0 = 0;
2042 char *_kwnames[] = { "self", NULL };
2043
2044 self = self;
2045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleIsDown",_kwnames,&_argo0))
2046 return NULL;
2047 if (_argo0) {
2048 if (_argo0 == Py_None) { _arg0 = NULL; }
2049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
2051 return NULL;
2052 }
2053 }
2054 {
2055 wxPy_BEGIN_ALLOW_THREADS;
2056 _result = (bool )wxMouseEvent_MiddleIsDown(_arg0);
2057
2058 wxPy_END_ALLOW_THREADS;
2059 if (PyErr_Occurred()) return NULL;
2060 } _resultobj = Py_BuildValue("i",_result);
2061 return _resultobj;
2062 }
2063
2064 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
2065 static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2066 PyObject * _resultobj;
2067 bool _result;
2068 wxMouseEvent * _arg0;
2069 PyObject * _argo0 = 0;
2070 char *_kwnames[] = { "self", NULL };
2071
2072 self = self;
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightIsDown",_kwnames,&_argo0))
2074 return NULL;
2075 if (_argo0) {
2076 if (_argo0 == Py_None) { _arg0 = NULL; }
2077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
2079 return NULL;
2080 }
2081 }
2082 {
2083 wxPy_BEGIN_ALLOW_THREADS;
2084 _result = (bool )wxMouseEvent_RightIsDown(_arg0);
2085
2086 wxPy_END_ALLOW_THREADS;
2087 if (PyErr_Occurred()) return NULL;
2088 } _resultobj = Py_BuildValue("i",_result);
2089 return _resultobj;
2090 }
2091
2092 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
2093 static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject * _resultobj;
2095 bool _result;
2096 wxMouseEvent * _arg0;
2097 PyObject * _argo0 = 0;
2098 char *_kwnames[] = { "self", NULL };
2099
2100 self = self;
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Dragging",_kwnames,&_argo0))
2102 return NULL;
2103 if (_argo0) {
2104 if (_argo0 == Py_None) { _arg0 = NULL; }
2105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
2107 return NULL;
2108 }
2109 }
2110 {
2111 wxPy_BEGIN_ALLOW_THREADS;
2112 _result = (bool )wxMouseEvent_Dragging(_arg0);
2113
2114 wxPy_END_ALLOW_THREADS;
2115 if (PyErr_Occurred()) return NULL;
2116 } _resultobj = Py_BuildValue("i",_result);
2117 return _resultobj;
2118 }
2119
2120 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
2121 static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
2122 PyObject * _resultobj;
2123 bool _result;
2124 wxMouseEvent * _arg0;
2125 PyObject * _argo0 = 0;
2126 char *_kwnames[] = { "self", NULL };
2127
2128 self = self;
2129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Moving",_kwnames,&_argo0))
2130 return NULL;
2131 if (_argo0) {
2132 if (_argo0 == Py_None) { _arg0 = NULL; }
2133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
2135 return NULL;
2136 }
2137 }
2138 {
2139 wxPy_BEGIN_ALLOW_THREADS;
2140 _result = (bool )wxMouseEvent_Moving(_arg0);
2141
2142 wxPy_END_ALLOW_THREADS;
2143 if (PyErr_Occurred()) return NULL;
2144 } _resultobj = Py_BuildValue("i",_result);
2145 return _resultobj;
2146 }
2147
2148 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
2149 static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
2150 PyObject * _resultobj;
2151 bool _result;
2152 wxMouseEvent * _arg0;
2153 PyObject * _argo0 = 0;
2154 char *_kwnames[] = { "self", NULL };
2155
2156 self = self;
2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Entering",_kwnames,&_argo0))
2158 return NULL;
2159 if (_argo0) {
2160 if (_argo0 == Py_None) { _arg0 = NULL; }
2161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
2163 return NULL;
2164 }
2165 }
2166 {
2167 wxPy_BEGIN_ALLOW_THREADS;
2168 _result = (bool )wxMouseEvent_Entering(_arg0);
2169
2170 wxPy_END_ALLOW_THREADS;
2171 if (PyErr_Occurred()) return NULL;
2172 } _resultobj = Py_BuildValue("i",_result);
2173 return _resultobj;
2174 }
2175
2176 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
2177 static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
2178 PyObject * _resultobj;
2179 bool _result;
2180 wxMouseEvent * _arg0;
2181 PyObject * _argo0 = 0;
2182 char *_kwnames[] = { "self", NULL };
2183
2184 self = self;
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Leaving",_kwnames,&_argo0))
2186 return NULL;
2187 if (_argo0) {
2188 if (_argo0 == Py_None) { _arg0 = NULL; }
2189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2191 return NULL;
2192 }
2193 }
2194 {
2195 wxPy_BEGIN_ALLOW_THREADS;
2196 _result = (bool )wxMouseEvent_Leaving(_arg0);
2197
2198 wxPy_END_ALLOW_THREADS;
2199 if (PyErr_Occurred()) return NULL;
2200 } _resultobj = Py_BuildValue("i",_result);
2201 return _resultobj;
2202 }
2203
2204 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2205 static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2206 PyObject * _resultobj;
2207 wxPoint * _result;
2208 wxMouseEvent * _arg0;
2209 PyObject * _argo0 = 0;
2210 char *_kwnames[] = { "self", NULL };
2211 char _ptemp[128];
2212
2213 self = self;
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPosition",_kwnames,&_argo0))
2215 return NULL;
2216 if (_argo0) {
2217 if (_argo0 == Py_None) { _arg0 = NULL; }
2218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2220 return NULL;
2221 }
2222 }
2223 {
2224 wxPy_BEGIN_ALLOW_THREADS;
2225 _result = new wxPoint (wxMouseEvent_GetPosition(_arg0));
2226
2227 wxPy_END_ALLOW_THREADS;
2228 if (PyErr_Occurred()) return NULL;
2229 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2230 _resultobj = Py_BuildValue("s",_ptemp);
2231 return _resultobj;
2232 }
2233
2234 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2235 static PyObject *_wrap_wxMouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2236 PyObject * _resultobj;
2237 wxMouseEvent * _arg0;
2238 long * _arg1;
2239 long temp;
2240 long * _arg2;
2241 long temp0;
2242 PyObject * _argo0 = 0;
2243 char *_kwnames[] = { "self", NULL };
2244
2245 self = self;
2246 {
2247 _arg1 = &temp;
2248 }
2249 {
2250 _arg2 = &temp0;
2251 }
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPositionTuple",_kwnames,&_argo0))
2253 return NULL;
2254 if (_argo0) {
2255 if (_argo0 == Py_None) { _arg0 = NULL; }
2256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2258 return NULL;
2259 }
2260 }
2261 {
2262 wxPy_BEGIN_ALLOW_THREADS;
2263 wxMouseEvent_GetPositionTuple(_arg0,_arg1,_arg2);
2264
2265 wxPy_END_ALLOW_THREADS;
2266 if (PyErr_Occurred()) return NULL;
2267 } Py_INCREF(Py_None);
2268 _resultobj = Py_None;
2269 {
2270 PyObject *o;
2271 o = PyInt_FromLong((long) (*_arg1));
2272 _resultobj = t_output_helper(_resultobj, o);
2273 }
2274 {
2275 PyObject *o;
2276 o = PyInt_FromLong((long) (*_arg2));
2277 _resultobj = t_output_helper(_resultobj, o);
2278 }
2279 return _resultobj;
2280 }
2281
2282 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2283 static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2284 PyObject * _resultobj;
2285 wxPoint * _result;
2286 wxMouseEvent * _arg0;
2287 wxDC * _arg1;
2288 PyObject * _argo0 = 0;
2289 PyObject * _argo1 = 0;
2290 char *_kwnames[] = { "self","dc", NULL };
2291 char _ptemp[128];
2292
2293 self = self;
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMouseEvent_GetLogicalPosition",_kwnames,&_argo0,&_argo1))
2295 return NULL;
2296 if (_argo0) {
2297 if (_argo0 == Py_None) { _arg0 = NULL; }
2298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2300 return NULL;
2301 }
2302 }
2303 if (_argo1) {
2304 if (_argo1 == Py_None) { _arg1 = NULL; }
2305 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2306 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2307 return NULL;
2308 }
2309 }
2310 {
2311 wxPy_BEGIN_ALLOW_THREADS;
2312 _result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1));
2313
2314 wxPy_END_ALLOW_THREADS;
2315 if (PyErr_Occurred()) return NULL;
2316 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2317 _resultobj = Py_BuildValue("s",_ptemp);
2318 return _resultobj;
2319 }
2320
2321 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2322 static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject * _resultobj;
2324 long _result;
2325 wxMouseEvent * _arg0;
2326 PyObject * _argo0 = 0;
2327 char *_kwnames[] = { "self", NULL };
2328
2329 self = self;
2330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetX",_kwnames,&_argo0))
2331 return NULL;
2332 if (_argo0) {
2333 if (_argo0 == Py_None) { _arg0 = NULL; }
2334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2336 return NULL;
2337 }
2338 }
2339 {
2340 wxPy_BEGIN_ALLOW_THREADS;
2341 _result = (long )wxMouseEvent_GetX(_arg0);
2342
2343 wxPy_END_ALLOW_THREADS;
2344 if (PyErr_Occurred()) return NULL;
2345 } _resultobj = Py_BuildValue("l",_result);
2346 return _resultobj;
2347 }
2348
2349 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2350 static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2351 PyObject * _resultobj;
2352 long _result;
2353 wxMouseEvent * _arg0;
2354 PyObject * _argo0 = 0;
2355 char *_kwnames[] = { "self", NULL };
2356
2357 self = self;
2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetY",_kwnames,&_argo0))
2359 return NULL;
2360 if (_argo0) {
2361 if (_argo0 == Py_None) { _arg0 = NULL; }
2362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2364 return NULL;
2365 }
2366 }
2367 {
2368 wxPy_BEGIN_ALLOW_THREADS;
2369 _result = (long )wxMouseEvent_GetY(_arg0);
2370
2371 wxPy_END_ALLOW_THREADS;
2372 if (PyErr_Occurred()) return NULL;
2373 } _resultobj = Py_BuildValue("l",_result);
2374 return _resultobj;
2375 }
2376
2377 #define wxMouseEvent_GetWheelRotation(_swigobj) (_swigobj->GetWheelRotation())
2378 static PyObject *_wrap_wxMouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject * _resultobj;
2380 int _result;
2381 wxMouseEvent * _arg0;
2382 PyObject * _argo0 = 0;
2383 char *_kwnames[] = { "self", NULL };
2384
2385 self = self;
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetWheelRotation",_kwnames,&_argo0))
2387 return NULL;
2388 if (_argo0) {
2389 if (_argo0 == Py_None) { _arg0 = NULL; }
2390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetWheelRotation. Expected _wxMouseEvent_p.");
2392 return NULL;
2393 }
2394 }
2395 {
2396 wxPy_BEGIN_ALLOW_THREADS;
2397 _result = (int )wxMouseEvent_GetWheelRotation(_arg0);
2398
2399 wxPy_END_ALLOW_THREADS;
2400 if (PyErr_Occurred()) return NULL;
2401 } _resultobj = Py_BuildValue("i",_result);
2402 return _resultobj;
2403 }
2404
2405 #define wxMouseEvent_GetWheelDelta(_swigobj) (_swigobj->GetWheelDelta())
2406 static PyObject *_wrap_wxMouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
2407 PyObject * _resultobj;
2408 int _result;
2409 wxMouseEvent * _arg0;
2410 PyObject * _argo0 = 0;
2411 char *_kwnames[] = { "self", NULL };
2412
2413 self = self;
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetWheelDelta",_kwnames,&_argo0))
2415 return NULL;
2416 if (_argo0) {
2417 if (_argo0 == Py_None) { _arg0 = NULL; }
2418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetWheelDelta. Expected _wxMouseEvent_p.");
2420 return NULL;
2421 }
2422 }
2423 {
2424 wxPy_BEGIN_ALLOW_THREADS;
2425 _result = (int )wxMouseEvent_GetWheelDelta(_arg0);
2426
2427 wxPy_END_ALLOW_THREADS;
2428 if (PyErr_Occurred()) return NULL;
2429 } _resultobj = Py_BuildValue("i",_result);
2430 return _resultobj;
2431 }
2432
2433 #define wxMouseEvent_GetLinesPerAction(_swigobj) (_swigobj->GetLinesPerAction())
2434 static PyObject *_wrap_wxMouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject * _resultobj;
2436 int _result;
2437 wxMouseEvent * _arg0;
2438 PyObject * _argo0 = 0;
2439 char *_kwnames[] = { "self", NULL };
2440
2441 self = self;
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetLinesPerAction",_kwnames,&_argo0))
2443 return NULL;
2444 if (_argo0) {
2445 if (_argo0 == Py_None) { _arg0 = NULL; }
2446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLinesPerAction. Expected _wxMouseEvent_p.");
2448 return NULL;
2449 }
2450 }
2451 {
2452 wxPy_BEGIN_ALLOW_THREADS;
2453 _result = (int )wxMouseEvent_GetLinesPerAction(_arg0);
2454
2455 wxPy_END_ALLOW_THREADS;
2456 if (PyErr_Occurred()) return NULL;
2457 } _resultobj = Py_BuildValue("i",_result);
2458 return _resultobj;
2459 }
2460
2461 #define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2462 static PyObject *_wrap_wxMouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2463 PyObject * _resultobj;
2464 long _result;
2465 wxMouseEvent * _arg0;
2466 long _arg1;
2467 PyObject * _argo0 = 0;
2468 char *_kwnames[] = { "self","m_x", NULL };
2469
2470 self = self;
2471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxMouseEvent_m_x_set",_kwnames,&_argo0,&_arg1))
2472 return NULL;
2473 if (_argo0) {
2474 if (_argo0 == Py_None) { _arg0 = NULL; }
2475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2477 return NULL;
2478 }
2479 }
2480 {
2481 wxPy_BEGIN_ALLOW_THREADS;
2482 _result = (long )wxMouseEvent_m_x_set(_arg0,_arg1);
2483
2484 wxPy_END_ALLOW_THREADS;
2485 if (PyErr_Occurred()) return NULL;
2486 } _resultobj = Py_BuildValue("l",_result);
2487 return _resultobj;
2488 }
2489
2490 #define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2491 static PyObject *_wrap_wxMouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2492 PyObject * _resultobj;
2493 long _result;
2494 wxMouseEvent * _arg0;
2495 PyObject * _argo0 = 0;
2496 char *_kwnames[] = { "self", NULL };
2497
2498 self = self;
2499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_x_get",_kwnames,&_argo0))
2500 return NULL;
2501 if (_argo0) {
2502 if (_argo0 == Py_None) { _arg0 = NULL; }
2503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
2505 return NULL;
2506 }
2507 }
2508 {
2509 wxPy_BEGIN_ALLOW_THREADS;
2510 _result = (long )wxMouseEvent_m_x_get(_arg0);
2511
2512 wxPy_END_ALLOW_THREADS;
2513 if (PyErr_Occurred()) return NULL;
2514 } _resultobj = Py_BuildValue("l",_result);
2515 return _resultobj;
2516 }
2517
2518 #define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2519 static PyObject *_wrap_wxMouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2520 PyObject * _resultobj;
2521 long _result;
2522 wxMouseEvent * _arg0;
2523 long _arg1;
2524 PyObject * _argo0 = 0;
2525 char *_kwnames[] = { "self","m_y", NULL };
2526
2527 self = self;
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxMouseEvent_m_y_set",_kwnames,&_argo0,&_arg1))
2529 return NULL;
2530 if (_argo0) {
2531 if (_argo0 == Py_None) { _arg0 = NULL; }
2532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2534 return NULL;
2535 }
2536 }
2537 {
2538 wxPy_BEGIN_ALLOW_THREADS;
2539 _result = (long )wxMouseEvent_m_y_set(_arg0,_arg1);
2540
2541 wxPy_END_ALLOW_THREADS;
2542 if (PyErr_Occurred()) return NULL;
2543 } _resultobj = Py_BuildValue("l",_result);
2544 return _resultobj;
2545 }
2546
2547 #define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2548 static PyObject *_wrap_wxMouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject * _resultobj;
2550 long _result;
2551 wxMouseEvent * _arg0;
2552 PyObject * _argo0 = 0;
2553 char *_kwnames[] = { "self", NULL };
2554
2555 self = self;
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_y_get",_kwnames,&_argo0))
2557 return NULL;
2558 if (_argo0) {
2559 if (_argo0 == Py_None) { _arg0 = NULL; }
2560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
2562 return NULL;
2563 }
2564 }
2565 {
2566 wxPy_BEGIN_ALLOW_THREADS;
2567 _result = (long )wxMouseEvent_m_y_get(_arg0);
2568
2569 wxPy_END_ALLOW_THREADS;
2570 if (PyErr_Occurred()) return NULL;
2571 } _resultobj = Py_BuildValue("l",_result);
2572 return _resultobj;
2573 }
2574
2575 #define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2576 static PyObject *_wrap_wxMouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject * _resultobj;
2578 bool _result;
2579 wxMouseEvent * _arg0;
2580 bool _arg1;
2581 PyObject * _argo0 = 0;
2582 int tempbool1;
2583 char *_kwnames[] = { "self","m_leftDown", NULL };
2584
2585 self = self;
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_leftDown_set",_kwnames,&_argo0,&tempbool1))
2587 return NULL;
2588 if (_argo0) {
2589 if (_argo0 == Py_None) { _arg0 = NULL; }
2590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
2592 return NULL;
2593 }
2594 }
2595 _arg1 = (bool ) tempbool1;
2596 {
2597 wxPy_BEGIN_ALLOW_THREADS;
2598 _result = (bool )wxMouseEvent_m_leftDown_set(_arg0,_arg1);
2599
2600 wxPy_END_ALLOW_THREADS;
2601 if (PyErr_Occurred()) return NULL;
2602 } _resultobj = Py_BuildValue("i",_result);
2603 return _resultobj;
2604 }
2605
2606 #define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2607 static PyObject *_wrap_wxMouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2608 PyObject * _resultobj;
2609 bool _result;
2610 wxMouseEvent * _arg0;
2611 PyObject * _argo0 = 0;
2612 char *_kwnames[] = { "self", NULL };
2613
2614 self = self;
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_leftDown_get",_kwnames,&_argo0))
2616 return NULL;
2617 if (_argo0) {
2618 if (_argo0 == Py_None) { _arg0 = NULL; }
2619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
2621 return NULL;
2622 }
2623 }
2624 {
2625 wxPy_BEGIN_ALLOW_THREADS;
2626 _result = (bool )wxMouseEvent_m_leftDown_get(_arg0);
2627
2628 wxPy_END_ALLOW_THREADS;
2629 if (PyErr_Occurred()) return NULL;
2630 } _resultobj = Py_BuildValue("i",_result);
2631 return _resultobj;
2632 }
2633
2634 #define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2635 static PyObject *_wrap_wxMouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject * _resultobj;
2637 bool _result;
2638 wxMouseEvent * _arg0;
2639 bool _arg1;
2640 PyObject * _argo0 = 0;
2641 int tempbool1;
2642 char *_kwnames[] = { "self","m_middleDown", NULL };
2643
2644 self = self;
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_middleDown_set",_kwnames,&_argo0,&tempbool1))
2646 return NULL;
2647 if (_argo0) {
2648 if (_argo0 == Py_None) { _arg0 = NULL; }
2649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
2651 return NULL;
2652 }
2653 }
2654 _arg1 = (bool ) tempbool1;
2655 {
2656 wxPy_BEGIN_ALLOW_THREADS;
2657 _result = (bool )wxMouseEvent_m_middleDown_set(_arg0,_arg1);
2658
2659 wxPy_END_ALLOW_THREADS;
2660 if (PyErr_Occurred()) return NULL;
2661 } _resultobj = Py_BuildValue("i",_result);
2662 return _resultobj;
2663 }
2664
2665 #define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2666 static PyObject *_wrap_wxMouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2667 PyObject * _resultobj;
2668 bool _result;
2669 wxMouseEvent * _arg0;
2670 PyObject * _argo0 = 0;
2671 char *_kwnames[] = { "self", NULL };
2672
2673 self = self;
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_middleDown_get",_kwnames,&_argo0))
2675 return NULL;
2676 if (_argo0) {
2677 if (_argo0 == Py_None) { _arg0 = NULL; }
2678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
2680 return NULL;
2681 }
2682 }
2683 {
2684 wxPy_BEGIN_ALLOW_THREADS;
2685 _result = (bool )wxMouseEvent_m_middleDown_get(_arg0);
2686
2687 wxPy_END_ALLOW_THREADS;
2688 if (PyErr_Occurred()) return NULL;
2689 } _resultobj = Py_BuildValue("i",_result);
2690 return _resultobj;
2691 }
2692
2693 #define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2694 static PyObject *_wrap_wxMouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2695 PyObject * _resultobj;
2696 bool _result;
2697 wxMouseEvent * _arg0;
2698 bool _arg1;
2699 PyObject * _argo0 = 0;
2700 int tempbool1;
2701 char *_kwnames[] = { "self","m_rightDown", NULL };
2702
2703 self = self;
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_rightDown_set",_kwnames,&_argo0,&tempbool1))
2705 return NULL;
2706 if (_argo0) {
2707 if (_argo0 == Py_None) { _arg0 = NULL; }
2708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
2710 return NULL;
2711 }
2712 }
2713 _arg1 = (bool ) tempbool1;
2714 {
2715 wxPy_BEGIN_ALLOW_THREADS;
2716 _result = (bool )wxMouseEvent_m_rightDown_set(_arg0,_arg1);
2717
2718 wxPy_END_ALLOW_THREADS;
2719 if (PyErr_Occurred()) return NULL;
2720 } _resultobj = Py_BuildValue("i",_result);
2721 return _resultobj;
2722 }
2723
2724 #define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2725 static PyObject *_wrap_wxMouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2726 PyObject * _resultobj;
2727 bool _result;
2728 wxMouseEvent * _arg0;
2729 PyObject * _argo0 = 0;
2730 char *_kwnames[] = { "self", NULL };
2731
2732 self = self;
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_rightDown_get",_kwnames,&_argo0))
2734 return NULL;
2735 if (_argo0) {
2736 if (_argo0 == Py_None) { _arg0 = NULL; }
2737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
2739 return NULL;
2740 }
2741 }
2742 {
2743 wxPy_BEGIN_ALLOW_THREADS;
2744 _result = (bool )wxMouseEvent_m_rightDown_get(_arg0);
2745
2746 wxPy_END_ALLOW_THREADS;
2747 if (PyErr_Occurred()) return NULL;
2748 } _resultobj = Py_BuildValue("i",_result);
2749 return _resultobj;
2750 }
2751
2752 #define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2753 static PyObject *_wrap_wxMouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2754 PyObject * _resultobj;
2755 bool _result;
2756 wxMouseEvent * _arg0;
2757 bool _arg1;
2758 PyObject * _argo0 = 0;
2759 int tempbool1;
2760 char *_kwnames[] = { "self","m_controlDown", NULL };
2761
2762 self = self;
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_controlDown_set",_kwnames,&_argo0,&tempbool1))
2764 return NULL;
2765 if (_argo0) {
2766 if (_argo0 == Py_None) { _arg0 = NULL; }
2767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
2769 return NULL;
2770 }
2771 }
2772 _arg1 = (bool ) tempbool1;
2773 {
2774 wxPy_BEGIN_ALLOW_THREADS;
2775 _result = (bool )wxMouseEvent_m_controlDown_set(_arg0,_arg1);
2776
2777 wxPy_END_ALLOW_THREADS;
2778 if (PyErr_Occurred()) return NULL;
2779 } _resultobj = Py_BuildValue("i",_result);
2780 return _resultobj;
2781 }
2782
2783 #define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2784 static PyObject *_wrap_wxMouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject * _resultobj;
2786 bool _result;
2787 wxMouseEvent * _arg0;
2788 PyObject * _argo0 = 0;
2789 char *_kwnames[] = { "self", NULL };
2790
2791 self = self;
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_controlDown_get",_kwnames,&_argo0))
2793 return NULL;
2794 if (_argo0) {
2795 if (_argo0 == Py_None) { _arg0 = NULL; }
2796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
2798 return NULL;
2799 }
2800 }
2801 {
2802 wxPy_BEGIN_ALLOW_THREADS;
2803 _result = (bool )wxMouseEvent_m_controlDown_get(_arg0);
2804
2805 wxPy_END_ALLOW_THREADS;
2806 if (PyErr_Occurred()) return NULL;
2807 } _resultobj = Py_BuildValue("i",_result);
2808 return _resultobj;
2809 }
2810
2811 #define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2812 static PyObject *_wrap_wxMouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2813 PyObject * _resultobj;
2814 bool _result;
2815 wxMouseEvent * _arg0;
2816 bool _arg1;
2817 PyObject * _argo0 = 0;
2818 int tempbool1;
2819 char *_kwnames[] = { "self","m_shiftDown", NULL };
2820
2821 self = self;
2822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames,&_argo0,&tempbool1))
2823 return NULL;
2824 if (_argo0) {
2825 if (_argo0 == Py_None) { _arg0 = NULL; }
2826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
2828 return NULL;
2829 }
2830 }
2831 _arg1 = (bool ) tempbool1;
2832 {
2833 wxPy_BEGIN_ALLOW_THREADS;
2834 _result = (bool )wxMouseEvent_m_shiftDown_set(_arg0,_arg1);
2835
2836 wxPy_END_ALLOW_THREADS;
2837 if (PyErr_Occurred()) return NULL;
2838 } _resultobj = Py_BuildValue("i",_result);
2839 return _resultobj;
2840 }
2841
2842 #define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2843 static PyObject *_wrap_wxMouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2844 PyObject * _resultobj;
2845 bool _result;
2846 wxMouseEvent * _arg0;
2847 PyObject * _argo0 = 0;
2848 char *_kwnames[] = { "self", NULL };
2849
2850 self = self;
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_shiftDown_get",_kwnames,&_argo0))
2852 return NULL;
2853 if (_argo0) {
2854 if (_argo0 == Py_None) { _arg0 = NULL; }
2855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2857 return NULL;
2858 }
2859 }
2860 {
2861 wxPy_BEGIN_ALLOW_THREADS;
2862 _result = (bool )wxMouseEvent_m_shiftDown_get(_arg0);
2863
2864 wxPy_END_ALLOW_THREADS;
2865 if (PyErr_Occurred()) return NULL;
2866 } _resultobj = Py_BuildValue("i",_result);
2867 return _resultobj;
2868 }
2869
2870 #define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2871 static PyObject *_wrap_wxMouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject * _resultobj;
2873 bool _result;
2874 wxMouseEvent * _arg0;
2875 bool _arg1;
2876 PyObject * _argo0 = 0;
2877 int tempbool1;
2878 char *_kwnames[] = { "self","m_altDown", NULL };
2879
2880 self = self;
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_altDown_set",_kwnames,&_argo0,&tempbool1))
2882 return NULL;
2883 if (_argo0) {
2884 if (_argo0 == Py_None) { _arg0 = NULL; }
2885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
2887 return NULL;
2888 }
2889 }
2890 _arg1 = (bool ) tempbool1;
2891 {
2892 wxPy_BEGIN_ALLOW_THREADS;
2893 _result = (bool )wxMouseEvent_m_altDown_set(_arg0,_arg1);
2894
2895 wxPy_END_ALLOW_THREADS;
2896 if (PyErr_Occurred()) return NULL;
2897 } _resultobj = Py_BuildValue("i",_result);
2898 return _resultobj;
2899 }
2900
2901 #define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2902 static PyObject *_wrap_wxMouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2903 PyObject * _resultobj;
2904 bool _result;
2905 wxMouseEvent * _arg0;
2906 PyObject * _argo0 = 0;
2907 char *_kwnames[] = { "self", NULL };
2908
2909 self = self;
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_altDown_get",_kwnames,&_argo0))
2911 return NULL;
2912 if (_argo0) {
2913 if (_argo0 == Py_None) { _arg0 = NULL; }
2914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2916 return NULL;
2917 }
2918 }
2919 {
2920 wxPy_BEGIN_ALLOW_THREADS;
2921 _result = (bool )wxMouseEvent_m_altDown_get(_arg0);
2922
2923 wxPy_END_ALLOW_THREADS;
2924 if (PyErr_Occurred()) return NULL;
2925 } _resultobj = Py_BuildValue("i",_result);
2926 return _resultobj;
2927 }
2928
2929 #define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2930 static PyObject *_wrap_wxMouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2931 PyObject * _resultobj;
2932 bool _result;
2933 wxMouseEvent * _arg0;
2934 bool _arg1;
2935 PyObject * _argo0 = 0;
2936 int tempbool1;
2937 char *_kwnames[] = { "self","m_metaDown", NULL };
2938
2939 self = self;
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_metaDown_set",_kwnames,&_argo0,&tempbool1))
2941 return NULL;
2942 if (_argo0) {
2943 if (_argo0 == Py_None) { _arg0 = NULL; }
2944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2946 return NULL;
2947 }
2948 }
2949 _arg1 = (bool ) tempbool1;
2950 {
2951 wxPy_BEGIN_ALLOW_THREADS;
2952 _result = (bool )wxMouseEvent_m_metaDown_set(_arg0,_arg1);
2953
2954 wxPy_END_ALLOW_THREADS;
2955 if (PyErr_Occurred()) return NULL;
2956 } _resultobj = Py_BuildValue("i",_result);
2957 return _resultobj;
2958 }
2959
2960 #define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2961 static PyObject *_wrap_wxMouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2962 PyObject * _resultobj;
2963 bool _result;
2964 wxMouseEvent * _arg0;
2965 PyObject * _argo0 = 0;
2966 char *_kwnames[] = { "self", NULL };
2967
2968 self = self;
2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_metaDown_get",_kwnames,&_argo0))
2970 return NULL;
2971 if (_argo0) {
2972 if (_argo0 == Py_None) { _arg0 = NULL; }
2973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2975 return NULL;
2976 }
2977 }
2978 {
2979 wxPy_BEGIN_ALLOW_THREADS;
2980 _result = (bool )wxMouseEvent_m_metaDown_get(_arg0);
2981
2982 wxPy_END_ALLOW_THREADS;
2983 if (PyErr_Occurred()) return NULL;
2984 } _resultobj = Py_BuildValue("i",_result);
2985 return _resultobj;
2986 }
2987
2988 #define wxMouseEvent_m_wheelRotation_set(_swigobj,_swigval) (_swigobj->m_wheelRotation = _swigval,_swigval)
2989 static PyObject *_wrap_wxMouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2990 PyObject * _resultobj;
2991 int _result;
2992 wxMouseEvent * _arg0;
2993 int _arg1;
2994 PyObject * _argo0 = 0;
2995 char *_kwnames[] = { "self","m_wheelRotation", NULL };
2996
2997 self = self;
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_wheelRotation_set",_kwnames,&_argo0,&_arg1))
2999 return NULL;
3000 if (_argo0) {
3001 if (_argo0 == Py_None) { _arg0 = NULL; }
3002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
3003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_set. Expected _wxMouseEvent_p.");
3004 return NULL;
3005 }
3006 }
3007 {
3008 wxPy_BEGIN_ALLOW_THREADS;
3009 _result = (int )wxMouseEvent_m_wheelRotation_set(_arg0,_arg1);
3010
3011 wxPy_END_ALLOW_THREADS;
3012 if (PyErr_Occurred()) return NULL;
3013 } _resultobj = Py_BuildValue("i",_result);
3014 return _resultobj;
3015 }
3016
3017 #define wxMouseEvent_m_wheelRotation_get(_swigobj) ((int ) _swigobj->m_wheelRotation)
3018 static PyObject *_wrap_wxMouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3019 PyObject * _resultobj;
3020 int _result;
3021 wxMouseEvent * _arg0;
3022 PyObject * _argo0 = 0;
3023 char *_kwnames[] = { "self", NULL };
3024
3025 self = self;
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_wheelRotation_get",_kwnames,&_argo0))
3027 return NULL;
3028 if (_argo0) {
3029 if (_argo0 == Py_None) { _arg0 = NULL; }
3030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
3031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_get. Expected _wxMouseEvent_p.");
3032 return NULL;
3033 }
3034 }
3035 {
3036 wxPy_BEGIN_ALLOW_THREADS;
3037 _result = (int )wxMouseEvent_m_wheelRotation_get(_arg0);
3038
3039 wxPy_END_ALLOW_THREADS;
3040 if (PyErr_Occurred()) return NULL;
3041 } _resultobj = Py_BuildValue("i",_result);
3042 return _resultobj;
3043 }
3044
3045 #define wxMouseEvent_m_wheelDelta_set(_swigobj,_swigval) (_swigobj->m_wheelDelta = _swigval,_swigval)
3046 static PyObject *_wrap_wxMouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject * _resultobj;
3048 int _result;
3049 wxMouseEvent * _arg0;
3050 int _arg1;
3051 PyObject * _argo0 = 0;
3052 char *_kwnames[] = { "self","m_wheelDelta", NULL };
3053
3054 self = self;
3055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_wheelDelta_set",_kwnames,&_argo0,&_arg1))
3056 return NULL;
3057 if (_argo0) {
3058 if (_argo0 == Py_None) { _arg0 = NULL; }
3059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
3060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_set. Expected _wxMouseEvent_p.");
3061 return NULL;
3062 }
3063 }
3064 {
3065 wxPy_BEGIN_ALLOW_THREADS;
3066 _result = (int )wxMouseEvent_m_wheelDelta_set(_arg0,_arg1);
3067
3068 wxPy_END_ALLOW_THREADS;
3069 if (PyErr_Occurred()) return NULL;
3070 } _resultobj = Py_BuildValue("i",_result);
3071 return _resultobj;
3072 }
3073
3074 #define wxMouseEvent_m_wheelDelta_get(_swigobj) ((int ) _swigobj->m_wheelDelta)
3075 static PyObject *_wrap_wxMouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3076 PyObject * _resultobj;
3077 int _result;
3078 wxMouseEvent * _arg0;
3079 PyObject * _argo0 = 0;
3080 char *_kwnames[] = { "self", NULL };
3081
3082 self = self;
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_wheelDelta_get",_kwnames,&_argo0))
3084 return NULL;
3085 if (_argo0) {
3086 if (_argo0 == Py_None) { _arg0 = NULL; }
3087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
3088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_get. Expected _wxMouseEvent_p.");
3089 return NULL;
3090 }
3091 }
3092 {
3093 wxPy_BEGIN_ALLOW_THREADS;
3094 _result = (int )wxMouseEvent_m_wheelDelta_get(_arg0);
3095
3096 wxPy_END_ALLOW_THREADS;
3097 if (PyErr_Occurred()) return NULL;
3098 } _resultobj = Py_BuildValue("i",_result);
3099 return _resultobj;
3100 }
3101
3102 #define wxMouseEvent_m_linesPerAction_set(_swigobj,_swigval) (_swigobj->m_linesPerAction = _swigval,_swigval)
3103 static PyObject *_wrap_wxMouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3104 PyObject * _resultobj;
3105 int _result;
3106 wxMouseEvent * _arg0;
3107 int _arg1;
3108 PyObject * _argo0 = 0;
3109 char *_kwnames[] = { "self","m_linesPerAction", NULL };
3110
3111 self = self;
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_linesPerAction_set",_kwnames,&_argo0,&_arg1))
3113 return NULL;
3114 if (_argo0) {
3115 if (_argo0 == Py_None) { _arg0 = NULL; }
3116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
3117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_set. Expected _wxMouseEvent_p.");
3118 return NULL;
3119 }
3120 }
3121 {
3122 wxPy_BEGIN_ALLOW_THREADS;
3123 _result = (int )wxMouseEvent_m_linesPerAction_set(_arg0,_arg1);
3124
3125 wxPy_END_ALLOW_THREADS;
3126 if (PyErr_Occurred()) return NULL;
3127 } _resultobj = Py_BuildValue("i",_result);
3128 return _resultobj;
3129 }
3130
3131 #define wxMouseEvent_m_linesPerAction_get(_swigobj) ((int ) _swigobj->m_linesPerAction)
3132 static PyObject *_wrap_wxMouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3133 PyObject * _resultobj;
3134 int _result;
3135 wxMouseEvent * _arg0;
3136 PyObject * _argo0 = 0;
3137 char *_kwnames[] = { "self", NULL };
3138
3139 self = self;
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_linesPerAction_get",_kwnames,&_argo0))
3141 return NULL;
3142 if (_argo0) {
3143 if (_argo0 == Py_None) { _arg0 = NULL; }
3144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
3145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_get. Expected _wxMouseEvent_p.");
3146 return NULL;
3147 }
3148 }
3149 {
3150 wxPy_BEGIN_ALLOW_THREADS;
3151 _result = (int )wxMouseEvent_m_linesPerAction_get(_arg0);
3152
3153 wxPy_END_ALLOW_THREADS;
3154 if (PyErr_Occurred()) return NULL;
3155 } _resultobj = Py_BuildValue("i",_result);
3156 return _resultobj;
3157 }
3158
3159 static void *SwigwxKeyEventTowxEvent(void *ptr) {
3160 wxKeyEvent *src;
3161 wxEvent *dest;
3162 src = (wxKeyEvent *) ptr;
3163 dest = (wxEvent *) src;
3164 return (void *) dest;
3165 }
3166
3167 static void *SwigwxKeyEventTowxObject(void *ptr) {
3168 wxKeyEvent *src;
3169 wxObject *dest;
3170 src = (wxKeyEvent *) ptr;
3171 dest = (wxObject *) src;
3172 return (void *) dest;
3173 }
3174
3175 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
3176 static PyObject *_wrap_new_wxKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3177 PyObject * _resultobj;
3178 wxKeyEvent * _result;
3179 int _arg0;
3180 char *_kwnames[] = { "keyEventType", NULL };
3181 char _ptemp[128];
3182
3183 self = self;
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxKeyEvent",_kwnames,&_arg0))
3185 return NULL;
3186 {
3187 wxPy_BEGIN_ALLOW_THREADS;
3188 _result = (wxKeyEvent *)new_wxKeyEvent(_arg0);
3189
3190 wxPy_END_ALLOW_THREADS;
3191 if (PyErr_Occurred()) return NULL;
3192 } if (_result) {
3193 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
3194 _resultobj = Py_BuildValue("s",_ptemp);
3195 } else {
3196 Py_INCREF(Py_None);
3197 _resultobj = Py_None;
3198 }
3199 return _resultobj;
3200 }
3201
3202 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3203 static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject * _resultobj;
3205 bool _result;
3206 wxKeyEvent * _arg0;
3207 PyObject * _argo0 = 0;
3208 char *_kwnames[] = { "self", NULL };
3209
3210 self = self;
3211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ControlDown",_kwnames,&_argo0))
3212 return NULL;
3213 if (_argo0) {
3214 if (_argo0 == Py_None) { _arg0 = NULL; }
3215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
3217 return NULL;
3218 }
3219 }
3220 {
3221 wxPy_BEGIN_ALLOW_THREADS;
3222 _result = (bool )wxKeyEvent_ControlDown(_arg0);
3223
3224 wxPy_END_ALLOW_THREADS;
3225 if (PyErr_Occurred()) return NULL;
3226 } _resultobj = Py_BuildValue("i",_result);
3227 return _resultobj;
3228 }
3229
3230 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
3231 static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3232 PyObject * _resultobj;
3233 bool _result;
3234 wxKeyEvent * _arg0;
3235 PyObject * _argo0 = 0;
3236 char *_kwnames[] = { "self", NULL };
3237
3238 self = self;
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_MetaDown",_kwnames,&_argo0))
3240 return NULL;
3241 if (_argo0) {
3242 if (_argo0 == Py_None) { _arg0 = NULL; }
3243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
3245 return NULL;
3246 }
3247 }
3248 {
3249 wxPy_BEGIN_ALLOW_THREADS;
3250 _result = (bool )wxKeyEvent_MetaDown(_arg0);
3251
3252 wxPy_END_ALLOW_THREADS;
3253 if (PyErr_Occurred()) return NULL;
3254 } _resultobj = Py_BuildValue("i",_result);
3255 return _resultobj;
3256 }
3257
3258 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
3259 static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3260 PyObject * _resultobj;
3261 bool _result;
3262 wxKeyEvent * _arg0;
3263 PyObject * _argo0 = 0;
3264 char *_kwnames[] = { "self", NULL };
3265
3266 self = self;
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_AltDown",_kwnames,&_argo0))
3268 return NULL;
3269 if (_argo0) {
3270 if (_argo0 == Py_None) { _arg0 = NULL; }
3271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
3273 return NULL;
3274 }
3275 }
3276 {
3277 wxPy_BEGIN_ALLOW_THREADS;
3278 _result = (bool )wxKeyEvent_AltDown(_arg0);
3279
3280 wxPy_END_ALLOW_THREADS;
3281 if (PyErr_Occurred()) return NULL;
3282 } _resultobj = Py_BuildValue("i",_result);
3283 return _resultobj;
3284 }
3285
3286 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3287 static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject * _resultobj;
3289 bool _result;
3290 wxKeyEvent * _arg0;
3291 PyObject * _argo0 = 0;
3292 char *_kwnames[] = { "self", NULL };
3293
3294 self = self;
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ShiftDown",_kwnames,&_argo0))
3296 return NULL;
3297 if (_argo0) {
3298 if (_argo0 == Py_None) { _arg0 = NULL; }
3299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
3301 return NULL;
3302 }
3303 }
3304 {
3305 wxPy_BEGIN_ALLOW_THREADS;
3306 _result = (bool )wxKeyEvent_ShiftDown(_arg0);
3307
3308 wxPy_END_ALLOW_THREADS;
3309 if (PyErr_Occurred()) return NULL;
3310 } _resultobj = Py_BuildValue("i",_result);
3311 return _resultobj;
3312 }
3313
3314 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
3315 static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject * _resultobj;
3317 long _result;
3318 wxKeyEvent * _arg0;
3319 PyObject * _argo0 = 0;
3320 char *_kwnames[] = { "self", NULL };
3321
3322 self = self;
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_KeyCode",_kwnames,&_argo0))
3324 return NULL;
3325 if (_argo0) {
3326 if (_argo0 == Py_None) { _arg0 = NULL; }
3327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
3329 return NULL;
3330 }
3331 }
3332 {
3333 wxPy_BEGIN_ALLOW_THREADS;
3334 _result = (long )wxKeyEvent_KeyCode(_arg0);
3335
3336 wxPy_END_ALLOW_THREADS;
3337 if (PyErr_Occurred()) return NULL;
3338 } _resultobj = Py_BuildValue("l",_result);
3339 return _resultobj;
3340 }
3341
3342 #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3343 static PyObject *_wrap_wxKeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject * _resultobj;
3345 long _result;
3346 wxKeyEvent * _arg0;
3347 PyObject * _argo0 = 0;
3348 char *_kwnames[] = { "self", NULL };
3349
3350 self = self;
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetKeyCode",_kwnames,&_argo0))
3352 return NULL;
3353 if (_argo0) {
3354 if (_argo0 == Py_None) { _arg0 = NULL; }
3355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
3357 return NULL;
3358 }
3359 }
3360 {
3361 wxPy_BEGIN_ALLOW_THREADS;
3362 _result = (long )wxKeyEvent_GetKeyCode(_arg0);
3363
3364 wxPy_END_ALLOW_THREADS;
3365 if (PyErr_Occurred()) return NULL;
3366 } _resultobj = Py_BuildValue("l",_result);
3367 return _resultobj;
3368 }
3369
3370 #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
3371 static PyObject *_wrap_wxKeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
3372 PyObject * _resultobj;
3373 bool _result;
3374 wxKeyEvent * _arg0;
3375 PyObject * _argo0 = 0;
3376 char *_kwnames[] = { "self", NULL };
3377
3378 self = self;
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_HasModifiers",_kwnames,&_argo0))
3380 return NULL;
3381 if (_argo0) {
3382 if (_argo0 == Py_None) { _arg0 = NULL; }
3383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
3385 return NULL;
3386 }
3387 }
3388 {
3389 wxPy_BEGIN_ALLOW_THREADS;
3390 _result = (bool )wxKeyEvent_HasModifiers(_arg0);
3391
3392 wxPy_END_ALLOW_THREADS;
3393 if (PyErr_Occurred()) return NULL;
3394 } _resultobj = Py_BuildValue("i",_result);
3395 return _resultobj;
3396 }
3397
3398 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
3399 static PyObject *_wrap_wxKeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3400 PyObject * _resultobj;
3401 long _result;
3402 wxKeyEvent * _arg0;
3403 PyObject * _argo0 = 0;
3404 char *_kwnames[] = { "self", NULL };
3405
3406 self = self;
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetX",_kwnames,&_argo0))
3408 return NULL;
3409 if (_argo0) {
3410 if (_argo0 == Py_None) { _arg0 = NULL; }
3411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
3413 return NULL;
3414 }
3415 }
3416 {
3417 wxPy_BEGIN_ALLOW_THREADS;
3418 _result = (long )wxKeyEvent_GetX(_arg0);
3419
3420 wxPy_END_ALLOW_THREADS;
3421 if (PyErr_Occurred()) return NULL;
3422 } _resultobj = Py_BuildValue("l",_result);
3423 return _resultobj;
3424 }
3425
3426 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
3427 static PyObject *_wrap_wxKeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3428 PyObject * _resultobj;
3429 long _result;
3430 wxKeyEvent * _arg0;
3431 PyObject * _argo0 = 0;
3432 char *_kwnames[] = { "self", NULL };
3433
3434 self = self;
3435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetY",_kwnames,&_argo0))
3436 return NULL;
3437 if (_argo0) {
3438 if (_argo0 == Py_None) { _arg0 = NULL; }
3439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
3441 return NULL;
3442 }
3443 }
3444 {
3445 wxPy_BEGIN_ALLOW_THREADS;
3446 _result = (long )wxKeyEvent_GetY(_arg0);
3447
3448 wxPy_END_ALLOW_THREADS;
3449 if (PyErr_Occurred()) return NULL;
3450 } _resultobj = Py_BuildValue("l",_result);
3451 return _resultobj;
3452 }
3453
3454 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3455 static PyObject *_wrap_wxKeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject * _resultobj;
3457 wxPoint * _result;
3458 wxKeyEvent * _arg0;
3459 PyObject * _argo0 = 0;
3460 char *_kwnames[] = { "self", NULL };
3461 char _ptemp[128];
3462
3463 self = self;
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPosition",_kwnames,&_argo0))
3465 return NULL;
3466 if (_argo0) {
3467 if (_argo0 == Py_None) { _arg0 = NULL; }
3468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
3470 return NULL;
3471 }
3472 }
3473 {
3474 wxPy_BEGIN_ALLOW_THREADS;
3475 _result = new wxPoint (wxKeyEvent_GetPosition(_arg0));
3476
3477 wxPy_END_ALLOW_THREADS;
3478 if (PyErr_Occurred()) return NULL;
3479 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3480 _resultobj = Py_BuildValue("s",_ptemp);
3481 return _resultobj;
3482 }
3483
3484 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3485 static PyObject *_wrap_wxKeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject * _resultobj;
3487 wxKeyEvent * _arg0;
3488 long * _arg1;
3489 long temp;
3490 long * _arg2;
3491 long temp0;
3492 PyObject * _argo0 = 0;
3493 char *_kwnames[] = { "self", NULL };
3494
3495 self = self;
3496 {
3497 _arg1 = &temp;
3498 }
3499 {
3500 _arg2 = &temp0;
3501 }
3502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPositionTuple",_kwnames,&_argo0))
3503 return NULL;
3504 if (_argo0) {
3505 if (_argo0 == Py_None) { _arg0 = NULL; }
3506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3508 return NULL;
3509 }
3510 }
3511 {
3512 wxPy_BEGIN_ALLOW_THREADS;
3513 wxKeyEvent_GetPositionTuple(_arg0,_arg1,_arg2);
3514
3515 wxPy_END_ALLOW_THREADS;
3516 if (PyErr_Occurred()) return NULL;
3517 } Py_INCREF(Py_None);
3518 _resultobj = Py_None;
3519 {
3520 PyObject *o;
3521 o = PyInt_FromLong((long) (*_arg1));
3522 _resultobj = t_output_helper(_resultobj, o);
3523 }
3524 {
3525 PyObject *o;
3526 o = PyInt_FromLong((long) (*_arg2));
3527 _resultobj = t_output_helper(_resultobj, o);
3528 }
3529 return _resultobj;
3530 }
3531
3532 #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3533 static PyObject *_wrap_wxKeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3534 PyObject * _resultobj;
3535 long _result;
3536 wxKeyEvent * _arg0;
3537 long _arg1;
3538 PyObject * _argo0 = 0;
3539 char *_kwnames[] = { "self","m_x", NULL };
3540
3541 self = self;
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_x_set",_kwnames,&_argo0,&_arg1))
3543 return NULL;
3544 if (_argo0) {
3545 if (_argo0 == Py_None) { _arg0 = NULL; }
3546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3548 return NULL;
3549 }
3550 }
3551 {
3552 wxPy_BEGIN_ALLOW_THREADS;
3553 _result = (long )wxKeyEvent_m_x_set(_arg0,_arg1);
3554
3555 wxPy_END_ALLOW_THREADS;
3556 if (PyErr_Occurred()) return NULL;
3557 } _resultobj = Py_BuildValue("l",_result);
3558 return _resultobj;
3559 }
3560
3561 #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3562 static PyObject *_wrap_wxKeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject * _resultobj;
3564 long _result;
3565 wxKeyEvent * _arg0;
3566 PyObject * _argo0 = 0;
3567 char *_kwnames[] = { "self", NULL };
3568
3569 self = self;
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_x_get",_kwnames,&_argo0))
3571 return NULL;
3572 if (_argo0) {
3573 if (_argo0 == Py_None) { _arg0 = NULL; }
3574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3576 return NULL;
3577 }
3578 }
3579 {
3580 wxPy_BEGIN_ALLOW_THREADS;
3581 _result = (long )wxKeyEvent_m_x_get(_arg0);
3582
3583 wxPy_END_ALLOW_THREADS;
3584 if (PyErr_Occurred()) return NULL;
3585 } _resultobj = Py_BuildValue("l",_result);
3586 return _resultobj;
3587 }
3588
3589 #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3590 static PyObject *_wrap_wxKeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3591 PyObject * _resultobj;
3592 long _result;
3593 wxKeyEvent * _arg0;
3594 long _arg1;
3595 PyObject * _argo0 = 0;
3596 char *_kwnames[] = { "self","m_y", NULL };
3597
3598 self = self;
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_y_set",_kwnames,&_argo0,&_arg1))
3600 return NULL;
3601 if (_argo0) {
3602 if (_argo0 == Py_None) { _arg0 = NULL; }
3603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p.");
3605 return NULL;
3606 }
3607 }
3608 {
3609 wxPy_BEGIN_ALLOW_THREADS;
3610 _result = (long )wxKeyEvent_m_y_set(_arg0,_arg1);
3611
3612 wxPy_END_ALLOW_THREADS;
3613 if (PyErr_Occurred()) return NULL;
3614 } _resultobj = Py_BuildValue("l",_result);
3615 return _resultobj;
3616 }
3617
3618 #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3619 static PyObject *_wrap_wxKeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3620 PyObject * _resultobj;
3621 long _result;
3622 wxKeyEvent * _arg0;
3623 PyObject * _argo0 = 0;
3624 char *_kwnames[] = { "self", NULL };
3625
3626 self = self;
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_y_get",_kwnames,&_argo0))
3628 return NULL;
3629 if (_argo0) {
3630 if (_argo0 == Py_None) { _arg0 = NULL; }
3631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p.");
3633 return NULL;
3634 }
3635 }
3636 {
3637 wxPy_BEGIN_ALLOW_THREADS;
3638 _result = (long )wxKeyEvent_m_y_get(_arg0);
3639
3640 wxPy_END_ALLOW_THREADS;
3641 if (PyErr_Occurred()) return NULL;
3642 } _resultobj = Py_BuildValue("l",_result);
3643 return _resultobj;
3644 }
3645
3646 #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3647 static PyObject *_wrap_wxKeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3648 PyObject * _resultobj;
3649 long _result;
3650 wxKeyEvent * _arg0;
3651 long _arg1;
3652 PyObject * _argo0 = 0;
3653 char *_kwnames[] = { "self","m_keyCode", NULL };
3654
3655 self = self;
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_keyCode_set",_kwnames,&_argo0,&_arg1))
3657 return NULL;
3658 if (_argo0) {
3659 if (_argo0 == Py_None) { _arg0 = NULL; }
3660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3662 return NULL;
3663 }
3664 }
3665 {
3666 wxPy_BEGIN_ALLOW_THREADS;
3667 _result = (long )wxKeyEvent_m_keyCode_set(_arg0,_arg1);
3668
3669 wxPy_END_ALLOW_THREADS;
3670 if (PyErr_Occurred()) return NULL;
3671 } _resultobj = Py_BuildValue("l",_result);
3672 return _resultobj;
3673 }
3674
3675 #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3676 static PyObject *_wrap_wxKeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject * _resultobj;
3678 long _result;
3679 wxKeyEvent * _arg0;
3680 PyObject * _argo0 = 0;
3681 char *_kwnames[] = { "self", NULL };
3682
3683 self = self;
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_keyCode_get",_kwnames,&_argo0))
3685 return NULL;
3686 if (_argo0) {
3687 if (_argo0 == Py_None) { _arg0 = NULL; }
3688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3690 return NULL;
3691 }
3692 }
3693 {
3694 wxPy_BEGIN_ALLOW_THREADS;
3695 _result = (long )wxKeyEvent_m_keyCode_get(_arg0);
3696
3697 wxPy_END_ALLOW_THREADS;
3698 if (PyErr_Occurred()) return NULL;
3699 } _resultobj = Py_BuildValue("l",_result);
3700 return _resultobj;
3701 }
3702
3703 #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3704 static PyObject *_wrap_wxKeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3705 PyObject * _resultobj;
3706 bool _result;
3707 wxKeyEvent * _arg0;
3708 bool _arg1;
3709 PyObject * _argo0 = 0;
3710 int tempbool1;
3711 char *_kwnames[] = { "self","m_controlDown", NULL };
3712
3713 self = self;
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_controlDown_set",_kwnames,&_argo0,&tempbool1))
3715 return NULL;
3716 if (_argo0) {
3717 if (_argo0 == Py_None) { _arg0 = NULL; }
3718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
3720 return NULL;
3721 }
3722 }
3723 _arg1 = (bool ) tempbool1;
3724 {
3725 wxPy_BEGIN_ALLOW_THREADS;
3726 _result = (bool )wxKeyEvent_m_controlDown_set(_arg0,_arg1);
3727
3728 wxPy_END_ALLOW_THREADS;
3729 if (PyErr_Occurred()) return NULL;
3730 } _resultobj = Py_BuildValue("i",_result);
3731 return _resultobj;
3732 }
3733
3734 #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
3735 static PyObject *_wrap_wxKeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject * _resultobj;
3737 bool _result;
3738 wxKeyEvent * _arg0;
3739 PyObject * _argo0 = 0;
3740 char *_kwnames[] = { "self", NULL };
3741
3742 self = self;
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_controlDown_get",_kwnames,&_argo0))
3744 return NULL;
3745 if (_argo0) {
3746 if (_argo0 == Py_None) { _arg0 = NULL; }
3747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
3749 return NULL;
3750 }
3751 }
3752 {
3753 wxPy_BEGIN_ALLOW_THREADS;
3754 _result = (bool )wxKeyEvent_m_controlDown_get(_arg0);
3755
3756 wxPy_END_ALLOW_THREADS;
3757 if (PyErr_Occurred()) return NULL;
3758 } _resultobj = Py_BuildValue("i",_result);
3759 return _resultobj;
3760 }
3761
3762 #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
3763 static PyObject *_wrap_wxKeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3764 PyObject * _resultobj;
3765 bool _result;
3766 wxKeyEvent * _arg0;
3767 bool _arg1;
3768 PyObject * _argo0 = 0;
3769 int tempbool1;
3770 char *_kwnames[] = { "self","m_shiftDown", NULL };
3771
3772 self = self;
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames,&_argo0,&tempbool1))
3774 return NULL;
3775 if (_argo0) {
3776 if (_argo0 == Py_None) { _arg0 = NULL; }
3777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
3779 return NULL;
3780 }
3781 }
3782 _arg1 = (bool ) tempbool1;
3783 {
3784 wxPy_BEGIN_ALLOW_THREADS;
3785 _result = (bool )wxKeyEvent_m_shiftDown_set(_arg0,_arg1);
3786
3787 wxPy_END_ALLOW_THREADS;
3788 if (PyErr_Occurred()) return NULL;
3789 } _resultobj = Py_BuildValue("i",_result);
3790 return _resultobj;
3791 }
3792
3793 #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
3794 static PyObject *_wrap_wxKeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3795 PyObject * _resultobj;
3796 bool _result;
3797 wxKeyEvent * _arg0;
3798 PyObject * _argo0 = 0;
3799 char *_kwnames[] = { "self", NULL };
3800
3801 self = self;
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_shiftDown_get",_kwnames,&_argo0))
3803 return NULL;
3804 if (_argo0) {
3805 if (_argo0 == Py_None) { _arg0 = NULL; }
3806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
3808 return NULL;
3809 }
3810 }
3811 {
3812 wxPy_BEGIN_ALLOW_THREADS;
3813 _result = (bool )wxKeyEvent_m_shiftDown_get(_arg0);
3814
3815 wxPy_END_ALLOW_THREADS;
3816 if (PyErr_Occurred()) return NULL;
3817 } _resultobj = Py_BuildValue("i",_result);
3818 return _resultobj;
3819 }
3820
3821 #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
3822 static PyObject *_wrap_wxKeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject * _resultobj;
3824 bool _result;
3825 wxKeyEvent * _arg0;
3826 bool _arg1;
3827 PyObject * _argo0 = 0;
3828 int tempbool1;
3829 char *_kwnames[] = { "self","m_altDown", NULL };
3830
3831 self = self;
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_altDown_set",_kwnames,&_argo0,&tempbool1))
3833 return NULL;
3834 if (_argo0) {
3835 if (_argo0 == Py_None) { _arg0 = NULL; }
3836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
3838 return NULL;
3839 }
3840 }
3841 _arg1 = (bool ) tempbool1;
3842 {
3843 wxPy_BEGIN_ALLOW_THREADS;
3844 _result = (bool )wxKeyEvent_m_altDown_set(_arg0,_arg1);
3845
3846 wxPy_END_ALLOW_THREADS;
3847 if (PyErr_Occurred()) return NULL;
3848 } _resultobj = Py_BuildValue("i",_result);
3849 return _resultobj;
3850 }
3851
3852 #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
3853 static PyObject *_wrap_wxKeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3854 PyObject * _resultobj;
3855 bool _result;
3856 wxKeyEvent * _arg0;
3857 PyObject * _argo0 = 0;
3858 char *_kwnames[] = { "self", NULL };
3859
3860 self = self;
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_altDown_get",_kwnames,&_argo0))
3862 return NULL;
3863 if (_argo0) {
3864 if (_argo0 == Py_None) { _arg0 = NULL; }
3865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
3867 return NULL;
3868 }
3869 }
3870 {
3871 wxPy_BEGIN_ALLOW_THREADS;
3872 _result = (bool )wxKeyEvent_m_altDown_get(_arg0);
3873
3874 wxPy_END_ALLOW_THREADS;
3875 if (PyErr_Occurred()) return NULL;
3876 } _resultobj = Py_BuildValue("i",_result);
3877 return _resultobj;
3878 }
3879
3880 #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
3881 static PyObject *_wrap_wxKeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3882 PyObject * _resultobj;
3883 bool _result;
3884 wxKeyEvent * _arg0;
3885 bool _arg1;
3886 PyObject * _argo0 = 0;
3887 int tempbool1;
3888 char *_kwnames[] = { "self","m_metaDown", NULL };
3889
3890 self = self;
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_metaDown_set",_kwnames,&_argo0,&tempbool1))
3892 return NULL;
3893 if (_argo0) {
3894 if (_argo0 == Py_None) { _arg0 = NULL; }
3895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p.");
3897 return NULL;
3898 }
3899 }
3900 _arg1 = (bool ) tempbool1;
3901 {
3902 wxPy_BEGIN_ALLOW_THREADS;
3903 _result = (bool )wxKeyEvent_m_metaDown_set(_arg0,_arg1);
3904
3905 wxPy_END_ALLOW_THREADS;
3906 if (PyErr_Occurred()) return NULL;
3907 } _resultobj = Py_BuildValue("i",_result);
3908 return _resultobj;
3909 }
3910
3911 #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
3912 static PyObject *_wrap_wxKeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject * _resultobj;
3914 bool _result;
3915 wxKeyEvent * _arg0;
3916 PyObject * _argo0 = 0;
3917 char *_kwnames[] = { "self", NULL };
3918
3919 self = self;
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_metaDown_get",_kwnames,&_argo0))
3921 return NULL;
3922 if (_argo0) {
3923 if (_argo0 == Py_None) { _arg0 = NULL; }
3924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p.");
3926 return NULL;
3927 }
3928 }
3929 {
3930 wxPy_BEGIN_ALLOW_THREADS;
3931 _result = (bool )wxKeyEvent_m_metaDown_get(_arg0);
3932
3933 wxPy_END_ALLOW_THREADS;
3934 if (PyErr_Occurred()) return NULL;
3935 } _resultobj = Py_BuildValue("i",_result);
3936 return _resultobj;
3937 }
3938
3939 #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
3940 static PyObject *_wrap_wxKeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject * _resultobj;
3942 bool _result;
3943 wxKeyEvent * _arg0;
3944 bool _arg1;
3945 PyObject * _argo0 = 0;
3946 int tempbool1;
3947 char *_kwnames[] = { "self","m_scanCode", NULL };
3948
3949 self = self;
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_scanCode_set",_kwnames,&_argo0,&tempbool1))
3951 return NULL;
3952 if (_argo0) {
3953 if (_argo0 == Py_None) { _arg0 = NULL; }
3954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
3956 return NULL;
3957 }
3958 }
3959 _arg1 = (bool ) tempbool1;
3960 {
3961 wxPy_BEGIN_ALLOW_THREADS;
3962 _result = (bool )wxKeyEvent_m_scanCode_set(_arg0,_arg1);
3963
3964 wxPy_END_ALLOW_THREADS;
3965 if (PyErr_Occurred()) return NULL;
3966 } _resultobj = Py_BuildValue("i",_result);
3967 return _resultobj;
3968 }
3969
3970 #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
3971 static PyObject *_wrap_wxKeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3972 PyObject * _resultobj;
3973 bool _result;
3974 wxKeyEvent * _arg0;
3975 PyObject * _argo0 = 0;
3976 char *_kwnames[] = { "self", NULL };
3977
3978 self = self;
3979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_scanCode_get",_kwnames,&_argo0))
3980 return NULL;
3981 if (_argo0) {
3982 if (_argo0 == Py_None) { _arg0 = NULL; }
3983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
3985 return NULL;
3986 }
3987 }
3988 {
3989 wxPy_BEGIN_ALLOW_THREADS;
3990 _result = (bool )wxKeyEvent_m_scanCode_get(_arg0);
3991
3992 wxPy_END_ALLOW_THREADS;
3993 if (PyErr_Occurred()) return NULL;
3994 } _resultobj = Py_BuildValue("i",_result);
3995 return _resultobj;
3996 }
3997
3998 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr) {
3999 wxNavigationKeyEvent *src;
4000 wxEvent *dest;
4001 src = (wxNavigationKeyEvent *) ptr;
4002 dest = (wxEvent *) src;
4003 return (void *) dest;
4004 }
4005
4006 static void *SwigwxNavigationKeyEventTowxObject(void *ptr) {
4007 wxNavigationKeyEvent *src;
4008 wxObject *dest;
4009 src = (wxNavigationKeyEvent *) ptr;
4010 dest = (wxObject *) src;
4011 return (void *) dest;
4012 }
4013
4014 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
4015 static PyObject *_wrap_new_wxNavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4016 PyObject * _resultobj;
4017 wxNavigationKeyEvent * _result;
4018 char *_kwnames[] = { NULL };
4019 char _ptemp[128];
4020
4021 self = self;
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNavigationKeyEvent",_kwnames))
4023 return NULL;
4024 {
4025 wxPy_BEGIN_ALLOW_THREADS;
4026 _result = (wxNavigationKeyEvent *)new_wxNavigationKeyEvent();
4027
4028 wxPy_END_ALLOW_THREADS;
4029 if (PyErr_Occurred()) return NULL;
4030 } if (_result) {
4031 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNavigationKeyEvent_p");
4032 _resultobj = Py_BuildValue("s",_ptemp);
4033 } else {
4034 Py_INCREF(Py_None);
4035 _resultobj = Py_None;
4036 }
4037 return _resultobj;
4038 }
4039
4040 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
4041 static PyObject *_wrap_wxNavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
4042 PyObject * _resultobj;
4043 bool _result;
4044 wxNavigationKeyEvent * _arg0;
4045 PyObject * _argo0 = 0;
4046 char *_kwnames[] = { "self", NULL };
4047
4048 self = self;
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetDirection",_kwnames,&_argo0))
4050 return NULL;
4051 if (_argo0) {
4052 if (_argo0 == Py_None) { _arg0 = NULL; }
4053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
4054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
4055 return NULL;
4056 }
4057 }
4058 {
4059 wxPy_BEGIN_ALLOW_THREADS;
4060 _result = (bool )wxNavigationKeyEvent_GetDirection(_arg0);
4061
4062 wxPy_END_ALLOW_THREADS;
4063 if (PyErr_Occurred()) return NULL;
4064 } _resultobj = Py_BuildValue("i",_result);
4065 return _resultobj;
4066 }
4067
4068 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
4069 static PyObject *_wrap_wxNavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
4070 PyObject * _resultobj;
4071 wxNavigationKeyEvent * _arg0;
4072 bool _arg1;
4073 PyObject * _argo0 = 0;
4074 int tempbool1;
4075 char *_kwnames[] = { "self","bForward", NULL };
4076
4077 self = self;
4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames,&_argo0,&tempbool1))
4079 return NULL;
4080 if (_argo0) {
4081 if (_argo0 == Py_None) { _arg0 = NULL; }
4082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
4083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
4084 return NULL;
4085 }
4086 }
4087 _arg1 = (bool ) tempbool1;
4088 {
4089 wxPy_BEGIN_ALLOW_THREADS;
4090 wxNavigationKeyEvent_SetDirection(_arg0,_arg1);
4091
4092 wxPy_END_ALLOW_THREADS;
4093 if (PyErr_Occurred()) return NULL;
4094 } Py_INCREF(Py_None);
4095 _resultobj = Py_None;
4096 return _resultobj;
4097 }
4098
4099 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
4100 static PyObject *_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
4101 PyObject * _resultobj;
4102 bool _result;
4103 wxNavigationKeyEvent * _arg0;
4104 PyObject * _argo0 = 0;
4105 char *_kwnames[] = { "self", NULL };
4106
4107 self = self;
4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames,&_argo0))
4109 return NULL;
4110 if (_argo0) {
4111 if (_argo0 == Py_None) { _arg0 = NULL; }
4112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
4113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
4114 return NULL;
4115 }
4116 }
4117 {
4118 wxPy_BEGIN_ALLOW_THREADS;
4119 _result = (bool )wxNavigationKeyEvent_IsWindowChange(_arg0);
4120
4121 wxPy_END_ALLOW_THREADS;
4122 if (PyErr_Occurred()) return NULL;
4123 } _resultobj = Py_BuildValue("i",_result);
4124 return _resultobj;
4125 }
4126
4127 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
4128 static PyObject *_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
4129 PyObject * _resultobj;
4130 wxNavigationKeyEvent * _arg0;
4131 bool _arg1;
4132 PyObject * _argo0 = 0;
4133 int tempbool1;
4134 char *_kwnames[] = { "self","bIs", NULL };
4135
4136 self = self;
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames,&_argo0,&tempbool1))
4138 return NULL;
4139 if (_argo0) {
4140 if (_argo0 == Py_None) { _arg0 = NULL; }
4141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
4143 return NULL;
4144 }
4145 }
4146 _arg1 = (bool ) tempbool1;
4147 {
4148 wxPy_BEGIN_ALLOW_THREADS;
4149 wxNavigationKeyEvent_SetWindowChange(_arg0,_arg1);
4150
4151 wxPy_END_ALLOW_THREADS;
4152 if (PyErr_Occurred()) return NULL;
4153 } Py_INCREF(Py_None);
4154 _resultobj = Py_None;
4155 return _resultobj;
4156 }
4157
4158 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
4159 static PyObject *_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4160 PyObject * _resultobj;
4161 wxWindow * _result;
4162 wxNavigationKeyEvent * _arg0;
4163 PyObject * _argo0 = 0;
4164 char *_kwnames[] = { "self", NULL };
4165
4166 self = self;
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames,&_argo0))
4168 return NULL;
4169 if (_argo0) {
4170 if (_argo0 == Py_None) { _arg0 = NULL; }
4171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
4172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4173 return NULL;
4174 }
4175 }
4176 {
4177 wxPy_BEGIN_ALLOW_THREADS;
4178 _result = (wxWindow *)wxNavigationKeyEvent_GetCurrentFocus(_arg0);
4179
4180 wxPy_END_ALLOW_THREADS;
4181 if (PyErr_Occurred()) return NULL;
4182 }{ _resultobj = wxPyMake_wxObject(_result); }
4183 return _resultobj;
4184 }
4185
4186 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
4187 static PyObject *_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4188 PyObject * _resultobj;
4189 wxNavigationKeyEvent * _arg0;
4190 wxWindow * _arg1;
4191 PyObject * _argo0 = 0;
4192 PyObject * _argo1 = 0;
4193 char *_kwnames[] = { "self","win", NULL };
4194
4195 self = self;
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames,&_argo0,&_argo1))
4197 return NULL;
4198 if (_argo0) {
4199 if (_argo0 == Py_None) { _arg0 = NULL; }
4200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
4201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4202 return NULL;
4203 }
4204 }
4205 if (_argo1) {
4206 if (_argo1 == Py_None) { _arg1 = NULL; }
4207 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4208 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
4209 return NULL;
4210 }
4211 }
4212 {
4213 wxPy_BEGIN_ALLOW_THREADS;
4214 wxNavigationKeyEvent_SetCurrentFocus(_arg0,_arg1);
4215
4216 wxPy_END_ALLOW_THREADS;
4217 if (PyErr_Occurred()) return NULL;
4218 } Py_INCREF(Py_None);
4219 _resultobj = Py_None;
4220 return _resultobj;
4221 }
4222
4223 static void *SwigwxMoveEventTowxEvent(void *ptr) {
4224 wxMoveEvent *src;
4225 wxEvent *dest;
4226 src = (wxMoveEvent *) ptr;
4227 dest = (wxEvent *) src;
4228 return (void *) dest;
4229 }
4230
4231 static void *SwigwxMoveEventTowxObject(void *ptr) {
4232 wxMoveEvent *src;
4233 wxObject *dest;
4234 src = (wxMoveEvent *) ptr;
4235 dest = (wxObject *) src;
4236 return (void *) dest;
4237 }
4238
4239 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
4240 static PyObject *_wrap_new_wxMoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject * _resultobj;
4242 wxMoveEvent * _result;
4243 wxPoint * _arg0;
4244 int _arg1 = (int ) 0;
4245 wxPoint temp;
4246 PyObject * _obj0 = 0;
4247 char *_kwnames[] = { "pt","id", NULL };
4248 char _ptemp[128];
4249
4250 self = self;
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxMoveEvent",_kwnames,&_obj0,&_arg1))
4252 return NULL;
4253 {
4254 _arg0 = &temp;
4255 if (! wxPoint_helper(_obj0, &_arg0))
4256 return NULL;
4257 }
4258 {
4259 wxPy_BEGIN_ALLOW_THREADS;
4260 _result = (wxMoveEvent *)new_wxMoveEvent(*_arg0,_arg1);
4261
4262 wxPy_END_ALLOW_THREADS;
4263 if (PyErr_Occurred()) return NULL;
4264 } if (_result) {
4265 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMoveEvent_p");
4266 _resultobj = Py_BuildValue("s",_ptemp);
4267 } else {
4268 Py_INCREF(Py_None);
4269 _resultobj = Py_None;
4270 }
4271 return _resultobj;
4272 }
4273
4274 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4275 static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject * _resultobj;
4277 wxPoint * _result;
4278 wxMoveEvent * _arg0;
4279 PyObject * _argo0 = 0;
4280 char *_kwnames[] = { "self", NULL };
4281 char _ptemp[128];
4282
4283 self = self;
4284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMoveEvent_GetPosition",_kwnames,&_argo0))
4285 return NULL;
4286 if (_argo0) {
4287 if (_argo0 == Py_None) { _arg0 = NULL; }
4288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMoveEvent_p")) {
4289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
4290 return NULL;
4291 }
4292 }
4293 {
4294 wxPy_BEGIN_ALLOW_THREADS;
4295 _result = new wxPoint (wxMoveEvent_GetPosition(_arg0));
4296
4297 wxPy_END_ALLOW_THREADS;
4298 if (PyErr_Occurred()) return NULL;
4299 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4300 _resultobj = Py_BuildValue("s",_ptemp);
4301 return _resultobj;
4302 }
4303
4304 static void *SwigwxPaintEventTowxEvent(void *ptr) {
4305 wxPaintEvent *src;
4306 wxEvent *dest;
4307 src = (wxPaintEvent *) ptr;
4308 dest = (wxEvent *) src;
4309 return (void *) dest;
4310 }
4311
4312 static void *SwigwxPaintEventTowxObject(void *ptr) {
4313 wxPaintEvent *src;
4314 wxObject *dest;
4315 src = (wxPaintEvent *) ptr;
4316 dest = (wxObject *) src;
4317 return (void *) dest;
4318 }
4319
4320 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
4321 static PyObject *_wrap_new_wxPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject * _resultobj;
4323 wxPaintEvent * _result;
4324 int _arg0 = (int ) 0;
4325 char *_kwnames[] = { "id", NULL };
4326 char _ptemp[128];
4327
4328 self = self;
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaintEvent",_kwnames,&_arg0))
4330 return NULL;
4331 {
4332 wxPy_BEGIN_ALLOW_THREADS;
4333 _result = (wxPaintEvent *)new_wxPaintEvent(_arg0);
4334
4335 wxPy_END_ALLOW_THREADS;
4336 if (PyErr_Occurred()) return NULL;
4337 } if (_result) {
4338 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintEvent_p");
4339 _resultobj = Py_BuildValue("s",_ptemp);
4340 } else {
4341 Py_INCREF(Py_None);
4342 _resultobj = Py_None;
4343 }
4344 return _resultobj;
4345 }
4346
4347 static void *SwigwxEraseEventTowxEvent(void *ptr) {
4348 wxEraseEvent *src;
4349 wxEvent *dest;
4350 src = (wxEraseEvent *) ptr;
4351 dest = (wxEvent *) src;
4352 return (void *) dest;
4353 }
4354
4355 static void *SwigwxEraseEventTowxObject(void *ptr) {
4356 wxEraseEvent *src;
4357 wxObject *dest;
4358 src = (wxEraseEvent *) ptr;
4359 dest = (wxObject *) src;
4360 return (void *) dest;
4361 }
4362
4363 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
4364 static PyObject *_wrap_new_wxEraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4365 PyObject * _resultobj;
4366 wxEraseEvent * _result;
4367 int _arg0 = (int ) 0;
4368 wxDC * _arg1 = (wxDC *) NULL;
4369 PyObject * _argo1 = 0;
4370 char *_kwnames[] = { "id","dc", NULL };
4371 char _ptemp[128];
4372
4373 self = self;
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxEraseEvent",_kwnames,&_arg0,&_argo1))
4375 return NULL;
4376 if (_argo1) {
4377 if (_argo1 == Py_None) { _arg1 = NULL; }
4378 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4379 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
4380 return NULL;
4381 }
4382 }
4383 {
4384 wxPy_BEGIN_ALLOW_THREADS;
4385 _result = (wxEraseEvent *)new_wxEraseEvent(_arg0,_arg1);
4386
4387 wxPy_END_ALLOW_THREADS;
4388 if (PyErr_Occurred()) return NULL;
4389 } if (_result) {
4390 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEraseEvent_p");
4391 _resultobj = Py_BuildValue("s",_ptemp);
4392 } else {
4393 Py_INCREF(Py_None);
4394 _resultobj = Py_None;
4395 }
4396 return _resultobj;
4397 }
4398
4399 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
4400 static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
4401 PyObject * _resultobj;
4402 wxDC * _result;
4403 wxEraseEvent * _arg0;
4404 PyObject * _argo0 = 0;
4405 char *_kwnames[] = { "self", NULL };
4406
4407 self = self;
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEraseEvent_GetDC",_kwnames,&_argo0))
4409 return NULL;
4410 if (_argo0) {
4411 if (_argo0 == Py_None) { _arg0 = NULL; }
4412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEraseEvent_p")) {
4413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
4414 return NULL;
4415 }
4416 }
4417 {
4418 wxPy_BEGIN_ALLOW_THREADS;
4419 _result = (wxDC *)wxEraseEvent_GetDC(_arg0);
4420
4421 wxPy_END_ALLOW_THREADS;
4422 if (PyErr_Occurred()) return NULL;
4423 }{ _resultobj = wxPyMake_wxObject(_result); }
4424 return _resultobj;
4425 }
4426
4427 static void *SwigwxFocusEventTowxEvent(void *ptr) {
4428 wxFocusEvent *src;
4429 wxEvent *dest;
4430 src = (wxFocusEvent *) ptr;
4431 dest = (wxEvent *) src;
4432 return (void *) dest;
4433 }
4434
4435 static void *SwigwxFocusEventTowxObject(void *ptr) {
4436 wxFocusEvent *src;
4437 wxObject *dest;
4438 src = (wxFocusEvent *) ptr;
4439 dest = (wxObject *) src;
4440 return (void *) dest;
4441 }
4442
4443 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
4444 static PyObject *_wrap_new_wxFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4445 PyObject * _resultobj;
4446 wxFocusEvent * _result;
4447 WXTYPE _arg0 = (WXTYPE ) 0;
4448 int _arg1 = (int ) 0;
4449 char *_kwnames[] = { "eventType","id", NULL };
4450 char _ptemp[128];
4451
4452 self = self;
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxFocusEvent",_kwnames,&_arg0,&_arg1))
4454 return NULL;
4455 {
4456 wxPy_BEGIN_ALLOW_THREADS;
4457 _result = (wxFocusEvent *)new_wxFocusEvent(_arg0,_arg1);
4458
4459 wxPy_END_ALLOW_THREADS;
4460 if (PyErr_Occurred()) return NULL;
4461 } if (_result) {
4462 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFocusEvent_p");
4463 _resultobj = Py_BuildValue("s",_ptemp);
4464 } else {
4465 Py_INCREF(Py_None);
4466 _resultobj = Py_None;
4467 }
4468 return _resultobj;
4469 }
4470
4471 static void *SwigwxActivateEventTowxEvent(void *ptr) {
4472 wxActivateEvent *src;
4473 wxEvent *dest;
4474 src = (wxActivateEvent *) ptr;
4475 dest = (wxEvent *) src;
4476 return (void *) dest;
4477 }
4478
4479 static void *SwigwxActivateEventTowxObject(void *ptr) {
4480 wxActivateEvent *src;
4481 wxObject *dest;
4482 src = (wxActivateEvent *) ptr;
4483 dest = (wxObject *) src;
4484 return (void *) dest;
4485 }
4486
4487 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
4488 static PyObject *_wrap_new_wxActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4489 PyObject * _resultobj;
4490 wxActivateEvent * _result;
4491 WXTYPE _arg0 = (WXTYPE ) 0;
4492 int _arg1 = (int ) TRUE;
4493 int _arg2 = (int ) 0;
4494 char *_kwnames[] = { "eventType","active","id", NULL };
4495 char _ptemp[128];
4496
4497 self = self;
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hii:new_wxActivateEvent",_kwnames,&_arg0,&_arg1,&_arg2))
4499 return NULL;
4500 {
4501 wxPy_BEGIN_ALLOW_THREADS;
4502 _result = (wxActivateEvent *)new_wxActivateEvent(_arg0,_arg1,_arg2);
4503
4504 wxPy_END_ALLOW_THREADS;
4505 if (PyErr_Occurred()) return NULL;
4506 } if (_result) {
4507 SWIG_MakePtr(_ptemp, (char *) _result,"_wxActivateEvent_p");
4508 _resultobj = Py_BuildValue("s",_ptemp);
4509 } else {
4510 Py_INCREF(Py_None);
4511 _resultobj = Py_None;
4512 }
4513 return _resultobj;
4514 }
4515
4516 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
4517 static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject * _resultobj;
4519 bool _result;
4520 wxActivateEvent * _arg0;
4521 PyObject * _argo0 = 0;
4522 char *_kwnames[] = { "self", NULL };
4523
4524 self = self;
4525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxActivateEvent_GetActive",_kwnames,&_argo0))
4526 return NULL;
4527 if (_argo0) {
4528 if (_argo0 == Py_None) { _arg0 = NULL; }
4529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxActivateEvent_p")) {
4530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
4531 return NULL;
4532 }
4533 }
4534 {
4535 wxPy_BEGIN_ALLOW_THREADS;
4536 _result = (bool )wxActivateEvent_GetActive(_arg0);
4537
4538 wxPy_END_ALLOW_THREADS;
4539 if (PyErr_Occurred()) return NULL;
4540 } _resultobj = Py_BuildValue("i",_result);
4541 return _resultobj;
4542 }
4543
4544 static void *SwigwxInitDialogEventTowxEvent(void *ptr) {
4545 wxInitDialogEvent *src;
4546 wxEvent *dest;
4547 src = (wxInitDialogEvent *) ptr;
4548 dest = (wxEvent *) src;
4549 return (void *) dest;
4550 }
4551
4552 static void *SwigwxInitDialogEventTowxObject(void *ptr) {
4553 wxInitDialogEvent *src;
4554 wxObject *dest;
4555 src = (wxInitDialogEvent *) ptr;
4556 dest = (wxObject *) src;
4557 return (void *) dest;
4558 }
4559
4560 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
4561 static PyObject *_wrap_new_wxInitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4562 PyObject * _resultobj;
4563 wxInitDialogEvent * _result;
4564 int _arg0 = (int ) 0;
4565 char *_kwnames[] = { "id", NULL };
4566 char _ptemp[128];
4567
4568 self = self;
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxInitDialogEvent",_kwnames,&_arg0))
4570 return NULL;
4571 {
4572 wxPy_BEGIN_ALLOW_THREADS;
4573 _result = (wxInitDialogEvent *)new_wxInitDialogEvent(_arg0);
4574
4575 wxPy_END_ALLOW_THREADS;
4576 if (PyErr_Occurred()) return NULL;
4577 } if (_result) {
4578 SWIG_MakePtr(_ptemp, (char *) _result,"_wxInitDialogEvent_p");
4579 _resultobj = Py_BuildValue("s",_ptemp);
4580 } else {
4581 Py_INCREF(Py_None);
4582 _resultobj = Py_None;
4583 }
4584 return _resultobj;
4585 }
4586
4587 static void *SwigwxMenuEventTowxEvent(void *ptr) {
4588 wxMenuEvent *src;
4589 wxEvent *dest;
4590 src = (wxMenuEvent *) ptr;
4591 dest = (wxEvent *) src;
4592 return (void *) dest;
4593 }
4594
4595 static void *SwigwxMenuEventTowxObject(void *ptr) {
4596 wxMenuEvent *src;
4597 wxObject *dest;
4598 src = (wxMenuEvent *) ptr;
4599 dest = (wxObject *) src;
4600 return (void *) dest;
4601 }
4602
4603 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
4604 static PyObject *_wrap_new_wxMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject * _resultobj;
4606 wxMenuEvent * _result;
4607 WXTYPE _arg0 = (WXTYPE ) 0;
4608 int _arg1 = (int ) 0;
4609 char *_kwnames[] = { "id","id", NULL };
4610 char _ptemp[128];
4611
4612 self = self;
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxMenuEvent",_kwnames,&_arg0,&_arg1))
4614 return NULL;
4615 {
4616 wxPy_BEGIN_ALLOW_THREADS;
4617 _result = (wxMenuEvent *)new_wxMenuEvent(_arg0,_arg1);
4618
4619 wxPy_END_ALLOW_THREADS;
4620 if (PyErr_Occurred()) return NULL;
4621 } if (_result) {
4622 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuEvent_p");
4623 _resultobj = Py_BuildValue("s",_ptemp);
4624 } else {
4625 Py_INCREF(Py_None);
4626 _resultobj = Py_None;
4627 }
4628 return _resultobj;
4629 }
4630
4631 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
4632 static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject * _resultobj;
4634 int _result;
4635 wxMenuEvent * _arg0;
4636 PyObject * _argo0 = 0;
4637 char *_kwnames[] = { "self", NULL };
4638
4639 self = self;
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_GetMenuId",_kwnames,&_argo0))
4641 return NULL;
4642 if (_argo0) {
4643 if (_argo0 == Py_None) { _arg0 = NULL; }
4644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) {
4645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
4646 return NULL;
4647 }
4648 }
4649 {
4650 wxPy_BEGIN_ALLOW_THREADS;
4651 _result = (int )wxMenuEvent_GetMenuId(_arg0);
4652
4653 wxPy_END_ALLOW_THREADS;
4654 if (PyErr_Occurred()) return NULL;
4655 } _resultobj = Py_BuildValue("i",_result);
4656 return _resultobj;
4657 }
4658
4659 static void *SwigwxShowEventTowxEvent(void *ptr) {
4660 wxShowEvent *src;
4661 wxEvent *dest;
4662 src = (wxShowEvent *) ptr;
4663 dest = (wxEvent *) src;
4664 return (void *) dest;
4665 }
4666
4667 static void *SwigwxShowEventTowxObject(void *ptr) {
4668 wxShowEvent *src;
4669 wxObject *dest;
4670 src = (wxShowEvent *) ptr;
4671 dest = (wxObject *) src;
4672 return (void *) dest;
4673 }
4674
4675 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
4676 static PyObject *_wrap_new_wxShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject * _resultobj;
4678 wxShowEvent * _result;
4679 int _arg0 = (int ) 0;
4680 int _arg1 = (int ) FALSE;
4681 char *_kwnames[] = { "id","show", NULL };
4682 char _ptemp[128];
4683
4684 self = self;
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxShowEvent",_kwnames,&_arg0,&_arg1))
4686 return NULL;
4687 {
4688 wxPy_BEGIN_ALLOW_THREADS;
4689 _result = (wxShowEvent *)new_wxShowEvent(_arg0,_arg1);
4690
4691 wxPy_END_ALLOW_THREADS;
4692 if (PyErr_Occurred()) return NULL;
4693 } if (_result) {
4694 SWIG_MakePtr(_ptemp, (char *) _result,"_wxShowEvent_p");
4695 _resultobj = Py_BuildValue("s",_ptemp);
4696 } else {
4697 Py_INCREF(Py_None);
4698 _resultobj = Py_None;
4699 }
4700 return _resultobj;
4701 }
4702
4703 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
4704 static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4705 PyObject * _resultobj;
4706 wxShowEvent * _arg0;
4707 bool _arg1;
4708 PyObject * _argo0 = 0;
4709 int tempbool1;
4710 char *_kwnames[] = { "self","show", NULL };
4711
4712 self = self;
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShowEvent_SetShow",_kwnames,&_argo0,&tempbool1))
4714 return NULL;
4715 if (_argo0) {
4716 if (_argo0 == Py_None) { _arg0 = NULL; }
4717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
4718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
4719 return NULL;
4720 }
4721 }
4722 _arg1 = (bool ) tempbool1;
4723 {
4724 wxPy_BEGIN_ALLOW_THREADS;
4725 wxShowEvent_SetShow(_arg0,_arg1);
4726
4727 wxPy_END_ALLOW_THREADS;
4728 if (PyErr_Occurred()) return NULL;
4729 } Py_INCREF(Py_None);
4730 _resultobj = Py_None;
4731 return _resultobj;
4732 }
4733
4734 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
4735 static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject * _resultobj;
4737 bool _result;
4738 wxShowEvent * _arg0;
4739 PyObject * _argo0 = 0;
4740 char *_kwnames[] = { "self", NULL };
4741
4742 self = self;
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShowEvent_GetShow",_kwnames,&_argo0))
4744 return NULL;
4745 if (_argo0) {
4746 if (_argo0 == Py_None) { _arg0 = NULL; }
4747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
4748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
4749 return NULL;
4750 }
4751 }
4752 {
4753 wxPy_BEGIN_ALLOW_THREADS;
4754 _result = (bool )wxShowEvent_GetShow(_arg0);
4755
4756 wxPy_END_ALLOW_THREADS;
4757 if (PyErr_Occurred()) return NULL;
4758 } _resultobj = Py_BuildValue("i",_result);
4759 return _resultobj;
4760 }
4761
4762 static void *SwigwxIconizeEventTowxEvent(void *ptr) {
4763 wxIconizeEvent *src;
4764 wxEvent *dest;
4765 src = (wxIconizeEvent *) ptr;
4766 dest = (wxEvent *) src;
4767 return (void *) dest;
4768 }
4769
4770 static void *SwigwxIconizeEventTowxObject(void *ptr) {
4771 wxIconizeEvent *src;
4772 wxObject *dest;
4773 src = (wxIconizeEvent *) ptr;
4774 dest = (wxObject *) src;
4775 return (void *) dest;
4776 }
4777
4778 #define new_wxIconizeEvent(_swigarg0,_swigarg1) (new wxIconizeEvent(_swigarg0,_swigarg1))
4779 static PyObject *_wrap_new_wxIconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4780 PyObject * _resultobj;
4781 wxIconizeEvent * _result;
4782 int _arg0 = (int ) 0;
4783 bool _arg1 = (bool ) TRUE;
4784 int tempbool1 = (int) TRUE;
4785 char *_kwnames[] = { "id","iconized", NULL };
4786 char _ptemp[128];
4787
4788 self = self;
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxIconizeEvent",_kwnames,&_arg0,&tempbool1))
4790 return NULL;
4791 _arg1 = (bool ) tempbool1;
4792 {
4793 wxPy_BEGIN_ALLOW_THREADS;
4794 _result = (wxIconizeEvent *)new_wxIconizeEvent(_arg0,_arg1);
4795
4796 wxPy_END_ALLOW_THREADS;
4797 if (PyErr_Occurred()) return NULL;
4798 } if (_result) {
4799 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconizeEvent_p");
4800 _resultobj = Py_BuildValue("s",_ptemp);
4801 } else {
4802 Py_INCREF(Py_None);
4803 _resultobj = Py_None;
4804 }
4805 return _resultobj;
4806 }
4807
4808 #define wxIconizeEvent_Iconized(_swigobj) (_swigobj->Iconized())
4809 static PyObject *_wrap_wxIconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject * _resultobj;
4811 bool _result;
4812 wxIconizeEvent * _arg0;
4813 PyObject * _argo0 = 0;
4814 char *_kwnames[] = { "self", NULL };
4815
4816 self = self;
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconizeEvent_Iconized",_kwnames,&_argo0))
4818 return NULL;
4819 if (_argo0) {
4820 if (_argo0 == Py_None) { _arg0 = NULL; }
4821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconizeEvent_p")) {
4822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconizeEvent_Iconized. Expected _wxIconizeEvent_p.");
4823 return NULL;
4824 }
4825 }
4826 {
4827 wxPy_BEGIN_ALLOW_THREADS;
4828 _result = (bool )wxIconizeEvent_Iconized(_arg0);
4829
4830 wxPy_END_ALLOW_THREADS;
4831 if (PyErr_Occurred()) return NULL;
4832 } _resultobj = Py_BuildValue("i",_result);
4833 return _resultobj;
4834 }
4835
4836 static void *SwigwxMaximizeEventTowxEvent(void *ptr) {
4837 wxMaximizeEvent *src;
4838 wxEvent *dest;
4839 src = (wxMaximizeEvent *) ptr;
4840 dest = (wxEvent *) src;
4841 return (void *) dest;
4842 }
4843
4844 static void *SwigwxMaximizeEventTowxObject(void *ptr) {
4845 wxMaximizeEvent *src;
4846 wxObject *dest;
4847 src = (wxMaximizeEvent *) ptr;
4848 dest = (wxObject *) src;
4849 return (void *) dest;
4850 }
4851
4852 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4853 static PyObject *_wrap_new_wxMaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject * _resultobj;
4855 wxMaximizeEvent * _result;
4856 int _arg0 = (int ) 0;
4857 char *_kwnames[] = { "id", NULL };
4858 char _ptemp[128];
4859
4860 self = self;
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxMaximizeEvent",_kwnames,&_arg0))
4862 return NULL;
4863 {
4864 wxPy_BEGIN_ALLOW_THREADS;
4865 _result = (wxMaximizeEvent *)new_wxMaximizeEvent(_arg0);
4866
4867 wxPy_END_ALLOW_THREADS;
4868 if (PyErr_Occurred()) return NULL;
4869 } if (_result) {
4870 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMaximizeEvent_p");
4871 _resultobj = Py_BuildValue("s",_ptemp);
4872 } else {
4873 Py_INCREF(Py_None);
4874 _resultobj = Py_None;
4875 }
4876 return _resultobj;
4877 }
4878
4879 static void *SwigwxJoystickEventTowxEvent(void *ptr) {
4880 wxJoystickEvent *src;
4881 wxEvent *dest;
4882 src = (wxJoystickEvent *) ptr;
4883 dest = (wxEvent *) src;
4884 return (void *) dest;
4885 }
4886
4887 static void *SwigwxJoystickEventTowxObject(void *ptr) {
4888 wxJoystickEvent *src;
4889 wxObject *dest;
4890 src = (wxJoystickEvent *) ptr;
4891 dest = (wxObject *) src;
4892 return (void *) dest;
4893 }
4894
4895 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4896 static PyObject *_wrap_new_wxJoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4897 PyObject * _resultobj;
4898 wxJoystickEvent * _result;
4899 int _arg0 = (int ) wxEVT_NULL;
4900 int _arg1 = (int ) 0;
4901 int _arg2 = (int ) wxJOYSTICK1;
4902 int _arg3 = (int ) 0;
4903 char *_kwnames[] = { "type","state","joystick","change", NULL };
4904 char _ptemp[128];
4905
4906 self = self;
4907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxJoystickEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
4908 return NULL;
4909 {
4910 wxPy_BEGIN_ALLOW_THREADS;
4911 _result = (wxJoystickEvent *)new_wxJoystickEvent(_arg0,_arg1,_arg2,_arg3);
4912
4913 wxPy_END_ALLOW_THREADS;
4914 if (PyErr_Occurred()) return NULL;
4915 } if (_result) {
4916 SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystickEvent_p");
4917 _resultobj = Py_BuildValue("s",_ptemp);
4918 } else {
4919 Py_INCREF(Py_None);
4920 _resultobj = Py_None;
4921 }
4922 return _resultobj;
4923 }
4924
4925 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4926 static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject * _resultobj;
4928 wxPoint * _result;
4929 wxJoystickEvent * _arg0;
4930 PyObject * _argo0 = 0;
4931 char *_kwnames[] = { "self", NULL };
4932 char _ptemp[128];
4933
4934 self = self;
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetPosition",_kwnames,&_argo0))
4936 return NULL;
4937 if (_argo0) {
4938 if (_argo0 == Py_None) { _arg0 = NULL; }
4939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4941 return NULL;
4942 }
4943 }
4944 {
4945 wxPy_BEGIN_ALLOW_THREADS;
4946 _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0));
4947
4948 wxPy_END_ALLOW_THREADS;
4949 if (PyErr_Occurred()) return NULL;
4950 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4951 _resultobj = Py_BuildValue("s",_ptemp);
4952 return _resultobj;
4953 }
4954
4955 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4956 static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject * _resultobj;
4958 int _result;
4959 wxJoystickEvent * _arg0;
4960 PyObject * _argo0 = 0;
4961 char *_kwnames[] = { "self", NULL };
4962
4963 self = self;
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetZPosition",_kwnames,&_argo0))
4965 return NULL;
4966 if (_argo0) {
4967 if (_argo0 == Py_None) { _arg0 = NULL; }
4968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4970 return NULL;
4971 }
4972 }
4973 {
4974 wxPy_BEGIN_ALLOW_THREADS;
4975 _result = (int )wxJoystickEvent_GetZPosition(_arg0);
4976
4977 wxPy_END_ALLOW_THREADS;
4978 if (PyErr_Occurred()) return NULL;
4979 } _resultobj = Py_BuildValue("i",_result);
4980 return _resultobj;
4981 }
4982
4983 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
4984 static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject * _resultobj;
4986 int _result;
4987 wxJoystickEvent * _arg0;
4988 PyObject * _argo0 = 0;
4989 char *_kwnames[] = { "self", NULL };
4990
4991 self = self;
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonState",_kwnames,&_argo0))
4993 return NULL;
4994 if (_argo0) {
4995 if (_argo0 == Py_None) { _arg0 = NULL; }
4996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
4998 return NULL;
4999 }
5000 }
5001 {
5002 wxPy_BEGIN_ALLOW_THREADS;
5003 _result = (int )wxJoystickEvent_GetButtonState(_arg0);
5004
5005 wxPy_END_ALLOW_THREADS;
5006 if (PyErr_Occurred()) return NULL;
5007 } _resultobj = Py_BuildValue("i",_result);
5008 return _resultobj;
5009 }
5010
5011 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
5012 static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject * _resultobj;
5014 int _result;
5015 wxJoystickEvent * _arg0;
5016 PyObject * _argo0 = 0;
5017 char *_kwnames[] = { "self", NULL };
5018
5019 self = self;
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonChange",_kwnames,&_argo0))
5021 return NULL;
5022 if (_argo0) {
5023 if (_argo0 == Py_None) { _arg0 = NULL; }
5024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
5026 return NULL;
5027 }
5028 }
5029 {
5030 wxPy_BEGIN_ALLOW_THREADS;
5031 _result = (int )wxJoystickEvent_GetButtonChange(_arg0);
5032
5033 wxPy_END_ALLOW_THREADS;
5034 if (PyErr_Occurred()) return NULL;
5035 } _resultobj = Py_BuildValue("i",_result);
5036 return _resultobj;
5037 }
5038
5039 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
5040 static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
5041 PyObject * _resultobj;
5042 int _result;
5043 wxJoystickEvent * _arg0;
5044 PyObject * _argo0 = 0;
5045 char *_kwnames[] = { "self", NULL };
5046
5047 self = self;
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetJoystick",_kwnames,&_argo0))
5049 return NULL;
5050 if (_argo0) {
5051 if (_argo0 == Py_None) { _arg0 = NULL; }
5052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
5054 return NULL;
5055 }
5056 }
5057 {
5058 wxPy_BEGIN_ALLOW_THREADS;
5059 _result = (int )wxJoystickEvent_GetJoystick(_arg0);
5060
5061 wxPy_END_ALLOW_THREADS;
5062 if (PyErr_Occurred()) return NULL;
5063 } _resultobj = Py_BuildValue("i",_result);
5064 return _resultobj;
5065 }
5066
5067 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
5068 static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject * _resultobj;
5070 wxJoystickEvent * _arg0;
5071 int _arg1;
5072 PyObject * _argo0 = 0;
5073 char *_kwnames[] = { "self","stick", NULL };
5074
5075 self = self;
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetJoystick",_kwnames,&_argo0,&_arg1))
5077 return NULL;
5078 if (_argo0) {
5079 if (_argo0 == Py_None) { _arg0 = NULL; }
5080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
5082 return NULL;
5083 }
5084 }
5085 {
5086 wxPy_BEGIN_ALLOW_THREADS;
5087 wxJoystickEvent_SetJoystick(_arg0,_arg1);
5088
5089 wxPy_END_ALLOW_THREADS;
5090 if (PyErr_Occurred()) return NULL;
5091 } Py_INCREF(Py_None);
5092 _resultobj = Py_None;
5093 return _resultobj;
5094 }
5095
5096 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
5097 static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
5098 PyObject * _resultobj;
5099 wxJoystickEvent * _arg0;
5100 int _arg1;
5101 PyObject * _argo0 = 0;
5102 char *_kwnames[] = { "self","state", NULL };
5103
5104 self = self;
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonState",_kwnames,&_argo0,&_arg1))
5106 return NULL;
5107 if (_argo0) {
5108 if (_argo0 == Py_None) { _arg0 = NULL; }
5109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
5111 return NULL;
5112 }
5113 }
5114 {
5115 wxPy_BEGIN_ALLOW_THREADS;
5116 wxJoystickEvent_SetButtonState(_arg0,_arg1);
5117
5118 wxPy_END_ALLOW_THREADS;
5119 if (PyErr_Occurred()) return NULL;
5120 } Py_INCREF(Py_None);
5121 _resultobj = Py_None;
5122 return _resultobj;
5123 }
5124
5125 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
5126 static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject * _resultobj;
5128 wxJoystickEvent * _arg0;
5129 int _arg1;
5130 PyObject * _argo0 = 0;
5131 char *_kwnames[] = { "self","change", NULL };
5132
5133 self = self;
5134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonChange",_kwnames,&_argo0,&_arg1))
5135 return NULL;
5136 if (_argo0) {
5137 if (_argo0 == Py_None) { _arg0 = NULL; }
5138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
5140 return NULL;
5141 }
5142 }
5143 {
5144 wxPy_BEGIN_ALLOW_THREADS;
5145 wxJoystickEvent_SetButtonChange(_arg0,_arg1);
5146
5147 wxPy_END_ALLOW_THREADS;
5148 if (PyErr_Occurred()) return NULL;
5149 } Py_INCREF(Py_None);
5150 _resultobj = Py_None;
5151 return _resultobj;
5152 }
5153
5154 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
5155 static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject * _resultobj;
5157 wxJoystickEvent * _arg0;
5158 wxPoint * _arg1;
5159 PyObject * _argo0 = 0;
5160 wxPoint temp;
5161 PyObject * _obj1 = 0;
5162 char *_kwnames[] = { "self","pos", NULL };
5163
5164 self = self;
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_obj1))
5166 return NULL;
5167 if (_argo0) {
5168 if (_argo0 == Py_None) { _arg0 = NULL; }
5169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
5171 return NULL;
5172 }
5173 }
5174 {
5175 _arg1 = &temp;
5176 if (! wxPoint_helper(_obj1, &_arg1))
5177 return NULL;
5178 }
5179 {
5180 wxPy_BEGIN_ALLOW_THREADS;
5181 wxJoystickEvent_SetPosition(_arg0,*_arg1);
5182
5183 wxPy_END_ALLOW_THREADS;
5184 if (PyErr_Occurred()) return NULL;
5185 } Py_INCREF(Py_None);
5186 _resultobj = Py_None;
5187 return _resultobj;
5188 }
5189
5190 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
5191 static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5192 PyObject * _resultobj;
5193 wxJoystickEvent * _arg0;
5194 int _arg1;
5195 PyObject * _argo0 = 0;
5196 char *_kwnames[] = { "self","zPos", NULL };
5197
5198 self = self;
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetZPosition",_kwnames,&_argo0,&_arg1))
5200 return NULL;
5201 if (_argo0) {
5202 if (_argo0 == Py_None) { _arg0 = NULL; }
5203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
5205 return NULL;
5206 }
5207 }
5208 {
5209 wxPy_BEGIN_ALLOW_THREADS;
5210 wxJoystickEvent_SetZPosition(_arg0,_arg1);
5211
5212 wxPy_END_ALLOW_THREADS;
5213 if (PyErr_Occurred()) return NULL;
5214 } Py_INCREF(Py_None);
5215 _resultobj = Py_None;
5216 return _resultobj;
5217 }
5218
5219 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
5220 static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
5221 PyObject * _resultobj;
5222 bool _result;
5223 wxJoystickEvent * _arg0;
5224 PyObject * _argo0 = 0;
5225 char *_kwnames[] = { "self", NULL };
5226
5227 self = self;
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsButton",_kwnames,&_argo0))
5229 return NULL;
5230 if (_argo0) {
5231 if (_argo0 == Py_None) { _arg0 = NULL; }
5232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
5234 return NULL;
5235 }
5236 }
5237 {
5238 wxPy_BEGIN_ALLOW_THREADS;
5239 _result = (bool )wxJoystickEvent_IsButton(_arg0);
5240
5241 wxPy_END_ALLOW_THREADS;
5242 if (PyErr_Occurred()) return NULL;
5243 } _resultobj = Py_BuildValue("i",_result);
5244 return _resultobj;
5245 }
5246
5247 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
5248 static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
5249 PyObject * _resultobj;
5250 bool _result;
5251 wxJoystickEvent * _arg0;
5252 PyObject * _argo0 = 0;
5253 char *_kwnames[] = { "self", NULL };
5254
5255 self = self;
5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsMove",_kwnames,&_argo0))
5257 return NULL;
5258 if (_argo0) {
5259 if (_argo0 == Py_None) { _arg0 = NULL; }
5260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
5262 return NULL;
5263 }
5264 }
5265 {
5266 wxPy_BEGIN_ALLOW_THREADS;
5267 _result = (bool )wxJoystickEvent_IsMove(_arg0);
5268
5269 wxPy_END_ALLOW_THREADS;
5270 if (PyErr_Occurred()) return NULL;
5271 } _resultobj = Py_BuildValue("i",_result);
5272 return _resultobj;
5273 }
5274
5275 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
5276 static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
5277 PyObject * _resultobj;
5278 bool _result;
5279 wxJoystickEvent * _arg0;
5280 PyObject * _argo0 = 0;
5281 char *_kwnames[] = { "self", NULL };
5282
5283 self = self;
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsZMove",_kwnames,&_argo0))
5285 return NULL;
5286 if (_argo0) {
5287 if (_argo0 == Py_None) { _arg0 = NULL; }
5288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
5290 return NULL;
5291 }
5292 }
5293 {
5294 wxPy_BEGIN_ALLOW_THREADS;
5295 _result = (bool )wxJoystickEvent_IsZMove(_arg0);
5296
5297 wxPy_END_ALLOW_THREADS;
5298 if (PyErr_Occurred()) return NULL;
5299 } _resultobj = Py_BuildValue("i",_result);
5300 return _resultobj;
5301 }
5302
5303 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
5304 static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5305 PyObject * _resultobj;
5306 bool _result;
5307 wxJoystickEvent * _arg0;
5308 int _arg1 = (int ) wxJOY_BUTTON_ANY;
5309 PyObject * _argo0 = 0;
5310 char *_kwnames[] = { "self","but", NULL };
5311
5312 self = self;
5313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
5314 return NULL;
5315 if (_argo0) {
5316 if (_argo0 == Py_None) { _arg0 = NULL; }
5317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
5319 return NULL;
5320 }
5321 }
5322 {
5323 wxPy_BEGIN_ALLOW_THREADS;
5324 _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1);
5325
5326 wxPy_END_ALLOW_THREADS;
5327 if (PyErr_Occurred()) return NULL;
5328 } _resultobj = Py_BuildValue("i",_result);
5329 return _resultobj;
5330 }
5331
5332 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
5333 static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
5334 PyObject * _resultobj;
5335 bool _result;
5336 wxJoystickEvent * _arg0;
5337 int _arg1 = (int ) wxJOY_BUTTON_ANY;
5338 PyObject * _argo0 = 0;
5339 char *_kwnames[] = { "self","but", NULL };
5340
5341 self = self;
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
5343 return NULL;
5344 if (_argo0) {
5345 if (_argo0 == Py_None) { _arg0 = NULL; }
5346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
5348 return NULL;
5349 }
5350 }
5351 {
5352 wxPy_BEGIN_ALLOW_THREADS;
5353 _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1);
5354
5355 wxPy_END_ALLOW_THREADS;
5356 if (PyErr_Occurred()) return NULL;
5357 } _resultobj = Py_BuildValue("i",_result);
5358 return _resultobj;
5359 }
5360
5361 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
5362 static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5363 PyObject * _resultobj;
5364 bool _result;
5365 wxJoystickEvent * _arg0;
5366 int _arg1 = (int ) wxJOY_BUTTON_ANY;
5367 PyObject * _argo0 = 0;
5368 char *_kwnames[] = { "self","but", NULL };
5369
5370 self = self;
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
5372 return NULL;
5373 if (_argo0) {
5374 if (_argo0 == Py_None) { _arg0 = NULL; }
5375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
5376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
5377 return NULL;
5378 }
5379 }
5380 {
5381 wxPy_BEGIN_ALLOW_THREADS;
5382 _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1);
5383
5384 wxPy_END_ALLOW_THREADS;
5385 if (PyErr_Occurred()) return NULL;
5386 } _resultobj = Py_BuildValue("i",_result);
5387 return _resultobj;
5388 }
5389
5390 static void *SwigwxDropFilesEventTowxEvent(void *ptr) {
5391 wxDropFilesEvent *src;
5392 wxEvent *dest;
5393 src = (wxDropFilesEvent *) ptr;
5394 dest = (wxEvent *) src;
5395 return (void *) dest;
5396 }
5397
5398 static void *SwigwxDropFilesEventTowxObject(void *ptr) {
5399 wxDropFilesEvent *src;
5400 wxObject *dest;
5401 src = (wxDropFilesEvent *) ptr;
5402 dest = (wxObject *) src;
5403 return (void *) dest;
5404 }
5405
5406 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
5407 static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5408 PyObject * _resultobj;
5409 wxPoint * _result;
5410 wxDropFilesEvent * _arg0;
5411 PyObject * _argo0 = 0;
5412 char *_kwnames[] = { "self", NULL };
5413 char _ptemp[128];
5414
5415 self = self;
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetPosition",_kwnames,&_argo0))
5417 return NULL;
5418 if (_argo0) {
5419 if (_argo0 == Py_None) { _arg0 = NULL; }
5420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
5421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
5422 return NULL;
5423 }
5424 }
5425 {
5426 wxPy_BEGIN_ALLOW_THREADS;
5427 _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0));
5428
5429 wxPy_END_ALLOW_THREADS;
5430 if (PyErr_Occurred()) return NULL;
5431 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
5432 _resultobj = Py_BuildValue("s",_ptemp);
5433 return _resultobj;
5434 }
5435
5436 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
5437 static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5438 PyObject * _resultobj;
5439 int _result;
5440 wxDropFilesEvent * _arg0;
5441 PyObject * _argo0 = 0;
5442 char *_kwnames[] = { "self", NULL };
5443
5444 self = self;
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames,&_argo0))
5446 return NULL;
5447 if (_argo0) {
5448 if (_argo0 == Py_None) { _arg0 = NULL; }
5449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
5450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
5451 return NULL;
5452 }
5453 }
5454 {
5455 wxPy_BEGIN_ALLOW_THREADS;
5456 _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0);
5457
5458 wxPy_END_ALLOW_THREADS;
5459 if (PyErr_Occurred()) return NULL;
5460 } _resultobj = Py_BuildValue("i",_result);
5461 return _resultobj;
5462 }
5463
5464 static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) {
5465 int count = self->GetNumberOfFiles();
5466 wxString* files = self->GetFiles();
5467 PyObject* list = PyList_New(count);
5468
5469 if (!list) {
5470 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
5471 return NULL;
5472 }
5473
5474 for (int i=0; i<count; i++) {
5475 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
5476 }
5477 return list;
5478 }
5479 static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5480 PyObject * _resultobj;
5481 PyObject * _result;
5482 wxDropFilesEvent * _arg0;
5483 PyObject * _argo0 = 0;
5484 char *_kwnames[] = { "self", NULL };
5485
5486 self = self;
5487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetFiles",_kwnames,&_argo0))
5488 return NULL;
5489 if (_argo0) {
5490 if (_argo0 == Py_None) { _arg0 = NULL; }
5491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
5492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
5493 return NULL;
5494 }
5495 }
5496 {
5497 wxPy_BEGIN_ALLOW_THREADS;
5498 _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0);
5499
5500 wxPy_END_ALLOW_THREADS;
5501 if (PyErr_Occurred()) return NULL;
5502 }{
5503 _resultobj = _result;
5504 }
5505 return _resultobj;
5506 }
5507
5508 static void *SwigwxIdleEventTowxEvent(void *ptr) {
5509 wxIdleEvent *src;
5510 wxEvent *dest;
5511 src = (wxIdleEvent *) ptr;
5512 dest = (wxEvent *) src;
5513 return (void *) dest;
5514 }
5515
5516 static void *SwigwxIdleEventTowxObject(void *ptr) {
5517 wxIdleEvent *src;
5518 wxObject *dest;
5519 src = (wxIdleEvent *) ptr;
5520 dest = (wxObject *) src;
5521 return (void *) dest;
5522 }
5523
5524 #define new_wxIdleEvent() (new wxIdleEvent())
5525 static PyObject *_wrap_new_wxIdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject * _resultobj;
5527 wxIdleEvent * _result;
5528 char *_kwnames[] = { NULL };
5529 char _ptemp[128];
5530
5531 self = self;
5532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxIdleEvent",_kwnames))
5533 return NULL;
5534 {
5535 wxPy_BEGIN_ALLOW_THREADS;
5536 _result = (wxIdleEvent *)new_wxIdleEvent();
5537
5538 wxPy_END_ALLOW_THREADS;
5539 if (PyErr_Occurred()) return NULL;
5540 } if (_result) {
5541 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIdleEvent_p");
5542 _resultobj = Py_BuildValue("s",_ptemp);
5543 } else {
5544 Py_INCREF(Py_None);
5545 _resultobj = Py_None;
5546 }
5547 return _resultobj;
5548 }
5549
5550 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
5551 static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
5552 PyObject * _resultobj;
5553 wxIdleEvent * _arg0;
5554 bool _arg1 = (bool ) TRUE;
5555 PyObject * _argo0 = 0;
5556 int tempbool1 = (int) TRUE;
5557 char *_kwnames[] = { "self","needMore", NULL };
5558
5559 self = self;
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIdleEvent_RequestMore",_kwnames,&_argo0,&tempbool1))
5561 return NULL;
5562 if (_argo0) {
5563 if (_argo0 == Py_None) { _arg0 = NULL; }
5564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
5565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
5566 return NULL;
5567 }
5568 }
5569 _arg1 = (bool ) tempbool1;
5570 {
5571 wxPy_BEGIN_ALLOW_THREADS;
5572 wxIdleEvent_RequestMore(_arg0,_arg1);
5573
5574 wxPy_END_ALLOW_THREADS;
5575 if (PyErr_Occurred()) return NULL;
5576 } Py_INCREF(Py_None);
5577 _resultobj = Py_None;
5578 return _resultobj;
5579 }
5580
5581 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
5582 static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
5583 PyObject * _resultobj;
5584 bool _result;
5585 wxIdleEvent * _arg0;
5586 PyObject * _argo0 = 0;
5587 char *_kwnames[] = { "self", NULL };
5588
5589 self = self;
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIdleEvent_MoreRequested",_kwnames,&_argo0))
5591 return NULL;
5592 if (_argo0) {
5593 if (_argo0 == Py_None) { _arg0 = NULL; }
5594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
5595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
5596 return NULL;
5597 }
5598 }
5599 {
5600 wxPy_BEGIN_ALLOW_THREADS;
5601 _result = (bool )wxIdleEvent_MoreRequested(_arg0);
5602
5603 wxPy_END_ALLOW_THREADS;
5604 if (PyErr_Occurred()) return NULL;
5605 } _resultobj = Py_BuildValue("i",_result);
5606 return _resultobj;
5607 }
5608
5609 static void *SwigwxUpdateUIEventTowxEvent(void *ptr) {
5610 wxUpdateUIEvent *src;
5611 wxEvent *dest;
5612 src = (wxUpdateUIEvent *) ptr;
5613 dest = (wxEvent *) src;
5614 return (void *) dest;
5615 }
5616
5617 static void *SwigwxUpdateUIEventTowxObject(void *ptr) {
5618 wxUpdateUIEvent *src;
5619 wxObject *dest;
5620 src = (wxUpdateUIEvent *) ptr;
5621 dest = (wxObject *) src;
5622 return (void *) dest;
5623 }
5624
5625 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
5626 static PyObject *_wrap_new_wxUpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject * _resultobj;
5628 wxUpdateUIEvent * _result;
5629 wxWindowID _arg0 = (wxWindowID ) 0;
5630 char *_kwnames[] = { "commandId", NULL };
5631 char _ptemp[128];
5632
5633 self = self;
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxUpdateUIEvent",_kwnames,&_arg0))
5635 return NULL;
5636 {
5637 wxPy_BEGIN_ALLOW_THREADS;
5638 _result = (wxUpdateUIEvent *)new_wxUpdateUIEvent(_arg0);
5639
5640 wxPy_END_ALLOW_THREADS;
5641 if (PyErr_Occurred()) return NULL;
5642 } if (_result) {
5643 SWIG_MakePtr(_ptemp, (char *) _result,"_wxUpdateUIEvent_p");
5644 _resultobj = Py_BuildValue("s",_ptemp);
5645 } else {
5646 Py_INCREF(Py_None);
5647 _resultobj = Py_None;
5648 }
5649 return _resultobj;
5650 }
5651
5652 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
5653 static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject * _resultobj;
5655 bool _result;
5656 wxUpdateUIEvent * _arg0;
5657 PyObject * _argo0 = 0;
5658 char *_kwnames[] = { "self", NULL };
5659
5660 self = self;
5661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetChecked",_kwnames,&_argo0))
5662 return NULL;
5663 if (_argo0) {
5664 if (_argo0 == Py_None) { _arg0 = NULL; }
5665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
5667 return NULL;
5668 }
5669 }
5670 {
5671 wxPy_BEGIN_ALLOW_THREADS;
5672 _result = (bool )wxUpdateUIEvent_GetChecked(_arg0);
5673
5674 wxPy_END_ALLOW_THREADS;
5675 if (PyErr_Occurred()) return NULL;
5676 } _resultobj = Py_BuildValue("i",_result);
5677 return _resultobj;
5678 }
5679
5680 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5681 static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject * _resultobj;
5683 bool _result;
5684 wxUpdateUIEvent * _arg0;
5685 PyObject * _argo0 = 0;
5686 char *_kwnames[] = { "self", NULL };
5687
5688 self = self;
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetEnabled",_kwnames,&_argo0))
5690 return NULL;
5691 if (_argo0) {
5692 if (_argo0 == Py_None) { _arg0 = NULL; }
5693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
5695 return NULL;
5696 }
5697 }
5698 {
5699 wxPy_BEGIN_ALLOW_THREADS;
5700 _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0);
5701
5702 wxPy_END_ALLOW_THREADS;
5703 if (PyErr_Occurred()) return NULL;
5704 } _resultobj = Py_BuildValue("i",_result);
5705 return _resultobj;
5706 }
5707
5708 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5709 static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject * _resultobj;
5711 wxString * _result;
5712 wxUpdateUIEvent * _arg0;
5713 PyObject * _argo0 = 0;
5714 char *_kwnames[] = { "self", NULL };
5715
5716 self = self;
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetText",_kwnames,&_argo0))
5718 return NULL;
5719 if (_argo0) {
5720 if (_argo0 == Py_None) { _arg0 = NULL; }
5721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
5723 return NULL;
5724 }
5725 }
5726 {
5727 wxPy_BEGIN_ALLOW_THREADS;
5728 _result = new wxString (wxUpdateUIEvent_GetText(_arg0));
5729
5730 wxPy_END_ALLOW_THREADS;
5731 if (PyErr_Occurred()) return NULL;
5732 }{
5733 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5734 }
5735 {
5736 delete _result;
5737 }
5738 return _resultobj;
5739 }
5740
5741 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5742 static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject * _resultobj;
5744 bool _result;
5745 wxUpdateUIEvent * _arg0;
5746 PyObject * _argo0 = 0;
5747 char *_kwnames[] = { "self", NULL };
5748
5749 self = self;
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetText",_kwnames,&_argo0))
5751 return NULL;
5752 if (_argo0) {
5753 if (_argo0 == Py_None) { _arg0 = NULL; }
5754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
5756 return NULL;
5757 }
5758 }
5759 {
5760 wxPy_BEGIN_ALLOW_THREADS;
5761 _result = (bool )wxUpdateUIEvent_GetSetText(_arg0);
5762
5763 wxPy_END_ALLOW_THREADS;
5764 if (PyErr_Occurred()) return NULL;
5765 } _resultobj = Py_BuildValue("i",_result);
5766 return _resultobj;
5767 }
5768
5769 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5770 static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject * _resultobj;
5772 bool _result;
5773 wxUpdateUIEvent * _arg0;
5774 PyObject * _argo0 = 0;
5775 char *_kwnames[] = { "self", NULL };
5776
5777 self = self;
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetChecked",_kwnames,&_argo0))
5779 return NULL;
5780 if (_argo0) {
5781 if (_argo0 == Py_None) { _arg0 = NULL; }
5782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
5784 return NULL;
5785 }
5786 }
5787 {
5788 wxPy_BEGIN_ALLOW_THREADS;
5789 _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0);
5790
5791 wxPy_END_ALLOW_THREADS;
5792 if (PyErr_Occurred()) return NULL;
5793 } _resultobj = Py_BuildValue("i",_result);
5794 return _resultobj;
5795 }
5796
5797 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5798 static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
5799 PyObject * _resultobj;
5800 bool _result;
5801 wxUpdateUIEvent * _arg0;
5802 PyObject * _argo0 = 0;
5803 char *_kwnames[] = { "self", NULL };
5804
5805 self = self;
5806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames,&_argo0))
5807 return NULL;
5808 if (_argo0) {
5809 if (_argo0 == Py_None) { _arg0 = NULL; }
5810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
5812 return NULL;
5813 }
5814 }
5815 {
5816 wxPy_BEGIN_ALLOW_THREADS;
5817 _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0);
5818
5819 wxPy_END_ALLOW_THREADS;
5820 if (PyErr_Occurred()) return NULL;
5821 } _resultobj = Py_BuildValue("i",_result);
5822 return _resultobj;
5823 }
5824
5825 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5826 static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5827 PyObject * _resultobj;
5828 wxUpdateUIEvent * _arg0;
5829 bool _arg1;
5830 PyObject * _argo0 = 0;
5831 int tempbool1;
5832 char *_kwnames[] = { "self","check", NULL };
5833
5834 self = self;
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Check",_kwnames,&_argo0,&tempbool1))
5836 return NULL;
5837 if (_argo0) {
5838 if (_argo0 == Py_None) { _arg0 = NULL; }
5839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
5841 return NULL;
5842 }
5843 }
5844 _arg1 = (bool ) tempbool1;
5845 {
5846 wxPy_BEGIN_ALLOW_THREADS;
5847 wxUpdateUIEvent_Check(_arg0,_arg1);
5848
5849 wxPy_END_ALLOW_THREADS;
5850 if (PyErr_Occurred()) return NULL;
5851 } Py_INCREF(Py_None);
5852 _resultobj = Py_None;
5853 return _resultobj;
5854 }
5855
5856 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5857 static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject * _resultobj;
5859 wxUpdateUIEvent * _arg0;
5860 bool _arg1;
5861 PyObject * _argo0 = 0;
5862 int tempbool1;
5863 char *_kwnames[] = { "self","enable", NULL };
5864
5865 self = self;
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Enable",_kwnames,&_argo0,&tempbool1))
5867 return NULL;
5868 if (_argo0) {
5869 if (_argo0 == Py_None) { _arg0 = NULL; }
5870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
5872 return NULL;
5873 }
5874 }
5875 _arg1 = (bool ) tempbool1;
5876 {
5877 wxPy_BEGIN_ALLOW_THREADS;
5878 wxUpdateUIEvent_Enable(_arg0,_arg1);
5879
5880 wxPy_END_ALLOW_THREADS;
5881 if (PyErr_Occurred()) return NULL;
5882 } Py_INCREF(Py_None);
5883 _resultobj = Py_None;
5884 return _resultobj;
5885 }
5886
5887 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5888 static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5889 PyObject * _resultobj;
5890 wxUpdateUIEvent * _arg0;
5891 wxString * _arg1;
5892 PyObject * _argo0 = 0;
5893 PyObject * _obj1 = 0;
5894 char *_kwnames[] = { "self","text", NULL };
5895
5896 self = self;
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxUpdateUIEvent_SetText",_kwnames,&_argo0,&_obj1))
5898 return NULL;
5899 if (_argo0) {
5900 if (_argo0 == Py_None) { _arg0 = NULL; }
5901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
5903 return NULL;
5904 }
5905 }
5906 {
5907 #if PYTHON_API_VERSION >= 1009
5908 char* tmpPtr; int tmpSize;
5909 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5910 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5911 return NULL;
5912 }
5913 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5914 return NULL;
5915 _arg1 = new wxString(tmpPtr, tmpSize);
5916 #else
5917 if (!PyString_Check(_obj1)) {
5918 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5919 return NULL;
5920 }
5921 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5922 #endif
5923 }
5924 {
5925 wxPy_BEGIN_ALLOW_THREADS;
5926 wxUpdateUIEvent_SetText(_arg0,*_arg1);
5927
5928 wxPy_END_ALLOW_THREADS;
5929 if (PyErr_Occurred()) return NULL;
5930 } Py_INCREF(Py_None);
5931 _resultobj = Py_None;
5932 {
5933 if (_obj1)
5934 delete _arg1;
5935 }
5936 return _resultobj;
5937 }
5938
5939 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) {
5940 wxSysColourChangedEvent *src;
5941 wxEvent *dest;
5942 src = (wxSysColourChangedEvent *) ptr;
5943 dest = (wxEvent *) src;
5944 return (void *) dest;
5945 }
5946
5947 static void *SwigwxSysColourChangedEventTowxObject(void *ptr) {
5948 wxSysColourChangedEvent *src;
5949 wxObject *dest;
5950 src = (wxSysColourChangedEvent *) ptr;
5951 dest = (wxObject *) src;
5952 return (void *) dest;
5953 }
5954
5955 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5956 static PyObject *_wrap_new_wxSysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject * _resultobj;
5958 wxSysColourChangedEvent * _result;
5959 char *_kwnames[] = { NULL };
5960 char _ptemp[128];
5961
5962 self = self;
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxSysColourChangedEvent",_kwnames))
5964 return NULL;
5965 {
5966 wxPy_BEGIN_ALLOW_THREADS;
5967 _result = (wxSysColourChangedEvent *)new_wxSysColourChangedEvent();
5968
5969 wxPy_END_ALLOW_THREADS;
5970 if (PyErr_Occurred()) return NULL;
5971 } if (_result) {
5972 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSysColourChangedEvent_p");
5973 _resultobj = Py_BuildValue("s",_ptemp);
5974 } else {
5975 Py_INCREF(Py_None);
5976 _resultobj = Py_None;
5977 }
5978 return _resultobj;
5979 }
5980
5981 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) {
5982 wxNotifyEvent *src;
5983 wxCommandEvent *dest;
5984 src = (wxNotifyEvent *) ptr;
5985 dest = (wxCommandEvent *) src;
5986 return (void *) dest;
5987 }
5988
5989 static void *SwigwxNotifyEventTowxEvent(void *ptr) {
5990 wxNotifyEvent *src;
5991 wxEvent *dest;
5992 src = (wxNotifyEvent *) ptr;
5993 dest = (wxEvent *) src;
5994 return (void *) dest;
5995 }
5996
5997 static void *SwigwxNotifyEventTowxObject(void *ptr) {
5998 wxNotifyEvent *src;
5999 wxObject *dest;
6000 src = (wxNotifyEvent *) ptr;
6001 dest = (wxObject *) src;
6002 return (void *) dest;
6003 }
6004
6005 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
6006 static PyObject *_wrap_new_wxNotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject * _resultobj;
6008 wxNotifyEvent * _result;
6009 int _arg0 = (int ) wxEVT_NULL;
6010 int _arg1 = (int ) 0;
6011 char *_kwnames[] = { "commandType","id", NULL };
6012 char _ptemp[128];
6013
6014 self = self;
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxNotifyEvent",_kwnames,&_arg0,&_arg1))
6016 return NULL;
6017 {
6018 wxPy_BEGIN_ALLOW_THREADS;
6019 _result = (wxNotifyEvent *)new_wxNotifyEvent(_arg0,_arg1);
6020
6021 wxPy_END_ALLOW_THREADS;
6022 if (PyErr_Occurred()) return NULL;
6023 } if (_result) {
6024 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotifyEvent_p");
6025 _resultobj = Py_BuildValue("s",_ptemp);
6026 } else {
6027 Py_INCREF(Py_None);
6028 _resultobj = Py_None;
6029 }
6030 return _resultobj;
6031 }
6032
6033 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
6034 static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject * _resultobj;
6036 bool _result;
6037 wxNotifyEvent * _arg0;
6038 PyObject * _argo0 = 0;
6039 char *_kwnames[] = { "self", NULL };
6040
6041 self = self;
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_IsAllowed",_kwnames,&_argo0))
6043 return NULL;
6044 if (_argo0) {
6045 if (_argo0 == Py_None) { _arg0 = NULL; }
6046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
6047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
6048 return NULL;
6049 }
6050 }
6051 {
6052 wxPy_BEGIN_ALLOW_THREADS;
6053 _result = (bool )wxNotifyEvent_IsAllowed(_arg0);
6054
6055 wxPy_END_ALLOW_THREADS;
6056 if (PyErr_Occurred()) return NULL;
6057 } _resultobj = Py_BuildValue("i",_result);
6058 return _resultobj;
6059 }
6060
6061 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
6062 static PyObject *_wrap_wxNotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject * _resultobj;
6064 wxNotifyEvent * _arg0;
6065 PyObject * _argo0 = 0;
6066 char *_kwnames[] = { "self", NULL };
6067
6068 self = self;
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Allow",_kwnames,&_argo0))
6070 return NULL;
6071 if (_argo0) {
6072 if (_argo0 == Py_None) { _arg0 = NULL; }
6073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
6074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
6075 return NULL;
6076 }
6077 }
6078 {
6079 wxPy_BEGIN_ALLOW_THREADS;
6080 wxNotifyEvent_Allow(_arg0);
6081
6082 wxPy_END_ALLOW_THREADS;
6083 if (PyErr_Occurred()) return NULL;
6084 } Py_INCREF(Py_None);
6085 _resultobj = Py_None;
6086 return _resultobj;
6087 }
6088
6089 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
6090 static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject * _resultobj;
6092 wxNotifyEvent * _arg0;
6093 PyObject * _argo0 = 0;
6094 char *_kwnames[] = { "self", NULL };
6095
6096 self = self;
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Veto",_kwnames,&_argo0))
6098 return NULL;
6099 if (_argo0) {
6100 if (_argo0 == Py_None) { _arg0 = NULL; }
6101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
6102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
6103 return NULL;
6104 }
6105 }
6106 {
6107 wxPy_BEGIN_ALLOW_THREADS;
6108 wxNotifyEvent_Veto(_arg0);
6109
6110 wxPy_END_ALLOW_THREADS;
6111 if (PyErr_Occurred()) return NULL;
6112 } Py_INCREF(Py_None);
6113 _resultobj = Py_None;
6114 return _resultobj;
6115 }
6116
6117 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr) {
6118 wxPaletteChangedEvent *src;
6119 wxEvent *dest;
6120 src = (wxPaletteChangedEvent *) ptr;
6121 dest = (wxEvent *) src;
6122 return (void *) dest;
6123 }
6124
6125 static void *SwigwxPaletteChangedEventTowxObject(void *ptr) {
6126 wxPaletteChangedEvent *src;
6127 wxObject *dest;
6128 src = (wxPaletteChangedEvent *) ptr;
6129 dest = (wxObject *) src;
6130 return (void *) dest;
6131 }
6132
6133 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
6134 static PyObject *_wrap_new_wxPaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject * _resultobj;
6136 wxPaletteChangedEvent * _result;
6137 wxWindowID _arg0 = (wxWindowID ) 0;
6138 char *_kwnames[] = { "id", NULL };
6139 char _ptemp[128];
6140
6141 self = self;
6142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaletteChangedEvent",_kwnames,&_arg0))
6143 return NULL;
6144 {
6145 wxPy_BEGIN_ALLOW_THREADS;
6146 _result = (wxPaletteChangedEvent *)new_wxPaletteChangedEvent(_arg0);
6147
6148 wxPy_END_ALLOW_THREADS;
6149 if (PyErr_Occurred()) return NULL;
6150 } if (_result) {
6151 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaletteChangedEvent_p");
6152 _resultobj = Py_BuildValue("s",_ptemp);
6153 } else {
6154 Py_INCREF(Py_None);
6155 _resultobj = Py_None;
6156 }
6157 return _resultobj;
6158 }
6159
6160 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
6161 static PyObject *_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6162 PyObject * _resultobj;
6163 wxPaletteChangedEvent * _arg0;
6164 wxWindow * _arg1;
6165 PyObject * _argo0 = 0;
6166 PyObject * _argo1 = 0;
6167 char *_kwnames[] = { "self","win", NULL };
6168
6169 self = self;
6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames,&_argo0,&_argo1))
6171 return NULL;
6172 if (_argo0) {
6173 if (_argo0 == Py_None) { _arg0 = NULL; }
6174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) {
6175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6176 return NULL;
6177 }
6178 }
6179 if (_argo1) {
6180 if (_argo1 == Py_None) { _arg1 = NULL; }
6181 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6182 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
6183 return NULL;
6184 }
6185 }
6186 {
6187 wxPy_BEGIN_ALLOW_THREADS;
6188 wxPaletteChangedEvent_SetChangedWindow(_arg0,_arg1);
6189
6190 wxPy_END_ALLOW_THREADS;
6191 if (PyErr_Occurred()) return NULL;
6192 } Py_INCREF(Py_None);
6193 _resultobj = Py_None;
6194 return _resultobj;
6195 }
6196
6197 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
6198 static PyObject *_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6199 PyObject * _resultobj;
6200 wxWindow * _result;
6201 wxPaletteChangedEvent * _arg0;
6202 PyObject * _argo0 = 0;
6203 char *_kwnames[] = { "self", NULL };
6204
6205 self = self;
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames,&_argo0))
6207 return NULL;
6208 if (_argo0) {
6209 if (_argo0 == Py_None) { _arg0 = NULL; }
6210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) {
6211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6212 return NULL;
6213 }
6214 }
6215 {
6216 wxPy_BEGIN_ALLOW_THREADS;
6217 _result = (wxWindow *)wxPaletteChangedEvent_GetChangedWindow(_arg0);
6218
6219 wxPy_END_ALLOW_THREADS;
6220 if (PyErr_Occurred()) return NULL;
6221 }{ _resultobj = wxPyMake_wxObject(_result); }
6222 return _resultobj;
6223 }
6224
6225 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr) {
6226 wxQueryNewPaletteEvent *src;
6227 wxEvent *dest;
6228 src = (wxQueryNewPaletteEvent *) ptr;
6229 dest = (wxEvent *) src;
6230 return (void *) dest;
6231 }
6232
6233 static void *SwigwxQueryNewPaletteEventTowxObject(void *ptr) {
6234 wxQueryNewPaletteEvent *src;
6235 wxObject *dest;
6236 src = (wxQueryNewPaletteEvent *) ptr;
6237 dest = (wxObject *) src;
6238 return (void *) dest;
6239 }
6240
6241 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
6242 static PyObject *_wrap_new_wxQueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6243 PyObject * _resultobj;
6244 wxQueryNewPaletteEvent * _result;
6245 wxWindowID _arg0 = (wxWindowID ) 0;
6246 char *_kwnames[] = { "id", NULL };
6247 char _ptemp[128];
6248
6249 self = self;
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxQueryNewPaletteEvent",_kwnames,&_arg0))
6251 return NULL;
6252 {
6253 wxPy_BEGIN_ALLOW_THREADS;
6254 _result = (wxQueryNewPaletteEvent *)new_wxQueryNewPaletteEvent(_arg0);
6255
6256 wxPy_END_ALLOW_THREADS;
6257 if (PyErr_Occurred()) return NULL;
6258 } if (_result) {
6259 SWIG_MakePtr(_ptemp, (char *) _result,"_wxQueryNewPaletteEvent_p");
6260 _resultobj = Py_BuildValue("s",_ptemp);
6261 } else {
6262 Py_INCREF(Py_None);
6263 _resultobj = Py_None;
6264 }
6265 return _resultobj;
6266 }
6267
6268 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
6269 static PyObject *_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject * _resultobj;
6271 wxQueryNewPaletteEvent * _arg0;
6272 bool _arg1;
6273 PyObject * _argo0 = 0;
6274 int tempbool1;
6275 char *_kwnames[] = { "self","realized", NULL };
6276
6277 self = self;
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames,&_argo0,&tempbool1))
6279 return NULL;
6280 if (_argo0) {
6281 if (_argo0 == Py_None) { _arg0 = NULL; }
6282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) {
6283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6284 return NULL;
6285 }
6286 }
6287 _arg1 = (bool ) tempbool1;
6288 {
6289 wxPy_BEGIN_ALLOW_THREADS;
6290 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0,_arg1);
6291
6292 wxPy_END_ALLOW_THREADS;
6293 if (PyErr_Occurred()) return NULL;
6294 } Py_INCREF(Py_None);
6295 _resultobj = Py_None;
6296 return _resultobj;
6297 }
6298
6299 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
6300 static PyObject *_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject * _resultobj;
6302 bool _result;
6303 wxQueryNewPaletteEvent * _arg0;
6304 PyObject * _argo0 = 0;
6305 char *_kwnames[] = { "self", NULL };
6306
6307 self = self;
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames,&_argo0))
6309 return NULL;
6310 if (_argo0) {
6311 if (_argo0 == Py_None) { _arg0 = NULL; }
6312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) {
6313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6314 return NULL;
6315 }
6316 }
6317 {
6318 wxPy_BEGIN_ALLOW_THREADS;
6319 _result = (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0);
6320
6321 wxPy_END_ALLOW_THREADS;
6322 if (PyErr_Occurred()) return NULL;
6323 } _resultobj = Py_BuildValue("i",_result);
6324 return _resultobj;
6325 }
6326
6327 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr) {
6328 wxWindowCreateEvent *src;
6329 wxCommandEvent *dest;
6330 src = (wxWindowCreateEvent *) ptr;
6331 dest = (wxCommandEvent *) src;
6332 return (void *) dest;
6333 }
6334
6335 static void *SwigwxWindowCreateEventTowxEvent(void *ptr) {
6336 wxWindowCreateEvent *src;
6337 wxEvent *dest;
6338 src = (wxWindowCreateEvent *) ptr;
6339 dest = (wxEvent *) src;
6340 return (void *) dest;
6341 }
6342
6343 static void *SwigwxWindowCreateEventTowxObject(void *ptr) {
6344 wxWindowCreateEvent *src;
6345 wxObject *dest;
6346 src = (wxWindowCreateEvent *) ptr;
6347 dest = (wxObject *) src;
6348 return (void *) dest;
6349 }
6350
6351 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
6352 static PyObject *_wrap_new_wxWindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6353 PyObject * _resultobj;
6354 wxWindowCreateEvent * _result;
6355 wxWindow * _arg0 = (wxWindow *) NULL;
6356 PyObject * _argo0 = 0;
6357 char *_kwnames[] = { "win", NULL };
6358 char _ptemp[128];
6359
6360 self = self;
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowCreateEvent",_kwnames,&_argo0))
6362 return NULL;
6363 if (_argo0) {
6364 if (_argo0 == Py_None) { _arg0 = NULL; }
6365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
6367 return NULL;
6368 }
6369 }
6370 {
6371 wxPy_BEGIN_ALLOW_THREADS;
6372 _result = (wxWindowCreateEvent *)new_wxWindowCreateEvent(_arg0);
6373
6374 wxPy_END_ALLOW_THREADS;
6375 if (PyErr_Occurred()) return NULL;
6376 } if (_result) {
6377 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowCreateEvent_p");
6378 _resultobj = Py_BuildValue("s",_ptemp);
6379 } else {
6380 Py_INCREF(Py_None);
6381 _resultobj = Py_None;
6382 }
6383 return _resultobj;
6384 }
6385
6386 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6387 static PyObject *_wrap_wxWindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6388 PyObject * _resultobj;
6389 wxWindow * _result;
6390 wxWindowCreateEvent * _arg0;
6391 PyObject * _argo0 = 0;
6392 char *_kwnames[] = { "self", NULL };
6393
6394 self = self;
6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowCreateEvent_GetWindow",_kwnames,&_argo0))
6396 return NULL;
6397 if (_argo0) {
6398 if (_argo0 == Py_None) { _arg0 = NULL; }
6399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowCreateEvent_p")) {
6400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
6401 return NULL;
6402 }
6403 }
6404 {
6405 wxPy_BEGIN_ALLOW_THREADS;
6406 _result = (wxWindow *)wxWindowCreateEvent_GetWindow(_arg0);
6407
6408 wxPy_END_ALLOW_THREADS;
6409 if (PyErr_Occurred()) return NULL;
6410 }{ _resultobj = wxPyMake_wxObject(_result); }
6411 return _resultobj;
6412 }
6413
6414 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr) {
6415 wxWindowDestroyEvent *src;
6416 wxCommandEvent *dest;
6417 src = (wxWindowDestroyEvent *) ptr;
6418 dest = (wxCommandEvent *) src;
6419 return (void *) dest;
6420 }
6421
6422 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr) {
6423 wxWindowDestroyEvent *src;
6424 wxEvent *dest;
6425 src = (wxWindowDestroyEvent *) ptr;
6426 dest = (wxEvent *) src;
6427 return (void *) dest;
6428 }
6429
6430 static void *SwigwxWindowDestroyEventTowxObject(void *ptr) {
6431 wxWindowDestroyEvent *src;
6432 wxObject *dest;
6433 src = (wxWindowDestroyEvent *) ptr;
6434 dest = (wxObject *) src;
6435 return (void *) dest;
6436 }
6437
6438 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
6439 static PyObject *_wrap_new_wxWindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject * _resultobj;
6441 wxWindowDestroyEvent * _result;
6442 wxWindow * _arg0 = (wxWindow *) NULL;
6443 PyObject * _argo0 = 0;
6444 char *_kwnames[] = { "win", NULL };
6445 char _ptemp[128];
6446
6447 self = self;
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDestroyEvent",_kwnames,&_argo0))
6449 return NULL;
6450 if (_argo0) {
6451 if (_argo0 == Py_None) { _arg0 = NULL; }
6452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
6454 return NULL;
6455 }
6456 }
6457 {
6458 wxPy_BEGIN_ALLOW_THREADS;
6459 _result = (wxWindowDestroyEvent *)new_wxWindowDestroyEvent(_arg0);
6460
6461 wxPy_END_ALLOW_THREADS;
6462 if (PyErr_Occurred()) return NULL;
6463 } if (_result) {
6464 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDestroyEvent_p");
6465 _resultobj = Py_BuildValue("s",_ptemp);
6466 } else {
6467 Py_INCREF(Py_None);
6468 _resultobj = Py_None;
6469 }
6470 return _resultobj;
6471 }
6472
6473 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6474 static PyObject *_wrap_wxWindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6475 PyObject * _resultobj;
6476 wxWindow * _result;
6477 wxWindowDestroyEvent * _arg0;
6478 PyObject * _argo0 = 0;
6479 char *_kwnames[] = { "self", NULL };
6480
6481 self = self;
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowDestroyEvent_GetWindow",_kwnames,&_argo0))
6483 return NULL;
6484 if (_argo0) {
6485 if (_argo0 == Py_None) { _arg0 = NULL; }
6486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDestroyEvent_p")) {
6487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
6488 return NULL;
6489 }
6490 }
6491 {
6492 wxPy_BEGIN_ALLOW_THREADS;
6493 _result = (wxWindow *)wxWindowDestroyEvent_GetWindow(_arg0);
6494
6495 wxPy_END_ALLOW_THREADS;
6496 if (PyErr_Occurred()) return NULL;
6497 }{ _resultobj = wxPyMake_wxObject(_result); }
6498 return _resultobj;
6499 }
6500
6501 static void *SwigwxTimerEventTowxEvent(void *ptr) {
6502 wxTimerEvent *src;
6503 wxEvent *dest;
6504 src = (wxTimerEvent *) ptr;
6505 dest = (wxEvent *) src;
6506 return (void *) dest;
6507 }
6508
6509 static void *SwigwxTimerEventTowxObject(void *ptr) {
6510 wxTimerEvent *src;
6511 wxObject *dest;
6512 src = (wxTimerEvent *) ptr;
6513 dest = (wxObject *) src;
6514 return (void *) dest;
6515 }
6516
6517 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
6518 static PyObject *_wrap_new_wxTimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject * _resultobj;
6520 wxTimerEvent * _result;
6521 int _arg0 = (int ) 0;
6522 int _arg1 = (int ) 0;
6523 char *_kwnames[] = { "id","interval", NULL };
6524 char _ptemp[128];
6525
6526 self = self;
6527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTimerEvent",_kwnames,&_arg0,&_arg1))
6528 return NULL;
6529 {
6530 wxPy_BEGIN_ALLOW_THREADS;
6531 _result = (wxTimerEvent *)new_wxTimerEvent(_arg0,_arg1);
6532
6533 wxPy_END_ALLOW_THREADS;
6534 if (PyErr_Occurred()) return NULL;
6535 } if (_result) {
6536 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTimerEvent_p");
6537 _resultobj = Py_BuildValue("s",_ptemp);
6538 } else {
6539 Py_INCREF(Py_None);
6540 _resultobj = Py_None;
6541 }
6542 return _resultobj;
6543 }
6544
6545 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
6546 static PyObject *_wrap_wxTimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject * _resultobj;
6548 int _result;
6549 wxTimerEvent * _arg0;
6550 PyObject * _argo0 = 0;
6551 char *_kwnames[] = { "self", NULL };
6552
6553 self = self;
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimerEvent_GetInterval",_kwnames,&_argo0))
6555 return NULL;
6556 if (_argo0) {
6557 if (_argo0 == Py_None) { _arg0 = NULL; }
6558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimerEvent_p")) {
6559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
6560 return NULL;
6561 }
6562 }
6563 {
6564 wxPy_BEGIN_ALLOW_THREADS;
6565 _result = (int )wxTimerEvent_GetInterval(_arg0);
6566
6567 wxPy_END_ALLOW_THREADS;
6568 if (PyErr_Occurred()) return NULL;
6569 } _resultobj = Py_BuildValue("i",_result);
6570 return _resultobj;
6571 }
6572
6573 static void *SwigwxTextUrlEventTowxCommandEvent(void *ptr) {
6574 wxTextUrlEvent *src;
6575 wxCommandEvent *dest;
6576 src = (wxTextUrlEvent *) ptr;
6577 dest = (wxCommandEvent *) src;
6578 return (void *) dest;
6579 }
6580
6581 static void *SwigwxTextUrlEventTowxEvent(void *ptr) {
6582 wxTextUrlEvent *src;
6583 wxEvent *dest;
6584 src = (wxTextUrlEvent *) ptr;
6585 dest = (wxEvent *) src;
6586 return (void *) dest;
6587 }
6588
6589 static void *SwigwxTextUrlEventTowxObject(void *ptr) {
6590 wxTextUrlEvent *src;
6591 wxObject *dest;
6592 src = (wxTextUrlEvent *) ptr;
6593 dest = (wxObject *) src;
6594 return (void *) dest;
6595 }
6596
6597 #define new_wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6598 static PyObject *_wrap_new_wxTextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6599 PyObject * _resultobj;
6600 wxTextUrlEvent * _result;
6601 int _arg0;
6602 wxMouseEvent * _arg1;
6603 long _arg2;
6604 long _arg3;
6605 PyObject * _argo1 = 0;
6606 char *_kwnames[] = { "id","evtMouse","start","end", NULL };
6607 char _ptemp[128];
6608
6609 self = self;
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOll:new_wxTextUrlEvent",_kwnames,&_arg0,&_argo1,&_arg2,&_arg3))
6611 return NULL;
6612 if (_argo1) {
6613 if (_argo1 == Py_None) { _arg1 = NULL; }
6614 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMouseEvent_p")) {
6615 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxTextUrlEvent. Expected _wxMouseEvent_p.");
6616 return NULL;
6617 }
6618 }
6619 {
6620 wxPy_BEGIN_ALLOW_THREADS;
6621 _result = (wxTextUrlEvent *)new_wxTextUrlEvent(_arg0,*_arg1,_arg2,_arg3);
6622
6623 wxPy_END_ALLOW_THREADS;
6624 if (PyErr_Occurred()) return NULL;
6625 } if (_result) {
6626 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextUrlEvent_p");
6627 _resultobj = Py_BuildValue("s",_ptemp);
6628 } else {
6629 Py_INCREF(Py_None);
6630 _resultobj = Py_None;
6631 }
6632 return _resultobj;
6633 }
6634
6635 #define wxTextUrlEvent_GetMouseEvent(_swigobj) (_swigobj->GetMouseEvent())
6636 static PyObject *_wrap_wxTextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6637 PyObject * _resultobj;
6638 wxMouseEvent * _result;
6639 wxTextUrlEvent * _arg0;
6640 PyObject * _argo0 = 0;
6641 char *_kwnames[] = { "self", NULL };
6642
6643 self = self;
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextUrlEvent_GetMouseEvent",_kwnames,&_argo0))
6645 return NULL;
6646 if (_argo0) {
6647 if (_argo0 == Py_None) { _arg0 = NULL; }
6648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextUrlEvent_p")) {
6649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextUrlEvent_GetMouseEvent. Expected _wxTextUrlEvent_p.");
6650 return NULL;
6651 }
6652 }
6653 {
6654 wxPy_BEGIN_ALLOW_THREADS;
6655 const wxMouseEvent & _result_ref = wxTextUrlEvent_GetMouseEvent(_arg0);
6656 _result = (wxMouseEvent *) &_result_ref;
6657
6658 wxPy_END_ALLOW_THREADS;
6659 if (PyErr_Occurred()) return NULL;
6660 }{ _resultobj = wxPyMake_wxObject(_result); }
6661 return _resultobj;
6662 }
6663
6664 #define wxTextUrlEvent_GetURLStart(_swigobj) (_swigobj->GetURLStart())
6665 static PyObject *_wrap_wxTextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6666 PyObject * _resultobj;
6667 long _result;
6668 wxTextUrlEvent * _arg0;
6669 PyObject * _argo0 = 0;
6670 char *_kwnames[] = { "self", NULL };
6671
6672 self = self;
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextUrlEvent_GetURLStart",_kwnames,&_argo0))
6674 return NULL;
6675 if (_argo0) {
6676 if (_argo0 == Py_None) { _arg0 = NULL; }
6677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextUrlEvent_p")) {
6678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextUrlEvent_GetURLStart. Expected _wxTextUrlEvent_p.");
6679 return NULL;
6680 }
6681 }
6682 {
6683 wxPy_BEGIN_ALLOW_THREADS;
6684 _result = (long )wxTextUrlEvent_GetURLStart(_arg0);
6685
6686 wxPy_END_ALLOW_THREADS;
6687 if (PyErr_Occurred()) return NULL;
6688 } _resultobj = Py_BuildValue("l",_result);
6689 return _resultobj;
6690 }
6691
6692 #define wxTextUrlEvent_GetURLEnd(_swigobj) (_swigobj->GetURLEnd())
6693 static PyObject *_wrap_wxTextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject * _resultobj;
6695 long _result;
6696 wxTextUrlEvent * _arg0;
6697 PyObject * _argo0 = 0;
6698 char *_kwnames[] = { "self", NULL };
6699
6700 self = self;
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextUrlEvent_GetURLEnd",_kwnames,&_argo0))
6702 return NULL;
6703 if (_argo0) {
6704 if (_argo0 == Py_None) { _arg0 = NULL; }
6705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextUrlEvent_p")) {
6706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextUrlEvent_GetURLEnd. Expected _wxTextUrlEvent_p.");
6707 return NULL;
6708 }
6709 }
6710 {
6711 wxPy_BEGIN_ALLOW_THREADS;
6712 _result = (long )wxTextUrlEvent_GetURLEnd(_arg0);
6713
6714 wxPy_END_ALLOW_THREADS;
6715 if (PyErr_Occurred()) return NULL;
6716 } _resultobj = Py_BuildValue("l",_result);
6717 return _resultobj;
6718 }
6719
6720 static void *SwigwxPyEventTowxEvent(void *ptr) {
6721 wxPyEvent *src;
6722 wxEvent *dest;
6723 src = (wxPyEvent *) ptr;
6724 dest = (wxEvent *) src;
6725 return (void *) dest;
6726 }
6727
6728 static void *SwigwxPyEventTowxObject(void *ptr) {
6729 wxPyEvent *src;
6730 wxObject *dest;
6731 src = (wxPyEvent *) ptr;
6732 dest = (wxObject *) src;
6733 return (void *) dest;
6734 }
6735
6736 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
6737 static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6738 PyObject * _resultobj;
6739 wxPyEvent * _result;
6740 int _arg0 = (int ) 0;
6741 char *_kwnames[] = { "id", NULL };
6742 char _ptemp[128];
6743
6744 self = self;
6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPyEvent",_kwnames,&_arg0))
6746 return NULL;
6747 {
6748 wxPy_BEGIN_ALLOW_THREADS;
6749 _result = (wxPyEvent *)new_wxPyEvent(_arg0);
6750
6751 wxPy_END_ALLOW_THREADS;
6752 if (PyErr_Occurred()) return NULL;
6753 } if (_result) {
6754 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p");
6755 _resultobj = Py_BuildValue("s",_ptemp);
6756 } else {
6757 Py_INCREF(Py_None);
6758 _resultobj = Py_None;
6759 }
6760 return _resultobj;
6761 }
6762
6763 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
6764 static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject * _resultobj;
6766 wxPyEvent * _arg0;
6767 PyObject * _argo0 = 0;
6768 char *_kwnames[] = { "self", NULL };
6769
6770 self = self;
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0))
6772 return NULL;
6773 if (_argo0) {
6774 if (_argo0 == Py_None) { _arg0 = NULL; }
6775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
6776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
6777 return NULL;
6778 }
6779 }
6780 {
6781 wxPy_BEGIN_ALLOW_THREADS;
6782 delete_wxPyEvent(_arg0);
6783
6784 wxPy_END_ALLOW_THREADS;
6785 if (PyErr_Occurred()) return NULL;
6786 } Py_INCREF(Py_None);
6787 _resultobj = Py_None;
6788 return _resultobj;
6789 }
6790
6791 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6792 static PyObject *_wrap_wxPyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
6793 PyObject * _resultobj;
6794 wxPyEvent * _arg0;
6795 PyObject * _arg1;
6796 PyObject * _argo0 = 0;
6797 PyObject * _obj1 = 0;
6798 char *_kwnames[] = { "self","self", NULL };
6799
6800 self = self;
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetSelf",_kwnames,&_argo0,&_obj1))
6802 return NULL;
6803 if (_argo0) {
6804 if (_argo0 == Py_None) { _arg0 = NULL; }
6805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
6806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
6807 return NULL;
6808 }
6809 }
6810 {
6811 _arg1 = _obj1;
6812 }
6813 {
6814 wxPy_BEGIN_ALLOW_THREADS;
6815 wxPyEvent_SetSelf(_arg0,_arg1);
6816
6817 wxPy_END_ALLOW_THREADS;
6818 if (PyErr_Occurred()) return NULL;
6819 } Py_INCREF(Py_None);
6820 _resultobj = Py_None;
6821 return _resultobj;
6822 }
6823
6824 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6825 static PyObject *_wrap_wxPyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
6826 PyObject * _resultobj;
6827 PyObject * _result;
6828 wxPyEvent * _arg0;
6829 PyObject * _argo0 = 0;
6830 char *_kwnames[] = { "self", NULL };
6831
6832 self = self;
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetSelf",_kwnames,&_argo0))
6834 return NULL;
6835 if (_argo0) {
6836 if (_argo0 == Py_None) { _arg0 = NULL; }
6837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
6838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
6839 return NULL;
6840 }
6841 }
6842 {
6843 wxPy_BEGIN_ALLOW_THREADS;
6844 _result = (PyObject *)wxPyEvent_GetSelf(_arg0);
6845
6846 wxPy_END_ALLOW_THREADS;
6847 if (PyErr_Occurred()) return NULL;
6848 }{
6849 _resultobj = _result;
6850 }
6851 return _resultobj;
6852 }
6853
6854 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr) {
6855 wxPyCommandEvent *src;
6856 wxCommandEvent *dest;
6857 src = (wxPyCommandEvent *) ptr;
6858 dest = (wxCommandEvent *) src;
6859 return (void *) dest;
6860 }
6861
6862 static void *SwigwxPyCommandEventTowxEvent(void *ptr) {
6863 wxPyCommandEvent *src;
6864 wxEvent *dest;
6865 src = (wxPyCommandEvent *) ptr;
6866 dest = (wxEvent *) src;
6867 return (void *) dest;
6868 }
6869
6870 static void *SwigwxPyCommandEventTowxObject(void *ptr) {
6871 wxPyCommandEvent *src;
6872 wxObject *dest;
6873 src = (wxPyCommandEvent *) ptr;
6874 dest = (wxObject *) src;
6875 return (void *) dest;
6876 }
6877
6878 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
6879 static PyObject *_wrap_new_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject * _resultobj;
6881 wxPyCommandEvent * _result;
6882 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6883 int _arg1 = (int ) 0;
6884 char *_kwnames[] = { "commandType","id", NULL };
6885 char _ptemp[128];
6886
6887 self = self;
6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxPyCommandEvent",_kwnames,&_arg0,&_arg1))
6889 return NULL;
6890 {
6891 wxPy_BEGIN_ALLOW_THREADS;
6892 _result = (wxPyCommandEvent *)new_wxPyCommandEvent(_arg0,_arg1);
6893
6894 wxPy_END_ALLOW_THREADS;
6895 if (PyErr_Occurred()) return NULL;
6896 } if (_result) {
6897 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCommandEvent_p");
6898 _resultobj = Py_BuildValue("s",_ptemp);
6899 } else {
6900 Py_INCREF(Py_None);
6901 _resultobj = Py_None;
6902 }
6903 return _resultobj;
6904 }
6905
6906 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
6907 static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject * _resultobj;
6909 wxPyCommandEvent * _arg0;
6910 PyObject * _argo0 = 0;
6911 char *_kwnames[] = { "self", NULL };
6912
6913 self = self;
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyCommandEvent",_kwnames,&_argo0))
6915 return NULL;
6916 if (_argo0) {
6917 if (_argo0 == Py_None) { _arg0 = NULL; }
6918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
6919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
6920 return NULL;
6921 }
6922 }
6923 {
6924 wxPy_BEGIN_ALLOW_THREADS;
6925 delete_wxPyCommandEvent(_arg0);
6926
6927 wxPy_END_ALLOW_THREADS;
6928 if (PyErr_Occurred()) return NULL;
6929 } Py_INCREF(Py_None);
6930 _resultobj = Py_None;
6931 return _resultobj;
6932 }
6933
6934 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6935 static PyObject *_wrap_wxPyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
6936 PyObject * _resultobj;
6937 wxPyCommandEvent * _arg0;
6938 PyObject * _arg1;
6939 PyObject * _argo0 = 0;
6940 PyObject * _obj1 = 0;
6941 char *_kwnames[] = { "self","self", NULL };
6942
6943 self = self;
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCommandEvent_SetSelf",_kwnames,&_argo0,&_obj1))
6945 return NULL;
6946 if (_argo0) {
6947 if (_argo0 == Py_None) { _arg0 = NULL; }
6948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
6949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
6950 return NULL;
6951 }
6952 }
6953 {
6954 _arg1 = _obj1;
6955 }
6956 {
6957 wxPy_BEGIN_ALLOW_THREADS;
6958 wxPyCommandEvent_SetSelf(_arg0,_arg1);
6959
6960 wxPy_END_ALLOW_THREADS;
6961 if (PyErr_Occurred()) return NULL;
6962 } Py_INCREF(Py_None);
6963 _resultobj = Py_None;
6964 return _resultobj;
6965 }
6966
6967 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6968 static PyObject *_wrap_wxPyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
6969 PyObject * _resultobj;
6970 PyObject * _result;
6971 wxPyCommandEvent * _arg0;
6972 PyObject * _argo0 = 0;
6973 char *_kwnames[] = { "self", NULL };
6974
6975 self = self;
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCommandEvent_GetSelf",_kwnames,&_argo0))
6977 return NULL;
6978 if (_argo0) {
6979 if (_argo0 == Py_None) { _arg0 = NULL; }
6980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
6981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
6982 return NULL;
6983 }
6984 }
6985 {
6986 wxPy_BEGIN_ALLOW_THREADS;
6987 _result = (PyObject *)wxPyCommandEvent_GetSelf(_arg0);
6988
6989 wxPy_END_ALLOW_THREADS;
6990 if (PyErr_Occurred()) return NULL;
6991 }{
6992 _resultobj = _result;
6993 }
6994 return _resultobj;
6995 }
6996
6997 static PyMethodDef eventscMethods[] = {
6998 { "wxPyCommandEvent_GetSelf", (PyCFunction) _wrap_wxPyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
6999 { "wxPyCommandEvent_SetSelf", (PyCFunction) _wrap_wxPyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
7000 { "delete_wxPyCommandEvent", (PyCFunction) _wrap_delete_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
7001 { "new_wxPyCommandEvent", (PyCFunction) _wrap_new_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
7002 { "wxPyEvent_GetSelf", (PyCFunction) _wrap_wxPyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
7003 { "wxPyEvent_SetSelf", (PyCFunction) _wrap_wxPyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
7004 { "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
7005 { "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
7006 { "wxTextUrlEvent_GetURLEnd", (PyCFunction) _wrap_wxTextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
7007 { "wxTextUrlEvent_GetURLStart", (PyCFunction) _wrap_wxTextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
7008 { "wxTextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_wxTextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
7009 { "new_wxTextUrlEvent", (PyCFunction) _wrap_new_wxTextUrlEvent, METH_VARARGS | METH_KEYWORDS },
7010 { "wxTimerEvent_GetInterval", (PyCFunction) _wrap_wxTimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
7011 { "new_wxTimerEvent", (PyCFunction) _wrap_new_wxTimerEvent, METH_VARARGS | METH_KEYWORDS },
7012 { "wxWindowDestroyEvent_GetWindow", (PyCFunction) _wrap_wxWindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
7013 { "new_wxWindowDestroyEvent", (PyCFunction) _wrap_new_wxWindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
7014 { "wxWindowCreateEvent_GetWindow", (PyCFunction) _wrap_wxWindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
7015 { "new_wxWindowCreateEvent", (PyCFunction) _wrap_new_wxWindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
7016 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
7017 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
7018 { "new_wxQueryNewPaletteEvent", (PyCFunction) _wrap_new_wxQueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
7019 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
7020 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
7021 { "new_wxPaletteChangedEvent", (PyCFunction) _wrap_new_wxPaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
7022 { "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
7023 { "wxNotifyEvent_Allow", (PyCFunction) _wrap_wxNotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
7024 { "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
7025 { "new_wxNotifyEvent", (PyCFunction) _wrap_new_wxNotifyEvent, METH_VARARGS | METH_KEYWORDS },
7026 { "new_wxSysColourChangedEvent", (PyCFunction) _wrap_new_wxSysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
7027 { "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
7028 { "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
7029 { "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
7030 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
7031 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
7032 { "wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
7033 { "wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
7034 { "wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
7035 { "wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
7036 { "new_wxUpdateUIEvent", (PyCFunction) _wrap_new_wxUpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
7037 { "wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
7038 { "wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
7039 { "new_wxIdleEvent", (PyCFunction) _wrap_new_wxIdleEvent, METH_VARARGS | METH_KEYWORDS },
7040 { "wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
7041 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
7042 { "wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
7043 { "wxJoystickEvent_ButtonIsDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
7044 { "wxJoystickEvent_ButtonUp", (PyCFunction) _wrap_wxJoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
7045 { "wxJoystickEvent_ButtonDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
7046 { "wxJoystickEvent_IsZMove", (PyCFunction) _wrap_wxJoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
7047 { "wxJoystickEvent_IsMove", (PyCFunction) _wrap_wxJoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
7048 { "wxJoystickEvent_IsButton", (PyCFunction) _wrap_wxJoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
7049 { "wxJoystickEvent_SetZPosition", (PyCFunction) _wrap_wxJoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
7050 { "wxJoystickEvent_SetPosition", (PyCFunction) _wrap_wxJoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
7051 { "wxJoystickEvent_SetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
7052 { "wxJoystickEvent_SetButtonState", (PyCFunction) _wrap_wxJoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
7053 { "wxJoystickEvent_SetJoystick", (PyCFunction) _wrap_wxJoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
7054 { "wxJoystickEvent_GetJoystick", (PyCFunction) _wrap_wxJoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
7055 { "wxJoystickEvent_GetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
7056 { "wxJoystickEvent_GetButtonState", (PyCFunction) _wrap_wxJoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
7057 { "wxJoystickEvent_GetZPosition", (PyCFunction) _wrap_wxJoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
7058 { "wxJoystickEvent_GetPosition", (PyCFunction) _wrap_wxJoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
7059 { "new_wxJoystickEvent", (PyCFunction) _wrap_new_wxJoystickEvent, METH_VARARGS | METH_KEYWORDS },
7060 { "new_wxMaximizeEvent", (PyCFunction) _wrap_new_wxMaximizeEvent, METH_VARARGS | METH_KEYWORDS },
7061 { "wxIconizeEvent_Iconized", (PyCFunction) _wrap_wxIconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
7062 { "new_wxIconizeEvent", (PyCFunction) _wrap_new_wxIconizeEvent, METH_VARARGS | METH_KEYWORDS },
7063 { "wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
7064 { "wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
7065 { "new_wxShowEvent", (PyCFunction) _wrap_new_wxShowEvent, METH_VARARGS | METH_KEYWORDS },
7066 { "wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
7067 { "new_wxMenuEvent", (PyCFunction) _wrap_new_wxMenuEvent, METH_VARARGS | METH_KEYWORDS },
7068 { "new_wxInitDialogEvent", (PyCFunction) _wrap_new_wxInitDialogEvent, METH_VARARGS | METH_KEYWORDS },
7069 { "wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
7070 { "new_wxActivateEvent", (PyCFunction) _wrap_new_wxActivateEvent, METH_VARARGS | METH_KEYWORDS },
7071 { "new_wxFocusEvent", (PyCFunction) _wrap_new_wxFocusEvent, METH_VARARGS | METH_KEYWORDS },
7072 { "wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
7073 { "new_wxEraseEvent", (PyCFunction) _wrap_new_wxEraseEvent, METH_VARARGS | METH_KEYWORDS },
7074 { "new_wxPaintEvent", (PyCFunction) _wrap_new_wxPaintEvent, METH_VARARGS | METH_KEYWORDS },
7075 { "wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
7076 { "new_wxMoveEvent", (PyCFunction) _wrap_new_wxMoveEvent, METH_VARARGS | METH_KEYWORDS },
7077 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
7078 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
7079 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
7080 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
7081 { "wxNavigationKeyEvent_SetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
7082 { "wxNavigationKeyEvent_GetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
7083 { "new_wxNavigationKeyEvent", (PyCFunction) _wrap_new_wxNavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
7084 { "wxKeyEvent_m_scanCode_get", (PyCFunction) _wrap_wxKeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
7085 { "wxKeyEvent_m_scanCode_set", (PyCFunction) _wrap_wxKeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
7086 { "wxKeyEvent_m_metaDown_get", (PyCFunction) _wrap_wxKeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
7087 { "wxKeyEvent_m_metaDown_set", (PyCFunction) _wrap_wxKeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
7088 { "wxKeyEvent_m_altDown_get", (PyCFunction) _wrap_wxKeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
7089 { "wxKeyEvent_m_altDown_set", (PyCFunction) _wrap_wxKeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
7090 { "wxKeyEvent_m_shiftDown_get", (PyCFunction) _wrap_wxKeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
7091 { "wxKeyEvent_m_shiftDown_set", (PyCFunction) _wrap_wxKeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
7092 { "wxKeyEvent_m_controlDown_get", (PyCFunction) _wrap_wxKeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
7093 { "wxKeyEvent_m_controlDown_set", (PyCFunction) _wrap_wxKeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
7094 { "wxKeyEvent_m_keyCode_get", (PyCFunction) _wrap_wxKeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
7095 { "wxKeyEvent_m_keyCode_set", (PyCFunction) _wrap_wxKeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
7096 { "wxKeyEvent_m_y_get", (PyCFunction) _wrap_wxKeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
7097 { "wxKeyEvent_m_y_set", (PyCFunction) _wrap_wxKeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
7098 { "wxKeyEvent_m_x_get", (PyCFunction) _wrap_wxKeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
7099 { "wxKeyEvent_m_x_set", (PyCFunction) _wrap_wxKeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
7100 { "wxKeyEvent_GetPositionTuple", (PyCFunction) _wrap_wxKeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
7101 { "wxKeyEvent_GetPosition", (PyCFunction) _wrap_wxKeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
7102 { "wxKeyEvent_GetY", (PyCFunction) _wrap_wxKeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
7103 { "wxKeyEvent_GetX", (PyCFunction) _wrap_wxKeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
7104 { "wxKeyEvent_HasModifiers", (PyCFunction) _wrap_wxKeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
7105 { "wxKeyEvent_GetKeyCode", (PyCFunction) _wrap_wxKeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
7106 { "wxKeyEvent_KeyCode", (PyCFunction) _wrap_wxKeyEvent_KeyCode, METH_VARARGS | METH_KEYWORDS },
7107 { "wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
7108 { "wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
7109 { "wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
7110 { "wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
7111 { "new_wxKeyEvent", (PyCFunction) _wrap_new_wxKeyEvent, METH_VARARGS | METH_KEYWORDS },
7112 { "wxMouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_wxMouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
7113 { "wxMouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_wxMouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
7114 { "wxMouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_wxMouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
7115 { "wxMouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_wxMouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
7116 { "wxMouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_wxMouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
7117 { "wxMouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_wxMouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
7118 { "wxMouseEvent_m_metaDown_get", (PyCFunction) _wrap_wxMouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
7119 { "wxMouseEvent_m_metaDown_set", (PyCFunction) _wrap_wxMouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
7120 { "wxMouseEvent_m_altDown_get", (PyCFunction) _wrap_wxMouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
7121 { "wxMouseEvent_m_altDown_set", (PyCFunction) _wrap_wxMouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
7122 { "wxMouseEvent_m_shiftDown_get", (PyCFunction) _wrap_wxMouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
7123 { "wxMouseEvent_m_shiftDown_set", (PyCFunction) _wrap_wxMouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
7124 { "wxMouseEvent_m_controlDown_get", (PyCFunction) _wrap_wxMouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
7125 { "wxMouseEvent_m_controlDown_set", (PyCFunction) _wrap_wxMouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
7126 { "wxMouseEvent_m_rightDown_get", (PyCFunction) _wrap_wxMouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
7127 { "wxMouseEvent_m_rightDown_set", (PyCFunction) _wrap_wxMouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
7128 { "wxMouseEvent_m_middleDown_get", (PyCFunction) _wrap_wxMouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
7129 { "wxMouseEvent_m_middleDown_set", (PyCFunction) _wrap_wxMouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
7130 { "wxMouseEvent_m_leftDown_get", (PyCFunction) _wrap_wxMouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
7131 { "wxMouseEvent_m_leftDown_set", (PyCFunction) _wrap_wxMouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
7132 { "wxMouseEvent_m_y_get", (PyCFunction) _wrap_wxMouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
7133 { "wxMouseEvent_m_y_set", (PyCFunction) _wrap_wxMouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
7134 { "wxMouseEvent_m_x_get", (PyCFunction) _wrap_wxMouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
7135 { "wxMouseEvent_m_x_set", (PyCFunction) _wrap_wxMouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
7136 { "wxMouseEvent_GetLinesPerAction", (PyCFunction) _wrap_wxMouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
7137 { "wxMouseEvent_GetWheelDelta", (PyCFunction) _wrap_wxMouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
7138 { "wxMouseEvent_GetWheelRotation", (PyCFunction) _wrap_wxMouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
7139 { "wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
7140 { "wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
7141 { "wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
7142 { "wxMouseEvent_GetPositionTuple", (PyCFunction) _wrap_wxMouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
7143 { "wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
7144 { "wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
7145 { "wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
7146 { "wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
7147 { "wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
7148 { "wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
7149 { "wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
7150 { "wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
7151 { "wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
7152 { "wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
7153 { "wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
7154 { "wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
7155 { "wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
7156 { "wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
7157 { "wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
7158 { "wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
7159 { "wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
7160 { "wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
7161 { "wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
7162 { "wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
7163 { "wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
7164 { "wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
7165 { "wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
7166 { "wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
7167 { "wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
7168 { "wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
7169 { "wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
7170 { "new_wxMouseEvent", (PyCFunction) _wrap_new_wxMouseEvent, METH_VARARGS | METH_KEYWORDS },
7171 { "new_wxSpinEvent", (PyCFunction) _wrap_new_wxSpinEvent, METH_VARARGS | METH_KEYWORDS },
7172 { "wxScrollWinEvent_GetPosition", (PyCFunction) _wrap_wxScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
7173 { "wxScrollWinEvent_GetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
7174 { "new_wxScrollWinEvent", (PyCFunction) _wrap_new_wxScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
7175 { "wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
7176 { "wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
7177 { "new_wxScrollEvent", (PyCFunction) _wrap_new_wxScrollEvent, METH_VARARGS | METH_KEYWORDS },
7178 { "wxCommandEvent_GetClientData", (PyCFunction) _wrap_wxCommandEvent_GetClientData, METH_VARARGS | METH_KEYWORDS },
7179 { "wxCommandEvent_SetInt", (PyCFunction) _wrap_wxCommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
7180 { "wxCommandEvent_SetExtraLong", (PyCFunction) _wrap_wxCommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
7181 { "wxCommandEvent_SetString", (PyCFunction) _wrap_wxCommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
7182 { "wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
7183 { "wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
7184 { "wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
7185 { "wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
7186 { "wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
7187 { "wxCommandEvent_Checked", (PyCFunction) _wrap_wxCommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
7188 { "wxCommandEvent_IsChecked", (PyCFunction) _wrap_wxCommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
7189 { "new_wxCommandEvent", (PyCFunction) _wrap_new_wxCommandEvent, METH_VARARGS | METH_KEYWORDS },
7190 { "wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
7191 { "wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
7192 { "wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
7193 { "wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
7194 { "wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
7195 { "wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
7196 { "new_wxCloseEvent", (PyCFunction) _wrap_new_wxCloseEvent, METH_VARARGS | METH_KEYWORDS },
7197 { "wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
7198 { "new_wxSizeEvent", (PyCFunction) _wrap_new_wxSizeEvent, METH_VARARGS | METH_KEYWORDS },
7199 { "wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS },
7200 { "wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
7201 { "wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS },
7202 { "wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS },
7203 { "wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS },
7204 { "wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
7205 { "wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS },
7206 { "wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS },
7207 { "wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS },
7208 { "wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS },
7209 { "delete_wxEvent", (PyCFunction) _wrap_delete_wxEvent, METH_VARARGS | METH_KEYWORDS },
7210 { "new_wxEvent", (PyCFunction) _wrap_new_wxEvent, METH_VARARGS | METH_KEYWORDS },
7211 { "wxNewEventType", (PyCFunction) _wrap_wxNewEventType, METH_VARARGS | METH_KEYWORDS },
7212 { NULL, NULL }
7213 };
7214 #ifdef __cplusplus
7215 }
7216 #endif
7217 /*
7218 * This table is used by the pointer type-checker
7219 */
7220 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
7221 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
7222 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
7223 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
7224 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
7225 { "_wxEvent","_class_wxTextUrlEvent",SwigwxTextUrlEventTowxEvent},
7226 { "_wxEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxEvent},
7227 { "_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent},
7228 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent},
7229 { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
7230 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
7231 { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
7232 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
7233 { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
7234 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
7235 { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
7236 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
7237 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
7238 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
7239 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
7240 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
7241 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
7242 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
7243 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
7244 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
7245 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
7246 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
7247 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
7248 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
7249 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
7250 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
7251 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
7252 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
7253 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
7254 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
7255 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
7256 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
7257 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
7258 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
7259 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
7260 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
7261 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
7262 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
7263 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
7264 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
7265 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
7266 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
7267 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
7268 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
7269 { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
7270 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
7271 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
7272 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
7273 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
7274 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
7275 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
7276 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
7277 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
7278 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
7279 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
7280 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
7281 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
7282 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
7283 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
7284 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
7285 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
7286 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
7287 { "_signed_long","_long",0},
7288 { "_wxPrintQuality","_wxCoord",0},
7289 { "_wxPrintQuality","_int",0},
7290 { "_wxPrintQuality","_signed_int",0},
7291 { "_wxPrintQuality","_unsigned_int",0},
7292 { "_wxPrintQuality","_wxWindowID",0},
7293 { "_wxPrintQuality","_uint",0},
7294 { "_wxPrintQuality","_EBool",0},
7295 { "_wxPrintQuality","_size_t",0},
7296 { "_wxPrintQuality","_time_t",0},
7297 { "_byte","_unsigned_char",0},
7298 { "_long","_unsigned_long",0},
7299 { "_long","_signed_long",0},
7300 { "_class_wxObject","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxObject},
7301 { "_class_wxObject","_wxPyCommandEvent",SwigwxPyCommandEventTowxObject},
7302 { "_class_wxObject","_class_wxPyEvent",SwigwxPyEventTowxObject},
7303 { "_class_wxObject","_wxPyEvent",SwigwxPyEventTowxObject},
7304 { "_class_wxObject","_class_wxTextUrlEvent",SwigwxTextUrlEventTowxObject},
7305 { "_class_wxObject","_wxTextUrlEvent",SwigwxTextUrlEventTowxObject},
7306 { "_class_wxObject","_class_wxTimerEvent",SwigwxTimerEventTowxObject},
7307 { "_class_wxObject","_wxTimerEvent",SwigwxTimerEventTowxObject},
7308 { "_class_wxObject","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject},
7309 { "_class_wxObject","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject},
7310 { "_class_wxObject","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject},
7311 { "_class_wxObject","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject},
7312 { "_class_wxObject","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject},
7313 { "_class_wxObject","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject},
7314 { "_class_wxObject","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject},
7315 { "_class_wxObject","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject},
7316 { "_class_wxObject","_class_wxNotifyEvent",SwigwxNotifyEventTowxObject},
7317 { "_class_wxObject","_wxNotifyEvent",SwigwxNotifyEventTowxObject},
7318 { "_class_wxObject","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject},
7319 { "_class_wxObject","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject},
7320 { "_class_wxObject","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject},
7321 { "_class_wxObject","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject},
7322 { "_class_wxObject","_class_wxIdleEvent",SwigwxIdleEventTowxObject},
7323 { "_class_wxObject","_wxIdleEvent",SwigwxIdleEventTowxObject},
7324 { "_class_wxObject","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxObject},
7325 { "_class_wxObject","_wxDropFilesEvent",SwigwxDropFilesEventTowxObject},
7326 { "_class_wxObject","_class_wxJoystickEvent",SwigwxJoystickEventTowxObject},
7327 { "_class_wxObject","_wxJoystickEvent",SwigwxJoystickEventTowxObject},
7328 { "_class_wxObject","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxObject},
7329 { "_class_wxObject","_wxMaximizeEvent",SwigwxMaximizeEventTowxObject},
7330 { "_class_wxObject","_class_wxIconizeEvent",SwigwxIconizeEventTowxObject},
7331 { "_class_wxObject","_wxIconizeEvent",SwigwxIconizeEventTowxObject},
7332 { "_class_wxObject","_class_wxShowEvent",SwigwxShowEventTowxObject},
7333 { "_class_wxObject","_wxShowEvent",SwigwxShowEventTowxObject},
7334 { "_class_wxObject","_class_wxMenuEvent",SwigwxMenuEventTowxObject},
7335 { "_class_wxObject","_wxMenuEvent",SwigwxMenuEventTowxObject},
7336 { "_class_wxObject","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxObject},
7337 { "_class_wxObject","_wxInitDialogEvent",SwigwxInitDialogEventTowxObject},
7338 { "_class_wxObject","_class_wxActivateEvent",SwigwxActivateEventTowxObject},
7339 { "_class_wxObject","_wxActivateEvent",SwigwxActivateEventTowxObject},
7340 { "_class_wxObject","_class_wxFocusEvent",SwigwxFocusEventTowxObject},
7341 { "_class_wxObject","_wxFocusEvent",SwigwxFocusEventTowxObject},
7342 { "_class_wxObject","_class_wxEraseEvent",SwigwxEraseEventTowxObject},
7343 { "_class_wxObject","_wxEraseEvent",SwigwxEraseEventTowxObject},
7344 { "_class_wxObject","_class_wxPaintEvent",SwigwxPaintEventTowxObject},
7345 { "_class_wxObject","_wxPaintEvent",SwigwxPaintEventTowxObject},
7346 { "_class_wxObject","_class_wxMoveEvent",SwigwxMoveEventTowxObject},
7347 { "_class_wxObject","_wxMoveEvent",SwigwxMoveEventTowxObject},
7348 { "_class_wxObject","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject},
7349 { "_class_wxObject","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject},
7350 { "_class_wxObject","_class_wxKeyEvent",SwigwxKeyEventTowxObject},
7351 { "_class_wxObject","_wxKeyEvent",SwigwxKeyEventTowxObject},
7352 { "_class_wxObject","_class_wxMouseEvent",SwigwxMouseEventTowxObject},
7353 { "_class_wxObject","_wxMouseEvent",SwigwxMouseEventTowxObject},
7354 { "_class_wxObject","_class_wxSpinEvent",SwigwxSpinEventTowxObject},
7355 { "_class_wxObject","_wxSpinEvent",SwigwxSpinEventTowxObject},
7356 { "_class_wxObject","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxObject},
7357 { "_class_wxObject","_wxScrollWinEvent",SwigwxScrollWinEventTowxObject},
7358 { "_class_wxObject","_class_wxScrollEvent",SwigwxScrollEventTowxObject},
7359 { "_class_wxObject","_wxScrollEvent",SwigwxScrollEventTowxObject},
7360 { "_class_wxObject","_class_wxCommandEvent",SwigwxCommandEventTowxObject},
7361 { "_class_wxObject","_wxCommandEvent",SwigwxCommandEventTowxObject},
7362 { "_class_wxObject","_class_wxCloseEvent",SwigwxCloseEventTowxObject},
7363 { "_class_wxObject","_wxCloseEvent",SwigwxCloseEventTowxObject},
7364 { "_class_wxObject","_class_wxSizeEvent",SwigwxSizeEventTowxObject},
7365 { "_class_wxObject","_wxSizeEvent",SwigwxSizeEventTowxObject},
7366 { "_class_wxObject","_class_wxEvent",SwigwxEventTowxObject},
7367 { "_class_wxObject","_wxEvent",SwigwxEventTowxObject},
7368 { "_size_t","_wxCoord",0},
7369 { "_size_t","_wxPrintQuality",0},
7370 { "_size_t","_time_t",0},
7371 { "_size_t","_unsigned_int",0},
7372 { "_size_t","_int",0},
7373 { "_size_t","_wxWindowID",0},
7374 { "_size_t","_uint",0},
7375 { "_uint","_wxCoord",0},
7376 { "_uint","_wxPrintQuality",0},
7377 { "_uint","_time_t",0},
7378 { "_uint","_size_t",0},
7379 { "_uint","_unsigned_int",0},
7380 { "_uint","_int",0},
7381 { "_uint","_wxWindowID",0},
7382 { "_wxChar","_char",0},
7383 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
7384 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
7385 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
7386 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
7387 { "_class_wxEvent","_class_wxTextUrlEvent",SwigwxTextUrlEventTowxEvent},
7388 { "_class_wxEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxEvent},
7389 { "_class_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent},
7390 { "_class_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent},
7391 { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
7392 { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
7393 { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
7394 { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
7395 { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
7396 { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
7397 { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
7398 { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
7399 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
7400 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
7401 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
7402 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
7403 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
7404 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
7405 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
7406 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
7407 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
7408 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
7409 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
7410 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
7411 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
7412 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
7413 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
7414 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
7415 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
7416 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
7417 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
7418 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
7419 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
7420 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
7421 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
7422 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
7423 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
7424 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
7425 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
7426 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
7427 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
7428 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
7429 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
7430 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
7431 { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
7432 { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
7433 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
7434 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
7435 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
7436 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
7437 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
7438 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
7439 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
7440 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
7441 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
7442 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
7443 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
7444 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
7445 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
7446 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
7447 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
7448 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
7449 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
7450 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
7451 { "_wxCommandEvent","_class_wxTextUrlEvent",SwigwxTextUrlEventTowxCommandEvent},
7452 { "_wxCommandEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxCommandEvent},
7453 { "_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent},
7454 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent},
7455 { "_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent},
7456 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent},
7457 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
7458 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
7459 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
7460 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
7461 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
7462 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
7463 { "_char","_wxChar",0},
7464 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7465 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
7466 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
7467 { "_EBool","_wxCoord",0},
7468 { "_EBool","_wxPrintQuality",0},
7469 { "_EBool","_signed_int",0},
7470 { "_EBool","_int",0},
7471 { "_EBool","_wxWindowID",0},
7472 { "_unsigned_long","_long",0},
7473 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7474 { "_signed_int","_wxCoord",0},
7475 { "_signed_int","_wxPrintQuality",0},
7476 { "_signed_int","_EBool",0},
7477 { "_signed_int","_wxWindowID",0},
7478 { "_signed_int","_int",0},
7479 { "_WXTYPE","_short",0},
7480 { "_WXTYPE","_signed_short",0},
7481 { "_WXTYPE","_unsigned_short",0},
7482 { "_unsigned_short","_WXTYPE",0},
7483 { "_unsigned_short","_short",0},
7484 { "_wxObject","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxObject},
7485 { "_wxObject","_wxPyCommandEvent",SwigwxPyCommandEventTowxObject},
7486 { "_wxObject","_class_wxPyEvent",SwigwxPyEventTowxObject},
7487 { "_wxObject","_wxPyEvent",SwigwxPyEventTowxObject},
7488 { "_wxObject","_class_wxTextUrlEvent",SwigwxTextUrlEventTowxObject},
7489 { "_wxObject","_wxTextUrlEvent",SwigwxTextUrlEventTowxObject},
7490 { "_wxObject","_class_wxTimerEvent",SwigwxTimerEventTowxObject},
7491 { "_wxObject","_wxTimerEvent",SwigwxTimerEventTowxObject},
7492 { "_wxObject","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject},
7493 { "_wxObject","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject},
7494 { "_wxObject","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject},
7495 { "_wxObject","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject},
7496 { "_wxObject","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject},
7497 { "_wxObject","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject},
7498 { "_wxObject","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject},
7499 { "_wxObject","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject},
7500 { "_wxObject","_class_wxNotifyEvent",SwigwxNotifyEventTowxObject},
7501 { "_wxObject","_wxNotifyEvent",SwigwxNotifyEventTowxObject},
7502 { "_wxObject","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject},
7503 { "_wxObject","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject},
7504 { "_wxObject","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject},
7505 { "_wxObject","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject},
7506 { "_wxObject","_class_wxIdleEvent",SwigwxIdleEventTowxObject},
7507 { "_wxObject","_wxIdleEvent",SwigwxIdleEventTowxObject},
7508 { "_wxObject","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxObject},
7509 { "_wxObject","_wxDropFilesEvent",SwigwxDropFilesEventTowxObject},
7510 { "_wxObject","_class_wxJoystickEvent",SwigwxJoystickEventTowxObject},
7511 { "_wxObject","_wxJoystickEvent",SwigwxJoystickEventTowxObject},
7512 { "_wxObject","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxObject},
7513 { "_wxObject","_wxMaximizeEvent",SwigwxMaximizeEventTowxObject},
7514 { "_wxObject","_class_wxIconizeEvent",SwigwxIconizeEventTowxObject},
7515 { "_wxObject","_wxIconizeEvent",SwigwxIconizeEventTowxObject},
7516 { "_wxObject","_class_wxShowEvent",SwigwxShowEventTowxObject},
7517 { "_wxObject","_wxShowEvent",SwigwxShowEventTowxObject},
7518 { "_wxObject","_class_wxMenuEvent",SwigwxMenuEventTowxObject},
7519 { "_wxObject","_wxMenuEvent",SwigwxMenuEventTowxObject},
7520 { "_wxObject","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxObject},
7521 { "_wxObject","_wxInitDialogEvent",SwigwxInitDialogEventTowxObject},
7522 { "_wxObject","_class_wxActivateEvent",SwigwxActivateEventTowxObject},
7523 { "_wxObject","_wxActivateEvent",SwigwxActivateEventTowxObject},
7524 { "_wxObject","_class_wxFocusEvent",SwigwxFocusEventTowxObject},
7525 { "_wxObject","_wxFocusEvent",SwigwxFocusEventTowxObject},
7526 { "_wxObject","_class_wxEraseEvent",SwigwxEraseEventTowxObject},
7527 { "_wxObject","_wxEraseEvent",SwigwxEraseEventTowxObject},
7528 { "_wxObject","_class_wxPaintEvent",SwigwxPaintEventTowxObject},
7529 { "_wxObject","_wxPaintEvent",SwigwxPaintEventTowxObject},
7530 { "_wxObject","_class_wxMoveEvent",SwigwxMoveEventTowxObject},
7531 { "_wxObject","_wxMoveEvent",SwigwxMoveEventTowxObject},
7532 { "_wxObject","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject},
7533 { "_wxObject","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject},
7534 { "_wxObject","_class_wxKeyEvent",SwigwxKeyEventTowxObject},
7535 { "_wxObject","_wxKeyEvent",SwigwxKeyEventTowxObject},
7536 { "_wxObject","_class_wxMouseEvent",SwigwxMouseEventTowxObject},
7537 { "_wxObject","_wxMouseEvent",SwigwxMouseEventTowxObject},
7538 { "_wxObject","_class_wxSpinEvent",SwigwxSpinEventTowxObject},
7539 { "_wxObject","_wxSpinEvent",SwigwxSpinEventTowxObject},
7540 { "_wxObject","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxObject},
7541 { "_wxObject","_wxScrollWinEvent",SwigwxScrollWinEventTowxObject},
7542 { "_wxObject","_class_wxScrollEvent",SwigwxScrollEventTowxObject},
7543 { "_wxObject","_wxScrollEvent",SwigwxScrollEventTowxObject},
7544 { "_wxObject","_class_wxCommandEvent",SwigwxCommandEventTowxObject},
7545 { "_wxObject","_wxCommandEvent",SwigwxCommandEventTowxObject},
7546 { "_wxObject","_class_wxCloseEvent",SwigwxCloseEventTowxObject},
7547 { "_wxObject","_wxCloseEvent",SwigwxCloseEventTowxObject},
7548 { "_wxObject","_class_wxSizeEvent",SwigwxSizeEventTowxObject},
7549 { "_wxObject","_wxSizeEvent",SwigwxSizeEventTowxObject},
7550 { "_wxObject","_class_wxEvent",SwigwxEventTowxObject},
7551 { "_wxObject","_wxEvent",SwigwxEventTowxObject},
7552 { "_signed_short","_WXTYPE",0},
7553 { "_signed_short","_short",0},
7554 { "_unsigned_char","_byte",0},
7555 { "_unsigned_int","_wxCoord",0},
7556 { "_unsigned_int","_wxPrintQuality",0},
7557 { "_unsigned_int","_time_t",0},
7558 { "_unsigned_int","_size_t",0},
7559 { "_unsigned_int","_uint",0},
7560 { "_unsigned_int","_wxWindowID",0},
7561 { "_unsigned_int","_int",0},
7562 { "_short","_WXTYPE",0},
7563 { "_short","_unsigned_short",0},
7564 { "_short","_signed_short",0},
7565 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
7566 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
7567 { "_wxWindowID","_wxCoord",0},
7568 { "_wxWindowID","_wxPrintQuality",0},
7569 { "_wxWindowID","_time_t",0},
7570 { "_wxWindowID","_size_t",0},
7571 { "_wxWindowID","_EBool",0},
7572 { "_wxWindowID","_uint",0},
7573 { "_wxWindowID","_int",0},
7574 { "_wxWindowID","_signed_int",0},
7575 { "_wxWindowID","_unsigned_int",0},
7576 { "_int","_wxCoord",0},
7577 { "_int","_wxPrintQuality",0},
7578 { "_int","_time_t",0},
7579 { "_int","_size_t",0},
7580 { "_int","_EBool",0},
7581 { "_int","_uint",0},
7582 { "_int","_wxWindowID",0},
7583 { "_int","_unsigned_int",0},
7584 { "_int","_signed_int",0},
7585 { "_time_t","_wxCoord",0},
7586 { "_time_t","_wxPrintQuality",0},
7587 { "_time_t","_unsigned_int",0},
7588 { "_time_t","_int",0},
7589 { "_time_t","_wxWindowID",0},
7590 { "_time_t","_uint",0},
7591 { "_time_t","_size_t",0},
7592 { "_wxCoord","_int",0},
7593 { "_wxCoord","_signed_int",0},
7594 { "_wxCoord","_unsigned_int",0},
7595 { "_wxCoord","_wxWindowID",0},
7596 { "_wxCoord","_uint",0},
7597 { "_wxCoord","_EBool",0},
7598 { "_wxCoord","_size_t",0},
7599 { "_wxCoord","_time_t",0},
7600 { "_wxCoord","_wxPrintQuality",0},
7601 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
7602 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
7603 { "_class_wxCommandEvent","_class_wxTextUrlEvent",SwigwxTextUrlEventTowxCommandEvent},
7604 { "_class_wxCommandEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxCommandEvent},
7605 { "_class_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent},
7606 { "_class_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent},
7607 { "_class_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent},
7608 { "_class_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent},
7609 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
7610 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
7611 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
7612 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
7613 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
7614 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
7615 {0,0,0}};
7616
7617 static PyObject *SWIG_globals;
7618 #ifdef __cplusplus
7619 extern "C"
7620 #endif
7621 SWIGEXPORT(void) initeventsc() {
7622 PyObject *m, *d;
7623 SWIG_globals = SWIG_newvarlink();
7624 m = Py_InitModule("eventsc", eventscMethods);
7625 d = PyModule_GetDict(m);
7626 {
7627 int i;
7628 for (i = 0; _swig_mapping[i].n1; i++)
7629 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
7630 }
7631 }