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