]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/events.cpp
minimal now works in Unicode mode
[wxWidgets.git] / utils / wxPython / src / gtk / events.cpp
1 /*
2 * FILE : gtk/events.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
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 extern byte* byte_LIST_helper(PyObject* source);
108 extern int* int_LIST_helper(PyObject* source);
109 extern long* long_LIST_helper(PyObject* source);
110 extern char** string_LIST_helper(PyObject* source);
111 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
112 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
113 extern wxString* wxString_LIST_helper(PyObject* source);
114 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
115
116
117 static char* wxStringErrorMsg = "string type is required for parameter";
118 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
119 static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args) {
120 PyObject * _resultobj;
121 wxObject * _result;
122 wxEvent * _arg0;
123 char * _argc0 = 0;
124 char _ptemp[128];
125
126 self = self;
127 if(!PyArg_ParseTuple(args,"s:wxEvent_GetEventObject",&_argc0))
128 return NULL;
129 if (_argc0) {
130 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
132 return NULL;
133 }
134 }
135 _result = (wxObject *)wxEvent_GetEventObject(_arg0);
136 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
137 _resultobj = Py_BuildValue("s",_ptemp);
138 return _resultobj;
139 }
140
141 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
142 static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args) {
143 PyObject * _resultobj;
144 wxEventType _result;
145 wxEvent * _arg0;
146 char * _argc0 = 0;
147
148 self = self;
149 if(!PyArg_ParseTuple(args,"s:wxEvent_GetEventType",&_argc0))
150 return NULL;
151 if (_argc0) {
152 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
154 return NULL;
155 }
156 }
157 _result = (wxEventType )wxEvent_GetEventType(_arg0);
158 _resultobj = Py_BuildValue("i",_result);
159 return _resultobj;
160 }
161
162 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
163 static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args) {
164 PyObject * _resultobj;
165 int _result;
166 wxEvent * _arg0;
167 char * _argc0 = 0;
168
169 self = self;
170 if(!PyArg_ParseTuple(args,"s:wxEvent_GetId",&_argc0))
171 return NULL;
172 if (_argc0) {
173 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
175 return NULL;
176 }
177 }
178 _result = (int )wxEvent_GetId(_arg0);
179 _resultobj = Py_BuildValue("i",_result);
180 return _resultobj;
181 }
182
183 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
184 static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args) {
185 PyObject * _resultobj;
186 bool _result;
187 wxEvent * _arg0;
188 char * _argc0 = 0;
189
190 self = self;
191 if(!PyArg_ParseTuple(args,"s:wxEvent_GetSkipped",&_argc0))
192 return NULL;
193 if (_argc0) {
194 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
196 return NULL;
197 }
198 }
199 _result = (bool )wxEvent_GetSkipped(_arg0);
200 _resultobj = Py_BuildValue("i",_result);
201 return _resultobj;
202 }
203
204 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
205 static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args) {
206 PyObject * _resultobj;
207 long _result;
208 wxEvent * _arg0;
209 char * _argc0 = 0;
210
211 self = self;
212 if(!PyArg_ParseTuple(args,"s:wxEvent_GetTimestamp",&_argc0))
213 return NULL;
214 if (_argc0) {
215 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
217 return NULL;
218 }
219 }
220 _result = (long )wxEvent_GetTimestamp(_arg0);
221 _resultobj = Py_BuildValue("l",_result);
222 return _resultobj;
223 }
224
225 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
226 static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args) {
227 PyObject * _resultobj;
228 wxEvent * _arg0;
229 wxObject * _arg1;
230 char * _argc0 = 0;
231 char * _argc1 = 0;
232
233 self = self;
234 if(!PyArg_ParseTuple(args,"ss:wxEvent_SetEventObject",&_argc0,&_argc1))
235 return NULL;
236 if (_argc0) {
237 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
239 return NULL;
240 }
241 }
242 if (_argc1) {
243 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxObject_p")) {
244 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
245 return NULL;
246 }
247 }
248 wxEvent_SetEventObject(_arg0,_arg1);
249 Py_INCREF(Py_None);
250 _resultobj = Py_None;
251 return _resultobj;
252 }
253
254 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
255 static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args) {
256 PyObject * _resultobj;
257 wxEvent * _arg0;
258 wxEventType _arg1;
259 char * _argc0 = 0;
260
261 self = self;
262 if(!PyArg_ParseTuple(args,"si:wxEvent_SetEventType",&_argc0,&_arg1))
263 return NULL;
264 if (_argc0) {
265 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
267 return NULL;
268 }
269 }
270 wxEvent_SetEventType(_arg0,_arg1);
271 Py_INCREF(Py_None);
272 _resultobj = Py_None;
273 return _resultobj;
274 }
275
276 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
277 static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args) {
278 PyObject * _resultobj;
279 wxEvent * _arg0;
280 int _arg1;
281 char * _argc0 = 0;
282
283 self = self;
284 if(!PyArg_ParseTuple(args,"si:wxEvent_SetId",&_argc0,&_arg1))
285 return NULL;
286 if (_argc0) {
287 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
289 return NULL;
290 }
291 }
292 wxEvent_SetId(_arg0,_arg1);
293 Py_INCREF(Py_None);
294 _resultobj = Py_None;
295 return _resultobj;
296 }
297
298 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
299 static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args) {
300 PyObject * _resultobj;
301 wxEvent * _arg0;
302 long _arg1;
303 char * _argc0 = 0;
304
305 self = self;
306 if(!PyArg_ParseTuple(args,"sl:wxEvent_SetTimestamp",&_argc0,&_arg1))
307 return NULL;
308 if (_argc0) {
309 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
311 return NULL;
312 }
313 }
314 wxEvent_SetTimestamp(_arg0,_arg1);
315 Py_INCREF(Py_None);
316 _resultobj = Py_None;
317 return _resultobj;
318 }
319
320 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
321 static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args) {
322 PyObject * _resultobj;
323 wxEvent * _arg0;
324 bool _arg1 = (1);
325 char * _argc0 = 0;
326 int tempbool1;
327
328 self = self;
329 if(!PyArg_ParseTuple(args,"s|i:wxEvent_Skip",&_argc0,&tempbool1))
330 return NULL;
331 if (_argc0) {
332 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
334 return NULL;
335 }
336 }
337 _arg1 = (bool ) tempbool1;
338 wxEvent_Skip(_arg0,_arg1);
339 Py_INCREF(Py_None);
340 _resultobj = Py_None;
341 return _resultobj;
342 }
343
344 static void *SwigwxSizeEventTowxEvent(void *ptr) {
345 wxSizeEvent *src;
346 wxEvent *dest;
347 src = (wxSizeEvent *) ptr;
348 dest = (wxEvent *) src;
349 return (void *) dest;
350 }
351
352 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
353 static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args) {
354 PyObject * _resultobj;
355 wxSize * _result;
356 wxSizeEvent * _arg0;
357 char * _argc0 = 0;
358 char _ptemp[128];
359
360 self = self;
361 if(!PyArg_ParseTuple(args,"s:wxSizeEvent_GetSize",&_argc0))
362 return NULL;
363 if (_argc0) {
364 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSizeEvent_p")) {
365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
366 return NULL;
367 }
368 }
369 _result = new wxSize (wxSizeEvent_GetSize(_arg0));
370 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
371 _resultobj = Py_BuildValue("s",_ptemp);
372 return _resultobj;
373 }
374
375 static void *SwigwxCloseEventTowxEvent(void *ptr) {
376 wxCloseEvent *src;
377 wxEvent *dest;
378 src = (wxCloseEvent *) ptr;
379 dest = (wxEvent *) src;
380 return (void *) dest;
381 }
382
383 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
384 static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *self, PyObject *args) {
385 PyObject * _resultobj;
386 wxCloseEvent * _arg0;
387 bool _arg1;
388 char * _argc0 = 0;
389 int tempbool1;
390
391 self = self;
392 if(!PyArg_ParseTuple(args,"si:wxCloseEvent_SetLoggingOff",&_argc0,&tempbool1))
393 return NULL;
394 if (_argc0) {
395 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
397 return NULL;
398 }
399 }
400 _arg1 = (bool ) tempbool1;
401 wxCloseEvent_SetLoggingOff(_arg0,_arg1);
402 Py_INCREF(Py_None);
403 _resultobj = Py_None;
404 return _resultobj;
405 }
406
407 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
408 static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args) {
409 PyObject * _resultobj;
410 bool _result;
411 wxCloseEvent * _arg0;
412 char * _argc0 = 0;
413
414 self = self;
415 if(!PyArg_ParseTuple(args,"s:wxCloseEvent_GetLoggingOff",&_argc0))
416 return NULL;
417 if (_argc0) {
418 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
420 return NULL;
421 }
422 }
423 _result = (bool )wxCloseEvent_GetLoggingOff(_arg0);
424 _resultobj = Py_BuildValue("i",_result);
425 return _resultobj;
426 }
427
428 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
429 static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args) {
430 PyObject * _resultobj;
431 wxCloseEvent * _arg0;
432 bool _arg1 = (1);
433 char * _argc0 = 0;
434 int tempbool1;
435
436 self = self;
437 if(!PyArg_ParseTuple(args,"s|i:wxCloseEvent_Veto",&_argc0,&tempbool1))
438 return NULL;
439 if (_argc0) {
440 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
442 return NULL;
443 }
444 }
445 _arg1 = (bool ) tempbool1;
446 wxCloseEvent_Veto(_arg0,_arg1);
447 Py_INCREF(Py_None);
448 _resultobj = Py_None;
449 return _resultobj;
450 }
451
452 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
453 static PyObject *_wrap_wxCloseEvent_CanVeto(PyObject *self, PyObject *args) {
454 PyObject * _resultobj;
455 bool _result;
456 wxCloseEvent * _arg0;
457 char * _argc0 = 0;
458
459 self = self;
460 if(!PyArg_ParseTuple(args,"s:wxCloseEvent_CanVeto",&_argc0))
461 return NULL;
462 if (_argc0) {
463 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
465 return NULL;
466 }
467 }
468 _result = (bool )wxCloseEvent_CanVeto(_arg0);
469 _resultobj = Py_BuildValue("i",_result);
470 return _resultobj;
471 }
472
473 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
474 static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args) {
475 PyObject * _resultobj;
476 bool _result;
477 wxCloseEvent * _arg0;
478 char * _argc0 = 0;
479
480 self = self;
481 if(!PyArg_ParseTuple(args,"s:wxCloseEvent_GetVeto",&_argc0))
482 return NULL;
483 if (_argc0) {
484 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
486 return NULL;
487 }
488 }
489 _result = (bool )wxCloseEvent_GetVeto(_arg0);
490 _resultobj = Py_BuildValue("i",_result);
491 return _resultobj;
492 }
493
494 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
495 static PyObject *_wrap_wxCloseEvent_SetCanVeto(PyObject *self, PyObject *args) {
496 PyObject * _resultobj;
497 wxCloseEvent * _arg0;
498 bool _arg1;
499 char * _argc0 = 0;
500 int tempbool1;
501
502 self = self;
503 if(!PyArg_ParseTuple(args,"si:wxCloseEvent_SetCanVeto",&_argc0,&tempbool1))
504 return NULL;
505 if (_argc0) {
506 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
508 return NULL;
509 }
510 }
511 _arg1 = (bool ) tempbool1;
512 wxCloseEvent_SetCanVeto(_arg0,_arg1);
513 Py_INCREF(Py_None);
514 _resultobj = Py_None;
515 return _resultobj;
516 }
517
518 static void *SwigwxCommandEventTowxEvent(void *ptr) {
519 wxCommandEvent *src;
520 wxEvent *dest;
521 src = (wxCommandEvent *) ptr;
522 dest = (wxEvent *) src;
523 return (void *) dest;
524 }
525
526 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
527 static PyObject *_wrap_wxCommandEvent_Checked(PyObject *self, PyObject *args) {
528 PyObject * _resultobj;
529 bool _result;
530 wxCommandEvent * _arg0;
531 char * _argc0 = 0;
532
533 self = self;
534 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_Checked",&_argc0))
535 return NULL;
536 if (_argc0) {
537 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
539 return NULL;
540 }
541 }
542 _result = (bool )wxCommandEvent_Checked(_arg0);
543 _resultobj = Py_BuildValue("i",_result);
544 return _resultobj;
545 }
546
547 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
548 static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args) {
549 PyObject * _resultobj;
550 long _result;
551 wxCommandEvent * _arg0;
552 char * _argc0 = 0;
553
554 self = self;
555 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetExtraLong",&_argc0))
556 return NULL;
557 if (_argc0) {
558 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
560 return NULL;
561 }
562 }
563 _result = (long )wxCommandEvent_GetExtraLong(_arg0);
564 _resultobj = Py_BuildValue("l",_result);
565 return _resultobj;
566 }
567
568 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
569 static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args) {
570 PyObject * _resultobj;
571 int _result;
572 wxCommandEvent * _arg0;
573 char * _argc0 = 0;
574
575 self = self;
576 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetInt",&_argc0))
577 return NULL;
578 if (_argc0) {
579 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
581 return NULL;
582 }
583 }
584 _result = (int )wxCommandEvent_GetInt(_arg0);
585 _resultobj = Py_BuildValue("i",_result);
586 return _resultobj;
587 }
588
589 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
590 static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args) {
591 PyObject * _resultobj;
592 int _result;
593 wxCommandEvent * _arg0;
594 char * _argc0 = 0;
595
596 self = self;
597 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetSelection",&_argc0))
598 return NULL;
599 if (_argc0) {
600 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
602 return NULL;
603 }
604 }
605 _result = (int )wxCommandEvent_GetSelection(_arg0);
606 _resultobj = Py_BuildValue("i",_result);
607 return _resultobj;
608 }
609
610 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
611 static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args) {
612 PyObject * _resultobj;
613 char * _result;
614 wxCommandEvent * _arg0;
615 char * _argc0 = 0;
616
617 self = self;
618 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetString",&_argc0))
619 return NULL;
620 if (_argc0) {
621 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
623 return NULL;
624 }
625 }
626 _result = (char *)wxCommandEvent_GetString(_arg0);
627 _resultobj = Py_BuildValue("s", _result);
628 return _resultobj;
629 }
630
631 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
632 static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args) {
633 PyObject * _resultobj;
634 bool _result;
635 wxCommandEvent * _arg0;
636 char * _argc0 = 0;
637
638 self = self;
639 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_IsSelection",&_argc0))
640 return NULL;
641 if (_argc0) {
642 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
644 return NULL;
645 }
646 }
647 _result = (bool )wxCommandEvent_IsSelection(_arg0);
648 _resultobj = Py_BuildValue("i",_result);
649 return _resultobj;
650 }
651
652 static void *SwigwxScrollEventTowxCommandEvent(void *ptr) {
653 wxScrollEvent *src;
654 wxCommandEvent *dest;
655 src = (wxScrollEvent *) ptr;
656 dest = (wxCommandEvent *) src;
657 return (void *) dest;
658 }
659
660 static void *SwigwxScrollEventTowxEvent(void *ptr) {
661 wxScrollEvent *src;
662 wxEvent *dest;
663 src = (wxScrollEvent *) ptr;
664 dest = (wxEvent *) src;
665 return (void *) dest;
666 }
667
668 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
669 static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args) {
670 PyObject * _resultobj;
671 int _result;
672 wxScrollEvent * _arg0;
673 char * _argc0 = 0;
674
675 self = self;
676 if(!PyArg_ParseTuple(args,"s:wxScrollEvent_GetOrientation",&_argc0))
677 return NULL;
678 if (_argc0) {
679 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollEvent_p")) {
680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
681 return NULL;
682 }
683 }
684 _result = (int )wxScrollEvent_GetOrientation(_arg0);
685 _resultobj = Py_BuildValue("i",_result);
686 return _resultobj;
687 }
688
689 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
690 static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args) {
691 PyObject * _resultobj;
692 int _result;
693 wxScrollEvent * _arg0;
694 char * _argc0 = 0;
695
696 self = self;
697 if(!PyArg_ParseTuple(args,"s:wxScrollEvent_GetPosition",&_argc0))
698 return NULL;
699 if (_argc0) {
700 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollEvent_p")) {
701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
702 return NULL;
703 }
704 }
705 _result = (int )wxScrollEvent_GetPosition(_arg0);
706 _resultobj = Py_BuildValue("i",_result);
707 return _resultobj;
708 }
709
710 static void *SwigwxSpinEventTowxScrollEvent(void *ptr) {
711 wxSpinEvent *src;
712 wxScrollEvent *dest;
713 src = (wxSpinEvent *) ptr;
714 dest = (wxScrollEvent *) src;
715 return (void *) dest;
716 }
717
718 static void *SwigwxSpinEventTowxCommandEvent(void *ptr) {
719 wxSpinEvent *src;
720 wxCommandEvent *dest;
721 src = (wxSpinEvent *) ptr;
722 dest = (wxCommandEvent *) src;
723 return (void *) dest;
724 }
725
726 static void *SwigwxSpinEventTowxEvent(void *ptr) {
727 wxSpinEvent *src;
728 wxEvent *dest;
729 src = (wxSpinEvent *) ptr;
730 dest = (wxEvent *) src;
731 return (void *) dest;
732 }
733
734 static void *SwigwxMouseEventTowxEvent(void *ptr) {
735 wxMouseEvent *src;
736 wxEvent *dest;
737 src = (wxMouseEvent *) ptr;
738 dest = (wxEvent *) src;
739 return (void *) dest;
740 }
741
742 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
743 static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args) {
744 PyObject * _resultobj;
745 bool _result;
746 wxMouseEvent * _arg0;
747 char * _argc0 = 0;
748
749 self = self;
750 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_IsButton",&_argc0))
751 return NULL;
752 if (_argc0) {
753 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
755 return NULL;
756 }
757 }
758 _result = (bool )wxMouseEvent_IsButton(_arg0);
759 _resultobj = Py_BuildValue("i",_result);
760 return _resultobj;
761 }
762
763 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
764 static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args) {
765 PyObject * _resultobj;
766 bool _result;
767 wxMouseEvent * _arg0;
768 int _arg1 = -1;
769 char * _argc0 = 0;
770
771 self = self;
772 if(!PyArg_ParseTuple(args,"s|i:wxMouseEvent_ButtonDown",&_argc0,&_arg1))
773 return NULL;
774 if (_argc0) {
775 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
777 return NULL;
778 }
779 }
780 _result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1);
781 _resultobj = Py_BuildValue("i",_result);
782 return _resultobj;
783 }
784
785 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
786 static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args) {
787 PyObject * _resultobj;
788 bool _result;
789 wxMouseEvent * _arg0;
790 int _arg1 = -1;
791 char * _argc0 = 0;
792
793 self = self;
794 if(!PyArg_ParseTuple(args,"s|i:wxMouseEvent_ButtonDClick",&_argc0,&_arg1))
795 return NULL;
796 if (_argc0) {
797 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
799 return NULL;
800 }
801 }
802 _result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1);
803 _resultobj = Py_BuildValue("i",_result);
804 return _resultobj;
805 }
806
807 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
808 static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args) {
809 PyObject * _resultobj;
810 bool _result;
811 wxMouseEvent * _arg0;
812 int _arg1 = -1;
813 char * _argc0 = 0;
814
815 self = self;
816 if(!PyArg_ParseTuple(args,"s|i:wxMouseEvent_ButtonUp",&_argc0,&_arg1))
817 return NULL;
818 if (_argc0) {
819 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
821 return NULL;
822 }
823 }
824 _result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1);
825 _resultobj = Py_BuildValue("i",_result);
826 return _resultobj;
827 }
828
829 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
830 static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args) {
831 PyObject * _resultobj;
832 bool _result;
833 wxMouseEvent * _arg0;
834 int _arg1;
835 char * _argc0 = 0;
836
837 self = self;
838 if(!PyArg_ParseTuple(args,"si:wxMouseEvent_Button",&_argc0,&_arg1))
839 return NULL;
840 if (_argc0) {
841 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
843 return NULL;
844 }
845 }
846 _result = (bool )wxMouseEvent_Button(_arg0,_arg1);
847 _resultobj = Py_BuildValue("i",_result);
848 return _resultobj;
849 }
850
851 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
852 static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args) {
853 PyObject * _resultobj;
854 bool _result;
855 wxMouseEvent * _arg0;
856 int _arg1;
857 char * _argc0 = 0;
858
859 self = self;
860 if(!PyArg_ParseTuple(args,"si:wxMouseEvent_ButtonIsDown",&_argc0,&_arg1))
861 return NULL;
862 if (_argc0) {
863 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
865 return NULL;
866 }
867 }
868 _result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1);
869 _resultobj = Py_BuildValue("i",_result);
870 return _resultobj;
871 }
872
873 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
874 static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args) {
875 PyObject * _resultobj;
876 bool _result;
877 wxMouseEvent * _arg0;
878 char * _argc0 = 0;
879
880 self = self;
881 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_ControlDown",&_argc0))
882 return NULL;
883 if (_argc0) {
884 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
886 return NULL;
887 }
888 }
889 _result = (bool )wxMouseEvent_ControlDown(_arg0);
890 _resultobj = Py_BuildValue("i",_result);
891 return _resultobj;
892 }
893
894 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
895 static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args) {
896 PyObject * _resultobj;
897 bool _result;
898 wxMouseEvent * _arg0;
899 char * _argc0 = 0;
900
901 self = self;
902 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MetaDown",&_argc0))
903 return NULL;
904 if (_argc0) {
905 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
907 return NULL;
908 }
909 }
910 _result = (bool )wxMouseEvent_MetaDown(_arg0);
911 _resultobj = Py_BuildValue("i",_result);
912 return _resultobj;
913 }
914
915 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
916 static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args) {
917 PyObject * _resultobj;
918 bool _result;
919 wxMouseEvent * _arg0;
920 char * _argc0 = 0;
921
922 self = self;
923 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_AltDown",&_argc0))
924 return NULL;
925 if (_argc0) {
926 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
928 return NULL;
929 }
930 }
931 _result = (bool )wxMouseEvent_AltDown(_arg0);
932 _resultobj = Py_BuildValue("i",_result);
933 return _resultobj;
934 }
935
936 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
937 static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args) {
938 PyObject * _resultobj;
939 bool _result;
940 wxMouseEvent * _arg0;
941 char * _argc0 = 0;
942
943 self = self;
944 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_ShiftDown",&_argc0))
945 return NULL;
946 if (_argc0) {
947 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
949 return NULL;
950 }
951 }
952 _result = (bool )wxMouseEvent_ShiftDown(_arg0);
953 _resultobj = Py_BuildValue("i",_result);
954 return _resultobj;
955 }
956
957 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
958 static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args) {
959 PyObject * _resultobj;
960 bool _result;
961 wxMouseEvent * _arg0;
962 char * _argc0 = 0;
963
964 self = self;
965 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftDown",&_argc0))
966 return NULL;
967 if (_argc0) {
968 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
970 return NULL;
971 }
972 }
973 _result = (bool )wxMouseEvent_LeftDown(_arg0);
974 _resultobj = Py_BuildValue("i",_result);
975 return _resultobj;
976 }
977
978 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
979 static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args) {
980 PyObject * _resultobj;
981 bool _result;
982 wxMouseEvent * _arg0;
983 char * _argc0 = 0;
984
985 self = self;
986 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleDown",&_argc0))
987 return NULL;
988 if (_argc0) {
989 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
991 return NULL;
992 }
993 }
994 _result = (bool )wxMouseEvent_MiddleDown(_arg0);
995 _resultobj = Py_BuildValue("i",_result);
996 return _resultobj;
997 }
998
999 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1000 static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args) {
1001 PyObject * _resultobj;
1002 bool _result;
1003 wxMouseEvent * _arg0;
1004 char * _argc0 = 0;
1005
1006 self = self;
1007 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightDown",&_argc0))
1008 return NULL;
1009 if (_argc0) {
1010 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1012 return NULL;
1013 }
1014 }
1015 _result = (bool )wxMouseEvent_RightDown(_arg0);
1016 _resultobj = Py_BuildValue("i",_result);
1017 return _resultobj;
1018 }
1019
1020 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1021 static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args) {
1022 PyObject * _resultobj;
1023 bool _result;
1024 wxMouseEvent * _arg0;
1025 char * _argc0 = 0;
1026
1027 self = self;
1028 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftUp",&_argc0))
1029 return NULL;
1030 if (_argc0) {
1031 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1033 return NULL;
1034 }
1035 }
1036 _result = (bool )wxMouseEvent_LeftUp(_arg0);
1037 _resultobj = Py_BuildValue("i",_result);
1038 return _resultobj;
1039 }
1040
1041 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1042 static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args) {
1043 PyObject * _resultobj;
1044 bool _result;
1045 wxMouseEvent * _arg0;
1046 char * _argc0 = 0;
1047
1048 self = self;
1049 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleUp",&_argc0))
1050 return NULL;
1051 if (_argc0) {
1052 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1054 return NULL;
1055 }
1056 }
1057 _result = (bool )wxMouseEvent_MiddleUp(_arg0);
1058 _resultobj = Py_BuildValue("i",_result);
1059 return _resultobj;
1060 }
1061
1062 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1063 static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args) {
1064 PyObject * _resultobj;
1065 bool _result;
1066 wxMouseEvent * _arg0;
1067 char * _argc0 = 0;
1068
1069 self = self;
1070 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightUp",&_argc0))
1071 return NULL;
1072 if (_argc0) {
1073 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1075 return NULL;
1076 }
1077 }
1078 _result = (bool )wxMouseEvent_RightUp(_arg0);
1079 _resultobj = Py_BuildValue("i",_result);
1080 return _resultobj;
1081 }
1082
1083 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1084 static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args) {
1085 PyObject * _resultobj;
1086 bool _result;
1087 wxMouseEvent * _arg0;
1088 char * _argc0 = 0;
1089
1090 self = self;
1091 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftDClick",&_argc0))
1092 return NULL;
1093 if (_argc0) {
1094 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1096 return NULL;
1097 }
1098 }
1099 _result = (bool )wxMouseEvent_LeftDClick(_arg0);
1100 _resultobj = Py_BuildValue("i",_result);
1101 return _resultobj;
1102 }
1103
1104 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1105 static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args) {
1106 PyObject * _resultobj;
1107 bool _result;
1108 wxMouseEvent * _arg0;
1109 char * _argc0 = 0;
1110
1111 self = self;
1112 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleDClick",&_argc0))
1113 return NULL;
1114 if (_argc0) {
1115 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1117 return NULL;
1118 }
1119 }
1120 _result = (bool )wxMouseEvent_MiddleDClick(_arg0);
1121 _resultobj = Py_BuildValue("i",_result);
1122 return _resultobj;
1123 }
1124
1125 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1126 static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args) {
1127 PyObject * _resultobj;
1128 bool _result;
1129 wxMouseEvent * _arg0;
1130 char * _argc0 = 0;
1131
1132 self = self;
1133 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightDClick",&_argc0))
1134 return NULL;
1135 if (_argc0) {
1136 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1138 return NULL;
1139 }
1140 }
1141 _result = (bool )wxMouseEvent_RightDClick(_arg0);
1142 _resultobj = Py_BuildValue("i",_result);
1143 return _resultobj;
1144 }
1145
1146 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1147 static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args) {
1148 PyObject * _resultobj;
1149 bool _result;
1150 wxMouseEvent * _arg0;
1151 char * _argc0 = 0;
1152
1153 self = self;
1154 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftIsDown",&_argc0))
1155 return NULL;
1156 if (_argc0) {
1157 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1159 return NULL;
1160 }
1161 }
1162 _result = (bool )wxMouseEvent_LeftIsDown(_arg0);
1163 _resultobj = Py_BuildValue("i",_result);
1164 return _resultobj;
1165 }
1166
1167 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1168 static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args) {
1169 PyObject * _resultobj;
1170 bool _result;
1171 wxMouseEvent * _arg0;
1172 char * _argc0 = 0;
1173
1174 self = self;
1175 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleIsDown",&_argc0))
1176 return NULL;
1177 if (_argc0) {
1178 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1180 return NULL;
1181 }
1182 }
1183 _result = (bool )wxMouseEvent_MiddleIsDown(_arg0);
1184 _resultobj = Py_BuildValue("i",_result);
1185 return _resultobj;
1186 }
1187
1188 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1189 static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args) {
1190 PyObject * _resultobj;
1191 bool _result;
1192 wxMouseEvent * _arg0;
1193 char * _argc0 = 0;
1194
1195 self = self;
1196 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightIsDown",&_argc0))
1197 return NULL;
1198 if (_argc0) {
1199 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1201 return NULL;
1202 }
1203 }
1204 _result = (bool )wxMouseEvent_RightIsDown(_arg0);
1205 _resultobj = Py_BuildValue("i",_result);
1206 return _resultobj;
1207 }
1208
1209 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1210 static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args) {
1211 PyObject * _resultobj;
1212 bool _result;
1213 wxMouseEvent * _arg0;
1214 char * _argc0 = 0;
1215
1216 self = self;
1217 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Dragging",&_argc0))
1218 return NULL;
1219 if (_argc0) {
1220 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1222 return NULL;
1223 }
1224 }
1225 _result = (bool )wxMouseEvent_Dragging(_arg0);
1226 _resultobj = Py_BuildValue("i",_result);
1227 return _resultobj;
1228 }
1229
1230 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1231 static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args) {
1232 PyObject * _resultobj;
1233 bool _result;
1234 wxMouseEvent * _arg0;
1235 char * _argc0 = 0;
1236
1237 self = self;
1238 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Moving",&_argc0))
1239 return NULL;
1240 if (_argc0) {
1241 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1243 return NULL;
1244 }
1245 }
1246 _result = (bool )wxMouseEvent_Moving(_arg0);
1247 _resultobj = Py_BuildValue("i",_result);
1248 return _resultobj;
1249 }
1250
1251 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1252 static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args) {
1253 PyObject * _resultobj;
1254 bool _result;
1255 wxMouseEvent * _arg0;
1256 char * _argc0 = 0;
1257
1258 self = self;
1259 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Entering",&_argc0))
1260 return NULL;
1261 if (_argc0) {
1262 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1264 return NULL;
1265 }
1266 }
1267 _result = (bool )wxMouseEvent_Entering(_arg0);
1268 _resultobj = Py_BuildValue("i",_result);
1269 return _resultobj;
1270 }
1271
1272 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1273 static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args) {
1274 PyObject * _resultobj;
1275 bool _result;
1276 wxMouseEvent * _arg0;
1277 char * _argc0 = 0;
1278
1279 self = self;
1280 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Leaving",&_argc0))
1281 return NULL;
1282 if (_argc0) {
1283 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1285 return NULL;
1286 }
1287 }
1288 _result = (bool )wxMouseEvent_Leaving(_arg0);
1289 _resultobj = Py_BuildValue("i",_result);
1290 return _resultobj;
1291 }
1292
1293 #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1294 static PyObject *_wrap_wxMouseEvent_Position(PyObject *self, PyObject *args) {
1295 PyObject * _resultobj;
1296 wxMouseEvent * _arg0;
1297 long * _arg1;
1298 long temp;
1299 long * _arg2;
1300 long temp0;
1301 char * _argc0 = 0;
1302
1303 self = self;
1304 {
1305 _arg1 = &temp;
1306 }
1307 {
1308 _arg2 = &temp0;
1309 }
1310 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Position",&_argc0))
1311 return NULL;
1312 if (_argc0) {
1313 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
1315 return NULL;
1316 }
1317 }
1318 wxMouseEvent_Position(_arg0,_arg1,_arg2);
1319 Py_INCREF(Py_None);
1320 _resultobj = Py_None;
1321 {
1322 PyObject *o;
1323 o = PyInt_FromLong((long) (*_arg1));
1324 _resultobj = t_output_helper(_resultobj, o);
1325 }
1326 {
1327 PyObject *o;
1328 o = PyInt_FromLong((long) (*_arg2));
1329 _resultobj = t_output_helper(_resultobj, o);
1330 }
1331 return _resultobj;
1332 }
1333
1334 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1335 static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args) {
1336 PyObject * _resultobj;
1337 wxPoint * _result;
1338 wxMouseEvent * _arg0;
1339 char * _argc0 = 0;
1340 char _ptemp[128];
1341
1342 self = self;
1343 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_GetPosition",&_argc0))
1344 return NULL;
1345 if (_argc0) {
1346 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1348 return NULL;
1349 }
1350 }
1351 _result = new wxPoint (wxMouseEvent_GetPosition(_arg0));
1352 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1353 _resultobj = Py_BuildValue("s",_ptemp);
1354 return _resultobj;
1355 }
1356
1357 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1358 static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args) {
1359 PyObject * _resultobj;
1360 wxPoint * _result;
1361 wxMouseEvent * _arg0;
1362 wxDC * _arg1;
1363 char * _argc0 = 0;
1364 char * _argc1 = 0;
1365 char _ptemp[128];
1366
1367 self = self;
1368 if(!PyArg_ParseTuple(args,"ss:wxMouseEvent_GetLogicalPosition",&_argc0,&_argc1))
1369 return NULL;
1370 if (_argc0) {
1371 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
1373 return NULL;
1374 }
1375 }
1376 if (_argc1) {
1377 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
1378 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
1379 return NULL;
1380 }
1381 }
1382 _result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1));
1383 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1384 _resultobj = Py_BuildValue("s",_ptemp);
1385 return _resultobj;
1386 }
1387
1388 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
1389 static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args) {
1390 PyObject * _resultobj;
1391 long _result;
1392 wxMouseEvent * _arg0;
1393 char * _argc0 = 0;
1394
1395 self = self;
1396 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_GetX",&_argc0))
1397 return NULL;
1398 if (_argc0) {
1399 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
1401 return NULL;
1402 }
1403 }
1404 _result = (long )wxMouseEvent_GetX(_arg0);
1405 _resultobj = Py_BuildValue("l",_result);
1406 return _resultobj;
1407 }
1408
1409 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
1410 static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args) {
1411 PyObject * _resultobj;
1412 long _result;
1413 wxMouseEvent * _arg0;
1414 char * _argc0 = 0;
1415
1416 self = self;
1417 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_GetY",&_argc0))
1418 return NULL;
1419 if (_argc0) {
1420 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
1422 return NULL;
1423 }
1424 }
1425 _result = (long )wxMouseEvent_GetY(_arg0);
1426 _resultobj = Py_BuildValue("l",_result);
1427 return _resultobj;
1428 }
1429
1430 static void *SwigwxKeyEventTowxEvent(void *ptr) {
1431 wxKeyEvent *src;
1432 wxEvent *dest;
1433 src = (wxKeyEvent *) ptr;
1434 dest = (wxEvent *) src;
1435 return (void *) dest;
1436 }
1437
1438 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1439 static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args) {
1440 PyObject * _resultobj;
1441 bool _result;
1442 wxKeyEvent * _arg0;
1443 char * _argc0 = 0;
1444
1445 self = self;
1446 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_ControlDown",&_argc0))
1447 return NULL;
1448 if (_argc0) {
1449 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
1451 return NULL;
1452 }
1453 }
1454 _result = (bool )wxKeyEvent_ControlDown(_arg0);
1455 _resultobj = Py_BuildValue("i",_result);
1456 return _resultobj;
1457 }
1458
1459 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1460 static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args) {
1461 PyObject * _resultobj;
1462 bool _result;
1463 wxKeyEvent * _arg0;
1464 char * _argc0 = 0;
1465
1466 self = self;
1467 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_MetaDown",&_argc0))
1468 return NULL;
1469 if (_argc0) {
1470 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
1472 return NULL;
1473 }
1474 }
1475 _result = (bool )wxKeyEvent_MetaDown(_arg0);
1476 _resultobj = Py_BuildValue("i",_result);
1477 return _resultobj;
1478 }
1479
1480 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
1481 static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args) {
1482 PyObject * _resultobj;
1483 bool _result;
1484 wxKeyEvent * _arg0;
1485 char * _argc0 = 0;
1486
1487 self = self;
1488 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_AltDown",&_argc0))
1489 return NULL;
1490 if (_argc0) {
1491 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
1493 return NULL;
1494 }
1495 }
1496 _result = (bool )wxKeyEvent_AltDown(_arg0);
1497 _resultobj = Py_BuildValue("i",_result);
1498 return _resultobj;
1499 }
1500
1501 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1502 static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args) {
1503 PyObject * _resultobj;
1504 bool _result;
1505 wxKeyEvent * _arg0;
1506 char * _argc0 = 0;
1507
1508 self = self;
1509 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_ShiftDown",&_argc0))
1510 return NULL;
1511 if (_argc0) {
1512 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
1514 return NULL;
1515 }
1516 }
1517 _result = (bool )wxKeyEvent_ShiftDown(_arg0);
1518 _resultobj = Py_BuildValue("i",_result);
1519 return _resultobj;
1520 }
1521
1522 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
1523 static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args) {
1524 PyObject * _resultobj;
1525 long _result;
1526 wxKeyEvent * _arg0;
1527 char * _argc0 = 0;
1528
1529 self = self;
1530 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_KeyCode",&_argc0))
1531 return NULL;
1532 if (_argc0) {
1533 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
1535 return NULL;
1536 }
1537 }
1538 _result = (long )wxKeyEvent_KeyCode(_arg0);
1539 _resultobj = Py_BuildValue("l",_result);
1540 return _resultobj;
1541 }
1542
1543 static void *SwigwxMoveEventTowxEvent(void *ptr) {
1544 wxMoveEvent *src;
1545 wxEvent *dest;
1546 src = (wxMoveEvent *) ptr;
1547 dest = (wxEvent *) src;
1548 return (void *) dest;
1549 }
1550
1551 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1552 static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args) {
1553 PyObject * _resultobj;
1554 wxPoint * _result;
1555 wxMoveEvent * _arg0;
1556 char * _argc0 = 0;
1557 char _ptemp[128];
1558
1559 self = self;
1560 if(!PyArg_ParseTuple(args,"s:wxMoveEvent_GetPosition",&_argc0))
1561 return NULL;
1562 if (_argc0) {
1563 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMoveEvent_p")) {
1564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
1565 return NULL;
1566 }
1567 }
1568 _result = new wxPoint (wxMoveEvent_GetPosition(_arg0));
1569 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1570 _resultobj = Py_BuildValue("s",_ptemp);
1571 return _resultobj;
1572 }
1573
1574 static void *SwigwxPaintEventTowxEvent(void *ptr) {
1575 wxPaintEvent *src;
1576 wxEvent *dest;
1577 src = (wxPaintEvent *) ptr;
1578 dest = (wxEvent *) src;
1579 return (void *) dest;
1580 }
1581
1582 static void *SwigwxEraseEventTowxEvent(void *ptr) {
1583 wxEraseEvent *src;
1584 wxEvent *dest;
1585 src = (wxEraseEvent *) ptr;
1586 dest = (wxEvent *) src;
1587 return (void *) dest;
1588 }
1589
1590 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
1591 static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args) {
1592 PyObject * _resultobj;
1593 wxDC * _result;
1594 wxEraseEvent * _arg0;
1595 char * _argc0 = 0;
1596 char _ptemp[128];
1597
1598 self = self;
1599 if(!PyArg_ParseTuple(args,"s:wxEraseEvent_GetDC",&_argc0))
1600 return NULL;
1601 if (_argc0) {
1602 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEraseEvent_p")) {
1603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
1604 return NULL;
1605 }
1606 }
1607 _result = (wxDC *)wxEraseEvent_GetDC(_arg0);
1608 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
1609 _resultobj = Py_BuildValue("s",_ptemp);
1610 return _resultobj;
1611 }
1612
1613 static void *SwigwxFocusEventTowxEvent(void *ptr) {
1614 wxFocusEvent *src;
1615 wxEvent *dest;
1616 src = (wxFocusEvent *) ptr;
1617 dest = (wxEvent *) src;
1618 return (void *) dest;
1619 }
1620
1621 static void *SwigwxActivateEventTowxEvent(void *ptr) {
1622 wxActivateEvent *src;
1623 wxEvent *dest;
1624 src = (wxActivateEvent *) ptr;
1625 dest = (wxEvent *) src;
1626 return (void *) dest;
1627 }
1628
1629 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
1630 static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args) {
1631 PyObject * _resultobj;
1632 bool _result;
1633 wxActivateEvent * _arg0;
1634 char * _argc0 = 0;
1635
1636 self = self;
1637 if(!PyArg_ParseTuple(args,"s:wxActivateEvent_GetActive",&_argc0))
1638 return NULL;
1639 if (_argc0) {
1640 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxActivateEvent_p")) {
1641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
1642 return NULL;
1643 }
1644 }
1645 _result = (bool )wxActivateEvent_GetActive(_arg0);
1646 _resultobj = Py_BuildValue("i",_result);
1647 return _resultobj;
1648 }
1649
1650 static void *SwigwxInitDialogEventTowxEvent(void *ptr) {
1651 wxInitDialogEvent *src;
1652 wxEvent *dest;
1653 src = (wxInitDialogEvent *) ptr;
1654 dest = (wxEvent *) src;
1655 return (void *) dest;
1656 }
1657
1658 static void *SwigwxMenuEventTowxEvent(void *ptr) {
1659 wxMenuEvent *src;
1660 wxEvent *dest;
1661 src = (wxMenuEvent *) ptr;
1662 dest = (wxEvent *) src;
1663 return (void *) dest;
1664 }
1665
1666 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
1667 static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args) {
1668 PyObject * _resultobj;
1669 int _result;
1670 wxMenuEvent * _arg0;
1671 char * _argc0 = 0;
1672
1673 self = self;
1674 if(!PyArg_ParseTuple(args,"s:wxMenuEvent_GetMenuId",&_argc0))
1675 return NULL;
1676 if (_argc0) {
1677 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuEvent_p")) {
1678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
1679 return NULL;
1680 }
1681 }
1682 _result = (int )wxMenuEvent_GetMenuId(_arg0);
1683 _resultobj = Py_BuildValue("i",_result);
1684 return _resultobj;
1685 }
1686
1687 static void *SwigwxShowEventTowxEvent(void *ptr) {
1688 wxShowEvent *src;
1689 wxEvent *dest;
1690 src = (wxShowEvent *) ptr;
1691 dest = (wxEvent *) src;
1692 return (void *) dest;
1693 }
1694
1695 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
1696 static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args) {
1697 PyObject * _resultobj;
1698 wxShowEvent * _arg0;
1699 bool _arg1;
1700 char * _argc0 = 0;
1701 int tempbool1;
1702
1703 self = self;
1704 if(!PyArg_ParseTuple(args,"si:wxShowEvent_SetShow",&_argc0,&tempbool1))
1705 return NULL;
1706 if (_argc0) {
1707 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxShowEvent_p")) {
1708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
1709 return NULL;
1710 }
1711 }
1712 _arg1 = (bool ) tempbool1;
1713 wxShowEvent_SetShow(_arg0,_arg1);
1714 Py_INCREF(Py_None);
1715 _resultobj = Py_None;
1716 return _resultobj;
1717 }
1718
1719 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
1720 static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args) {
1721 PyObject * _resultobj;
1722 bool _result;
1723 wxShowEvent * _arg0;
1724 char * _argc0 = 0;
1725
1726 self = self;
1727 if(!PyArg_ParseTuple(args,"s:wxShowEvent_GetShow",&_argc0))
1728 return NULL;
1729 if (_argc0) {
1730 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxShowEvent_p")) {
1731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
1732 return NULL;
1733 }
1734 }
1735 _result = (bool )wxShowEvent_GetShow(_arg0);
1736 _resultobj = Py_BuildValue("i",_result);
1737 return _resultobj;
1738 }
1739
1740 static void *SwigwxIconizeEventTowxEvent(void *ptr) {
1741 wxIconizeEvent *src;
1742 wxEvent *dest;
1743 src = (wxIconizeEvent *) ptr;
1744 dest = (wxEvent *) src;
1745 return (void *) dest;
1746 }
1747
1748 static void *SwigwxMaximizeEventTowxEvent(void *ptr) {
1749 wxMaximizeEvent *src;
1750 wxEvent *dest;
1751 src = (wxMaximizeEvent *) ptr;
1752 dest = (wxEvent *) src;
1753 return (void *) dest;
1754 }
1755
1756 static void *SwigwxJoystickEventTowxEvent(void *ptr) {
1757 wxJoystickEvent *src;
1758 wxEvent *dest;
1759 src = (wxJoystickEvent *) ptr;
1760 dest = (wxEvent *) src;
1761 return (void *) dest;
1762 }
1763
1764 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1765 static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args) {
1766 PyObject * _resultobj;
1767 wxPoint * _result;
1768 wxJoystickEvent * _arg0;
1769 char * _argc0 = 0;
1770 char _ptemp[128];
1771
1772 self = self;
1773 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetPosition",&_argc0))
1774 return NULL;
1775 if (_argc0) {
1776 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
1778 return NULL;
1779 }
1780 }
1781 _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0));
1782 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1783 _resultobj = Py_BuildValue("s",_ptemp);
1784 return _resultobj;
1785 }
1786
1787 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
1788 static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args) {
1789 PyObject * _resultobj;
1790 int _result;
1791 wxJoystickEvent * _arg0;
1792 char * _argc0 = 0;
1793
1794 self = self;
1795 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetZPosition",&_argc0))
1796 return NULL;
1797 if (_argc0) {
1798 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
1800 return NULL;
1801 }
1802 }
1803 _result = (int )wxJoystickEvent_GetZPosition(_arg0);
1804 _resultobj = Py_BuildValue("i",_result);
1805 return _resultobj;
1806 }
1807
1808 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
1809 static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args) {
1810 PyObject * _resultobj;
1811 int _result;
1812 wxJoystickEvent * _arg0;
1813 char * _argc0 = 0;
1814
1815 self = self;
1816 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetButtonState",&_argc0))
1817 return NULL;
1818 if (_argc0) {
1819 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
1821 return NULL;
1822 }
1823 }
1824 _result = (int )wxJoystickEvent_GetButtonState(_arg0);
1825 _resultobj = Py_BuildValue("i",_result);
1826 return _resultobj;
1827 }
1828
1829 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
1830 static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args) {
1831 PyObject * _resultobj;
1832 int _result;
1833 wxJoystickEvent * _arg0;
1834 char * _argc0 = 0;
1835
1836 self = self;
1837 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetButtonChange",&_argc0))
1838 return NULL;
1839 if (_argc0) {
1840 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
1842 return NULL;
1843 }
1844 }
1845 _result = (int )wxJoystickEvent_GetButtonChange(_arg0);
1846 _resultobj = Py_BuildValue("i",_result);
1847 return _resultobj;
1848 }
1849
1850 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
1851 static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args) {
1852 PyObject * _resultobj;
1853 int _result;
1854 wxJoystickEvent * _arg0;
1855 char * _argc0 = 0;
1856
1857 self = self;
1858 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetJoystick",&_argc0))
1859 return NULL;
1860 if (_argc0) {
1861 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
1863 return NULL;
1864 }
1865 }
1866 _result = (int )wxJoystickEvent_GetJoystick(_arg0);
1867 _resultobj = Py_BuildValue("i",_result);
1868 return _resultobj;
1869 }
1870
1871 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
1872 static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args) {
1873 PyObject * _resultobj;
1874 wxJoystickEvent * _arg0;
1875 int _arg1;
1876 char * _argc0 = 0;
1877
1878 self = self;
1879 if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetJoystick",&_argc0,&_arg1))
1880 return NULL;
1881 if (_argc0) {
1882 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
1884 return NULL;
1885 }
1886 }
1887 wxJoystickEvent_SetJoystick(_arg0,_arg1);
1888 Py_INCREF(Py_None);
1889 _resultobj = Py_None;
1890 return _resultobj;
1891 }
1892
1893 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
1894 static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args) {
1895 PyObject * _resultobj;
1896 wxJoystickEvent * _arg0;
1897 int _arg1;
1898 char * _argc0 = 0;
1899
1900 self = self;
1901 if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetButtonState",&_argc0,&_arg1))
1902 return NULL;
1903 if (_argc0) {
1904 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
1906 return NULL;
1907 }
1908 }
1909 wxJoystickEvent_SetButtonState(_arg0,_arg1);
1910 Py_INCREF(Py_None);
1911 _resultobj = Py_None;
1912 return _resultobj;
1913 }
1914
1915 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
1916 static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args) {
1917 PyObject * _resultobj;
1918 wxJoystickEvent * _arg0;
1919 int _arg1;
1920 char * _argc0 = 0;
1921
1922 self = self;
1923 if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetButtonChange",&_argc0,&_arg1))
1924 return NULL;
1925 if (_argc0) {
1926 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
1928 return NULL;
1929 }
1930 }
1931 wxJoystickEvent_SetButtonChange(_arg0,_arg1);
1932 Py_INCREF(Py_None);
1933 _resultobj = Py_None;
1934 return _resultobj;
1935 }
1936
1937 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
1938 static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args) {
1939 PyObject * _resultobj;
1940 wxJoystickEvent * _arg0;
1941 wxPoint * _arg1;
1942 char * _argc0 = 0;
1943 char * _argc1 = 0;
1944
1945 self = self;
1946 if(!PyArg_ParseTuple(args,"ss:wxJoystickEvent_SetPosition",&_argc0,&_argc1))
1947 return NULL;
1948 if (_argc0) {
1949 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
1951 return NULL;
1952 }
1953 }
1954 if (_argc1) {
1955 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p.");
1957 return NULL;
1958 }
1959 }
1960 wxJoystickEvent_SetPosition(_arg0,*_arg1);
1961 Py_INCREF(Py_None);
1962 _resultobj = Py_None;
1963 return _resultobj;
1964 }
1965
1966 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
1967 static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args) {
1968 PyObject * _resultobj;
1969 wxJoystickEvent * _arg0;
1970 int _arg1;
1971 char * _argc0 = 0;
1972
1973 self = self;
1974 if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetZPosition",&_argc0,&_arg1))
1975 return NULL;
1976 if (_argc0) {
1977 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
1979 return NULL;
1980 }
1981 }
1982 wxJoystickEvent_SetZPosition(_arg0,_arg1);
1983 Py_INCREF(Py_None);
1984 _resultobj = Py_None;
1985 return _resultobj;
1986 }
1987
1988 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
1989 static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args) {
1990 PyObject * _resultobj;
1991 bool _result;
1992 wxJoystickEvent * _arg0;
1993 char * _argc0 = 0;
1994
1995 self = self;
1996 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_IsButton",&_argc0))
1997 return NULL;
1998 if (_argc0) {
1999 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
2001 return NULL;
2002 }
2003 }
2004 _result = (bool )wxJoystickEvent_IsButton(_arg0);
2005 _resultobj = Py_BuildValue("i",_result);
2006 return _resultobj;
2007 }
2008
2009 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
2010 static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args) {
2011 PyObject * _resultobj;
2012 bool _result;
2013 wxJoystickEvent * _arg0;
2014 char * _argc0 = 0;
2015
2016 self = self;
2017 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_IsMove",&_argc0))
2018 return NULL;
2019 if (_argc0) {
2020 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
2022 return NULL;
2023 }
2024 }
2025 _result = (bool )wxJoystickEvent_IsMove(_arg0);
2026 _resultobj = Py_BuildValue("i",_result);
2027 return _resultobj;
2028 }
2029
2030 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
2031 static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args) {
2032 PyObject * _resultobj;
2033 bool _result;
2034 wxJoystickEvent * _arg0;
2035 char * _argc0 = 0;
2036
2037 self = self;
2038 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_IsZMove",&_argc0))
2039 return NULL;
2040 if (_argc0) {
2041 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
2043 return NULL;
2044 }
2045 }
2046 _result = (bool )wxJoystickEvent_IsZMove(_arg0);
2047 _resultobj = Py_BuildValue("i",_result);
2048 return _resultobj;
2049 }
2050
2051 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
2052 static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args) {
2053 PyObject * _resultobj;
2054 bool _result;
2055 wxJoystickEvent * _arg0;
2056 int _arg1 = wxJOY_BUTTON_ANY;
2057 char * _argc0 = 0;
2058
2059 self = self;
2060 if(!PyArg_ParseTuple(args,"s|i:wxJoystickEvent_ButtonDown",&_argc0,&_arg1))
2061 return NULL;
2062 if (_argc0) {
2063 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
2065 return NULL;
2066 }
2067 }
2068 _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1);
2069 _resultobj = Py_BuildValue("i",_result);
2070 return _resultobj;
2071 }
2072
2073 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
2074 static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args) {
2075 PyObject * _resultobj;
2076 bool _result;
2077 wxJoystickEvent * _arg0;
2078 int _arg1 = wxJOY_BUTTON_ANY;
2079 char * _argc0 = 0;
2080
2081 self = self;
2082 if(!PyArg_ParseTuple(args,"s|i:wxJoystickEvent_ButtonUp",&_argc0,&_arg1))
2083 return NULL;
2084 if (_argc0) {
2085 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
2087 return NULL;
2088 }
2089 }
2090 _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1);
2091 _resultobj = Py_BuildValue("i",_result);
2092 return _resultobj;
2093 }
2094
2095 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
2096 static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args) {
2097 PyObject * _resultobj;
2098 bool _result;
2099 wxJoystickEvent * _arg0;
2100 int _arg1 = wxJOY_BUTTON_ANY;
2101 char * _argc0 = 0;
2102
2103 self = self;
2104 if(!PyArg_ParseTuple(args,"s|i:wxJoystickEvent_ButtonIsDown",&_argc0,&_arg1))
2105 return NULL;
2106 if (_argc0) {
2107 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
2109 return NULL;
2110 }
2111 }
2112 _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1);
2113 _resultobj = Py_BuildValue("i",_result);
2114 return _resultobj;
2115 }
2116
2117 static void *SwigwxDropFilesEventTowxEvent(void *ptr) {
2118 wxDropFilesEvent *src;
2119 wxEvent *dest;
2120 src = (wxDropFilesEvent *) ptr;
2121 dest = (wxEvent *) src;
2122 return (void *) dest;
2123 }
2124
2125 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2126 static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args) {
2127 PyObject * _resultobj;
2128 wxPoint * _result;
2129 wxDropFilesEvent * _arg0;
2130 char * _argc0 = 0;
2131 char _ptemp[128];
2132
2133 self = self;
2134 if(!PyArg_ParseTuple(args,"s:wxDropFilesEvent_GetPosition",&_argc0))
2135 return NULL;
2136 if (_argc0) {
2137 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
2139 return NULL;
2140 }
2141 }
2142 _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0));
2143 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2144 _resultobj = Py_BuildValue("s",_ptemp);
2145 return _resultobj;
2146 }
2147
2148 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
2149 static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args) {
2150 PyObject * _resultobj;
2151 int _result;
2152 wxDropFilesEvent * _arg0;
2153 char * _argc0 = 0;
2154
2155 self = self;
2156 if(!PyArg_ParseTuple(args,"s:wxDropFilesEvent_GetNumberOfFiles",&_argc0))
2157 return NULL;
2158 if (_argc0) {
2159 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
2161 return NULL;
2162 }
2163 }
2164 _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0);
2165 _resultobj = Py_BuildValue("i",_result);
2166 return _resultobj;
2167 }
2168
2169 static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) {
2170 int count = self->GetNumberOfFiles();
2171 wxString* files = self->GetFiles();
2172 PyObject* list = PyList_New(count);
2173
2174 if (!list) {
2175 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
2176 return NULL;
2177 }
2178
2179 for (int i=0; i<count; i++) {
2180 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
2181 }
2182 return list;
2183 }
2184 static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args) {
2185 PyObject * _resultobj;
2186 PyObject * _result;
2187 wxDropFilesEvent * _arg0;
2188 char * _argc0 = 0;
2189
2190 self = self;
2191 if(!PyArg_ParseTuple(args,"s:wxDropFilesEvent_GetFiles",&_argc0))
2192 return NULL;
2193 if (_argc0) {
2194 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
2196 return NULL;
2197 }
2198 }
2199 _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0);
2200 {
2201 _resultobj = _result;
2202 }
2203 return _resultobj;
2204 }
2205
2206 static void *SwigwxIdleEventTowxEvent(void *ptr) {
2207 wxIdleEvent *src;
2208 wxEvent *dest;
2209 src = (wxIdleEvent *) ptr;
2210 dest = (wxEvent *) src;
2211 return (void *) dest;
2212 }
2213
2214 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
2215 static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args) {
2216 PyObject * _resultobj;
2217 wxIdleEvent * _arg0;
2218 bool _arg1 = (1);
2219 char * _argc0 = 0;
2220 int tempbool1;
2221
2222 self = self;
2223 if(!PyArg_ParseTuple(args,"s|i:wxIdleEvent_RequestMore",&_argc0,&tempbool1))
2224 return NULL;
2225 if (_argc0) {
2226 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIdleEvent_p")) {
2227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
2228 return NULL;
2229 }
2230 }
2231 _arg1 = (bool ) tempbool1;
2232 wxIdleEvent_RequestMore(_arg0,_arg1);
2233 Py_INCREF(Py_None);
2234 _resultobj = Py_None;
2235 return _resultobj;
2236 }
2237
2238 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
2239 static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args) {
2240 PyObject * _resultobj;
2241 bool _result;
2242 wxIdleEvent * _arg0;
2243 char * _argc0 = 0;
2244
2245 self = self;
2246 if(!PyArg_ParseTuple(args,"s:wxIdleEvent_MoreRequested",&_argc0))
2247 return NULL;
2248 if (_argc0) {
2249 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIdleEvent_p")) {
2250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
2251 return NULL;
2252 }
2253 }
2254 _result = (bool )wxIdleEvent_MoreRequested(_arg0);
2255 _resultobj = Py_BuildValue("i",_result);
2256 return _resultobj;
2257 }
2258
2259 static void *SwigwxUpdateUIEventTowxEvent(void *ptr) {
2260 wxUpdateUIEvent *src;
2261 wxEvent *dest;
2262 src = (wxUpdateUIEvent *) ptr;
2263 dest = (wxEvent *) src;
2264 return (void *) dest;
2265 }
2266
2267 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
2268 static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args) {
2269 PyObject * _resultobj;
2270 bool _result;
2271 wxUpdateUIEvent * _arg0;
2272 char * _argc0 = 0;
2273
2274 self = self;
2275 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetChecked",&_argc0))
2276 return NULL;
2277 if (_argc0) {
2278 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
2280 return NULL;
2281 }
2282 }
2283 _result = (bool )wxUpdateUIEvent_GetChecked(_arg0);
2284 _resultobj = Py_BuildValue("i",_result);
2285 return _resultobj;
2286 }
2287
2288 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
2289 static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args) {
2290 PyObject * _resultobj;
2291 bool _result;
2292 wxUpdateUIEvent * _arg0;
2293 char * _argc0 = 0;
2294
2295 self = self;
2296 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetEnabled",&_argc0))
2297 return NULL;
2298 if (_argc0) {
2299 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
2301 return NULL;
2302 }
2303 }
2304 _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0);
2305 _resultobj = Py_BuildValue("i",_result);
2306 return _resultobj;
2307 }
2308
2309 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
2310 static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args) {
2311 PyObject * _resultobj;
2312 wxString * _result;
2313 wxUpdateUIEvent * _arg0;
2314 char * _argc0 = 0;
2315
2316 self = self;
2317 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetText",&_argc0))
2318 return NULL;
2319 if (_argc0) {
2320 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
2322 return NULL;
2323 }
2324 }
2325 _result = new wxString (wxUpdateUIEvent_GetText(_arg0));
2326 {
2327 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2328 }
2329 {
2330 delete _result;
2331 }
2332 return _resultobj;
2333 }
2334
2335 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
2336 static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args) {
2337 PyObject * _resultobj;
2338 bool _result;
2339 wxUpdateUIEvent * _arg0;
2340 char * _argc0 = 0;
2341
2342 self = self;
2343 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetSetText",&_argc0))
2344 return NULL;
2345 if (_argc0) {
2346 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
2348 return NULL;
2349 }
2350 }
2351 _result = (bool )wxUpdateUIEvent_GetSetText(_arg0);
2352 _resultobj = Py_BuildValue("i",_result);
2353 return _resultobj;
2354 }
2355
2356 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
2357 static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args) {
2358 PyObject * _resultobj;
2359 bool _result;
2360 wxUpdateUIEvent * _arg0;
2361 char * _argc0 = 0;
2362
2363 self = self;
2364 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetSetChecked",&_argc0))
2365 return NULL;
2366 if (_argc0) {
2367 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
2369 return NULL;
2370 }
2371 }
2372 _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0);
2373 _resultobj = Py_BuildValue("i",_result);
2374 return _resultobj;
2375 }
2376
2377 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
2378 static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args) {
2379 PyObject * _resultobj;
2380 bool _result;
2381 wxUpdateUIEvent * _arg0;
2382 char * _argc0 = 0;
2383
2384 self = self;
2385 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetSetEnabled",&_argc0))
2386 return NULL;
2387 if (_argc0) {
2388 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
2390 return NULL;
2391 }
2392 }
2393 _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0);
2394 _resultobj = Py_BuildValue("i",_result);
2395 return _resultobj;
2396 }
2397
2398 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
2399 static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args) {
2400 PyObject * _resultobj;
2401 wxUpdateUIEvent * _arg0;
2402 bool _arg1;
2403 char * _argc0 = 0;
2404 int tempbool1;
2405
2406 self = self;
2407 if(!PyArg_ParseTuple(args,"si:wxUpdateUIEvent_Check",&_argc0,&tempbool1))
2408 return NULL;
2409 if (_argc0) {
2410 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
2412 return NULL;
2413 }
2414 }
2415 _arg1 = (bool ) tempbool1;
2416 wxUpdateUIEvent_Check(_arg0,_arg1);
2417 Py_INCREF(Py_None);
2418 _resultobj = Py_None;
2419 return _resultobj;
2420 }
2421
2422 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
2423 static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args) {
2424 PyObject * _resultobj;
2425 wxUpdateUIEvent * _arg0;
2426 bool _arg1;
2427 char * _argc0 = 0;
2428 int tempbool1;
2429
2430 self = self;
2431 if(!PyArg_ParseTuple(args,"si:wxUpdateUIEvent_Enable",&_argc0,&tempbool1))
2432 return NULL;
2433 if (_argc0) {
2434 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
2436 return NULL;
2437 }
2438 }
2439 _arg1 = (bool ) tempbool1;
2440 wxUpdateUIEvent_Enable(_arg0,_arg1);
2441 Py_INCREF(Py_None);
2442 _resultobj = Py_None;
2443 return _resultobj;
2444 }
2445
2446 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
2447 static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args) {
2448 PyObject * _resultobj;
2449 wxUpdateUIEvent * _arg0;
2450 wxString * _arg1;
2451 char * _argc0 = 0;
2452 PyObject * _obj1 = 0;
2453
2454 self = self;
2455 if(!PyArg_ParseTuple(args,"sO:wxUpdateUIEvent_SetText",&_argc0,&_obj1))
2456 return NULL;
2457 if (_argc0) {
2458 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
2460 return NULL;
2461 }
2462 }
2463 {
2464 if (!PyString_Check(_obj1)) {
2465 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2466 return NULL;
2467 }
2468 _arg1 = new wxString(PyString_AsString(_obj1));
2469 }
2470 wxUpdateUIEvent_SetText(_arg0,*_arg1);
2471 Py_INCREF(Py_None);
2472 _resultobj = Py_None;
2473 {
2474 if (_obj1)
2475 delete _arg1;
2476 }
2477 return _resultobj;
2478 }
2479
2480 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) {
2481 wxSysColourChangedEvent *src;
2482 wxEvent *dest;
2483 src = (wxSysColourChangedEvent *) ptr;
2484 dest = (wxEvent *) src;
2485 return (void *) dest;
2486 }
2487
2488 static PyMethodDef eventscMethods[] = {
2489 { "wxUpdateUIEvent_SetText", _wrap_wxUpdateUIEvent_SetText, 1 },
2490 { "wxUpdateUIEvent_Enable", _wrap_wxUpdateUIEvent_Enable, 1 },
2491 { "wxUpdateUIEvent_Check", _wrap_wxUpdateUIEvent_Check, 1 },
2492 { "wxUpdateUIEvent_GetSetEnabled", _wrap_wxUpdateUIEvent_GetSetEnabled, 1 },
2493 { "wxUpdateUIEvent_GetSetChecked", _wrap_wxUpdateUIEvent_GetSetChecked, 1 },
2494 { "wxUpdateUIEvent_GetSetText", _wrap_wxUpdateUIEvent_GetSetText, 1 },
2495 { "wxUpdateUIEvent_GetText", _wrap_wxUpdateUIEvent_GetText, 1 },
2496 { "wxUpdateUIEvent_GetEnabled", _wrap_wxUpdateUIEvent_GetEnabled, 1 },
2497 { "wxUpdateUIEvent_GetChecked", _wrap_wxUpdateUIEvent_GetChecked, 1 },
2498 { "wxIdleEvent_MoreRequested", _wrap_wxIdleEvent_MoreRequested, 1 },
2499 { "wxIdleEvent_RequestMore", _wrap_wxIdleEvent_RequestMore, 1 },
2500 { "wxDropFilesEvent_GetFiles", _wrap_wxDropFilesEvent_GetFiles, 1 },
2501 { "wxDropFilesEvent_GetNumberOfFiles", _wrap_wxDropFilesEvent_GetNumberOfFiles, 1 },
2502 { "wxDropFilesEvent_GetPosition", _wrap_wxDropFilesEvent_GetPosition, 1 },
2503 { "wxJoystickEvent_ButtonIsDown", _wrap_wxJoystickEvent_ButtonIsDown, 1 },
2504 { "wxJoystickEvent_ButtonUp", _wrap_wxJoystickEvent_ButtonUp, 1 },
2505 { "wxJoystickEvent_ButtonDown", _wrap_wxJoystickEvent_ButtonDown, 1 },
2506 { "wxJoystickEvent_IsZMove", _wrap_wxJoystickEvent_IsZMove, 1 },
2507 { "wxJoystickEvent_IsMove", _wrap_wxJoystickEvent_IsMove, 1 },
2508 { "wxJoystickEvent_IsButton", _wrap_wxJoystickEvent_IsButton, 1 },
2509 { "wxJoystickEvent_SetZPosition", _wrap_wxJoystickEvent_SetZPosition, 1 },
2510 { "wxJoystickEvent_SetPosition", _wrap_wxJoystickEvent_SetPosition, 1 },
2511 { "wxJoystickEvent_SetButtonChange", _wrap_wxJoystickEvent_SetButtonChange, 1 },
2512 { "wxJoystickEvent_SetButtonState", _wrap_wxJoystickEvent_SetButtonState, 1 },
2513 { "wxJoystickEvent_SetJoystick", _wrap_wxJoystickEvent_SetJoystick, 1 },
2514 { "wxJoystickEvent_GetJoystick", _wrap_wxJoystickEvent_GetJoystick, 1 },
2515 { "wxJoystickEvent_GetButtonChange", _wrap_wxJoystickEvent_GetButtonChange, 1 },
2516 { "wxJoystickEvent_GetButtonState", _wrap_wxJoystickEvent_GetButtonState, 1 },
2517 { "wxJoystickEvent_GetZPosition", _wrap_wxJoystickEvent_GetZPosition, 1 },
2518 { "wxJoystickEvent_GetPosition", _wrap_wxJoystickEvent_GetPosition, 1 },
2519 { "wxShowEvent_GetShow", _wrap_wxShowEvent_GetShow, 1 },
2520 { "wxShowEvent_SetShow", _wrap_wxShowEvent_SetShow, 1 },
2521 { "wxMenuEvent_GetMenuId", _wrap_wxMenuEvent_GetMenuId, 1 },
2522 { "wxActivateEvent_GetActive", _wrap_wxActivateEvent_GetActive, 1 },
2523 { "wxEraseEvent_GetDC", _wrap_wxEraseEvent_GetDC, 1 },
2524 { "wxMoveEvent_GetPosition", _wrap_wxMoveEvent_GetPosition, 1 },
2525 { "wxKeyEvent_KeyCode", _wrap_wxKeyEvent_KeyCode, 1 },
2526 { "wxKeyEvent_ShiftDown", _wrap_wxKeyEvent_ShiftDown, 1 },
2527 { "wxKeyEvent_AltDown", _wrap_wxKeyEvent_AltDown, 1 },
2528 { "wxKeyEvent_MetaDown", _wrap_wxKeyEvent_MetaDown, 1 },
2529 { "wxKeyEvent_ControlDown", _wrap_wxKeyEvent_ControlDown, 1 },
2530 { "wxMouseEvent_GetY", _wrap_wxMouseEvent_GetY, 1 },
2531 { "wxMouseEvent_GetX", _wrap_wxMouseEvent_GetX, 1 },
2532 { "wxMouseEvent_GetLogicalPosition", _wrap_wxMouseEvent_GetLogicalPosition, 1 },
2533 { "wxMouseEvent_GetPosition", _wrap_wxMouseEvent_GetPosition, 1 },
2534 { "wxMouseEvent_Position", _wrap_wxMouseEvent_Position, 1 },
2535 { "wxMouseEvent_Leaving", _wrap_wxMouseEvent_Leaving, 1 },
2536 { "wxMouseEvent_Entering", _wrap_wxMouseEvent_Entering, 1 },
2537 { "wxMouseEvent_Moving", _wrap_wxMouseEvent_Moving, 1 },
2538 { "wxMouseEvent_Dragging", _wrap_wxMouseEvent_Dragging, 1 },
2539 { "wxMouseEvent_RightIsDown", _wrap_wxMouseEvent_RightIsDown, 1 },
2540 { "wxMouseEvent_MiddleIsDown", _wrap_wxMouseEvent_MiddleIsDown, 1 },
2541 { "wxMouseEvent_LeftIsDown", _wrap_wxMouseEvent_LeftIsDown, 1 },
2542 { "wxMouseEvent_RightDClick", _wrap_wxMouseEvent_RightDClick, 1 },
2543 { "wxMouseEvent_MiddleDClick", _wrap_wxMouseEvent_MiddleDClick, 1 },
2544 { "wxMouseEvent_LeftDClick", _wrap_wxMouseEvent_LeftDClick, 1 },
2545 { "wxMouseEvent_RightUp", _wrap_wxMouseEvent_RightUp, 1 },
2546 { "wxMouseEvent_MiddleUp", _wrap_wxMouseEvent_MiddleUp, 1 },
2547 { "wxMouseEvent_LeftUp", _wrap_wxMouseEvent_LeftUp, 1 },
2548 { "wxMouseEvent_RightDown", _wrap_wxMouseEvent_RightDown, 1 },
2549 { "wxMouseEvent_MiddleDown", _wrap_wxMouseEvent_MiddleDown, 1 },
2550 { "wxMouseEvent_LeftDown", _wrap_wxMouseEvent_LeftDown, 1 },
2551 { "wxMouseEvent_ShiftDown", _wrap_wxMouseEvent_ShiftDown, 1 },
2552 { "wxMouseEvent_AltDown", _wrap_wxMouseEvent_AltDown, 1 },
2553 { "wxMouseEvent_MetaDown", _wrap_wxMouseEvent_MetaDown, 1 },
2554 { "wxMouseEvent_ControlDown", _wrap_wxMouseEvent_ControlDown, 1 },
2555 { "wxMouseEvent_ButtonIsDown", _wrap_wxMouseEvent_ButtonIsDown, 1 },
2556 { "wxMouseEvent_Button", _wrap_wxMouseEvent_Button, 1 },
2557 { "wxMouseEvent_ButtonUp", _wrap_wxMouseEvent_ButtonUp, 1 },
2558 { "wxMouseEvent_ButtonDClick", _wrap_wxMouseEvent_ButtonDClick, 1 },
2559 { "wxMouseEvent_ButtonDown", _wrap_wxMouseEvent_ButtonDown, 1 },
2560 { "wxMouseEvent_IsButton", _wrap_wxMouseEvent_IsButton, 1 },
2561 { "wxScrollEvent_GetPosition", _wrap_wxScrollEvent_GetPosition, 1 },
2562 { "wxScrollEvent_GetOrientation", _wrap_wxScrollEvent_GetOrientation, 1 },
2563 { "wxCommandEvent_IsSelection", _wrap_wxCommandEvent_IsSelection, 1 },
2564 { "wxCommandEvent_GetString", _wrap_wxCommandEvent_GetString, 1 },
2565 { "wxCommandEvent_GetSelection", _wrap_wxCommandEvent_GetSelection, 1 },
2566 { "wxCommandEvent_GetInt", _wrap_wxCommandEvent_GetInt, 1 },
2567 { "wxCommandEvent_GetExtraLong", _wrap_wxCommandEvent_GetExtraLong, 1 },
2568 { "wxCommandEvent_Checked", _wrap_wxCommandEvent_Checked, 1 },
2569 { "wxCloseEvent_SetCanVeto", _wrap_wxCloseEvent_SetCanVeto, 1 },
2570 { "wxCloseEvent_GetVeto", _wrap_wxCloseEvent_GetVeto, 1 },
2571 { "wxCloseEvent_CanVeto", _wrap_wxCloseEvent_CanVeto, 1 },
2572 { "wxCloseEvent_Veto", _wrap_wxCloseEvent_Veto, 1 },
2573 { "wxCloseEvent_GetLoggingOff", _wrap_wxCloseEvent_GetLoggingOff, 1 },
2574 { "wxCloseEvent_SetLoggingOff", _wrap_wxCloseEvent_SetLoggingOff, 1 },
2575 { "wxSizeEvent_GetSize", _wrap_wxSizeEvent_GetSize, 1 },
2576 { "wxEvent_Skip", _wrap_wxEvent_Skip, 1 },
2577 { "wxEvent_SetTimestamp", _wrap_wxEvent_SetTimestamp, 1 },
2578 { "wxEvent_SetId", _wrap_wxEvent_SetId, 1 },
2579 { "wxEvent_SetEventType", _wrap_wxEvent_SetEventType, 1 },
2580 { "wxEvent_SetEventObject", _wrap_wxEvent_SetEventObject, 1 },
2581 { "wxEvent_GetTimestamp", _wrap_wxEvent_GetTimestamp, 1 },
2582 { "wxEvent_GetSkipped", _wrap_wxEvent_GetSkipped, 1 },
2583 { "wxEvent_GetId", _wrap_wxEvent_GetId, 1 },
2584 { "wxEvent_GetEventType", _wrap_wxEvent_GetEventType, 1 },
2585 { "wxEvent_GetEventObject", _wrap_wxEvent_GetEventObject, 1 },
2586 { NULL, NULL }
2587 };
2588 static PyObject *SWIG_globals;
2589 #ifdef __cplusplus
2590 extern "C"
2591 #endif
2592 SWIGEXPORT(void,initeventsc)() {
2593 PyObject *m, *d;
2594 SWIG_globals = SWIG_newvarlink();
2595 m = Py_InitModule("eventsc", eventscMethods);
2596 d = PyModule_GetDict(m);
2597 /*
2598 * These are the pointer type-equivalency mappings.
2599 * (Used by the SWIG pointer type-checker).
2600 */
2601 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2602 SWIG_RegisterMapping("_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
2603 SWIG_RegisterMapping("_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
2604 SWIG_RegisterMapping("_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
2605 SWIG_RegisterMapping("_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
2606 SWIG_RegisterMapping("_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent);
2607 SWIG_RegisterMapping("_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent);
2608 SWIG_RegisterMapping("_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
2609 SWIG_RegisterMapping("_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
2610 SWIG_RegisterMapping("_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
2611 SWIG_RegisterMapping("_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
2612 SWIG_RegisterMapping("_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
2613 SWIG_RegisterMapping("_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
2614 SWIG_RegisterMapping("_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
2615 SWIG_RegisterMapping("_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
2616 SWIG_RegisterMapping("_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent);
2617 SWIG_RegisterMapping("_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent);
2618 SWIG_RegisterMapping("_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent);
2619 SWIG_RegisterMapping("_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent);
2620 SWIG_RegisterMapping("_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
2621 SWIG_RegisterMapping("_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
2622 SWIG_RegisterMapping("_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent);
2623 SWIG_RegisterMapping("_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent);
2624 SWIG_RegisterMapping("_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent);
2625 SWIG_RegisterMapping("_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent);
2626 SWIG_RegisterMapping("_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent);
2627 SWIG_RegisterMapping("_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent);
2628 SWIG_RegisterMapping("_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent);
2629 SWIG_RegisterMapping("_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent);
2630 SWIG_RegisterMapping("_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent);
2631 SWIG_RegisterMapping("_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent);
2632 SWIG_RegisterMapping("_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent);
2633 SWIG_RegisterMapping("_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent);
2634 SWIG_RegisterMapping("_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent);
2635 SWIG_RegisterMapping("_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent);
2636 SWIG_RegisterMapping("_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent);
2637 SWIG_RegisterMapping("_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent);
2638 SWIG_RegisterMapping("_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent);
2639 SWIG_RegisterMapping("_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent);
2640 SWIG_RegisterMapping("_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent);
2641 SWIG_RegisterMapping("_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent);
2642 SWIG_RegisterMapping("_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent);
2643 SWIG_RegisterMapping("_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent);
2644 SWIG_RegisterMapping("_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent);
2645 SWIG_RegisterMapping("_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent);
2646 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
2647 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
2648 SWIG_RegisterMapping("_signed_long","_long",0);
2649 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
2650 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
2651 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
2652 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2653 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
2654 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
2655 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2656 SWIG_RegisterMapping("_long","_unsigned_long",0);
2657 SWIG_RegisterMapping("_long","_signed_long",0);
2658 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
2659 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2660 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
2661 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2662 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
2663 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
2664 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
2665 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
2666 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
2667 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
2668 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
2669 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
2670 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2671 SWIG_RegisterMapping("_uint","_int",0);
2672 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2673 SWIG_RegisterMapping("_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
2674 SWIG_RegisterMapping("_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
2675 SWIG_RegisterMapping("_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
2676 SWIG_RegisterMapping("_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
2677 SWIG_RegisterMapping("_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent);
2678 SWIG_RegisterMapping("_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent);
2679 SWIG_RegisterMapping("_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
2680 SWIG_RegisterMapping("_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
2681 SWIG_RegisterMapping("_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
2682 SWIG_RegisterMapping("_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
2683 SWIG_RegisterMapping("_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
2684 SWIG_RegisterMapping("_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
2685 SWIG_RegisterMapping("_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
2686 SWIG_RegisterMapping("_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
2687 SWIG_RegisterMapping("_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent);
2688 SWIG_RegisterMapping("_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent);
2689 SWIG_RegisterMapping("_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent);
2690 SWIG_RegisterMapping("_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent);
2691 SWIG_RegisterMapping("_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
2692 SWIG_RegisterMapping("_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
2693 SWIG_RegisterMapping("_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent);
2694 SWIG_RegisterMapping("_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent);
2695 SWIG_RegisterMapping("_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent);
2696 SWIG_RegisterMapping("_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent);
2697 SWIG_RegisterMapping("_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent);
2698 SWIG_RegisterMapping("_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent);
2699 SWIG_RegisterMapping("_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent);
2700 SWIG_RegisterMapping("_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent);
2701 SWIG_RegisterMapping("_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent);
2702 SWIG_RegisterMapping("_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent);
2703 SWIG_RegisterMapping("_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent);
2704 SWIG_RegisterMapping("_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent);
2705 SWIG_RegisterMapping("_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent);
2706 SWIG_RegisterMapping("_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent);
2707 SWIG_RegisterMapping("_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent);
2708 SWIG_RegisterMapping("_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent);
2709 SWIG_RegisterMapping("_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent);
2710 SWIG_RegisterMapping("_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent);
2711 SWIG_RegisterMapping("_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent);
2712 SWIG_RegisterMapping("_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent);
2713 SWIG_RegisterMapping("_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent);
2714 SWIG_RegisterMapping("_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent);
2715 SWIG_RegisterMapping("_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent);
2716 SWIG_RegisterMapping("_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent);
2717 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
2718 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2719 SWIG_RegisterMapping("_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent);
2720 SWIG_RegisterMapping("_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent);
2721 SWIG_RegisterMapping("_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
2722 SWIG_RegisterMapping("_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
2723 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
2724 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
2725 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2726 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2727 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2728 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2729 SWIG_RegisterMapping("_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent);
2730 SWIG_RegisterMapping("_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent);
2731 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2732 SWIG_RegisterMapping("_EBool","_signed_int",0);
2733 SWIG_RegisterMapping("_EBool","_int",0);
2734 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2735 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
2736 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2737 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2738 SWIG_RegisterMapping("_unsigned_long","_long",0);
2739 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2740 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2741 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2742 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2743 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2744 SWIG_RegisterMapping("_signed_int","_EBool",0);
2745 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2746 SWIG_RegisterMapping("_signed_int","_int",0);
2747 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2748 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
2749 SWIG_RegisterMapping("_WXTYPE","_short",0);
2750 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2751 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2752 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2753 SWIG_RegisterMapping("_unsigned_short","_short",0);
2754 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
2755 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
2756 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
2757 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2758 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2759 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2760 SWIG_RegisterMapping("_signed_short","_short",0);
2761 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
2762 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
2763 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2764 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2765 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2766 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2767 SWIG_RegisterMapping("_unsigned_int","_int",0);
2768 SWIG_RegisterMapping("_short","_WXTYPE",0);
2769 SWIG_RegisterMapping("_short","_unsigned_short",0);
2770 SWIG_RegisterMapping("_short","_signed_short",0);
2771 SWIG_RegisterMapping("_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent);
2772 SWIG_RegisterMapping("_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent);
2773 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
2774 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
2775 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2776 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2777 SWIG_RegisterMapping("_wxWindowID","_int",0);
2778 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2779 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2780 SWIG_RegisterMapping("_int","_EBool",0);
2781 SWIG_RegisterMapping("_int","_uint",0);
2782 SWIG_RegisterMapping("_int","_wxWindowID",0);
2783 SWIG_RegisterMapping("_int","_unsigned_int",0);
2784 SWIG_RegisterMapping("_int","_signed_int",0);
2785 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
2786 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
2787 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2788 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
2789 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
2790 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
2791 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2792 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
2793 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
2794 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
2795 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
2796 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
2797 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
2798 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
2799 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent);
2800 SWIG_RegisterMapping("_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent);
2801 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
2802 SWIG_RegisterMapping("_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
2803 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
2804 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
2805 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2806 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
2807 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
2808 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
2809 }