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