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