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