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