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