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