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