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