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