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