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