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