]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/events.cpp
New wxHtml stuff, including a TagHandler for placing wxPython widgets
[wxWidgets.git] / utils / wxPython / src / msw / events.cpp
1 /*
2 * FILE : msw/events.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initeventsc
53
54 #define SWIG_name "eventsc"
55
56 #include "helpers.h"
57 #include <wx/spinbutt.h>
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 PyObject* o3;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106
107 HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
108 HELPEREXPORT int* int_LIST_helper(PyObject* source);
109 HELPEREXPORT long* long_LIST_helper(PyObject* source);
110 HELPEREXPORT char** string_LIST_helper(PyObject* source);
111 HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
112 HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
113 HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
114 HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
115
116
117 static char* wxStringErrorMsg = "string type is required for parameter";
118 #ifdef __cplusplus
119 extern "C" {
120 #endif
121 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
122 static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
123 PyObject * _resultobj;
124 wxObject * _result;
125 wxEvent * _arg0;
126 PyObject * _argo0 = 0;
127 char *_kwnames[] = { "self", NULL };
128 char _ptemp[128];
129
130 self = self;
131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventObject",_kwnames,&_argo0))
132 return NULL;
133 if (_argo0) {
134 if (_argo0 == Py_None) { _arg0 = NULL; }
135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
137 return NULL;
138 }
139 }
140 {
141 wxPy_BEGIN_ALLOW_THREADS;
142 _result = (wxObject *)wxEvent_GetEventObject(_arg0);
143
144 wxPy_END_ALLOW_THREADS;
145 } if (_result) {
146 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
147 _resultobj = Py_BuildValue("s",_ptemp);
148 } else {
149 Py_INCREF(Py_None);
150 _resultobj = Py_None;
151 }
152 return _resultobj;
153 }
154
155 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
156 static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
157 PyObject * _resultobj;
158 wxEventType _result;
159 wxEvent * _arg0;
160 PyObject * _argo0 = 0;
161 char *_kwnames[] = { "self", NULL };
162
163 self = self;
164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventType",_kwnames,&_argo0))
165 return NULL;
166 if (_argo0) {
167 if (_argo0 == Py_None) { _arg0 = NULL; }
168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
170 return NULL;
171 }
172 }
173 {
174 wxPy_BEGIN_ALLOW_THREADS;
175 _result = (wxEventType )wxEvent_GetEventType(_arg0);
176
177 wxPy_END_ALLOW_THREADS;
178 } _resultobj = Py_BuildValue("i",_result);
179 return _resultobj;
180 }
181
182 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
183 static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
184 PyObject * _resultobj;
185 int _result;
186 wxEvent * _arg0;
187 PyObject * _argo0 = 0;
188 char *_kwnames[] = { "self", NULL };
189
190 self = self;
191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetId",_kwnames,&_argo0))
192 return NULL;
193 if (_argo0) {
194 if (_argo0 == Py_None) { _arg0 = NULL; }
195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
197 return NULL;
198 }
199 }
200 {
201 wxPy_BEGIN_ALLOW_THREADS;
202 _result = (int )wxEvent_GetId(_arg0);
203
204 wxPy_END_ALLOW_THREADS;
205 } _resultobj = Py_BuildValue("i",_result);
206 return _resultobj;
207 }
208
209 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
210 static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
211 PyObject * _resultobj;
212 bool _result;
213 wxEvent * _arg0;
214 PyObject * _argo0 = 0;
215 char *_kwnames[] = { "self", NULL };
216
217 self = self;
218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetSkipped",_kwnames,&_argo0))
219 return NULL;
220 if (_argo0) {
221 if (_argo0 == Py_None) { _arg0 = NULL; }
222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
224 return NULL;
225 }
226 }
227 {
228 wxPy_BEGIN_ALLOW_THREADS;
229 _result = (bool )wxEvent_GetSkipped(_arg0);
230
231 wxPy_END_ALLOW_THREADS;
232 } _resultobj = Py_BuildValue("i",_result);
233 return _resultobj;
234 }
235
236 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
237 static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
238 PyObject * _resultobj;
239 long _result;
240 wxEvent * _arg0;
241 PyObject * _argo0 = 0;
242 char *_kwnames[] = { "self", NULL };
243
244 self = self;
245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetTimestamp",_kwnames,&_argo0))
246 return NULL;
247 if (_argo0) {
248 if (_argo0 == Py_None) { _arg0 = NULL; }
249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
251 return NULL;
252 }
253 }
254 {
255 wxPy_BEGIN_ALLOW_THREADS;
256 _result = (long )wxEvent_GetTimestamp(_arg0);
257
258 wxPy_END_ALLOW_THREADS;
259 } _resultobj = Py_BuildValue("l",_result);
260 return _resultobj;
261 }
262
263 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
264 static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
265 PyObject * _resultobj;
266 wxEvent * _arg0;
267 wxObject * _arg1;
268 PyObject * _argo0 = 0;
269 PyObject * _argo1 = 0;
270 char *_kwnames[] = { "self","object", NULL };
271
272 self = self;
273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvent_SetEventObject",_kwnames,&_argo0,&_argo1))
274 return NULL;
275 if (_argo0) {
276 if (_argo0 == Py_None) { _arg0 = NULL; }
277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
279 return NULL;
280 }
281 }
282 if (_argo1) {
283 if (_argo1 == Py_None) { _arg1 = NULL; }
284 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
285 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
286 return NULL;
287 }
288 }
289 {
290 wxPy_BEGIN_ALLOW_THREADS;
291 wxEvent_SetEventObject(_arg0,_arg1);
292
293 wxPy_END_ALLOW_THREADS;
294 } Py_INCREF(Py_None);
295 _resultobj = Py_None;
296 return _resultobj;
297 }
298
299 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
300 static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
301 PyObject * _resultobj;
302 wxEvent * _arg0;
303 wxEventType _arg1;
304 PyObject * _argo0 = 0;
305 char *_kwnames[] = { "self","typ", NULL };
306
307 self = self;
308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetEventType",_kwnames,&_argo0,&_arg1))
309 return NULL;
310 if (_argo0) {
311 if (_argo0 == Py_None) { _arg0 = NULL; }
312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
314 return NULL;
315 }
316 }
317 {
318 wxPy_BEGIN_ALLOW_THREADS;
319 wxEvent_SetEventType(_arg0,_arg1);
320
321 wxPy_END_ALLOW_THREADS;
322 } Py_INCREF(Py_None);
323 _resultobj = Py_None;
324 return _resultobj;
325 }
326
327 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
328 static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
329 PyObject * _resultobj;
330 wxEvent * _arg0;
331 int _arg1;
332 PyObject * _argo0 = 0;
333 char *_kwnames[] = { "self","id", NULL };
334
335 self = self;
336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetId",_kwnames,&_argo0,&_arg1))
337 return NULL;
338 if (_argo0) {
339 if (_argo0 == Py_None) { _arg0 = NULL; }
340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
342 return NULL;
343 }
344 }
345 {
346 wxPy_BEGIN_ALLOW_THREADS;
347 wxEvent_SetId(_arg0,_arg1);
348
349 wxPy_END_ALLOW_THREADS;
350 } Py_INCREF(Py_None);
351 _resultobj = Py_None;
352 return _resultobj;
353 }
354
355 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
356 static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
357 PyObject * _resultobj;
358 wxEvent * _arg0;
359 long _arg1;
360 PyObject * _argo0 = 0;
361 char *_kwnames[] = { "self","timeStamp", NULL };
362
363 self = self;
364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxEvent_SetTimestamp",_kwnames,&_argo0,&_arg1))
365 return NULL;
366 if (_argo0) {
367 if (_argo0 == Py_None) { _arg0 = NULL; }
368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
370 return NULL;
371 }
372 }
373 {
374 wxPy_BEGIN_ALLOW_THREADS;
375 wxEvent_SetTimestamp(_arg0,_arg1);
376
377 wxPy_END_ALLOW_THREADS;
378 } Py_INCREF(Py_None);
379 _resultobj = Py_None;
380 return _resultobj;
381 }
382
383 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
384 static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
385 PyObject * _resultobj;
386 wxEvent * _arg0;
387 bool _arg1 = (bool ) TRUE;
388 PyObject * _argo0 = 0;
389 int tempbool1 = (int) TRUE;
390 char *_kwnames[] = { "self","skip", NULL };
391
392 self = self;
393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxEvent_Skip",_kwnames,&_argo0,&tempbool1))
394 return NULL;
395 if (_argo0) {
396 if (_argo0 == Py_None) { _arg0 = NULL; }
397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
399 return NULL;
400 }
401 }
402 _arg1 = (bool ) tempbool1;
403 {
404 wxPy_BEGIN_ALLOW_THREADS;
405 wxEvent_Skip(_arg0,_arg1);
406
407 wxPy_END_ALLOW_THREADS;
408 } Py_INCREF(Py_None);
409 _resultobj = Py_None;
410 return _resultobj;
411 }
412
413 static void *SwigwxSizeEventTowxEvent(void *ptr) {
414 wxSizeEvent *src;
415 wxEvent *dest;
416 src = (wxSizeEvent *) ptr;
417 dest = (wxEvent *) src;
418 return (void *) dest;
419 }
420
421 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
422 static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
423 PyObject * _resultobj;
424 wxSize * _result;
425 wxSizeEvent * _arg0;
426 PyObject * _argo0 = 0;
427 char *_kwnames[] = { "self", NULL };
428 char _ptemp[128];
429
430 self = self;
431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizeEvent_GetSize",_kwnames,&_argo0))
432 return NULL;
433 if (_argo0) {
434 if (_argo0 == Py_None) { _arg0 = NULL; }
435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizeEvent_p")) {
436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
437 return NULL;
438 }
439 }
440 {
441 wxPy_BEGIN_ALLOW_THREADS;
442 _result = new wxSize (wxSizeEvent_GetSize(_arg0));
443
444 wxPy_END_ALLOW_THREADS;
445 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
446 _resultobj = Py_BuildValue("s",_ptemp);
447 return _resultobj;
448 }
449
450 static void *SwigwxCloseEventTowxEvent(void *ptr) {
451 wxCloseEvent *src;
452 wxEvent *dest;
453 src = (wxCloseEvent *) ptr;
454 dest = (wxEvent *) src;
455 return (void *) dest;
456 }
457
458 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
459 static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
460 PyObject * _resultobj;
461 wxCloseEvent * _arg0;
462 bool _arg1;
463 PyObject * _argo0 = 0;
464 int tempbool1;
465 char *_kwnames[] = { "self","loggingOff", NULL };
466
467 self = self;
468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetLoggingOff",_kwnames,&_argo0,&tempbool1))
469 return NULL;
470 if (_argo0) {
471 if (_argo0 == Py_None) { _arg0 = NULL; }
472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
474 return NULL;
475 }
476 }
477 _arg1 = (bool ) tempbool1;
478 {
479 wxPy_BEGIN_ALLOW_THREADS;
480 wxCloseEvent_SetLoggingOff(_arg0,_arg1);
481
482 wxPy_END_ALLOW_THREADS;
483 } Py_INCREF(Py_None);
484 _resultobj = Py_None;
485 return _resultobj;
486 }
487
488 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
489 static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
490 PyObject * _resultobj;
491 bool _result;
492 wxCloseEvent * _arg0;
493 PyObject * _argo0 = 0;
494 char *_kwnames[] = { "self", NULL };
495
496 self = self;
497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetLoggingOff",_kwnames,&_argo0))
498 return NULL;
499 if (_argo0) {
500 if (_argo0 == Py_None) { _arg0 = NULL; }
501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
503 return NULL;
504 }
505 }
506 {
507 wxPy_BEGIN_ALLOW_THREADS;
508 _result = (bool )wxCloseEvent_GetLoggingOff(_arg0);
509
510 wxPy_END_ALLOW_THREADS;
511 } _resultobj = Py_BuildValue("i",_result);
512 return _resultobj;
513 }
514
515 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
516 static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
517 PyObject * _resultobj;
518 wxCloseEvent * _arg0;
519 bool _arg1 = (bool ) TRUE;
520 PyObject * _argo0 = 0;
521 int tempbool1 = (int) TRUE;
522 char *_kwnames[] = { "self","veto", NULL };
523
524 self = self;
525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCloseEvent_Veto",_kwnames,&_argo0,&tempbool1))
526 return NULL;
527 if (_argo0) {
528 if (_argo0 == Py_None) { _arg0 = NULL; }
529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
531 return NULL;
532 }
533 }
534 _arg1 = (bool ) tempbool1;
535 {
536 wxPy_BEGIN_ALLOW_THREADS;
537 wxCloseEvent_Veto(_arg0,_arg1);
538
539 wxPy_END_ALLOW_THREADS;
540 } Py_INCREF(Py_None);
541 _resultobj = Py_None;
542 return _resultobj;
543 }
544
545 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
546 static PyObject *_wrap_wxCloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
547 PyObject * _resultobj;
548 bool _result;
549 wxCloseEvent * _arg0;
550 PyObject * _argo0 = 0;
551 char *_kwnames[] = { "self", NULL };
552
553 self = self;
554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_CanVeto",_kwnames,&_argo0))
555 return NULL;
556 if (_argo0) {
557 if (_argo0 == Py_None) { _arg0 = NULL; }
558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
560 return NULL;
561 }
562 }
563 {
564 wxPy_BEGIN_ALLOW_THREADS;
565 _result = (bool )wxCloseEvent_CanVeto(_arg0);
566
567 wxPy_END_ALLOW_THREADS;
568 } _resultobj = Py_BuildValue("i",_result);
569 return _resultobj;
570 }
571
572 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
573 static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
574 PyObject * _resultobj;
575 bool _result;
576 wxCloseEvent * _arg0;
577 PyObject * _argo0 = 0;
578 char *_kwnames[] = { "self", NULL };
579
580 self = self;
581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetVeto",_kwnames,&_argo0))
582 return NULL;
583 if (_argo0) {
584 if (_argo0 == Py_None) { _arg0 = NULL; }
585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
587 return NULL;
588 }
589 }
590 {
591 wxPy_BEGIN_ALLOW_THREADS;
592 _result = (bool )wxCloseEvent_GetVeto(_arg0);
593
594 wxPy_END_ALLOW_THREADS;
595 } _resultobj = Py_BuildValue("i",_result);
596 return _resultobj;
597 }
598
599 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
600 static PyObject *_wrap_wxCloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
601 PyObject * _resultobj;
602 wxCloseEvent * _arg0;
603 bool _arg1;
604 PyObject * _argo0 = 0;
605 int tempbool1;
606 char *_kwnames[] = { "self","canVeto", NULL };
607
608 self = self;
609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetCanVeto",_kwnames,&_argo0,&tempbool1))
610 return NULL;
611 if (_argo0) {
612 if (_argo0 == Py_None) { _arg0 = NULL; }
613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
615 return NULL;
616 }
617 }
618 _arg1 = (bool ) tempbool1;
619 {
620 wxPy_BEGIN_ALLOW_THREADS;
621 wxCloseEvent_SetCanVeto(_arg0,_arg1);
622
623 wxPy_END_ALLOW_THREADS;
624 } Py_INCREF(Py_None);
625 _resultobj = Py_None;
626 return _resultobj;
627 }
628
629 static void *SwigwxCommandEventTowxEvent(void *ptr) {
630 wxCommandEvent *src;
631 wxEvent *dest;
632 src = (wxCommandEvent *) ptr;
633 dest = (wxEvent *) src;
634 return (void *) dest;
635 }
636
637 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
638 static PyObject *_wrap_wxCommandEvent_Checked(PyObject *self, PyObject *args, PyObject *kwargs) {
639 PyObject * _resultobj;
640 bool _result;
641 wxCommandEvent * _arg0;
642 PyObject * _argo0 = 0;
643 char *_kwnames[] = { "self", NULL };
644
645 self = self;
646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_Checked",_kwnames,&_argo0))
647 return NULL;
648 if (_argo0) {
649 if (_argo0 == Py_None) { _arg0 = NULL; }
650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
652 return NULL;
653 }
654 }
655 {
656 wxPy_BEGIN_ALLOW_THREADS;
657 _result = (bool )wxCommandEvent_Checked(_arg0);
658
659 wxPy_END_ALLOW_THREADS;
660 } _resultobj = Py_BuildValue("i",_result);
661 return _resultobj;
662 }
663
664 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
665 static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
666 PyObject * _resultobj;
667 long _result;
668 wxCommandEvent * _arg0;
669 PyObject * _argo0 = 0;
670 char *_kwnames[] = { "self", NULL };
671
672 self = self;
673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetExtraLong",_kwnames,&_argo0))
674 return NULL;
675 if (_argo0) {
676 if (_argo0 == Py_None) { _arg0 = NULL; }
677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
679 return NULL;
680 }
681 }
682 {
683 wxPy_BEGIN_ALLOW_THREADS;
684 _result = (long )wxCommandEvent_GetExtraLong(_arg0);
685
686 wxPy_END_ALLOW_THREADS;
687 } _resultobj = Py_BuildValue("l",_result);
688 return _resultobj;
689 }
690
691 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
692 static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
693 PyObject * _resultobj;
694 int _result;
695 wxCommandEvent * _arg0;
696 PyObject * _argo0 = 0;
697 char *_kwnames[] = { "self", NULL };
698
699 self = self;
700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetInt",_kwnames,&_argo0))
701 return NULL;
702 if (_argo0) {
703 if (_argo0 == Py_None) { _arg0 = NULL; }
704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
706 return NULL;
707 }
708 }
709 {
710 wxPy_BEGIN_ALLOW_THREADS;
711 _result = (int )wxCommandEvent_GetInt(_arg0);
712
713 wxPy_END_ALLOW_THREADS;
714 } _resultobj = Py_BuildValue("i",_result);
715 return _resultobj;
716 }
717
718 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
719 static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
720 PyObject * _resultobj;
721 int _result;
722 wxCommandEvent * _arg0;
723 PyObject * _argo0 = 0;
724 char *_kwnames[] = { "self", NULL };
725
726 self = self;
727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetSelection",_kwnames,&_argo0))
728 return NULL;
729 if (_argo0) {
730 if (_argo0 == Py_None) { _arg0 = NULL; }
731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
733 return NULL;
734 }
735 }
736 {
737 wxPy_BEGIN_ALLOW_THREADS;
738 _result = (int )wxCommandEvent_GetSelection(_arg0);
739
740 wxPy_END_ALLOW_THREADS;
741 } _resultobj = Py_BuildValue("i",_result);
742 return _resultobj;
743 }
744
745 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
746 static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
747 PyObject * _resultobj;
748 wxString * _result;
749 wxCommandEvent * _arg0;
750 PyObject * _argo0 = 0;
751 char *_kwnames[] = { "self", NULL };
752
753 self = self;
754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetString",_kwnames,&_argo0))
755 return NULL;
756 if (_argo0) {
757 if (_argo0 == Py_None) { _arg0 = NULL; }
758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
760 return NULL;
761 }
762 }
763 {
764 wxPy_BEGIN_ALLOW_THREADS;
765 _result = new wxString (wxCommandEvent_GetString(_arg0));
766
767 wxPy_END_ALLOW_THREADS;
768 }{
769 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
770 }
771 {
772 delete _result;
773 }
774 return _resultobj;
775 }
776
777 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
778 static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
779 PyObject * _resultobj;
780 bool _result;
781 wxCommandEvent * _arg0;
782 PyObject * _argo0 = 0;
783 char *_kwnames[] = { "self", NULL };
784
785 self = self;
786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_IsSelection",_kwnames,&_argo0))
787 return NULL;
788 if (_argo0) {
789 if (_argo0 == Py_None) { _arg0 = NULL; }
790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
792 return NULL;
793 }
794 }
795 {
796 wxPy_BEGIN_ALLOW_THREADS;
797 _result = (bool )wxCommandEvent_IsSelection(_arg0);
798
799 wxPy_END_ALLOW_THREADS;
800 } _resultobj = Py_BuildValue("i",_result);
801 return _resultobj;
802 }
803
804 static void *SwigwxScrollEventTowxCommandEvent(void *ptr) {
805 wxScrollEvent *src;
806 wxCommandEvent *dest;
807 src = (wxScrollEvent *) ptr;
808 dest = (wxCommandEvent *) src;
809 return (void *) dest;
810 }
811
812 static void *SwigwxScrollEventTowxEvent(void *ptr) {
813 wxScrollEvent *src;
814 wxEvent *dest;
815 src = (wxScrollEvent *) ptr;
816 dest = (wxEvent *) src;
817 return (void *) dest;
818 }
819
820 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
821 static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
822 PyObject * _resultobj;
823 int _result;
824 wxScrollEvent * _arg0;
825 PyObject * _argo0 = 0;
826 char *_kwnames[] = { "self", NULL };
827
828 self = self;
829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetOrientation",_kwnames,&_argo0))
830 return NULL;
831 if (_argo0) {
832 if (_argo0 == Py_None) { _arg0 = NULL; }
833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
835 return NULL;
836 }
837 }
838 {
839 wxPy_BEGIN_ALLOW_THREADS;
840 _result = (int )wxScrollEvent_GetOrientation(_arg0);
841
842 wxPy_END_ALLOW_THREADS;
843 } _resultobj = Py_BuildValue("i",_result);
844 return _resultobj;
845 }
846
847 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
848 static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
849 PyObject * _resultobj;
850 int _result;
851 wxScrollEvent * _arg0;
852 PyObject * _argo0 = 0;
853 char *_kwnames[] = { "self", NULL };
854
855 self = self;
856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetPosition",_kwnames,&_argo0))
857 return NULL;
858 if (_argo0) {
859 if (_argo0 == Py_None) { _arg0 = NULL; }
860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
862 return NULL;
863 }
864 }
865 {
866 wxPy_BEGIN_ALLOW_THREADS;
867 _result = (int )wxScrollEvent_GetPosition(_arg0);
868
869 wxPy_END_ALLOW_THREADS;
870 } _resultobj = Py_BuildValue("i",_result);
871 return _resultobj;
872 }
873
874 static void *SwigwxScrollWinEventTowxEvent(void *ptr) {
875 wxScrollWinEvent *src;
876 wxEvent *dest;
877 src = (wxScrollWinEvent *) ptr;
878 dest = (wxEvent *) src;
879 return (void *) dest;
880 }
881
882 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
883 static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
884 PyObject * _resultobj;
885 int _result;
886 wxScrollWinEvent * _arg0;
887 PyObject * _argo0 = 0;
888 char *_kwnames[] = { "self", NULL };
889
890 self = self;
891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetOrientation",_kwnames,&_argo0))
892 return NULL;
893 if (_argo0) {
894 if (_argo0 == Py_None) { _arg0 = NULL; }
895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
897 return NULL;
898 }
899 }
900 {
901 wxPy_BEGIN_ALLOW_THREADS;
902 _result = (int )wxScrollWinEvent_GetOrientation(_arg0);
903
904 wxPy_END_ALLOW_THREADS;
905 } _resultobj = Py_BuildValue("i",_result);
906 return _resultobj;
907 }
908
909 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
910 static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
911 PyObject * _resultobj;
912 int _result;
913 wxScrollWinEvent * _arg0;
914 PyObject * _argo0 = 0;
915 char *_kwnames[] = { "self", NULL };
916
917 self = self;
918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetPosition",_kwnames,&_argo0))
919 return NULL;
920 if (_argo0) {
921 if (_argo0 == Py_None) { _arg0 = NULL; }
922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
924 return NULL;
925 }
926 }
927 {
928 wxPy_BEGIN_ALLOW_THREADS;
929 _result = (int )wxScrollWinEvent_GetPosition(_arg0);
930
931 wxPy_END_ALLOW_THREADS;
932 } _resultobj = Py_BuildValue("i",_result);
933 return _resultobj;
934 }
935
936 static void *SwigwxSpinEventTowxScrollEvent(void *ptr) {
937 wxSpinEvent *src;
938 wxScrollEvent *dest;
939 src = (wxSpinEvent *) ptr;
940 dest = (wxScrollEvent *) src;
941 return (void *) dest;
942 }
943
944 static void *SwigwxSpinEventTowxCommandEvent(void *ptr) {
945 wxSpinEvent *src;
946 wxCommandEvent *dest;
947 src = (wxSpinEvent *) ptr;
948 dest = (wxCommandEvent *) src;
949 return (void *) dest;
950 }
951
952 static void *SwigwxSpinEventTowxEvent(void *ptr) {
953 wxSpinEvent *src;
954 wxEvent *dest;
955 src = (wxSpinEvent *) ptr;
956 dest = (wxEvent *) src;
957 return (void *) dest;
958 }
959
960 static void *SwigwxMouseEventTowxEvent(void *ptr) {
961 wxMouseEvent *src;
962 wxEvent *dest;
963 src = (wxMouseEvent *) ptr;
964 dest = (wxEvent *) src;
965 return (void *) dest;
966 }
967
968 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
969 static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
970 PyObject * _resultobj;
971 bool _result;
972 wxMouseEvent * _arg0;
973 PyObject * _argo0 = 0;
974 char *_kwnames[] = { "self", NULL };
975
976 self = self;
977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_IsButton",_kwnames,&_argo0))
978 return NULL;
979 if (_argo0) {
980 if (_argo0 == Py_None) { _arg0 = NULL; }
981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
983 return NULL;
984 }
985 }
986 {
987 wxPy_BEGIN_ALLOW_THREADS;
988 _result = (bool )wxMouseEvent_IsButton(_arg0);
989
990 wxPy_END_ALLOW_THREADS;
991 } _resultobj = Py_BuildValue("i",_result);
992 return _resultobj;
993 }
994
995 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
996 static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
997 PyObject * _resultobj;
998 bool _result;
999 wxMouseEvent * _arg0;
1000 int _arg1 = (int ) -1;
1001 PyObject * _argo0 = 0;
1002 char *_kwnames[] = { "self","but", NULL };
1003
1004 self = self;
1005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
1006 return NULL;
1007 if (_argo0) {
1008 if (_argo0 == Py_None) { _arg0 = NULL; }
1009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1011 return NULL;
1012 }
1013 }
1014 {
1015 wxPy_BEGIN_ALLOW_THREADS;
1016 _result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1);
1017
1018 wxPy_END_ALLOW_THREADS;
1019 } _resultobj = Py_BuildValue("i",_result);
1020 return _resultobj;
1021 }
1022
1023 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1024 static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1025 PyObject * _resultobj;
1026 bool _result;
1027 wxMouseEvent * _arg0;
1028 int _arg1 = (int ) -1;
1029 PyObject * _argo0 = 0;
1030 char *_kwnames[] = { "self","but", NULL };
1031
1032 self = self;
1033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDClick",_kwnames,&_argo0,&_arg1))
1034 return NULL;
1035 if (_argo0) {
1036 if (_argo0 == Py_None) { _arg0 = NULL; }
1037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1039 return NULL;
1040 }
1041 }
1042 {
1043 wxPy_BEGIN_ALLOW_THREADS;
1044 _result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1);
1045
1046 wxPy_END_ALLOW_THREADS;
1047 } _resultobj = Py_BuildValue("i",_result);
1048 return _resultobj;
1049 }
1050
1051 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1052 static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1053 PyObject * _resultobj;
1054 bool _result;
1055 wxMouseEvent * _arg0;
1056 int _arg1 = (int ) -1;
1057 PyObject * _argo0 = 0;
1058 char *_kwnames[] = { "self","but", NULL };
1059
1060 self = self;
1061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
1062 return NULL;
1063 if (_argo0) {
1064 if (_argo0 == Py_None) { _arg0 = NULL; }
1065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1067 return NULL;
1068 }
1069 }
1070 {
1071 wxPy_BEGIN_ALLOW_THREADS;
1072 _result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1);
1073
1074 wxPy_END_ALLOW_THREADS;
1075 } _resultobj = Py_BuildValue("i",_result);
1076 return _resultobj;
1077 }
1078
1079 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1080 static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1081 PyObject * _resultobj;
1082 bool _result;
1083 wxMouseEvent * _arg0;
1084 int _arg1;
1085 PyObject * _argo0 = 0;
1086 char *_kwnames[] = { "self","but", NULL };
1087
1088 self = self;
1089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_Button",_kwnames,&_argo0,&_arg1))
1090 return NULL;
1091 if (_argo0) {
1092 if (_argo0 == Py_None) { _arg0 = NULL; }
1093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1095 return NULL;
1096 }
1097 }
1098 {
1099 wxPy_BEGIN_ALLOW_THREADS;
1100 _result = (bool )wxMouseEvent_Button(_arg0,_arg1);
1101
1102 wxPy_END_ALLOW_THREADS;
1103 } _resultobj = Py_BuildValue("i",_result);
1104 return _resultobj;
1105 }
1106
1107 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1108 static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1109 PyObject * _resultobj;
1110 bool _result;
1111 wxMouseEvent * _arg0;
1112 int _arg1;
1113 PyObject * _argo0 = 0;
1114 char *_kwnames[] = { "self","but", NULL };
1115
1116 self = self;
1117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
1118 return NULL;
1119 if (_argo0) {
1120 if (_argo0 == Py_None) { _arg0 = NULL; }
1121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1123 return NULL;
1124 }
1125 }
1126 {
1127 wxPy_BEGIN_ALLOW_THREADS;
1128 _result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1);
1129
1130 wxPy_END_ALLOW_THREADS;
1131 } _resultobj = Py_BuildValue("i",_result);
1132 return _resultobj;
1133 }
1134
1135 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1136 static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1137 PyObject * _resultobj;
1138 bool _result;
1139 wxMouseEvent * _arg0;
1140 PyObject * _argo0 = 0;
1141 char *_kwnames[] = { "self", NULL };
1142
1143 self = self;
1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ControlDown",_kwnames,&_argo0))
1145 return NULL;
1146 if (_argo0) {
1147 if (_argo0 == Py_None) { _arg0 = NULL; }
1148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1150 return NULL;
1151 }
1152 }
1153 {
1154 wxPy_BEGIN_ALLOW_THREADS;
1155 _result = (bool )wxMouseEvent_ControlDown(_arg0);
1156
1157 wxPy_END_ALLOW_THREADS;
1158 } _resultobj = Py_BuildValue("i",_result);
1159 return _resultobj;
1160 }
1161
1162 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1163 static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject * _resultobj;
1165 bool _result;
1166 wxMouseEvent * _arg0;
1167 PyObject * _argo0 = 0;
1168 char *_kwnames[] = { "self", NULL };
1169
1170 self = self;
1171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MetaDown",_kwnames,&_argo0))
1172 return NULL;
1173 if (_argo0) {
1174 if (_argo0 == Py_None) { _arg0 = NULL; }
1175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1177 return NULL;
1178 }
1179 }
1180 {
1181 wxPy_BEGIN_ALLOW_THREADS;
1182 _result = (bool )wxMouseEvent_MetaDown(_arg0);
1183
1184 wxPy_END_ALLOW_THREADS;
1185 } _resultobj = Py_BuildValue("i",_result);
1186 return _resultobj;
1187 }
1188
1189 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1190 static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1191 PyObject * _resultobj;
1192 bool _result;
1193 wxMouseEvent * _arg0;
1194 PyObject * _argo0 = 0;
1195 char *_kwnames[] = { "self", NULL };
1196
1197 self = self;
1198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_AltDown",_kwnames,&_argo0))
1199 return NULL;
1200 if (_argo0) {
1201 if (_argo0 == Py_None) { _arg0 = NULL; }
1202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1204 return NULL;
1205 }
1206 }
1207 {
1208 wxPy_BEGIN_ALLOW_THREADS;
1209 _result = (bool )wxMouseEvent_AltDown(_arg0);
1210
1211 wxPy_END_ALLOW_THREADS;
1212 } _resultobj = Py_BuildValue("i",_result);
1213 return _resultobj;
1214 }
1215
1216 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1217 static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1218 PyObject * _resultobj;
1219 bool _result;
1220 wxMouseEvent * _arg0;
1221 PyObject * _argo0 = 0;
1222 char *_kwnames[] = { "self", NULL };
1223
1224 self = self;
1225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ShiftDown",_kwnames,&_argo0))
1226 return NULL;
1227 if (_argo0) {
1228 if (_argo0 == Py_None) { _arg0 = NULL; }
1229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1231 return NULL;
1232 }
1233 }
1234 {
1235 wxPy_BEGIN_ALLOW_THREADS;
1236 _result = (bool )wxMouseEvent_ShiftDown(_arg0);
1237
1238 wxPy_END_ALLOW_THREADS;
1239 } _resultobj = Py_BuildValue("i",_result);
1240 return _resultobj;
1241 }
1242
1243 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1244 static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1245 PyObject * _resultobj;
1246 bool _result;
1247 wxMouseEvent * _arg0;
1248 PyObject * _argo0 = 0;
1249 char *_kwnames[] = { "self", NULL };
1250
1251 self = self;
1252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDown",_kwnames,&_argo0))
1253 return NULL;
1254 if (_argo0) {
1255 if (_argo0 == Py_None) { _arg0 = NULL; }
1256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1258 return NULL;
1259 }
1260 }
1261 {
1262 wxPy_BEGIN_ALLOW_THREADS;
1263 _result = (bool )wxMouseEvent_LeftDown(_arg0);
1264
1265 wxPy_END_ALLOW_THREADS;
1266 } _resultobj = Py_BuildValue("i",_result);
1267 return _resultobj;
1268 }
1269
1270 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1271 static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 bool _result;
1274 wxMouseEvent * _arg0;
1275 PyObject * _argo0 = 0;
1276 char *_kwnames[] = { "self", NULL };
1277
1278 self = self;
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDown",_kwnames,&_argo0))
1280 return NULL;
1281 if (_argo0) {
1282 if (_argo0 == Py_None) { _arg0 = NULL; }
1283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1285 return NULL;
1286 }
1287 }
1288 {
1289 wxPy_BEGIN_ALLOW_THREADS;
1290 _result = (bool )wxMouseEvent_MiddleDown(_arg0);
1291
1292 wxPy_END_ALLOW_THREADS;
1293 } _resultobj = Py_BuildValue("i",_result);
1294 return _resultobj;
1295 }
1296
1297 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1298 static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1299 PyObject * _resultobj;
1300 bool _result;
1301 wxMouseEvent * _arg0;
1302 PyObject * _argo0 = 0;
1303 char *_kwnames[] = { "self", NULL };
1304
1305 self = self;
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDown",_kwnames,&_argo0))
1307 return NULL;
1308 if (_argo0) {
1309 if (_argo0 == Py_None) { _arg0 = NULL; }
1310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1312 return NULL;
1313 }
1314 }
1315 {
1316 wxPy_BEGIN_ALLOW_THREADS;
1317 _result = (bool )wxMouseEvent_RightDown(_arg0);
1318
1319 wxPy_END_ALLOW_THREADS;
1320 } _resultobj = Py_BuildValue("i",_result);
1321 return _resultobj;
1322 }
1323
1324 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1325 static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject * _resultobj;
1327 bool _result;
1328 wxMouseEvent * _arg0;
1329 PyObject * _argo0 = 0;
1330 char *_kwnames[] = { "self", NULL };
1331
1332 self = self;
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftUp",_kwnames,&_argo0))
1334 return NULL;
1335 if (_argo0) {
1336 if (_argo0 == Py_None) { _arg0 = NULL; }
1337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1339 return NULL;
1340 }
1341 }
1342 {
1343 wxPy_BEGIN_ALLOW_THREADS;
1344 _result = (bool )wxMouseEvent_LeftUp(_arg0);
1345
1346 wxPy_END_ALLOW_THREADS;
1347 } _resultobj = Py_BuildValue("i",_result);
1348 return _resultobj;
1349 }
1350
1351 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1352 static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject * _resultobj;
1354 bool _result;
1355 wxMouseEvent * _arg0;
1356 PyObject * _argo0 = 0;
1357 char *_kwnames[] = { "self", NULL };
1358
1359 self = self;
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleUp",_kwnames,&_argo0))
1361 return NULL;
1362 if (_argo0) {
1363 if (_argo0 == Py_None) { _arg0 = NULL; }
1364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1366 return NULL;
1367 }
1368 }
1369 {
1370 wxPy_BEGIN_ALLOW_THREADS;
1371 _result = (bool )wxMouseEvent_MiddleUp(_arg0);
1372
1373 wxPy_END_ALLOW_THREADS;
1374 } _resultobj = Py_BuildValue("i",_result);
1375 return _resultobj;
1376 }
1377
1378 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1379 static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1380 PyObject * _resultobj;
1381 bool _result;
1382 wxMouseEvent * _arg0;
1383 PyObject * _argo0 = 0;
1384 char *_kwnames[] = { "self", NULL };
1385
1386 self = self;
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightUp",_kwnames,&_argo0))
1388 return NULL;
1389 if (_argo0) {
1390 if (_argo0 == Py_None) { _arg0 = NULL; }
1391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1393 return NULL;
1394 }
1395 }
1396 {
1397 wxPy_BEGIN_ALLOW_THREADS;
1398 _result = (bool )wxMouseEvent_RightUp(_arg0);
1399
1400 wxPy_END_ALLOW_THREADS;
1401 } _resultobj = Py_BuildValue("i",_result);
1402 return _resultobj;
1403 }
1404
1405 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1406 static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject * _resultobj;
1408 bool _result;
1409 wxMouseEvent * _arg0;
1410 PyObject * _argo0 = 0;
1411 char *_kwnames[] = { "self", NULL };
1412
1413 self = self;
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDClick",_kwnames,&_argo0))
1415 return NULL;
1416 if (_argo0) {
1417 if (_argo0 == Py_None) { _arg0 = NULL; }
1418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1420 return NULL;
1421 }
1422 }
1423 {
1424 wxPy_BEGIN_ALLOW_THREADS;
1425 _result = (bool )wxMouseEvent_LeftDClick(_arg0);
1426
1427 wxPy_END_ALLOW_THREADS;
1428 } _resultobj = Py_BuildValue("i",_result);
1429 return _resultobj;
1430 }
1431
1432 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1433 static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject * _resultobj;
1435 bool _result;
1436 wxMouseEvent * _arg0;
1437 PyObject * _argo0 = 0;
1438 char *_kwnames[] = { "self", NULL };
1439
1440 self = self;
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDClick",_kwnames,&_argo0))
1442 return NULL;
1443 if (_argo0) {
1444 if (_argo0 == Py_None) { _arg0 = NULL; }
1445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1447 return NULL;
1448 }
1449 }
1450 {
1451 wxPy_BEGIN_ALLOW_THREADS;
1452 _result = (bool )wxMouseEvent_MiddleDClick(_arg0);
1453
1454 wxPy_END_ALLOW_THREADS;
1455 } _resultobj = Py_BuildValue("i",_result);
1456 return _resultobj;
1457 }
1458
1459 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1460 static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1461 PyObject * _resultobj;
1462 bool _result;
1463 wxMouseEvent * _arg0;
1464 PyObject * _argo0 = 0;
1465 char *_kwnames[] = { "self", NULL };
1466
1467 self = self;
1468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDClick",_kwnames,&_argo0))
1469 return NULL;
1470 if (_argo0) {
1471 if (_argo0 == Py_None) { _arg0 = NULL; }
1472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1474 return NULL;
1475 }
1476 }
1477 {
1478 wxPy_BEGIN_ALLOW_THREADS;
1479 _result = (bool )wxMouseEvent_RightDClick(_arg0);
1480
1481 wxPy_END_ALLOW_THREADS;
1482 } _resultobj = Py_BuildValue("i",_result);
1483 return _resultobj;
1484 }
1485
1486 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1487 static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject * _resultobj;
1489 bool _result;
1490 wxMouseEvent * _arg0;
1491 PyObject * _argo0 = 0;
1492 char *_kwnames[] = { "self", NULL };
1493
1494 self = self;
1495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftIsDown",_kwnames,&_argo0))
1496 return NULL;
1497 if (_argo0) {
1498 if (_argo0 == Py_None) { _arg0 = NULL; }
1499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1501 return NULL;
1502 }
1503 }
1504 {
1505 wxPy_BEGIN_ALLOW_THREADS;
1506 _result = (bool )wxMouseEvent_LeftIsDown(_arg0);
1507
1508 wxPy_END_ALLOW_THREADS;
1509 } _resultobj = Py_BuildValue("i",_result);
1510 return _resultobj;
1511 }
1512
1513 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1514 static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1515 PyObject * _resultobj;
1516 bool _result;
1517 wxMouseEvent * _arg0;
1518 PyObject * _argo0 = 0;
1519 char *_kwnames[] = { "self", NULL };
1520
1521 self = self;
1522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleIsDown",_kwnames,&_argo0))
1523 return NULL;
1524 if (_argo0) {
1525 if (_argo0 == Py_None) { _arg0 = NULL; }
1526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1528 return NULL;
1529 }
1530 }
1531 {
1532 wxPy_BEGIN_ALLOW_THREADS;
1533 _result = (bool )wxMouseEvent_MiddleIsDown(_arg0);
1534
1535 wxPy_END_ALLOW_THREADS;
1536 } _resultobj = Py_BuildValue("i",_result);
1537 return _resultobj;
1538 }
1539
1540 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1541 static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1542 PyObject * _resultobj;
1543 bool _result;
1544 wxMouseEvent * _arg0;
1545 PyObject * _argo0 = 0;
1546 char *_kwnames[] = { "self", NULL };
1547
1548 self = self;
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightIsDown",_kwnames,&_argo0))
1550 return NULL;
1551 if (_argo0) {
1552 if (_argo0 == Py_None) { _arg0 = NULL; }
1553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1555 return NULL;
1556 }
1557 }
1558 {
1559 wxPy_BEGIN_ALLOW_THREADS;
1560 _result = (bool )wxMouseEvent_RightIsDown(_arg0);
1561
1562 wxPy_END_ALLOW_THREADS;
1563 } _resultobj = Py_BuildValue("i",_result);
1564 return _resultobj;
1565 }
1566
1567 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1568 static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
1569 PyObject * _resultobj;
1570 bool _result;
1571 wxMouseEvent * _arg0;
1572 PyObject * _argo0 = 0;
1573 char *_kwnames[] = { "self", NULL };
1574
1575 self = self;
1576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Dragging",_kwnames,&_argo0))
1577 return NULL;
1578 if (_argo0) {
1579 if (_argo0 == Py_None) { _arg0 = NULL; }
1580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1582 return NULL;
1583 }
1584 }
1585 {
1586 wxPy_BEGIN_ALLOW_THREADS;
1587 _result = (bool )wxMouseEvent_Dragging(_arg0);
1588
1589 wxPy_END_ALLOW_THREADS;
1590 } _resultobj = Py_BuildValue("i",_result);
1591 return _resultobj;
1592 }
1593
1594 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1595 static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
1596 PyObject * _resultobj;
1597 bool _result;
1598 wxMouseEvent * _arg0;
1599 PyObject * _argo0 = 0;
1600 char *_kwnames[] = { "self", NULL };
1601
1602 self = self;
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Moving",_kwnames,&_argo0))
1604 return NULL;
1605 if (_argo0) {
1606 if (_argo0 == Py_None) { _arg0 = NULL; }
1607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1609 return NULL;
1610 }
1611 }
1612 {
1613 wxPy_BEGIN_ALLOW_THREADS;
1614 _result = (bool )wxMouseEvent_Moving(_arg0);
1615
1616 wxPy_END_ALLOW_THREADS;
1617 } _resultobj = Py_BuildValue("i",_result);
1618 return _resultobj;
1619 }
1620
1621 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1622 static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject * _resultobj;
1624 bool _result;
1625 wxMouseEvent * _arg0;
1626 PyObject * _argo0 = 0;
1627 char *_kwnames[] = { "self", NULL };
1628
1629 self = self;
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Entering",_kwnames,&_argo0))
1631 return NULL;
1632 if (_argo0) {
1633 if (_argo0 == Py_None) { _arg0 = NULL; }
1634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1636 return NULL;
1637 }
1638 }
1639 {
1640 wxPy_BEGIN_ALLOW_THREADS;
1641 _result = (bool )wxMouseEvent_Entering(_arg0);
1642
1643 wxPy_END_ALLOW_THREADS;
1644 } _resultobj = Py_BuildValue("i",_result);
1645 return _resultobj;
1646 }
1647
1648 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1649 static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject * _resultobj;
1651 bool _result;
1652 wxMouseEvent * _arg0;
1653 PyObject * _argo0 = 0;
1654 char *_kwnames[] = { "self", NULL };
1655
1656 self = self;
1657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Leaving",_kwnames,&_argo0))
1658 return NULL;
1659 if (_argo0) {
1660 if (_argo0 == Py_None) { _arg0 = NULL; }
1661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1663 return NULL;
1664 }
1665 }
1666 {
1667 wxPy_BEGIN_ALLOW_THREADS;
1668 _result = (bool )wxMouseEvent_Leaving(_arg0);
1669
1670 wxPy_END_ALLOW_THREADS;
1671 } _resultobj = Py_BuildValue("i",_result);
1672 return _resultobj;
1673 }
1674
1675 #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1676 static PyObject *_wrap_wxMouseEvent_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject * _resultobj;
1678 wxMouseEvent * _arg0;
1679 long * _arg1;
1680 long temp;
1681 long * _arg2;
1682 long temp0;
1683 PyObject * _argo0 = 0;
1684 char *_kwnames[] = { "self", NULL };
1685
1686 self = self;
1687 {
1688 _arg1 = &temp;
1689 }
1690 {
1691 _arg2 = &temp0;
1692 }
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Position",_kwnames,&_argo0))
1694 return NULL;
1695 if (_argo0) {
1696 if (_argo0 == Py_None) { _arg0 = NULL; }
1697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
1699 return NULL;
1700 }
1701 }
1702 {
1703 wxPy_BEGIN_ALLOW_THREADS;
1704 wxMouseEvent_Position(_arg0,_arg1,_arg2);
1705
1706 wxPy_END_ALLOW_THREADS;
1707 } Py_INCREF(Py_None);
1708 _resultobj = Py_None;
1709 {
1710 PyObject *o;
1711 o = PyInt_FromLong((long) (*_arg1));
1712 _resultobj = t_output_helper(_resultobj, o);
1713 }
1714 {
1715 PyObject *o;
1716 o = PyInt_FromLong((long) (*_arg2));
1717 _resultobj = t_output_helper(_resultobj, o);
1718 }
1719 return _resultobj;
1720 }
1721
1722 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1723 static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1724 PyObject * _resultobj;
1725 wxPoint * _result;
1726 wxMouseEvent * _arg0;
1727 PyObject * _argo0 = 0;
1728 char *_kwnames[] = { "self", NULL };
1729 char _ptemp[128];
1730
1731 self = self;
1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPosition",_kwnames,&_argo0))
1733 return NULL;
1734 if (_argo0) {
1735 if (_argo0 == Py_None) { _arg0 = NULL; }
1736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1738 return NULL;
1739 }
1740 }
1741 {
1742 wxPy_BEGIN_ALLOW_THREADS;
1743 _result = new wxPoint (wxMouseEvent_GetPosition(_arg0));
1744
1745 wxPy_END_ALLOW_THREADS;
1746 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1747 _resultobj = Py_BuildValue("s",_ptemp);
1748 return _resultobj;
1749 }
1750
1751 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1752 static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject * _resultobj;
1754 wxPoint * _result;
1755 wxMouseEvent * _arg0;
1756 wxDC * _arg1;
1757 PyObject * _argo0 = 0;
1758 PyObject * _argo1 = 0;
1759 char *_kwnames[] = { "self","dc", NULL };
1760 char _ptemp[128];
1761
1762 self = self;
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMouseEvent_GetLogicalPosition",_kwnames,&_argo0,&_argo1))
1764 return NULL;
1765 if (_argo0) {
1766 if (_argo0 == Py_None) { _arg0 = NULL; }
1767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
1769 return NULL;
1770 }
1771 }
1772 if (_argo1) {
1773 if (_argo1 == Py_None) { _arg1 = NULL; }
1774 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1775 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
1776 return NULL;
1777 }
1778 }
1779 {
1780 wxPy_BEGIN_ALLOW_THREADS;
1781 _result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1));
1782
1783 wxPy_END_ALLOW_THREADS;
1784 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1785 _resultobj = Py_BuildValue("s",_ptemp);
1786 return _resultobj;
1787 }
1788
1789 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
1790 static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
1791 PyObject * _resultobj;
1792 long _result;
1793 wxMouseEvent * _arg0;
1794 PyObject * _argo0 = 0;
1795 char *_kwnames[] = { "self", NULL };
1796
1797 self = self;
1798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetX",_kwnames,&_argo0))
1799 return NULL;
1800 if (_argo0) {
1801 if (_argo0 == Py_None) { _arg0 = NULL; }
1802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
1804 return NULL;
1805 }
1806 }
1807 {
1808 wxPy_BEGIN_ALLOW_THREADS;
1809 _result = (long )wxMouseEvent_GetX(_arg0);
1810
1811 wxPy_END_ALLOW_THREADS;
1812 } _resultobj = Py_BuildValue("l",_result);
1813 return _resultobj;
1814 }
1815
1816 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
1817 static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject * _resultobj;
1819 long _result;
1820 wxMouseEvent * _arg0;
1821 PyObject * _argo0 = 0;
1822 char *_kwnames[] = { "self", NULL };
1823
1824 self = self;
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetY",_kwnames,&_argo0))
1826 return NULL;
1827 if (_argo0) {
1828 if (_argo0 == Py_None) { _arg0 = NULL; }
1829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
1831 return NULL;
1832 }
1833 }
1834 {
1835 wxPy_BEGIN_ALLOW_THREADS;
1836 _result = (long )wxMouseEvent_GetY(_arg0);
1837
1838 wxPy_END_ALLOW_THREADS;
1839 } _resultobj = Py_BuildValue("l",_result);
1840 return _resultobj;
1841 }
1842
1843 static void *SwigwxKeyEventTowxEvent(void *ptr) {
1844 wxKeyEvent *src;
1845 wxEvent *dest;
1846 src = (wxKeyEvent *) ptr;
1847 dest = (wxEvent *) src;
1848 return (void *) dest;
1849 }
1850
1851 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1852 static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1853 PyObject * _resultobj;
1854 bool _result;
1855 wxKeyEvent * _arg0;
1856 PyObject * _argo0 = 0;
1857 char *_kwnames[] = { "self", NULL };
1858
1859 self = self;
1860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ControlDown",_kwnames,&_argo0))
1861 return NULL;
1862 if (_argo0) {
1863 if (_argo0 == Py_None) { _arg0 = NULL; }
1864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
1865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
1866 return NULL;
1867 }
1868 }
1869 {
1870 wxPy_BEGIN_ALLOW_THREADS;
1871 _result = (bool )wxKeyEvent_ControlDown(_arg0);
1872
1873 wxPy_END_ALLOW_THREADS;
1874 } _resultobj = Py_BuildValue("i",_result);
1875 return _resultobj;
1876 }
1877
1878 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1879 static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1880 PyObject * _resultobj;
1881 bool _result;
1882 wxKeyEvent * _arg0;
1883 PyObject * _argo0 = 0;
1884 char *_kwnames[] = { "self", NULL };
1885
1886 self = self;
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_MetaDown",_kwnames,&_argo0))
1888 return NULL;
1889 if (_argo0) {
1890 if (_argo0 == Py_None) { _arg0 = NULL; }
1891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
1892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
1893 return NULL;
1894 }
1895 }
1896 {
1897 wxPy_BEGIN_ALLOW_THREADS;
1898 _result = (bool )wxKeyEvent_MetaDown(_arg0);
1899
1900 wxPy_END_ALLOW_THREADS;
1901 } _resultobj = Py_BuildValue("i",_result);
1902 return _resultobj;
1903 }
1904
1905 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
1906 static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject * _resultobj;
1908 bool _result;
1909 wxKeyEvent * _arg0;
1910 PyObject * _argo0 = 0;
1911 char *_kwnames[] = { "self", NULL };
1912
1913 self = self;
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_AltDown",_kwnames,&_argo0))
1915 return NULL;
1916 if (_argo0) {
1917 if (_argo0 == Py_None) { _arg0 = NULL; }
1918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
1919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
1920 return NULL;
1921 }
1922 }
1923 {
1924 wxPy_BEGIN_ALLOW_THREADS;
1925 _result = (bool )wxKeyEvent_AltDown(_arg0);
1926
1927 wxPy_END_ALLOW_THREADS;
1928 } _resultobj = Py_BuildValue("i",_result);
1929 return _resultobj;
1930 }
1931
1932 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1933 static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1934 PyObject * _resultobj;
1935 bool _result;
1936 wxKeyEvent * _arg0;
1937 PyObject * _argo0 = 0;
1938 char *_kwnames[] = { "self", NULL };
1939
1940 self = self;
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ShiftDown",_kwnames,&_argo0))
1942 return NULL;
1943 if (_argo0) {
1944 if (_argo0 == Py_None) { _arg0 = NULL; }
1945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
1946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
1947 return NULL;
1948 }
1949 }
1950 {
1951 wxPy_BEGIN_ALLOW_THREADS;
1952 _result = (bool )wxKeyEvent_ShiftDown(_arg0);
1953
1954 wxPy_END_ALLOW_THREADS;
1955 } _resultobj = Py_BuildValue("i",_result);
1956 return _resultobj;
1957 }
1958
1959 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
1960 static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject * _resultobj;
1962 long _result;
1963 wxKeyEvent * _arg0;
1964 PyObject * _argo0 = 0;
1965 char *_kwnames[] = { "self", NULL };
1966
1967 self = self;
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_KeyCode",_kwnames,&_argo0))
1969 return NULL;
1970 if (_argo0) {
1971 if (_argo0 == Py_None) { _arg0 = NULL; }
1972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
1973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
1974 return NULL;
1975 }
1976 }
1977 {
1978 wxPy_BEGIN_ALLOW_THREADS;
1979 _result = (long )wxKeyEvent_KeyCode(_arg0);
1980
1981 wxPy_END_ALLOW_THREADS;
1982 } _resultobj = Py_BuildValue("l",_result);
1983 return _resultobj;
1984 }
1985
1986 static void *SwigwxMoveEventTowxEvent(void *ptr) {
1987 wxMoveEvent *src;
1988 wxEvent *dest;
1989 src = (wxMoveEvent *) ptr;
1990 dest = (wxEvent *) src;
1991 return (void *) dest;
1992 }
1993
1994 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1995 static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1996 PyObject * _resultobj;
1997 wxPoint * _result;
1998 wxMoveEvent * _arg0;
1999 PyObject * _argo0 = 0;
2000 char *_kwnames[] = { "self", NULL };
2001 char _ptemp[128];
2002
2003 self = self;
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMoveEvent_GetPosition",_kwnames,&_argo0))
2005 return NULL;
2006 if (_argo0) {
2007 if (_argo0 == Py_None) { _arg0 = NULL; }
2008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMoveEvent_p")) {
2009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
2010 return NULL;
2011 }
2012 }
2013 {
2014 wxPy_BEGIN_ALLOW_THREADS;
2015 _result = new wxPoint (wxMoveEvent_GetPosition(_arg0));
2016
2017 wxPy_END_ALLOW_THREADS;
2018 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2019 _resultobj = Py_BuildValue("s",_ptemp);
2020 return _resultobj;
2021 }
2022
2023 static void *SwigwxPaintEventTowxEvent(void *ptr) {
2024 wxPaintEvent *src;
2025 wxEvent *dest;
2026 src = (wxPaintEvent *) ptr;
2027 dest = (wxEvent *) src;
2028 return (void *) dest;
2029 }
2030
2031 static void *SwigwxEraseEventTowxEvent(void *ptr) {
2032 wxEraseEvent *src;
2033 wxEvent *dest;
2034 src = (wxEraseEvent *) ptr;
2035 dest = (wxEvent *) src;
2036 return (void *) dest;
2037 }
2038
2039 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
2040 static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject * _resultobj;
2042 wxDC * _result;
2043 wxEraseEvent * _arg0;
2044 PyObject * _argo0 = 0;
2045 char *_kwnames[] = { "self", NULL };
2046 char _ptemp[128];
2047
2048 self = self;
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEraseEvent_GetDC",_kwnames,&_argo0))
2050 return NULL;
2051 if (_argo0) {
2052 if (_argo0 == Py_None) { _arg0 = NULL; }
2053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEraseEvent_p")) {
2054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
2055 return NULL;
2056 }
2057 }
2058 {
2059 wxPy_BEGIN_ALLOW_THREADS;
2060 _result = (wxDC *)wxEraseEvent_GetDC(_arg0);
2061
2062 wxPy_END_ALLOW_THREADS;
2063 } if (_result) {
2064 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
2065 _resultobj = Py_BuildValue("s",_ptemp);
2066 } else {
2067 Py_INCREF(Py_None);
2068 _resultobj = Py_None;
2069 }
2070 return _resultobj;
2071 }
2072
2073 static void *SwigwxFocusEventTowxEvent(void *ptr) {
2074 wxFocusEvent *src;
2075 wxEvent *dest;
2076 src = (wxFocusEvent *) ptr;
2077 dest = (wxEvent *) src;
2078 return (void *) dest;
2079 }
2080
2081 static void *SwigwxActivateEventTowxEvent(void *ptr) {
2082 wxActivateEvent *src;
2083 wxEvent *dest;
2084 src = (wxActivateEvent *) ptr;
2085 dest = (wxEvent *) src;
2086 return (void *) dest;
2087 }
2088
2089 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
2090 static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject * _resultobj;
2092 bool _result;
2093 wxActivateEvent * _arg0;
2094 PyObject * _argo0 = 0;
2095 char *_kwnames[] = { "self", NULL };
2096
2097 self = self;
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxActivateEvent_GetActive",_kwnames,&_argo0))
2099 return NULL;
2100 if (_argo0) {
2101 if (_argo0 == Py_None) { _arg0 = NULL; }
2102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxActivateEvent_p")) {
2103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
2104 return NULL;
2105 }
2106 }
2107 {
2108 wxPy_BEGIN_ALLOW_THREADS;
2109 _result = (bool )wxActivateEvent_GetActive(_arg0);
2110
2111 wxPy_END_ALLOW_THREADS;
2112 } _resultobj = Py_BuildValue("i",_result);
2113 return _resultobj;
2114 }
2115
2116 static void *SwigwxInitDialogEventTowxEvent(void *ptr) {
2117 wxInitDialogEvent *src;
2118 wxEvent *dest;
2119 src = (wxInitDialogEvent *) ptr;
2120 dest = (wxEvent *) src;
2121 return (void *) dest;
2122 }
2123
2124 static void *SwigwxMenuEventTowxEvent(void *ptr) {
2125 wxMenuEvent *src;
2126 wxEvent *dest;
2127 src = (wxMenuEvent *) ptr;
2128 dest = (wxEvent *) src;
2129 return (void *) dest;
2130 }
2131
2132 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
2133 static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
2134 PyObject * _resultobj;
2135 int _result;
2136 wxMenuEvent * _arg0;
2137 PyObject * _argo0 = 0;
2138 char *_kwnames[] = { "self", NULL };
2139
2140 self = self;
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_GetMenuId",_kwnames,&_argo0))
2142 return NULL;
2143 if (_argo0) {
2144 if (_argo0 == Py_None) { _arg0 = NULL; }
2145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) {
2146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
2147 return NULL;
2148 }
2149 }
2150 {
2151 wxPy_BEGIN_ALLOW_THREADS;
2152 _result = (int )wxMenuEvent_GetMenuId(_arg0);
2153
2154 wxPy_END_ALLOW_THREADS;
2155 } _resultobj = Py_BuildValue("i",_result);
2156 return _resultobj;
2157 }
2158
2159 static void *SwigwxShowEventTowxEvent(void *ptr) {
2160 wxShowEvent *src;
2161 wxEvent *dest;
2162 src = (wxShowEvent *) ptr;
2163 dest = (wxEvent *) src;
2164 return (void *) dest;
2165 }
2166
2167 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
2168 static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
2169 PyObject * _resultobj;
2170 wxShowEvent * _arg0;
2171 bool _arg1;
2172 PyObject * _argo0 = 0;
2173 int tempbool1;
2174 char *_kwnames[] = { "self","show", NULL };
2175
2176 self = self;
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShowEvent_SetShow",_kwnames,&_argo0,&tempbool1))
2178 return NULL;
2179 if (_argo0) {
2180 if (_argo0 == Py_None) { _arg0 = NULL; }
2181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
2182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
2183 return NULL;
2184 }
2185 }
2186 _arg1 = (bool ) tempbool1;
2187 {
2188 wxPy_BEGIN_ALLOW_THREADS;
2189 wxShowEvent_SetShow(_arg0,_arg1);
2190
2191 wxPy_END_ALLOW_THREADS;
2192 } Py_INCREF(Py_None);
2193 _resultobj = Py_None;
2194 return _resultobj;
2195 }
2196
2197 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
2198 static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
2199 PyObject * _resultobj;
2200 bool _result;
2201 wxShowEvent * _arg0;
2202 PyObject * _argo0 = 0;
2203 char *_kwnames[] = { "self", NULL };
2204
2205 self = self;
2206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShowEvent_GetShow",_kwnames,&_argo0))
2207 return NULL;
2208 if (_argo0) {
2209 if (_argo0 == Py_None) { _arg0 = NULL; }
2210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
2211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
2212 return NULL;
2213 }
2214 }
2215 {
2216 wxPy_BEGIN_ALLOW_THREADS;
2217 _result = (bool )wxShowEvent_GetShow(_arg0);
2218
2219 wxPy_END_ALLOW_THREADS;
2220 } _resultobj = Py_BuildValue("i",_result);
2221 return _resultobj;
2222 }
2223
2224 static void *SwigwxIconizeEventTowxEvent(void *ptr) {
2225 wxIconizeEvent *src;
2226 wxEvent *dest;
2227 src = (wxIconizeEvent *) ptr;
2228 dest = (wxEvent *) src;
2229 return (void *) dest;
2230 }
2231
2232 static void *SwigwxMaximizeEventTowxEvent(void *ptr) {
2233 wxMaximizeEvent *src;
2234 wxEvent *dest;
2235 src = (wxMaximizeEvent *) ptr;
2236 dest = (wxEvent *) src;
2237 return (void *) dest;
2238 }
2239
2240 static void *SwigwxJoystickEventTowxEvent(void *ptr) {
2241 wxJoystickEvent *src;
2242 wxEvent *dest;
2243 src = (wxJoystickEvent *) ptr;
2244 dest = (wxEvent *) src;
2245 return (void *) dest;
2246 }
2247
2248 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2249 static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2250 PyObject * _resultobj;
2251 wxPoint * _result;
2252 wxJoystickEvent * _arg0;
2253 PyObject * _argo0 = 0;
2254 char *_kwnames[] = { "self", NULL };
2255 char _ptemp[128];
2256
2257 self = self;
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetPosition",_kwnames,&_argo0))
2259 return NULL;
2260 if (_argo0) {
2261 if (_argo0 == Py_None) { _arg0 = NULL; }
2262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
2264 return NULL;
2265 }
2266 }
2267 {
2268 wxPy_BEGIN_ALLOW_THREADS;
2269 _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0));
2270
2271 wxPy_END_ALLOW_THREADS;
2272 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2273 _resultobj = Py_BuildValue("s",_ptemp);
2274 return _resultobj;
2275 }
2276
2277 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
2278 static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2279 PyObject * _resultobj;
2280 int _result;
2281 wxJoystickEvent * _arg0;
2282 PyObject * _argo0 = 0;
2283 char *_kwnames[] = { "self", NULL };
2284
2285 self = self;
2286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetZPosition",_kwnames,&_argo0))
2287 return NULL;
2288 if (_argo0) {
2289 if (_argo0 == Py_None) { _arg0 = NULL; }
2290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
2292 return NULL;
2293 }
2294 }
2295 {
2296 wxPy_BEGIN_ALLOW_THREADS;
2297 _result = (int )wxJoystickEvent_GetZPosition(_arg0);
2298
2299 wxPy_END_ALLOW_THREADS;
2300 } _resultobj = Py_BuildValue("i",_result);
2301 return _resultobj;
2302 }
2303
2304 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
2305 static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject * _resultobj;
2307 int _result;
2308 wxJoystickEvent * _arg0;
2309 PyObject * _argo0 = 0;
2310 char *_kwnames[] = { "self", NULL };
2311
2312 self = self;
2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonState",_kwnames,&_argo0))
2314 return NULL;
2315 if (_argo0) {
2316 if (_argo0 == Py_None) { _arg0 = NULL; }
2317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
2319 return NULL;
2320 }
2321 }
2322 {
2323 wxPy_BEGIN_ALLOW_THREADS;
2324 _result = (int )wxJoystickEvent_GetButtonState(_arg0);
2325
2326 wxPy_END_ALLOW_THREADS;
2327 } _resultobj = Py_BuildValue("i",_result);
2328 return _resultobj;
2329 }
2330
2331 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
2332 static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
2333 PyObject * _resultobj;
2334 int _result;
2335 wxJoystickEvent * _arg0;
2336 PyObject * _argo0 = 0;
2337 char *_kwnames[] = { "self", NULL };
2338
2339 self = self;
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonChange",_kwnames,&_argo0))
2341 return NULL;
2342 if (_argo0) {
2343 if (_argo0 == Py_None) { _arg0 = NULL; }
2344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
2346 return NULL;
2347 }
2348 }
2349 {
2350 wxPy_BEGIN_ALLOW_THREADS;
2351 _result = (int )wxJoystickEvent_GetButtonChange(_arg0);
2352
2353 wxPy_END_ALLOW_THREADS;
2354 } _resultobj = Py_BuildValue("i",_result);
2355 return _resultobj;
2356 }
2357
2358 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
2359 static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
2360 PyObject * _resultobj;
2361 int _result;
2362 wxJoystickEvent * _arg0;
2363 PyObject * _argo0 = 0;
2364 char *_kwnames[] = { "self", NULL };
2365
2366 self = self;
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetJoystick",_kwnames,&_argo0))
2368 return NULL;
2369 if (_argo0) {
2370 if (_argo0 == Py_None) { _arg0 = NULL; }
2371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
2373 return NULL;
2374 }
2375 }
2376 {
2377 wxPy_BEGIN_ALLOW_THREADS;
2378 _result = (int )wxJoystickEvent_GetJoystick(_arg0);
2379
2380 wxPy_END_ALLOW_THREADS;
2381 } _resultobj = Py_BuildValue("i",_result);
2382 return _resultobj;
2383 }
2384
2385 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
2386 static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
2387 PyObject * _resultobj;
2388 wxJoystickEvent * _arg0;
2389 int _arg1;
2390 PyObject * _argo0 = 0;
2391 char *_kwnames[] = { "self","stick", NULL };
2392
2393 self = self;
2394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetJoystick",_kwnames,&_argo0,&_arg1))
2395 return NULL;
2396 if (_argo0) {
2397 if (_argo0 == Py_None) { _arg0 = NULL; }
2398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
2400 return NULL;
2401 }
2402 }
2403 {
2404 wxPy_BEGIN_ALLOW_THREADS;
2405 wxJoystickEvent_SetJoystick(_arg0,_arg1);
2406
2407 wxPy_END_ALLOW_THREADS;
2408 } Py_INCREF(Py_None);
2409 _resultobj = Py_None;
2410 return _resultobj;
2411 }
2412
2413 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
2414 static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
2415 PyObject * _resultobj;
2416 wxJoystickEvent * _arg0;
2417 int _arg1;
2418 PyObject * _argo0 = 0;
2419 char *_kwnames[] = { "self","state", NULL };
2420
2421 self = self;
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonState",_kwnames,&_argo0,&_arg1))
2423 return NULL;
2424 if (_argo0) {
2425 if (_argo0 == Py_None) { _arg0 = NULL; }
2426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
2428 return NULL;
2429 }
2430 }
2431 {
2432 wxPy_BEGIN_ALLOW_THREADS;
2433 wxJoystickEvent_SetButtonState(_arg0,_arg1);
2434
2435 wxPy_END_ALLOW_THREADS;
2436 } Py_INCREF(Py_None);
2437 _resultobj = Py_None;
2438 return _resultobj;
2439 }
2440
2441 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
2442 static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
2443 PyObject * _resultobj;
2444 wxJoystickEvent * _arg0;
2445 int _arg1;
2446 PyObject * _argo0 = 0;
2447 char *_kwnames[] = { "self","change", NULL };
2448
2449 self = self;
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonChange",_kwnames,&_argo0,&_arg1))
2451 return NULL;
2452 if (_argo0) {
2453 if (_argo0 == Py_None) { _arg0 = NULL; }
2454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
2456 return NULL;
2457 }
2458 }
2459 {
2460 wxPy_BEGIN_ALLOW_THREADS;
2461 wxJoystickEvent_SetButtonChange(_arg0,_arg1);
2462
2463 wxPy_END_ALLOW_THREADS;
2464 } Py_INCREF(Py_None);
2465 _resultobj = Py_None;
2466 return _resultobj;
2467 }
2468
2469 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2470 static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2471 PyObject * _resultobj;
2472 wxJoystickEvent * _arg0;
2473 wxPoint * _arg1;
2474 PyObject * _argo0 = 0;
2475 PyObject * _argo1 = 0;
2476 char *_kwnames[] = { "self","pos", NULL };
2477
2478 self = self;
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_argo1))
2480 return NULL;
2481 if (_argo0) {
2482 if (_argo0 == Py_None) { _arg0 = NULL; }
2483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
2485 return NULL;
2486 }
2487 }
2488 if (_argo1) {
2489 if (_argo1 == Py_None) { _arg1 = NULL; }
2490 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
2491 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p.");
2492 return NULL;
2493 }
2494 }
2495 {
2496 wxPy_BEGIN_ALLOW_THREADS;
2497 wxJoystickEvent_SetPosition(_arg0,*_arg1);
2498
2499 wxPy_END_ALLOW_THREADS;
2500 } Py_INCREF(Py_None);
2501 _resultobj = Py_None;
2502 return _resultobj;
2503 }
2504
2505 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
2506 static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject * _resultobj;
2508 wxJoystickEvent * _arg0;
2509 int _arg1;
2510 PyObject * _argo0 = 0;
2511 char *_kwnames[] = { "self","zPos", NULL };
2512
2513 self = self;
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetZPosition",_kwnames,&_argo0,&_arg1))
2515 return NULL;
2516 if (_argo0) {
2517 if (_argo0 == Py_None) { _arg0 = NULL; }
2518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
2520 return NULL;
2521 }
2522 }
2523 {
2524 wxPy_BEGIN_ALLOW_THREADS;
2525 wxJoystickEvent_SetZPosition(_arg0,_arg1);
2526
2527 wxPy_END_ALLOW_THREADS;
2528 } Py_INCREF(Py_None);
2529 _resultobj = Py_None;
2530 return _resultobj;
2531 }
2532
2533 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
2534 static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
2535 PyObject * _resultobj;
2536 bool _result;
2537 wxJoystickEvent * _arg0;
2538 PyObject * _argo0 = 0;
2539 char *_kwnames[] = { "self", NULL };
2540
2541 self = self;
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsButton",_kwnames,&_argo0))
2543 return NULL;
2544 if (_argo0) {
2545 if (_argo0 == Py_None) { _arg0 = NULL; }
2546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
2548 return NULL;
2549 }
2550 }
2551 {
2552 wxPy_BEGIN_ALLOW_THREADS;
2553 _result = (bool )wxJoystickEvent_IsButton(_arg0);
2554
2555 wxPy_END_ALLOW_THREADS;
2556 } _resultobj = Py_BuildValue("i",_result);
2557 return _resultobj;
2558 }
2559
2560 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
2561 static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
2562 PyObject * _resultobj;
2563 bool _result;
2564 wxJoystickEvent * _arg0;
2565 PyObject * _argo0 = 0;
2566 char *_kwnames[] = { "self", NULL };
2567
2568 self = self;
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsMove",_kwnames,&_argo0))
2570 return NULL;
2571 if (_argo0) {
2572 if (_argo0 == Py_None) { _arg0 = NULL; }
2573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
2575 return NULL;
2576 }
2577 }
2578 {
2579 wxPy_BEGIN_ALLOW_THREADS;
2580 _result = (bool )wxJoystickEvent_IsMove(_arg0);
2581
2582 wxPy_END_ALLOW_THREADS;
2583 } _resultobj = Py_BuildValue("i",_result);
2584 return _resultobj;
2585 }
2586
2587 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
2588 static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
2589 PyObject * _resultobj;
2590 bool _result;
2591 wxJoystickEvent * _arg0;
2592 PyObject * _argo0 = 0;
2593 char *_kwnames[] = { "self", NULL };
2594
2595 self = self;
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsZMove",_kwnames,&_argo0))
2597 return NULL;
2598 if (_argo0) {
2599 if (_argo0 == Py_None) { _arg0 = NULL; }
2600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
2602 return NULL;
2603 }
2604 }
2605 {
2606 wxPy_BEGIN_ALLOW_THREADS;
2607 _result = (bool )wxJoystickEvent_IsZMove(_arg0);
2608
2609 wxPy_END_ALLOW_THREADS;
2610 } _resultobj = Py_BuildValue("i",_result);
2611 return _resultobj;
2612 }
2613
2614 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
2615 static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2616 PyObject * _resultobj;
2617 bool _result;
2618 wxJoystickEvent * _arg0;
2619 int _arg1 = (int ) wxJOY_BUTTON_ANY;
2620 PyObject * _argo0 = 0;
2621 char *_kwnames[] = { "self","but", NULL };
2622
2623 self = self;
2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
2625 return NULL;
2626 if (_argo0) {
2627 if (_argo0 == Py_None) { _arg0 = NULL; }
2628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
2630 return NULL;
2631 }
2632 }
2633 {
2634 wxPy_BEGIN_ALLOW_THREADS;
2635 _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1);
2636
2637 wxPy_END_ALLOW_THREADS;
2638 } _resultobj = Py_BuildValue("i",_result);
2639 return _resultobj;
2640 }
2641
2642 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
2643 static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
2644 PyObject * _resultobj;
2645 bool _result;
2646 wxJoystickEvent * _arg0;
2647 int _arg1 = (int ) wxJOY_BUTTON_ANY;
2648 PyObject * _argo0 = 0;
2649 char *_kwnames[] = { "self","but", NULL };
2650
2651 self = self;
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
2653 return NULL;
2654 if (_argo0) {
2655 if (_argo0 == Py_None) { _arg0 = NULL; }
2656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
2658 return NULL;
2659 }
2660 }
2661 {
2662 wxPy_BEGIN_ALLOW_THREADS;
2663 _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1);
2664
2665 wxPy_END_ALLOW_THREADS;
2666 } _resultobj = Py_BuildValue("i",_result);
2667 return _resultobj;
2668 }
2669
2670 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
2671 static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject * _resultobj;
2673 bool _result;
2674 wxJoystickEvent * _arg0;
2675 int _arg1 = (int ) wxJOY_BUTTON_ANY;
2676 PyObject * _argo0 = 0;
2677 char *_kwnames[] = { "self","but", NULL };
2678
2679 self = self;
2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
2681 return NULL;
2682 if (_argo0) {
2683 if (_argo0 == Py_None) { _arg0 = NULL; }
2684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
2686 return NULL;
2687 }
2688 }
2689 {
2690 wxPy_BEGIN_ALLOW_THREADS;
2691 _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1);
2692
2693 wxPy_END_ALLOW_THREADS;
2694 } _resultobj = Py_BuildValue("i",_result);
2695 return _resultobj;
2696 }
2697
2698 static void *SwigwxDropFilesEventTowxEvent(void *ptr) {
2699 wxDropFilesEvent *src;
2700 wxEvent *dest;
2701 src = (wxDropFilesEvent *) ptr;
2702 dest = (wxEvent *) src;
2703 return (void *) dest;
2704 }
2705
2706 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2707 static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2708 PyObject * _resultobj;
2709 wxPoint * _result;
2710 wxDropFilesEvent * _arg0;
2711 PyObject * _argo0 = 0;
2712 char *_kwnames[] = { "self", NULL };
2713 char _ptemp[128];
2714
2715 self = self;
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetPosition",_kwnames,&_argo0))
2717 return NULL;
2718 if (_argo0) {
2719 if (_argo0 == Py_None) { _arg0 = NULL; }
2720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
2722 return NULL;
2723 }
2724 }
2725 {
2726 wxPy_BEGIN_ALLOW_THREADS;
2727 _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0));
2728
2729 wxPy_END_ALLOW_THREADS;
2730 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2731 _resultobj = Py_BuildValue("s",_ptemp);
2732 return _resultobj;
2733 }
2734
2735 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
2736 static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject * _resultobj;
2738 int _result;
2739 wxDropFilesEvent * _arg0;
2740 PyObject * _argo0 = 0;
2741 char *_kwnames[] = { "self", NULL };
2742
2743 self = self;
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames,&_argo0))
2745 return NULL;
2746 if (_argo0) {
2747 if (_argo0 == Py_None) { _arg0 = NULL; }
2748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
2750 return NULL;
2751 }
2752 }
2753 {
2754 wxPy_BEGIN_ALLOW_THREADS;
2755 _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0);
2756
2757 wxPy_END_ALLOW_THREADS;
2758 } _resultobj = Py_BuildValue("i",_result);
2759 return _resultobj;
2760 }
2761
2762 static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) {
2763 int count = self->GetNumberOfFiles();
2764 wxString* files = self->GetFiles();
2765 PyObject* list = PyList_New(count);
2766
2767 if (!list) {
2768 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
2769 return NULL;
2770 }
2771
2772 for (int i=0; i<count; i++) {
2773 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
2774 }
2775 return list;
2776 }
2777 static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
2778 PyObject * _resultobj;
2779 PyObject * _result;
2780 wxDropFilesEvent * _arg0;
2781 PyObject * _argo0 = 0;
2782 char *_kwnames[] = { "self", NULL };
2783
2784 self = self;
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetFiles",_kwnames,&_argo0))
2786 return NULL;
2787 if (_argo0) {
2788 if (_argo0 == Py_None) { _arg0 = NULL; }
2789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
2791 return NULL;
2792 }
2793 }
2794 {
2795 wxPy_BEGIN_ALLOW_THREADS;
2796 _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0);
2797
2798 wxPy_END_ALLOW_THREADS;
2799 }{
2800 _resultobj = _result;
2801 }
2802 return _resultobj;
2803 }
2804
2805 static void *SwigwxIdleEventTowxEvent(void *ptr) {
2806 wxIdleEvent *src;
2807 wxEvent *dest;
2808 src = (wxIdleEvent *) ptr;
2809 dest = (wxEvent *) src;
2810 return (void *) dest;
2811 }
2812
2813 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
2814 static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
2815 PyObject * _resultobj;
2816 wxIdleEvent * _arg0;
2817 bool _arg1 = (bool ) TRUE;
2818 PyObject * _argo0 = 0;
2819 int tempbool1 = (int) TRUE;
2820 char *_kwnames[] = { "self","needMore", NULL };
2821
2822 self = self;
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIdleEvent_RequestMore",_kwnames,&_argo0,&tempbool1))
2824 return NULL;
2825 if (_argo0) {
2826 if (_argo0 == Py_None) { _arg0 = NULL; }
2827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
2828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
2829 return NULL;
2830 }
2831 }
2832 _arg1 = (bool ) tempbool1;
2833 {
2834 wxPy_BEGIN_ALLOW_THREADS;
2835 wxIdleEvent_RequestMore(_arg0,_arg1);
2836
2837 wxPy_END_ALLOW_THREADS;
2838 } Py_INCREF(Py_None);
2839 _resultobj = Py_None;
2840 return _resultobj;
2841 }
2842
2843 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
2844 static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
2845 PyObject * _resultobj;
2846 bool _result;
2847 wxIdleEvent * _arg0;
2848 PyObject * _argo0 = 0;
2849 char *_kwnames[] = { "self", NULL };
2850
2851 self = self;
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIdleEvent_MoreRequested",_kwnames,&_argo0))
2853 return NULL;
2854 if (_argo0) {
2855 if (_argo0 == Py_None) { _arg0 = NULL; }
2856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
2857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
2858 return NULL;
2859 }
2860 }
2861 {
2862 wxPy_BEGIN_ALLOW_THREADS;
2863 _result = (bool )wxIdleEvent_MoreRequested(_arg0);
2864
2865 wxPy_END_ALLOW_THREADS;
2866 } _resultobj = Py_BuildValue("i",_result);
2867 return _resultobj;
2868 }
2869
2870 static void *SwigwxUpdateUIEventTowxEvent(void *ptr) {
2871 wxUpdateUIEvent *src;
2872 wxEvent *dest;
2873 src = (wxUpdateUIEvent *) ptr;
2874 dest = (wxEvent *) src;
2875 return (void *) dest;
2876 }
2877
2878 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
2879 static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject * _resultobj;
2881 bool _result;
2882 wxUpdateUIEvent * _arg0;
2883 PyObject * _argo0 = 0;
2884 char *_kwnames[] = { "self", NULL };
2885
2886 self = self;
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetChecked",_kwnames,&_argo0))
2888 return NULL;
2889 if (_argo0) {
2890 if (_argo0 == Py_None) { _arg0 = NULL; }
2891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
2893 return NULL;
2894 }
2895 }
2896 {
2897 wxPy_BEGIN_ALLOW_THREADS;
2898 _result = (bool )wxUpdateUIEvent_GetChecked(_arg0);
2899
2900 wxPy_END_ALLOW_THREADS;
2901 } _resultobj = Py_BuildValue("i",_result);
2902 return _resultobj;
2903 }
2904
2905 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
2906 static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
2907 PyObject * _resultobj;
2908 bool _result;
2909 wxUpdateUIEvent * _arg0;
2910 PyObject * _argo0 = 0;
2911 char *_kwnames[] = { "self", NULL };
2912
2913 self = self;
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetEnabled",_kwnames,&_argo0))
2915 return NULL;
2916 if (_argo0) {
2917 if (_argo0 == Py_None) { _arg0 = NULL; }
2918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
2920 return NULL;
2921 }
2922 }
2923 {
2924 wxPy_BEGIN_ALLOW_THREADS;
2925 _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0);
2926
2927 wxPy_END_ALLOW_THREADS;
2928 } _resultobj = Py_BuildValue("i",_result);
2929 return _resultobj;
2930 }
2931
2932 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
2933 static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject * _resultobj;
2935 wxString * _result;
2936 wxUpdateUIEvent * _arg0;
2937 PyObject * _argo0 = 0;
2938 char *_kwnames[] = { "self", NULL };
2939
2940 self = self;
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetText",_kwnames,&_argo0))
2942 return NULL;
2943 if (_argo0) {
2944 if (_argo0 == Py_None) { _arg0 = NULL; }
2945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
2947 return NULL;
2948 }
2949 }
2950 {
2951 wxPy_BEGIN_ALLOW_THREADS;
2952 _result = new wxString (wxUpdateUIEvent_GetText(_arg0));
2953
2954 wxPy_END_ALLOW_THREADS;
2955 }{
2956 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2957 }
2958 {
2959 delete _result;
2960 }
2961 return _resultobj;
2962 }
2963
2964 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
2965 static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject * _resultobj;
2967 bool _result;
2968 wxUpdateUIEvent * _arg0;
2969 PyObject * _argo0 = 0;
2970 char *_kwnames[] = { "self", NULL };
2971
2972 self = self;
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetText",_kwnames,&_argo0))
2974 return NULL;
2975 if (_argo0) {
2976 if (_argo0 == Py_None) { _arg0 = NULL; }
2977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
2979 return NULL;
2980 }
2981 }
2982 {
2983 wxPy_BEGIN_ALLOW_THREADS;
2984 _result = (bool )wxUpdateUIEvent_GetSetText(_arg0);
2985
2986 wxPy_END_ALLOW_THREADS;
2987 } _resultobj = Py_BuildValue("i",_result);
2988 return _resultobj;
2989 }
2990
2991 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
2992 static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2993 PyObject * _resultobj;
2994 bool _result;
2995 wxUpdateUIEvent * _arg0;
2996 PyObject * _argo0 = 0;
2997 char *_kwnames[] = { "self", NULL };
2998
2999 self = self;
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetChecked",_kwnames,&_argo0))
3001 return NULL;
3002 if (_argo0) {
3003 if (_argo0 == Py_None) { _arg0 = NULL; }
3004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
3006 return NULL;
3007 }
3008 }
3009 {
3010 wxPy_BEGIN_ALLOW_THREADS;
3011 _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0);
3012
3013 wxPy_END_ALLOW_THREADS;
3014 } _resultobj = Py_BuildValue("i",_result);
3015 return _resultobj;
3016 }
3017
3018 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
3019 static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
3020 PyObject * _resultobj;
3021 bool _result;
3022 wxUpdateUIEvent * _arg0;
3023 PyObject * _argo0 = 0;
3024 char *_kwnames[] = { "self", NULL };
3025
3026 self = self;
3027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames,&_argo0))
3028 return NULL;
3029 if (_argo0) {
3030 if (_argo0 == Py_None) { _arg0 = NULL; }
3031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
3033 return NULL;
3034 }
3035 }
3036 {
3037 wxPy_BEGIN_ALLOW_THREADS;
3038 _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0);
3039
3040 wxPy_END_ALLOW_THREADS;
3041 } _resultobj = Py_BuildValue("i",_result);
3042 return _resultobj;
3043 }
3044
3045 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
3046 static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject * _resultobj;
3048 wxUpdateUIEvent * _arg0;
3049 bool _arg1;
3050 PyObject * _argo0 = 0;
3051 int tempbool1;
3052 char *_kwnames[] = { "self","check", NULL };
3053
3054 self = self;
3055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Check",_kwnames,&_argo0,&tempbool1))
3056 return NULL;
3057 if (_argo0) {
3058 if (_argo0 == Py_None) { _arg0 = NULL; }
3059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
3061 return NULL;
3062 }
3063 }
3064 _arg1 = (bool ) tempbool1;
3065 {
3066 wxPy_BEGIN_ALLOW_THREADS;
3067 wxUpdateUIEvent_Check(_arg0,_arg1);
3068
3069 wxPy_END_ALLOW_THREADS;
3070 } Py_INCREF(Py_None);
3071 _resultobj = Py_None;
3072 return _resultobj;
3073 }
3074
3075 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
3076 static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3077 PyObject * _resultobj;
3078 wxUpdateUIEvent * _arg0;
3079 bool _arg1;
3080 PyObject * _argo0 = 0;
3081 int tempbool1;
3082 char *_kwnames[] = { "self","enable", NULL };
3083
3084 self = self;
3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Enable",_kwnames,&_argo0,&tempbool1))
3086 return NULL;
3087 if (_argo0) {
3088 if (_argo0 == Py_None) { _arg0 = NULL; }
3089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
3091 return NULL;
3092 }
3093 }
3094 _arg1 = (bool ) tempbool1;
3095 {
3096 wxPy_BEGIN_ALLOW_THREADS;
3097 wxUpdateUIEvent_Enable(_arg0,_arg1);
3098
3099 wxPy_END_ALLOW_THREADS;
3100 } Py_INCREF(Py_None);
3101 _resultobj = Py_None;
3102 return _resultobj;
3103 }
3104
3105 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
3106 static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
3107 PyObject * _resultobj;
3108 wxUpdateUIEvent * _arg0;
3109 wxString * _arg1;
3110 PyObject * _argo0 = 0;
3111 PyObject * _obj1 = 0;
3112 char *_kwnames[] = { "self","text", NULL };
3113
3114 self = self;
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxUpdateUIEvent_SetText",_kwnames,&_argo0,&_obj1))
3116 return NULL;
3117 if (_argo0) {
3118 if (_argo0 == Py_None) { _arg0 = NULL; }
3119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
3121 return NULL;
3122 }
3123 }
3124 {
3125 if (!PyString_Check(_obj1)) {
3126 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3127 return NULL;
3128 }
3129 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3130 }
3131 {
3132 wxPy_BEGIN_ALLOW_THREADS;
3133 wxUpdateUIEvent_SetText(_arg0,*_arg1);
3134
3135 wxPy_END_ALLOW_THREADS;
3136 } Py_INCREF(Py_None);
3137 _resultobj = Py_None;
3138 {
3139 if (_obj1)
3140 delete _arg1;
3141 }
3142 return _resultobj;
3143 }
3144
3145 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) {
3146 wxSysColourChangedEvent *src;
3147 wxEvent *dest;
3148 src = (wxSysColourChangedEvent *) ptr;
3149 dest = (wxEvent *) src;
3150 return (void *) dest;
3151 }
3152
3153 static void *SwigwxPyEventTowxCommandEvent(void *ptr) {
3154 wxPyEvent *src;
3155 wxCommandEvent *dest;
3156 src = (wxPyEvent *) ptr;
3157 dest = (wxCommandEvent *) src;
3158 return (void *) dest;
3159 }
3160
3161 static void *SwigwxPyEventTowxEvent(void *ptr) {
3162 wxPyEvent *src;
3163 wxEvent *dest;
3164 src = (wxPyEvent *) ptr;
3165 dest = (wxEvent *) src;
3166 return (void *) dest;
3167 }
3168
3169 #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
3170 static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject * _resultobj;
3172 wxPyEvent * _result;
3173 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
3174 PyObject * _arg1 = (PyObject *) Py_None;
3175 PyObject * _obj1 = 0;
3176 char *_kwnames[] = { "commandType","userData", NULL };
3177 char _ptemp[128];
3178
3179 self = self;
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxPyEvent",_kwnames,&_arg0,&_obj1))
3181 return NULL;
3182 if (_obj1)
3183 {
3184 _arg1 = _obj1;
3185 }
3186 {
3187 wxPy_BEGIN_ALLOW_THREADS;
3188 _result = (wxPyEvent *)new_wxPyEvent(_arg0,_arg1);
3189
3190 wxPy_END_ALLOW_THREADS;
3191 } if (_result) {
3192 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p");
3193 _resultobj = Py_BuildValue("s",_ptemp);
3194 } else {
3195 Py_INCREF(Py_None);
3196 _resultobj = Py_None;
3197 }
3198 return _resultobj;
3199 }
3200
3201 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
3202 static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3203 PyObject * _resultobj;
3204 wxPyEvent * _arg0;
3205 PyObject * _argo0 = 0;
3206 char *_kwnames[] = { "self", NULL };
3207
3208 self = self;
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0))
3210 return NULL;
3211 if (_argo0) {
3212 if (_argo0 == Py_None) { _arg0 = NULL; }
3213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
3214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
3215 return NULL;
3216 }
3217 }
3218 {
3219 wxPy_BEGIN_ALLOW_THREADS;
3220 delete_wxPyEvent(_arg0);
3221
3222 wxPy_END_ALLOW_THREADS;
3223 } Py_INCREF(Py_None);
3224 _resultobj = Py_None;
3225 return _resultobj;
3226 }
3227
3228 #define wxPyEvent_SetUserData(_swigobj,_swigarg0) (_swigobj->SetUserData(_swigarg0))
3229 static PyObject *_wrap_wxPyEvent_SetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject * _resultobj;
3231 wxPyEvent * _arg0;
3232 PyObject * _arg1;
3233 PyObject * _argo0 = 0;
3234 PyObject * _obj1 = 0;
3235 char *_kwnames[] = { "self","userData", NULL };
3236
3237 self = self;
3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetUserData",_kwnames,&_argo0,&_obj1))
3239 return NULL;
3240 if (_argo0) {
3241 if (_argo0 == Py_None) { _arg0 = NULL; }
3242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
3243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetUserData. Expected _wxPyEvent_p.");
3244 return NULL;
3245 }
3246 }
3247 {
3248 _arg1 = _obj1;
3249 }
3250 {
3251 wxPy_BEGIN_ALLOW_THREADS;
3252 wxPyEvent_SetUserData(_arg0,_arg1);
3253
3254 wxPy_END_ALLOW_THREADS;
3255 } Py_INCREF(Py_None);
3256 _resultobj = Py_None;
3257 return _resultobj;
3258 }
3259
3260 #define wxPyEvent_GetUserData(_swigobj) (_swigobj->GetUserData())
3261 static PyObject *_wrap_wxPyEvent_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
3262 PyObject * _resultobj;
3263 PyObject * _result;
3264 wxPyEvent * _arg0;
3265 PyObject * _argo0 = 0;
3266 char *_kwnames[] = { "self", NULL };
3267
3268 self = self;
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetUserData",_kwnames,&_argo0))
3270 return NULL;
3271 if (_argo0) {
3272 if (_argo0 == Py_None) { _arg0 = NULL; }
3273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
3274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetUserData. Expected _wxPyEvent_p.");
3275 return NULL;
3276 }
3277 }
3278 {
3279 wxPy_BEGIN_ALLOW_THREADS;
3280 _result = (PyObject *)wxPyEvent_GetUserData(_arg0);
3281
3282 wxPy_END_ALLOW_THREADS;
3283 }{
3284 _resultobj = _result;
3285 }
3286 return _resultobj;
3287 }
3288
3289 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) {
3290 wxNotifyEvent *src;
3291 wxCommandEvent *dest;
3292 src = (wxNotifyEvent *) ptr;
3293 dest = (wxCommandEvent *) src;
3294 return (void *) dest;
3295 }
3296
3297 static void *SwigwxNotifyEventTowxEvent(void *ptr) {
3298 wxNotifyEvent *src;
3299 wxEvent *dest;
3300 src = (wxNotifyEvent *) ptr;
3301 dest = (wxEvent *) src;
3302 return (void *) dest;
3303 }
3304
3305 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
3306 static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject * _resultobj;
3308 bool _result;
3309 wxNotifyEvent * _arg0;
3310 PyObject * _argo0 = 0;
3311 char *_kwnames[] = { "self", NULL };
3312
3313 self = self;
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_IsAllowed",_kwnames,&_argo0))
3315 return NULL;
3316 if (_argo0) {
3317 if (_argo0 == Py_None) { _arg0 = NULL; }
3318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
3319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
3320 return NULL;
3321 }
3322 }
3323 {
3324 wxPy_BEGIN_ALLOW_THREADS;
3325 _result = (bool )wxNotifyEvent_IsAllowed(_arg0);
3326
3327 wxPy_END_ALLOW_THREADS;
3328 } _resultobj = Py_BuildValue("i",_result);
3329 return _resultobj;
3330 }
3331
3332 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
3333 static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
3334 PyObject * _resultobj;
3335 wxNotifyEvent * _arg0;
3336 PyObject * _argo0 = 0;
3337 char *_kwnames[] = { "self", NULL };
3338
3339 self = self;
3340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Veto",_kwnames,&_argo0))
3341 return NULL;
3342 if (_argo0) {
3343 if (_argo0 == Py_None) { _arg0 = NULL; }
3344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
3345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
3346 return NULL;
3347 }
3348 }
3349 {
3350 wxPy_BEGIN_ALLOW_THREADS;
3351 wxNotifyEvent_Veto(_arg0);
3352
3353 wxPy_END_ALLOW_THREADS;
3354 } Py_INCREF(Py_None);
3355 _resultobj = Py_None;
3356 return _resultobj;
3357 }
3358
3359 static PyMethodDef eventscMethods[] = {
3360 { "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
3361 { "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
3362 { "wxPyEvent_GetUserData", (PyCFunction) _wrap_wxPyEvent_GetUserData, METH_VARARGS | METH_KEYWORDS },
3363 { "wxPyEvent_SetUserData", (PyCFunction) _wrap_wxPyEvent_SetUserData, METH_VARARGS | METH_KEYWORDS },
3364 { "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
3365 { "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
3366 { "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
3367 { "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
3368 { "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
3369 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
3370 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
3371 { "wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
3372 { "wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
3373 { "wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
3374 { "wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
3375 { "wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
3376 { "wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
3377 { "wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
3378 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
3379 { "wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3380 { "wxJoystickEvent_ButtonIsDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
3381 { "wxJoystickEvent_ButtonUp", (PyCFunction) _wrap_wxJoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
3382 { "wxJoystickEvent_ButtonDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
3383 { "wxJoystickEvent_IsZMove", (PyCFunction) _wrap_wxJoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
3384 { "wxJoystickEvent_IsMove", (PyCFunction) _wrap_wxJoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
3385 { "wxJoystickEvent_IsButton", (PyCFunction) _wrap_wxJoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
3386 { "wxJoystickEvent_SetZPosition", (PyCFunction) _wrap_wxJoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
3387 { "wxJoystickEvent_SetPosition", (PyCFunction) _wrap_wxJoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
3388 { "wxJoystickEvent_SetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
3389 { "wxJoystickEvent_SetButtonState", (PyCFunction) _wrap_wxJoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
3390 { "wxJoystickEvent_SetJoystick", (PyCFunction) _wrap_wxJoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
3391 { "wxJoystickEvent_GetJoystick", (PyCFunction) _wrap_wxJoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
3392 { "wxJoystickEvent_GetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
3393 { "wxJoystickEvent_GetButtonState", (PyCFunction) _wrap_wxJoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
3394 { "wxJoystickEvent_GetZPosition", (PyCFunction) _wrap_wxJoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
3395 { "wxJoystickEvent_GetPosition", (PyCFunction) _wrap_wxJoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3396 { "wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
3397 { "wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
3398 { "wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
3399 { "wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
3400 { "wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
3401 { "wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3402 { "wxKeyEvent_KeyCode", (PyCFunction) _wrap_wxKeyEvent_KeyCode, METH_VARARGS | METH_KEYWORDS },
3403 { "wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
3404 { "wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
3405 { "wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
3406 { "wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
3407 { "wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
3408 { "wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
3409 { "wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
3410 { "wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3411 { "wxMouseEvent_Position", (PyCFunction) _wrap_wxMouseEvent_Position, METH_VARARGS | METH_KEYWORDS },
3412 { "wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
3413 { "wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
3414 { "wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
3415 { "wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
3416 { "wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
3417 { "wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
3418 { "wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
3419 { "wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
3420 { "wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
3421 { "wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
3422 { "wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
3423 { "wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
3424 { "wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
3425 { "wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
3426 { "wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
3427 { "wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
3428 { "wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
3429 { "wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
3430 { "wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
3431 { "wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
3432 { "wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
3433 { "wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
3434 { "wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
3435 { "wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
3436 { "wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
3437 { "wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
3438 { "wxScrollWinEvent_GetPosition", (PyCFunction) _wrap_wxScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3439 { "wxScrollWinEvent_GetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
3440 { "wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3441 { "wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
3442 { "wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
3443 { "wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
3444 { "wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
3445 { "wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
3446 { "wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
3447 { "wxCommandEvent_Checked", (PyCFunction) _wrap_wxCommandEvent_Checked, METH_VARARGS | METH_KEYWORDS },
3448 { "wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
3449 { "wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
3450 { "wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
3451 { "wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
3452 { "wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
3453 { "wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
3454 { "wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
3455 { "wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS },
3456 { "wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
3457 { "wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS },
3458 { "wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS },
3459 { "wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS },
3460 { "wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
3461 { "wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS },
3462 { "wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS },
3463 { "wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS },
3464 { "wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS },
3465 { NULL, NULL }
3466 };
3467 #ifdef __cplusplus
3468 }
3469 #endif
3470 /*
3471 * This table is used by the pointer type-checker
3472 */
3473 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
3474 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3475 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
3476 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
3477 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
3478 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
3479 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
3480 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
3481 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
3482 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
3483 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
3484 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
3485 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
3486 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
3487 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
3488 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
3489 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
3490 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
3491 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
3492 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
3493 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
3494 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
3495 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
3496 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
3497 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
3498 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
3499 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
3500 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
3501 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
3502 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
3503 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
3504 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
3505 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
3506 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
3507 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
3508 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
3509 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
3510 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
3511 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
3512 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
3513 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
3514 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
3515 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
3516 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
3517 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
3518 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
3519 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
3520 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
3521 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
3522 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
3523 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
3524 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
3525 { "_wxEvent","_class_wxEvent",0},
3526 { "_class_wxActivateEvent","_wxActivateEvent",0},
3527 { "_signed_long","_long",0},
3528 { "_wxMenuEvent","_class_wxMenuEvent",0},
3529 { "_wxPrintQuality","_int",0},
3530 { "_wxPrintQuality","_signed_int",0},
3531 { "_wxPrintQuality","_unsigned_int",0},
3532 { "_wxPrintQuality","_wxWindowID",0},
3533 { "_wxPrintQuality","_uint",0},
3534 { "_wxPrintQuality","_EBool",0},
3535 { "_wxPrintQuality","_size_t",0},
3536 { "_class_wxRegionIterator","_wxRegionIterator",0},
3537 { "_wxPaintEvent","_class_wxPaintEvent",0},
3538 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3539 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3540 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3541 { "_byte","_unsigned_char",0},
3542 { "_long","_unsigned_long",0},
3543 { "_long","_signed_long",0},
3544 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3545 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3546 { "_wxSpinEvent","_class_wxSpinEvent",0},
3547 { "_size_t","_wxPrintQuality",0},
3548 { "_size_t","_unsigned_int",0},
3549 { "_size_t","_int",0},
3550 { "_size_t","_wxWindowID",0},
3551 { "_size_t","_uint",0},
3552 { "_class_wxRealPoint","_wxRealPoint",0},
3553 { "_class_wxPaintEvent","_wxPaintEvent",0},
3554 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3555 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3556 { "_wxPyEvent","_class_wxPyEvent",0},
3557 { "_class_wxKeyEvent","_wxKeyEvent",0},
3558 { "_wxIdleEvent","_class_wxIdleEvent",0},
3559 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3560 { "_wxShowEvent","_class_wxShowEvent",0},
3561 { "_uint","_wxPrintQuality",0},
3562 { "_uint","_size_t",0},
3563 { "_uint","_unsigned_int",0},
3564 { "_uint","_int",0},
3565 { "_uint","_wxWindowID",0},
3566 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
3567 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
3568 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
3569 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
3570 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
3571 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
3572 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
3573 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
3574 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
3575 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
3576 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
3577 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
3578 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
3579 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
3580 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
3581 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
3582 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
3583 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
3584 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
3585 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
3586 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
3587 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
3588 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
3589 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
3590 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
3591 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
3592 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
3593 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
3594 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
3595 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
3596 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
3597 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
3598 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
3599 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
3600 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
3601 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
3602 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
3603 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
3604 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
3605 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
3606 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
3607 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
3608 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
3609 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
3610 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
3611 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
3612 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
3613 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
3614 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
3615 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
3616 { "_class_wxEvent","_wxEvent",0},
3617 { "_wxRect","_class_wxRect",0},
3618 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
3619 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
3620 { "_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent},
3621 { "_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent},
3622 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
3623 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
3624 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
3625 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
3626 { "_wxCommandEvent","_class_wxCommandEvent",0},
3627 { "_wxSizeEvent","_class_wxSizeEvent",0},
3628 { "_wxPoint","_class_wxPoint",0},
3629 { "_wxPyTimer","_class_wxPyTimer",0},
3630 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3631 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3632 { "_class_wxPyEvent","_wxPyEvent",0},
3633 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3634 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
3635 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
3636 { "_wxScrollEvent","_class_wxScrollEvent",0},
3637 { "_EBool","_wxPrintQuality",0},
3638 { "_EBool","_signed_int",0},
3639 { "_EBool","_int",0},
3640 { "_EBool","_wxWindowID",0},
3641 { "_class_wxRegion","_wxRegion",0},
3642 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3643 { "_wxCloseEvent","_class_wxCloseEvent",0},
3644 { "_unsigned_long","_long",0},
3645 { "_class_wxRect","_wxRect",0},
3646 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3647 { "_class_wxPyTimer","_wxPyTimer",0},
3648 { "_wxFocusEvent","_class_wxFocusEvent",0},
3649 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3650 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3651 { "_signed_int","_wxPrintQuality",0},
3652 { "_signed_int","_EBool",0},
3653 { "_signed_int","_wxWindowID",0},
3654 { "_signed_int","_int",0},
3655 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3656 { "_class_wxMoveEvent","_wxMoveEvent",0},
3657 { "_WXTYPE","_short",0},
3658 { "_WXTYPE","_signed_short",0},
3659 { "_WXTYPE","_unsigned_short",0},
3660 { "_unsigned_short","_WXTYPE",0},
3661 { "_unsigned_short","_short",0},
3662 { "_class_wxCloseEvent","_wxCloseEvent",0},
3663 { "_class_wxMenuEvent","_wxMenuEvent",0},
3664 { "_wxMouseEvent","_class_wxMouseEvent",0},
3665 { "_class_wxPoint","_wxPoint",0},
3666 { "_wxRealPoint","_class_wxRealPoint",0},
3667 { "_signed_short","_WXTYPE",0},
3668 { "_signed_short","_short",0},
3669 { "_class_wxFocusEvent","_wxFocusEvent",0},
3670 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3671 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3672 { "_unsigned_char","_byte",0},
3673 { "_unsigned_int","_wxPrintQuality",0},
3674 { "_unsigned_int","_size_t",0},
3675 { "_unsigned_int","_uint",0},
3676 { "_unsigned_int","_wxWindowID",0},
3677 { "_unsigned_int","_int",0},
3678 { "_short","_WXTYPE",0},
3679 { "_short","_unsigned_short",0},
3680 { "_short","_signed_short",0},
3681 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
3682 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
3683 { "_class_wxScrollEvent","_wxScrollEvent",0},
3684 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3685 { "_wxWindowID","_wxPrintQuality",0},
3686 { "_wxWindowID","_size_t",0},
3687 { "_wxWindowID","_EBool",0},
3688 { "_wxWindowID","_uint",0},
3689 { "_wxWindowID","_int",0},
3690 { "_wxWindowID","_signed_int",0},
3691 { "_wxWindowID","_unsigned_int",0},
3692 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3693 { "_int","_wxPrintQuality",0},
3694 { "_int","_size_t",0},
3695 { "_int","_EBool",0},
3696 { "_int","_uint",0},
3697 { "_int","_wxWindowID",0},
3698 { "_int","_unsigned_int",0},
3699 { "_int","_signed_int",0},
3700 { "_class_wxMouseEvent","_wxMouseEvent",0},
3701 { "_class_wxSpinEvent","_wxSpinEvent",0},
3702 { "_wxSize","_class_wxSize",0},
3703 { "_wxRegionIterator","_class_wxRegionIterator",0},
3704 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3705 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3706 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3707 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3708 { "_class_wxIdleEvent","_wxIdleEvent",0},
3709 { "_wxEraseEvent","_class_wxEraseEvent",0},
3710 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3711 { "_wxRegion","_class_wxRegion",0},
3712 { "_class_wxShowEvent","_wxShowEvent",0},
3713 { "_wxActivateEvent","_class_wxActivateEvent",0},
3714 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
3715 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
3716 { "_class_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent},
3717 { "_class_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent},
3718 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
3719 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
3720 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
3721 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
3722 { "_class_wxCommandEvent","_wxCommandEvent",0},
3723 { "_class_wxSizeEvent","_wxSizeEvent",0},
3724 { "_class_wxSize","_wxSize",0},
3725 { "_wxKeyEvent","_class_wxKeyEvent",0},
3726 { "_wxMoveEvent","_class_wxMoveEvent",0},
3727 { "_class_wxEraseEvent","_wxEraseEvent",0},
3728 {0,0,0}};
3729
3730 static PyObject *SWIG_globals;
3731 #ifdef __cplusplus
3732 extern "C"
3733 #endif
3734 SWIGEXPORT(void) initeventsc() {
3735 PyObject *m, *d;
3736 SWIG_globals = SWIG_newvarlink();
3737 m = Py_InitModule("eventsc", eventscMethods);
3738 d = PyModule_GetDict(m);
3739 {
3740 int i;
3741 for (i = 0; _swig_mapping[i].n1; i++)
3742 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3743 }
3744 }