]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/events.cpp
*** empty log message ***
[wxWidgets.git] / wxPython / src / gtk / events.cpp
CommitLineData
70551f47 1/*
2cd2fac8 2 * FILE : src/gtk/events.cpp
70551f47
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
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__)
c368d904 30# define SWIGEXPORT(a) a _export
70551f47 31# else
c368d904 32# define SWIGEXPORT(a) a
70551f47
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
70551f47
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
70551f47
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
2cd2fac8 44
70551f47
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
70551f47
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
70551f47
RD
54#define SWIG_init initeventsc
55
56#define SWIG_name "eventsc"
57
58#include "helpers.h"
62bd0874 59#include <wx/spinbutt.h>
70551f47
RD
60
61static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
2cd2fac8 63 if (!target) {
70551f47 64 target = o;
2cd2fac8 65 } else if (target == Py_None) {
70551f47
RD
66 Py_DECREF(Py_None);
67 target = o;
2cd2fac8 68 } else {
70551f47
RD
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79}
80
81static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
2cd2fac8 85 if (!target) {
70551f47 86 target = o;
2cd2fac8 87 } else if (target == Py_None) {
70551f47
RD
88 Py_DECREF(Py_None);
89 target = o;
2cd2fac8 90 } else {
70551f47
RD
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
2cd2fac8
RD
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
70551f47
RD
98
99 o2 = target;
2cd2fac8
RD
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
70551f47
RD
102 Py_DECREF(o3);
103 }
104 return target;
105}
106
37f6a977 107static char* wxStringErrorMsg = "string type is required for parameter";
2d091820
RD
108#ifdef __cplusplus
109extern "C" {
110#endif
167b96c2
RD
111#define new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
112static PyObject *_wrap_new_wxEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
113 PyObject * _resultobj;
114 wxEvent * _result;
115 int _arg0 = (int ) 0;
116 char *_kwnames[] = { "id", NULL };
117 char _ptemp[128];
118
119 self = self;
120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxEvent",_kwnames,&_arg0))
121 return NULL;
122{
123 wxPy_BEGIN_ALLOW_THREADS;
124 _result = (wxEvent *)new_wxEvent(_arg0);
125
126 wxPy_END_ALLOW_THREADS;
127} if (_result) {
128 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p");
129 _resultobj = Py_BuildValue("s",_ptemp);
130 } else {
131 Py_INCREF(Py_None);
132 _resultobj = Py_None;
133 }
134 return _resultobj;
135}
136
137#define delete_wxEvent(_swigobj) (delete _swigobj)
138static PyObject *_wrap_delete_wxEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
139 PyObject * _resultobj;
140 wxEvent * _arg0;
141 PyObject * _argo0 = 0;
142 char *_kwnames[] = { "self", NULL };
143
144 self = self;
145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxEvent",_kwnames,&_argo0))
146 return NULL;
147 if (_argo0) {
148 if (_argo0 == Py_None) { _arg0 = NULL; }
149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
151 return NULL;
152 }
153 }
154{
155 wxPy_BEGIN_ALLOW_THREADS;
156 delete_wxEvent(_arg0);
157
158 wxPy_END_ALLOW_THREADS;
159} Py_INCREF(Py_None);
160 _resultobj = Py_None;
161 return _resultobj;
162}
163
70551f47 164#define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
107e4716 165static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
166 PyObject * _resultobj;
167 wxObject * _result;
168 wxEvent * _arg0;
2d091820 169 PyObject * _argo0 = 0;
107e4716 170 char *_kwnames[] = { "self", NULL };
70551f47
RD
171 char _ptemp[128];
172
173 self = self;
107e4716 174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventObject",_kwnames,&_argo0))
70551f47 175 return NULL;
2d091820
RD
176 if (_argo0) {
177 if (_argo0 == Py_None) { _arg0 = NULL; }
178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
180 return NULL;
181 }
182 }
ab9bc19b
RD
183{
184 wxPy_BEGIN_ALLOW_THREADS;
185 _result = (wxObject *)wxEvent_GetEventObject(_arg0);
186
187 wxPy_END_ALLOW_THREADS;
2d091820
RD
188} if (_result) {
189 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
190 _resultobj = Py_BuildValue("s",_ptemp);
191 } else {
192 Py_INCREF(Py_None);
193 _resultobj = Py_None;
194 }
70551f47
RD
195 return _resultobj;
196}
197
198#define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
107e4716 199static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
200 PyObject * _resultobj;
201 wxEventType _result;
202 wxEvent * _arg0;
2d091820 203 PyObject * _argo0 = 0;
107e4716 204 char *_kwnames[] = { "self", NULL };
70551f47
RD
205
206 self = self;
107e4716 207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventType",_kwnames,&_argo0))
70551f47 208 return NULL;
2d091820
RD
209 if (_argo0) {
210 if (_argo0 == Py_None) { _arg0 = NULL; }
211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
213 return NULL;
214 }
215 }
ab9bc19b
RD
216{
217 wxPy_BEGIN_ALLOW_THREADS;
218 _result = (wxEventType )wxEvent_GetEventType(_arg0);
219
220 wxPy_END_ALLOW_THREADS;
221} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
222 return _resultobj;
223}
224
225#define wxEvent_GetId(_swigobj) (_swigobj->GetId())
107e4716 226static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
227 PyObject * _resultobj;
228 int _result;
229 wxEvent * _arg0;
2d091820 230 PyObject * _argo0 = 0;
107e4716 231 char *_kwnames[] = { "self", NULL };
70551f47
RD
232
233 self = self;
107e4716 234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetId",_kwnames,&_argo0))
70551f47 235 return NULL;
2d091820
RD
236 if (_argo0) {
237 if (_argo0 == Py_None) { _arg0 = NULL; }
238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
240 return NULL;
241 }
242 }
ab9bc19b
RD
243{
244 wxPy_BEGIN_ALLOW_THREADS;
245 _result = (int )wxEvent_GetId(_arg0);
246
247 wxPy_END_ALLOW_THREADS;
248} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
249 return _resultobj;
250}
251
252#define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
107e4716 253static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
254 PyObject * _resultobj;
255 bool _result;
256 wxEvent * _arg0;
2d091820 257 PyObject * _argo0 = 0;
107e4716 258 char *_kwnames[] = { "self", NULL };
70551f47
RD
259
260 self = self;
107e4716 261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetSkipped",_kwnames,&_argo0))
70551f47 262 return NULL;
2d091820
RD
263 if (_argo0) {
264 if (_argo0 == Py_None) { _arg0 = NULL; }
265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
267 return NULL;
268 }
269 }
ab9bc19b
RD
270{
271 wxPy_BEGIN_ALLOW_THREADS;
272 _result = (bool )wxEvent_GetSkipped(_arg0);
273
274 wxPy_END_ALLOW_THREADS;
275} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
276 return _resultobj;
277}
278
279#define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
107e4716 280static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
281 PyObject * _resultobj;
282 long _result;
283 wxEvent * _arg0;
2d091820 284 PyObject * _argo0 = 0;
107e4716 285 char *_kwnames[] = { "self", NULL };
70551f47
RD
286
287 self = self;
107e4716 288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetTimestamp",_kwnames,&_argo0))
70551f47 289 return NULL;
2d091820
RD
290 if (_argo0) {
291 if (_argo0 == Py_None) { _arg0 = NULL; }
292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
294 return NULL;
295 }
296 }
ab9bc19b
RD
297{
298 wxPy_BEGIN_ALLOW_THREADS;
299 _result = (long )wxEvent_GetTimestamp(_arg0);
300
301 wxPy_END_ALLOW_THREADS;
302} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
303 return _resultobj;
304}
305
306#define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
107e4716 307static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
308 PyObject * _resultobj;
309 wxEvent * _arg0;
310 wxObject * _arg1;
2d091820
RD
311 PyObject * _argo0 = 0;
312 PyObject * _argo1 = 0;
107e4716 313 char *_kwnames[] = { "self","object", NULL };
70551f47
RD
314
315 self = self;
107e4716 316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvent_SetEventObject",_kwnames,&_argo0,&_argo1))
70551f47 317 return NULL;
2d091820
RD
318 if (_argo0) {
319 if (_argo0 == Py_None) { _arg0 = NULL; }
320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
322 return NULL;
323 }
324 }
2d091820
RD
325 if (_argo1) {
326 if (_argo1 == Py_None) { _arg1 = NULL; }
327 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
70551f47
RD
328 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
329 return NULL;
330 }
331 }
ab9bc19b
RD
332{
333 wxPy_BEGIN_ALLOW_THREADS;
334 wxEvent_SetEventObject(_arg0,_arg1);
335
336 wxPy_END_ALLOW_THREADS;
337} Py_INCREF(Py_None);
70551f47
RD
338 _resultobj = Py_None;
339 return _resultobj;
340}
341
342#define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
107e4716 343static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
344 PyObject * _resultobj;
345 wxEvent * _arg0;
346 wxEventType _arg1;
2d091820 347 PyObject * _argo0 = 0;
107e4716 348 char *_kwnames[] = { "self","typ", NULL };
70551f47
RD
349
350 self = self;
107e4716 351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetEventType",_kwnames,&_argo0,&_arg1))
70551f47 352 return NULL;
2d091820
RD
353 if (_argo0) {
354 if (_argo0 == Py_None) { _arg0 = NULL; }
355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
357 return NULL;
358 }
359 }
ab9bc19b
RD
360{
361 wxPy_BEGIN_ALLOW_THREADS;
362 wxEvent_SetEventType(_arg0,_arg1);
363
364 wxPy_END_ALLOW_THREADS;
365} Py_INCREF(Py_None);
70551f47
RD
366 _resultobj = Py_None;
367 return _resultobj;
368}
369
370#define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
107e4716 371static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
372 PyObject * _resultobj;
373 wxEvent * _arg0;
374 int _arg1;
2d091820 375 PyObject * _argo0 = 0;
107e4716 376 char *_kwnames[] = { "self","id", NULL };
70551f47
RD
377
378 self = self;
107e4716 379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetId",_kwnames,&_argo0,&_arg1))
70551f47 380 return NULL;
2d091820
RD
381 if (_argo0) {
382 if (_argo0 == Py_None) { _arg0 = NULL; }
383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
385 return NULL;
386 }
387 }
ab9bc19b
RD
388{
389 wxPy_BEGIN_ALLOW_THREADS;
390 wxEvent_SetId(_arg0,_arg1);
391
392 wxPy_END_ALLOW_THREADS;
393} Py_INCREF(Py_None);
70551f47
RD
394 _resultobj = Py_None;
395 return _resultobj;
396}
397
398#define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
107e4716 399static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
400 PyObject * _resultobj;
401 wxEvent * _arg0;
402 long _arg1;
2d091820 403 PyObject * _argo0 = 0;
107e4716 404 char *_kwnames[] = { "self","timeStamp", NULL };
70551f47
RD
405
406 self = self;
107e4716 407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxEvent_SetTimestamp",_kwnames,&_argo0,&_arg1))
70551f47 408 return NULL;
2d091820
RD
409 if (_argo0) {
410 if (_argo0 == Py_None) { _arg0 = NULL; }
411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
413 return NULL;
414 }
415 }
ab9bc19b
RD
416{
417 wxPy_BEGIN_ALLOW_THREADS;
418 wxEvent_SetTimestamp(_arg0,_arg1);
419
420 wxPy_END_ALLOW_THREADS;
421} Py_INCREF(Py_None);
70551f47
RD
422 _resultobj = Py_None;
423 return _resultobj;
424}
425
426#define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
107e4716 427static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
428 PyObject * _resultobj;
429 wxEvent * _arg0;
2d091820
RD
430 bool _arg1 = (bool ) TRUE;
431 PyObject * _argo0 = 0;
432 int tempbool1 = (int) TRUE;
107e4716 433 char *_kwnames[] = { "self","skip", NULL };
70551f47
RD
434
435 self = self;
107e4716 436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxEvent_Skip",_kwnames,&_argo0,&tempbool1))
70551f47 437 return NULL;
2d091820
RD
438 if (_argo0) {
439 if (_argo0 == Py_None) { _arg0 = NULL; }
440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
70551f47
RD
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
442 return NULL;
443 }
444 }
445 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
446{
447 wxPy_BEGIN_ALLOW_THREADS;
448 wxEvent_Skip(_arg0,_arg1);
449
450 wxPy_END_ALLOW_THREADS;
451} Py_INCREF(Py_None);
70551f47
RD
452 _resultobj = Py_None;
453 return _resultobj;
454}
455
456static void *SwigwxSizeEventTowxEvent(void *ptr) {
457 wxSizeEvent *src;
458 wxEvent *dest;
459 src = (wxSizeEvent *) ptr;
460 dest = (wxEvent *) src;
461 return (void *) dest;
462}
463
167b96c2
RD
464#define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
465static PyObject *_wrap_new_wxSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
466 PyObject * _resultobj;
467 wxSizeEvent * _result;
468 wxSize * _arg0;
469 int _arg1 = (int ) 0;
470 wxSize temp;
471 PyObject * _obj0 = 0;
472 char *_kwnames[] = { "sz","id", NULL };
473 char _ptemp[128];
474
475 self = self;
476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxSizeEvent",_kwnames,&_obj0,&_arg1))
477 return NULL;
478{
479 _arg0 = &temp;
480 if (! wxSize_helper(_obj0, &_arg0))
481 return NULL;
482}
483{
484 wxPy_BEGIN_ALLOW_THREADS;
485 _result = (wxSizeEvent *)new_wxSizeEvent(*_arg0,_arg1);
486
487 wxPy_END_ALLOW_THREADS;
488} if (_result) {
489 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSizeEvent_p");
490 _resultobj = Py_BuildValue("s",_ptemp);
491 } else {
492 Py_INCREF(Py_None);
493 _resultobj = Py_None;
494 }
495 return _resultobj;
496}
497
70551f47 498#define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
107e4716 499static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
500 PyObject * _resultobj;
501 wxSize * _result;
502 wxSizeEvent * _arg0;
2d091820 503 PyObject * _argo0 = 0;
107e4716 504 char *_kwnames[] = { "self", NULL };
70551f47
RD
505 char _ptemp[128];
506
507 self = self;
107e4716 508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizeEvent_GetSize",_kwnames,&_argo0))
70551f47 509 return NULL;
2d091820
RD
510 if (_argo0) {
511 if (_argo0 == Py_None) { _arg0 = NULL; }
512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizeEvent_p")) {
70551f47
RD
513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
514 return NULL;
515 }
516 }
ab9bc19b
RD
517{
518 wxPy_BEGIN_ALLOW_THREADS;
519 _result = new wxSize (wxSizeEvent_GetSize(_arg0));
520
521 wxPy_END_ALLOW_THREADS;
522} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
70551f47
RD
523 _resultobj = Py_BuildValue("s",_ptemp);
524 return _resultobj;
525}
526
527static void *SwigwxCloseEventTowxEvent(void *ptr) {
528 wxCloseEvent *src;
529 wxEvent *dest;
530 src = (wxCloseEvent *) ptr;
531 dest = (wxEvent *) src;
532 return (void *) dest;
533}
534
167b96c2
RD
535#define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
536static PyObject *_wrap_new_wxCloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
537 PyObject * _resultobj;
538 wxCloseEvent * _result;
539 int _arg0 = (int ) 0;
540 int _arg1 = (int ) 0;
541 char *_kwnames[] = { "commandEventType","id", NULL };
542 char _ptemp[128];
543
544 self = self;
545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxCloseEvent",_kwnames,&_arg0,&_arg1))
546 return NULL;
547{
548 wxPy_BEGIN_ALLOW_THREADS;
549 _result = (wxCloseEvent *)new_wxCloseEvent(_arg0,_arg1);
550
551 wxPy_END_ALLOW_THREADS;
552} if (_result) {
553 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCloseEvent_p");
554 _resultobj = Py_BuildValue("s",_ptemp);
555 } else {
556 Py_INCREF(Py_None);
557 _resultobj = Py_None;
558 }
559 return _resultobj;
560}
561
d1e586e4 562#define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
107e4716 563static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 564 PyObject * _resultobj;
105e45b9 565 wxCloseEvent * _arg0;
d1e586e4 566 bool _arg1;
2d091820 567 PyObject * _argo0 = 0;
d1e586e4 568 int tempbool1;
107e4716 569 char *_kwnames[] = { "self","loggingOff", NULL };
105e45b9
RD
570
571 self = self;
107e4716 572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetLoggingOff",_kwnames,&_argo0,&tempbool1))
105e45b9 573 return NULL;
2d091820
RD
574 if (_argo0) {
575 if (_argo0 == Py_None) { _arg0 = NULL; }
576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
d1e586e4 577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
105e45b9
RD
578 return NULL;
579 }
580 }
d1e586e4 581 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
582{
583 wxPy_BEGIN_ALLOW_THREADS;
584 wxCloseEvent_SetLoggingOff(_arg0,_arg1);
585
586 wxPy_END_ALLOW_THREADS;
587} Py_INCREF(Py_None);
d1e586e4 588 _resultobj = Py_None;
105e45b9
RD
589 return _resultobj;
590}
591
70551f47 592#define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
107e4716 593static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
594 PyObject * _resultobj;
595 bool _result;
596 wxCloseEvent * _arg0;
2d091820 597 PyObject * _argo0 = 0;
107e4716 598 char *_kwnames[] = { "self", NULL };
70551f47
RD
599
600 self = self;
107e4716 601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetLoggingOff",_kwnames,&_argo0))
70551f47 602 return NULL;
2d091820
RD
603 if (_argo0) {
604 if (_argo0 == Py_None) { _arg0 = NULL; }
605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
70551f47
RD
606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
607 return NULL;
608 }
609 }
ab9bc19b
RD
610{
611 wxPy_BEGIN_ALLOW_THREADS;
612 _result = (bool )wxCloseEvent_GetLoggingOff(_arg0);
613
614 wxPy_END_ALLOW_THREADS;
615} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
616 return _resultobj;
617}
618
619#define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
107e4716 620static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
621 PyObject * _resultobj;
622 wxCloseEvent * _arg0;
2d091820
RD
623 bool _arg1 = (bool ) TRUE;
624 PyObject * _argo0 = 0;
625 int tempbool1 = (int) TRUE;
107e4716 626 char *_kwnames[] = { "self","veto", NULL };
70551f47
RD
627
628 self = self;
107e4716 629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCloseEvent_Veto",_kwnames,&_argo0,&tempbool1))
70551f47 630 return NULL;
2d091820
RD
631 if (_argo0) {
632 if (_argo0 == Py_None) { _arg0 = NULL; }
633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
70551f47
RD
634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
635 return NULL;
636 }
637 }
638 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
639{
640 wxPy_BEGIN_ALLOW_THREADS;
641 wxCloseEvent_Veto(_arg0,_arg1);
642
643 wxPy_END_ALLOW_THREADS;
644} Py_INCREF(Py_None);
70551f47
RD
645 _resultobj = Py_None;
646 return _resultobj;
647}
648
d1e586e4 649#define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
107e4716 650static PyObject *_wrap_wxCloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
651 PyObject * _resultobj;
652 bool _result;
653 wxCloseEvent * _arg0;
2d091820 654 PyObject * _argo0 = 0;
107e4716 655 char *_kwnames[] = { "self", NULL };
70551f47
RD
656
657 self = self;
107e4716 658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_CanVeto",_kwnames,&_argo0))
70551f47 659 return NULL;
2d091820
RD
660 if (_argo0) {
661 if (_argo0 == Py_None) { _arg0 = NULL; }
662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
d1e586e4 663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
70551f47
RD
664 return NULL;
665 }
666 }
ab9bc19b
RD
667{
668 wxPy_BEGIN_ALLOW_THREADS;
669 _result = (bool )wxCloseEvent_CanVeto(_arg0);
670
671 wxPy_END_ALLOW_THREADS;
672} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
673 return _resultobj;
674}
675
d1e586e4 676#define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
107e4716 677static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 678 PyObject * _resultobj;
d1e586e4 679 bool _result;
70551f47 680 wxCloseEvent * _arg0;
2d091820 681 PyObject * _argo0 = 0;
107e4716 682 char *_kwnames[] = { "self", NULL };
70551f47
RD
683
684 self = self;
107e4716 685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetVeto",_kwnames,&_argo0))
70551f47 686 return NULL;
2d091820
RD
687 if (_argo0) {
688 if (_argo0 == Py_None) { _arg0 = NULL; }
689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
d1e586e4 690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
70551f47
RD
691 return NULL;
692 }
693 }
ab9bc19b
RD
694{
695 wxPy_BEGIN_ALLOW_THREADS;
696 _result = (bool )wxCloseEvent_GetVeto(_arg0);
697
698 wxPy_END_ALLOW_THREADS;
699} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
700 return _resultobj;
701}
702
105e45b9 703#define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
107e4716 704static PyObject *_wrap_wxCloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
705 PyObject * _resultobj;
706 wxCloseEvent * _arg0;
707 bool _arg1;
2d091820 708 PyObject * _argo0 = 0;
105e45b9 709 int tempbool1;
107e4716 710 char *_kwnames[] = { "self","canVeto", NULL };
105e45b9
RD
711
712 self = self;
107e4716 713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetCanVeto",_kwnames,&_argo0,&tempbool1))
105e45b9 714 return NULL;
2d091820
RD
715 if (_argo0) {
716 if (_argo0 == Py_None) { _arg0 = NULL; }
717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
105e45b9
RD
718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
719 return NULL;
720 }
721 }
722 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
723{
724 wxPy_BEGIN_ALLOW_THREADS;
725 wxCloseEvent_SetCanVeto(_arg0,_arg1);
726
727 wxPy_END_ALLOW_THREADS;
728} Py_INCREF(Py_None);
105e45b9
RD
729 _resultobj = Py_None;
730 return _resultobj;
731}
732
70551f47
RD
733static void *SwigwxCommandEventTowxEvent(void *ptr) {
734 wxCommandEvent *src;
735 wxEvent *dest;
736 src = (wxCommandEvent *) ptr;
737 dest = (wxEvent *) src;
738 return (void *) dest;
739}
740
167b96c2
RD
741#define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
742static PyObject *_wrap_new_wxCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
743 PyObject * _resultobj;
744 wxCommandEvent * _result;
745 int _arg0 = (int ) 0;
746 int _arg1 = (int ) 0;
747 char *_kwnames[] = { "commandEventType","id", NULL };
748 char _ptemp[128];
749
750 self = self;
751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxCommandEvent",_kwnames,&_arg0,&_arg1))
752 return NULL;
753{
754 wxPy_BEGIN_ALLOW_THREADS;
755 _result = (wxCommandEvent *)new_wxCommandEvent(_arg0,_arg1);
756
757 wxPy_END_ALLOW_THREADS;
758} if (_result) {
759 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCommandEvent_p");
760 _resultobj = Py_BuildValue("s",_ptemp);
761 } else {
762 Py_INCREF(Py_None);
763 _resultobj = Py_None;
764 }
765 return _resultobj;
766}
767
3ca6a5f0
BP
768#define wxCommandEvent_IsChecked(_swigobj) (_swigobj->IsChecked())
769static PyObject *_wrap_wxCommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
770 PyObject * _resultobj;
771 bool _result;
772 wxCommandEvent * _arg0;
2d091820 773 PyObject * _argo0 = 0;
107e4716 774 char *_kwnames[] = { "self", NULL };
70551f47
RD
775
776 self = self;
3ca6a5f0 777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_IsChecked",_kwnames,&_argo0))
70551f47 778 return NULL;
2d091820
RD
779 if (_argo0) {
780 if (_argo0 == Py_None) { _arg0 = NULL; }
781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
3ca6a5f0 782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsChecked. Expected _wxCommandEvent_p.");
70551f47
RD
783 return NULL;
784 }
785 }
ab9bc19b
RD
786{
787 wxPy_BEGIN_ALLOW_THREADS;
3ca6a5f0 788 _result = (bool )wxCommandEvent_IsChecked(_arg0);
ab9bc19b
RD
789
790 wxPy_END_ALLOW_THREADS;
791} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
792 return _resultobj;
793}
794
795#define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
107e4716 796static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
797 PyObject * _resultobj;
798 long _result;
799 wxCommandEvent * _arg0;
2d091820 800 PyObject * _argo0 = 0;
107e4716 801 char *_kwnames[] = { "self", NULL };
70551f47
RD
802
803 self = self;
107e4716 804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetExtraLong",_kwnames,&_argo0))
70551f47 805 return NULL;
2d091820
RD
806 if (_argo0) {
807 if (_argo0 == Py_None) { _arg0 = NULL; }
808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
70551f47
RD
809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
810 return NULL;
811 }
812 }
ab9bc19b
RD
813{
814 wxPy_BEGIN_ALLOW_THREADS;
815 _result = (long )wxCommandEvent_GetExtraLong(_arg0);
816
817 wxPy_END_ALLOW_THREADS;
818} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
819 return _resultobj;
820}
821
822#define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
107e4716 823static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
824 PyObject * _resultobj;
825 int _result;
826 wxCommandEvent * _arg0;
2d091820 827 PyObject * _argo0 = 0;
107e4716 828 char *_kwnames[] = { "self", NULL };
70551f47
RD
829
830 self = self;
107e4716 831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetInt",_kwnames,&_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,"_wxCommandEvent_p")) {
70551f47
RD
836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
837 return NULL;
838 }
839 }
ab9bc19b
RD
840{
841 wxPy_BEGIN_ALLOW_THREADS;
842 _result = (int )wxCommandEvent_GetInt(_arg0);
843
844 wxPy_END_ALLOW_THREADS;
845} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
846 return _resultobj;
847}
848
849#define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
107e4716 850static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
851 PyObject * _resultobj;
852 int _result;
853 wxCommandEvent * _arg0;
2d091820 854 PyObject * _argo0 = 0;
107e4716 855 char *_kwnames[] = { "self", NULL };
70551f47
RD
856
857 self = self;
107e4716 858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetSelection",_kwnames,&_argo0))
70551f47 859 return NULL;
2d091820
RD
860 if (_argo0) {
861 if (_argo0 == Py_None) { _arg0 = NULL; }
862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
70551f47
RD
863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
864 return NULL;
865 }
866 }
ab9bc19b
RD
867{
868 wxPy_BEGIN_ALLOW_THREADS;
869 _result = (int )wxCommandEvent_GetSelection(_arg0);
870
871 wxPy_END_ALLOW_THREADS;
872} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
873 return _resultobj;
874}
875
876#define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
107e4716 877static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 878 PyObject * _resultobj;
ab9bc19b 879 wxString * _result;
70551f47 880 wxCommandEvent * _arg0;
2d091820 881 PyObject * _argo0 = 0;
107e4716 882 char *_kwnames[] = { "self", NULL };
70551f47
RD
883
884 self = self;
107e4716 885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetString",_kwnames,&_argo0))
70551f47 886 return NULL;
2d091820
RD
887 if (_argo0) {
888 if (_argo0 == Py_None) { _arg0 = NULL; }
889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
70551f47
RD
890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
891 return NULL;
892 }
893 }
ab9bc19b
RD
894{
895 wxPy_BEGIN_ALLOW_THREADS;
896 _result = new wxString (wxCommandEvent_GetString(_arg0));
897
898 wxPy_END_ALLOW_THREADS;
899}{
e02c03a4 900 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
ab9bc19b
RD
901}
902{
903 delete _result;
904}
70551f47
RD
905 return _resultobj;
906}
907
908#define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
107e4716 909static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
910 PyObject * _resultobj;
911 bool _result;
912 wxCommandEvent * _arg0;
2d091820 913 PyObject * _argo0 = 0;
107e4716 914 char *_kwnames[] = { "self", NULL };
70551f47
RD
915
916 self = self;
107e4716 917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_IsSelection",_kwnames,&_argo0))
70551f47 918 return NULL;
2d091820
RD
919 if (_argo0) {
920 if (_argo0 == Py_None) { _arg0 = NULL; }
921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
70551f47
RD
922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
923 return NULL;
924 }
925 }
ab9bc19b
RD
926{
927 wxPy_BEGIN_ALLOW_THREADS;
928 _result = (bool )wxCommandEvent_IsSelection(_arg0);
929
930 wxPy_END_ALLOW_THREADS;
931} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
932 return _resultobj;
933}
934
56f5d962
RD
935#define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
936static PyObject *_wrap_wxCommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
937 PyObject * _resultobj;
938 wxCommandEvent * _arg0;
939 wxString * _arg1;
940 PyObject * _argo0 = 0;
941 PyObject * _obj1 = 0;
942 char *_kwnames[] = { "self","s", NULL };
943
944 self = self;
945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCommandEvent_SetString",_kwnames,&_argo0,&_obj1))
946 return NULL;
947 if (_argo0) {
948 if (_argo0 == Py_None) { _arg0 = NULL; }
949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
951 return NULL;
952 }
953 }
954{
2cd2fac8
RD
955#if PYTHON_API_VERSION >= 1009
956 char* tmpPtr; int tmpSize;
957 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
958 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
959 return NULL;
960 }
961 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
962 return NULL;
963 _arg1 = new wxString(tmpPtr, tmpSize);
964#else
56f5d962
RD
965 if (!PyString_Check(_obj1)) {
966 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
967 return NULL;
968 }
2cd2fac8
RD
969 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
970#endif
56f5d962
RD
971}
972{
973 wxPy_BEGIN_ALLOW_THREADS;
974 wxCommandEvent_SetString(_arg0,*_arg1);
975
976 wxPy_END_ALLOW_THREADS;
977} Py_INCREF(Py_None);
978 _resultobj = Py_None;
979{
980 if (_obj1)
981 delete _arg1;
982}
983 return _resultobj;
984}
985
986#define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
987static PyObject *_wrap_wxCommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
988 PyObject * _resultobj;
989 wxCommandEvent * _arg0;
990 long _arg1;
991 PyObject * _argo0 = 0;
992 char *_kwnames[] = { "self","extraLong", NULL };
993
994 self = self;
995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxCommandEvent_SetExtraLong",_kwnames,&_argo0,&_arg1))
996 return NULL;
997 if (_argo0) {
998 if (_argo0 == Py_None) { _arg0 = NULL; }
999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
1000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
1001 return NULL;
1002 }
1003 }
1004{
1005 wxPy_BEGIN_ALLOW_THREADS;
1006 wxCommandEvent_SetExtraLong(_arg0,_arg1);
1007
1008 wxPy_END_ALLOW_THREADS;
1009} Py_INCREF(Py_None);
1010 _resultobj = Py_None;
1011 return _resultobj;
1012}
1013
1014#define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1015static PyObject *_wrap_wxCommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1016 PyObject * _resultobj;
1017 wxCommandEvent * _arg0;
1018 int _arg1;
1019 PyObject * _argo0 = 0;
1020 char *_kwnames[] = { "self","i", NULL };
1021
1022 self = self;
1023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCommandEvent_SetInt",_kwnames,&_argo0,&_arg1))
1024 return NULL;
1025 if (_argo0) {
1026 if (_argo0 == Py_None) { _arg0 = NULL; }
1027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
1028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1029 return NULL;
1030 }
1031 }
1032{
1033 wxPy_BEGIN_ALLOW_THREADS;
1034 wxCommandEvent_SetInt(_arg0,_arg1);
1035
1036 wxPy_END_ALLOW_THREADS;
1037} Py_INCREF(Py_None);
1038 _resultobj = Py_None;
1039 return _resultobj;
1040}
1041
70551f47
RD
1042static void *SwigwxScrollEventTowxCommandEvent(void *ptr) {
1043 wxScrollEvent *src;
1044 wxCommandEvent *dest;
1045 src = (wxScrollEvent *) ptr;
1046 dest = (wxCommandEvent *) src;
1047 return (void *) dest;
1048}
1049
1050static void *SwigwxScrollEventTowxEvent(void *ptr) {
1051 wxScrollEvent *src;
1052 wxEvent *dest;
1053 src = (wxScrollEvent *) ptr;
1054 dest = (wxEvent *) src;
1055 return (void *) dest;
1056}
1057
167b96c2
RD
1058#define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1059static PyObject *_wrap_new_wxScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1060 PyObject * _resultobj;
1061 wxScrollEvent * _result;
1062 int _arg0 = (int ) 0;
1063 int _arg1 = (int ) 0;
1064 int _arg2 = (int ) 0;
1065 int _arg3 = (int ) 0;
1066 char *_kwnames[] = { "commandType","id","pos","orientation", NULL };
1067 char _ptemp[128];
1068
1069 self = self;
1070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxScrollEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1071 return NULL;
1072{
1073 wxPy_BEGIN_ALLOW_THREADS;
1074 _result = (wxScrollEvent *)new_wxScrollEvent(_arg0,_arg1,_arg2,_arg3);
1075
1076 wxPy_END_ALLOW_THREADS;
1077} if (_result) {
1078 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollEvent_p");
1079 _resultobj = Py_BuildValue("s",_ptemp);
1080 } else {
1081 Py_INCREF(Py_None);
1082 _resultobj = Py_None;
1083 }
1084 return _resultobj;
1085}
1086
70551f47 1087#define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
107e4716 1088static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1089 PyObject * _resultobj;
1090 int _result;
1091 wxScrollEvent * _arg0;
2d091820 1092 PyObject * _argo0 = 0;
107e4716 1093 char *_kwnames[] = { "self", NULL };
70551f47
RD
1094
1095 self = self;
107e4716 1096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetOrientation",_kwnames,&_argo0))
70551f47 1097 return NULL;
2d091820
RD
1098 if (_argo0) {
1099 if (_argo0 == Py_None) { _arg0 = NULL; }
1100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
70551f47
RD
1101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1102 return NULL;
1103 }
1104 }
ab9bc19b
RD
1105{
1106 wxPy_BEGIN_ALLOW_THREADS;
1107 _result = (int )wxScrollEvent_GetOrientation(_arg0);
1108
1109 wxPy_END_ALLOW_THREADS;
1110} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1111 return _resultobj;
1112}
1113
1114#define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
107e4716 1115static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1116 PyObject * _resultobj;
1117 int _result;
1118 wxScrollEvent * _arg0;
2d091820 1119 PyObject * _argo0 = 0;
107e4716 1120 char *_kwnames[] = { "self", NULL };
70551f47
RD
1121
1122 self = self;
107e4716 1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetPosition",_kwnames,&_argo0))
70551f47 1124 return NULL;
2d091820
RD
1125 if (_argo0) {
1126 if (_argo0 == Py_None) { _arg0 = NULL; }
1127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
70551f47
RD
1128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1129 return NULL;
1130 }
1131 }
ab9bc19b
RD
1132{
1133 wxPy_BEGIN_ALLOW_THREADS;
1134 _result = (int )wxScrollEvent_GetPosition(_arg0);
1135
1136 wxPy_END_ALLOW_THREADS;
1137} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1138 return _resultobj;
1139}
1140
9cce9de1
RD
1141static void *SwigwxScrollWinEventTowxEvent(void *ptr) {
1142 wxScrollWinEvent *src;
1143 wxEvent *dest;
1144 src = (wxScrollWinEvent *) ptr;
1145 dest = (wxEvent *) src;
1146 return (void *) dest;
1147}
1148
167b96c2
RD
1149#define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1150static PyObject *_wrap_new_wxScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1151 PyObject * _resultobj;
1152 wxScrollWinEvent * _result;
1153 int _arg0 = (int ) 0;
1154 int _arg1 = (int ) 0;
1155 int _arg2 = (int ) 0;
1156 char *_kwnames[] = { "commandType","pos","orientation", NULL };
1157 char _ptemp[128];
1158
1159 self = self;
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxScrollWinEvent",_kwnames,&_arg0,&_arg1,&_arg2))
1161 return NULL;
1162{
1163 wxPy_BEGIN_ALLOW_THREADS;
1164 _result = (wxScrollWinEvent *)new_wxScrollWinEvent(_arg0,_arg1,_arg2);
1165
1166 wxPy_END_ALLOW_THREADS;
1167} if (_result) {
1168 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollWinEvent_p");
1169 _resultobj = Py_BuildValue("s",_ptemp);
1170 } else {
1171 Py_INCREF(Py_None);
1172 _resultobj = Py_None;
1173 }
1174 return _resultobj;
1175}
1176
9cce9de1
RD
1177#define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1178static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1179 PyObject * _resultobj;
1180 int _result;
1181 wxScrollWinEvent * _arg0;
1182 PyObject * _argo0 = 0;
1183 char *_kwnames[] = { "self", NULL };
1184
1185 self = self;
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetOrientation",_kwnames,&_argo0))
1187 return NULL;
1188 if (_argo0) {
1189 if (_argo0 == Py_None) { _arg0 = NULL; }
1190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
1191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1192 return NULL;
1193 }
1194 }
1195{
1196 wxPy_BEGIN_ALLOW_THREADS;
1197 _result = (int )wxScrollWinEvent_GetOrientation(_arg0);
1198
1199 wxPy_END_ALLOW_THREADS;
1200} _resultobj = Py_BuildValue("i",_result);
1201 return _resultobj;
1202}
1203
1204#define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1205static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1206 PyObject * _resultobj;
1207 int _result;
1208 wxScrollWinEvent * _arg0;
1209 PyObject * _argo0 = 0;
1210 char *_kwnames[] = { "self", NULL };
1211
1212 self = self;
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetPosition",_kwnames,&_argo0))
1214 return NULL;
1215 if (_argo0) {
1216 if (_argo0 == Py_None) { _arg0 = NULL; }
1217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
1218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1219 return NULL;
1220 }
1221 }
1222{
1223 wxPy_BEGIN_ALLOW_THREADS;
1224 _result = (int )wxScrollWinEvent_GetPosition(_arg0);
1225
1226 wxPy_END_ALLOW_THREADS;
1227} _resultobj = Py_BuildValue("i",_result);
1228 return _resultobj;
1229}
1230
62bd0874
RD
1231static void *SwigwxSpinEventTowxScrollEvent(void *ptr) {
1232 wxSpinEvent *src;
1233 wxScrollEvent *dest;
1234 src = (wxSpinEvent *) ptr;
1235 dest = (wxScrollEvent *) src;
1236 return (void *) dest;
1237}
1238
1239static void *SwigwxSpinEventTowxCommandEvent(void *ptr) {
1240 wxSpinEvent *src;
1241 wxCommandEvent *dest;
1242 src = (wxSpinEvent *) ptr;
1243 dest = (wxCommandEvent *) src;
1244 return (void *) dest;
1245}
1246
1247static void *SwigwxSpinEventTowxEvent(void *ptr) {
1248 wxSpinEvent *src;
1249 wxEvent *dest;
1250 src = (wxSpinEvent *) ptr;
1251 dest = (wxEvent *) src;
1252 return (void *) dest;
1253}
1254
167b96c2
RD
1255#define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1256static PyObject *_wrap_new_wxSpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1257 PyObject * _resultobj;
1258 wxSpinEvent * _result;
1259 int _arg0 = (int ) 0;
1260 int _arg1 = (int ) 0;
1261 char *_kwnames[] = { "commandType","id", NULL };
1262 char _ptemp[128];
1263
1264 self = self;
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxSpinEvent",_kwnames,&_arg0,&_arg1))
1266 return NULL;
1267{
1268 wxPy_BEGIN_ALLOW_THREADS;
1269 _result = (wxSpinEvent *)new_wxSpinEvent(_arg0,_arg1);
1270
1271 wxPy_END_ALLOW_THREADS;
1272} if (_result) {
1273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinEvent_p");
1274 _resultobj = Py_BuildValue("s",_ptemp);
1275 } else {
1276 Py_INCREF(Py_None);
1277 _resultobj = Py_None;
1278 }
1279 return _resultobj;
1280}
1281
70551f47
RD
1282static void *SwigwxMouseEventTowxEvent(void *ptr) {
1283 wxMouseEvent *src;
1284 wxEvent *dest;
1285 src = (wxMouseEvent *) ptr;
1286 dest = (wxEvent *) src;
1287 return (void *) dest;
1288}
1289
167b96c2
RD
1290#define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1291static PyObject *_wrap_new_wxMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1292 PyObject * _resultobj;
1293 wxMouseEvent * _result;
1294 int _arg0 = (int ) 0;
1295 char *_kwnames[] = { "mouseEventType", NULL };
1296 char _ptemp[128];
1297
1298 self = self;
1299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxMouseEvent",_kwnames,&_arg0))
1300 return NULL;
1301{
1302 wxPy_BEGIN_ALLOW_THREADS;
1303 _result = (wxMouseEvent *)new_wxMouseEvent(_arg0);
1304
1305 wxPy_END_ALLOW_THREADS;
1306} if (_result) {
1307 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMouseEvent_p");
1308 _resultobj = Py_BuildValue("s",_ptemp);
1309 } else {
1310 Py_INCREF(Py_None);
1311 _resultobj = Py_None;
1312 }
1313 return _resultobj;
1314}
1315
70551f47 1316#define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
107e4716 1317static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1318 PyObject * _resultobj;
1319 bool _result;
1320 wxMouseEvent * _arg0;
2d091820 1321 PyObject * _argo0 = 0;
107e4716 1322 char *_kwnames[] = { "self", NULL };
70551f47
RD
1323
1324 self = self;
107e4716 1325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_IsButton",_kwnames,&_argo0))
70551f47 1326 return NULL;
2d091820
RD
1327 if (_argo0) {
1328 if (_argo0 == Py_None) { _arg0 = NULL; }
1329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1331 return NULL;
1332 }
1333 }
ab9bc19b
RD
1334{
1335 wxPy_BEGIN_ALLOW_THREADS;
1336 _result = (bool )wxMouseEvent_IsButton(_arg0);
1337
1338 wxPy_END_ALLOW_THREADS;
1339} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1340 return _resultobj;
1341}
1342
1343#define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
107e4716 1344static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1345 PyObject * _resultobj;
1346 bool _result;
1347 wxMouseEvent * _arg0;
2d091820
RD
1348 int _arg1 = (int ) -1;
1349 PyObject * _argo0 = 0;
107e4716 1350 char *_kwnames[] = { "self","but", NULL };
70551f47
RD
1351
1352 self = self;
107e4716 1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
70551f47 1354 return NULL;
2d091820
RD
1355 if (_argo0) {
1356 if (_argo0 == Py_None) { _arg0 = NULL; }
1357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1359 return NULL;
1360 }
1361 }
ab9bc19b
RD
1362{
1363 wxPy_BEGIN_ALLOW_THREADS;
1364 _result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1);
1365
1366 wxPy_END_ALLOW_THREADS;
1367} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1368 return _resultobj;
1369}
1370
1371#define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
107e4716 1372static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1373 PyObject * _resultobj;
1374 bool _result;
1375 wxMouseEvent * _arg0;
2d091820
RD
1376 int _arg1 = (int ) -1;
1377 PyObject * _argo0 = 0;
107e4716 1378 char *_kwnames[] = { "self","but", NULL };
70551f47
RD
1379
1380 self = self;
107e4716 1381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDClick",_kwnames,&_argo0,&_arg1))
70551f47 1382 return NULL;
2d091820
RD
1383 if (_argo0) {
1384 if (_argo0 == Py_None) { _arg0 = NULL; }
1385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1387 return NULL;
1388 }
1389 }
ab9bc19b
RD
1390{
1391 wxPy_BEGIN_ALLOW_THREADS;
1392 _result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1);
1393
1394 wxPy_END_ALLOW_THREADS;
1395} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1396 return _resultobj;
1397}
1398
1399#define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
107e4716 1400static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1401 PyObject * _resultobj;
1402 bool _result;
1403 wxMouseEvent * _arg0;
2d091820
RD
1404 int _arg1 = (int ) -1;
1405 PyObject * _argo0 = 0;
107e4716 1406 char *_kwnames[] = { "self","but", NULL };
70551f47
RD
1407
1408 self = self;
107e4716 1409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
70551f47 1410 return NULL;
2d091820
RD
1411 if (_argo0) {
1412 if (_argo0 == Py_None) { _arg0 = NULL; }
1413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1415 return NULL;
1416 }
1417 }
ab9bc19b
RD
1418{
1419 wxPy_BEGIN_ALLOW_THREADS;
1420 _result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1);
1421
1422 wxPy_END_ALLOW_THREADS;
1423} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1424 return _resultobj;
1425}
1426
1427#define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
107e4716 1428static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1429 PyObject * _resultobj;
1430 bool _result;
1431 wxMouseEvent * _arg0;
1432 int _arg1;
2d091820 1433 PyObject * _argo0 = 0;
107e4716 1434 char *_kwnames[] = { "self","but", NULL };
70551f47
RD
1435
1436 self = self;
107e4716 1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_Button",_kwnames,&_argo0,&_arg1))
70551f47 1438 return NULL;
2d091820
RD
1439 if (_argo0) {
1440 if (_argo0 == Py_None) { _arg0 = NULL; }
1441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1443 return NULL;
1444 }
1445 }
ab9bc19b
RD
1446{
1447 wxPy_BEGIN_ALLOW_THREADS;
1448 _result = (bool )wxMouseEvent_Button(_arg0,_arg1);
1449
1450 wxPy_END_ALLOW_THREADS;
1451} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1452 return _resultobj;
1453}
1454
1455#define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
107e4716 1456static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1457 PyObject * _resultobj;
1458 bool _result;
1459 wxMouseEvent * _arg0;
1460 int _arg1;
2d091820 1461 PyObject * _argo0 = 0;
107e4716 1462 char *_kwnames[] = { "self","but", NULL };
70551f47
RD
1463
1464 self = self;
107e4716 1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
70551f47 1466 return NULL;
2d091820
RD
1467 if (_argo0) {
1468 if (_argo0 == Py_None) { _arg0 = NULL; }
1469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1471 return NULL;
1472 }
1473 }
ab9bc19b
RD
1474{
1475 wxPy_BEGIN_ALLOW_THREADS;
1476 _result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1);
1477
1478 wxPy_END_ALLOW_THREADS;
1479} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1480 return _resultobj;
1481}
1482
1483#define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
107e4716 1484static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1485 PyObject * _resultobj;
1486 bool _result;
1487 wxMouseEvent * _arg0;
2d091820 1488 PyObject * _argo0 = 0;
107e4716 1489 char *_kwnames[] = { "self", NULL };
70551f47
RD
1490
1491 self = self;
107e4716 1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ControlDown",_kwnames,&_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_ControlDown. Expected _wxMouseEvent_p.");
1498 return NULL;
1499 }
1500 }
ab9bc19b
RD
1501{
1502 wxPy_BEGIN_ALLOW_THREADS;
1503 _result = (bool )wxMouseEvent_ControlDown(_arg0);
1504
1505 wxPy_END_ALLOW_THREADS;
1506} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1507 return _resultobj;
1508}
1509
1510#define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
107e4716 1511static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1512 PyObject * _resultobj;
1513 bool _result;
1514 wxMouseEvent * _arg0;
2d091820 1515 PyObject * _argo0 = 0;
107e4716 1516 char *_kwnames[] = { "self", NULL };
70551f47
RD
1517
1518 self = self;
107e4716 1519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MetaDown",_kwnames,&_argo0))
70551f47 1520 return NULL;
2d091820
RD
1521 if (_argo0) {
1522 if (_argo0 == Py_None) { _arg0 = NULL; }
1523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1525 return NULL;
1526 }
1527 }
ab9bc19b
RD
1528{
1529 wxPy_BEGIN_ALLOW_THREADS;
1530 _result = (bool )wxMouseEvent_MetaDown(_arg0);
1531
1532 wxPy_END_ALLOW_THREADS;
1533} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1534 return _resultobj;
1535}
1536
1537#define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
107e4716 1538static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1539 PyObject * _resultobj;
1540 bool _result;
1541 wxMouseEvent * _arg0;
2d091820 1542 PyObject * _argo0 = 0;
107e4716 1543 char *_kwnames[] = { "self", NULL };
70551f47
RD
1544
1545 self = self;
107e4716 1546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_AltDown",_kwnames,&_argo0))
70551f47 1547 return NULL;
2d091820
RD
1548 if (_argo0) {
1549 if (_argo0 == Py_None) { _arg0 = NULL; }
1550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1552 return NULL;
1553 }
1554 }
ab9bc19b
RD
1555{
1556 wxPy_BEGIN_ALLOW_THREADS;
1557 _result = (bool )wxMouseEvent_AltDown(_arg0);
1558
1559 wxPy_END_ALLOW_THREADS;
1560} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1561 return _resultobj;
1562}
1563
1564#define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
107e4716 1565static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1566 PyObject * _resultobj;
1567 bool _result;
1568 wxMouseEvent * _arg0;
2d091820 1569 PyObject * _argo0 = 0;
107e4716 1570 char *_kwnames[] = { "self", NULL };
70551f47
RD
1571
1572 self = self;
107e4716 1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ShiftDown",_kwnames,&_argo0))
70551f47 1574 return NULL;
2d091820
RD
1575 if (_argo0) {
1576 if (_argo0 == Py_None) { _arg0 = NULL; }
1577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1579 return NULL;
1580 }
1581 }
ab9bc19b
RD
1582{
1583 wxPy_BEGIN_ALLOW_THREADS;
1584 _result = (bool )wxMouseEvent_ShiftDown(_arg0);
1585
1586 wxPy_END_ALLOW_THREADS;
1587} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1588 return _resultobj;
1589}
1590
1591#define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
107e4716 1592static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1593 PyObject * _resultobj;
1594 bool _result;
1595 wxMouseEvent * _arg0;
2d091820 1596 PyObject * _argo0 = 0;
107e4716 1597 char *_kwnames[] = { "self", NULL };
70551f47
RD
1598
1599 self = self;
107e4716 1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDown",_kwnames,&_argo0))
70551f47 1601 return NULL;
2d091820
RD
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1606 return NULL;
1607 }
1608 }
ab9bc19b
RD
1609{
1610 wxPy_BEGIN_ALLOW_THREADS;
1611 _result = (bool )wxMouseEvent_LeftDown(_arg0);
1612
1613 wxPy_END_ALLOW_THREADS;
1614} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1615 return _resultobj;
1616}
1617
1618#define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
107e4716 1619static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1620 PyObject * _resultobj;
1621 bool _result;
1622 wxMouseEvent * _arg0;
2d091820 1623 PyObject * _argo0 = 0;
107e4716 1624 char *_kwnames[] = { "self", NULL };
70551f47
RD
1625
1626 self = self;
107e4716 1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDown",_kwnames,&_argo0))
70551f47 1628 return NULL;
2d091820
RD
1629 if (_argo0) {
1630 if (_argo0 == Py_None) { _arg0 = NULL; }
1631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1633 return NULL;
1634 }
1635 }
ab9bc19b
RD
1636{
1637 wxPy_BEGIN_ALLOW_THREADS;
1638 _result = (bool )wxMouseEvent_MiddleDown(_arg0);
1639
1640 wxPy_END_ALLOW_THREADS;
1641} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1642 return _resultobj;
1643}
1644
1645#define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
107e4716 1646static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1647 PyObject * _resultobj;
1648 bool _result;
1649 wxMouseEvent * _arg0;
2d091820 1650 PyObject * _argo0 = 0;
107e4716 1651 char *_kwnames[] = { "self", NULL };
70551f47
RD
1652
1653 self = self;
107e4716 1654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDown",_kwnames,&_argo0))
70551f47 1655 return NULL;
2d091820
RD
1656 if (_argo0) {
1657 if (_argo0 == Py_None) { _arg0 = NULL; }
1658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1660 return NULL;
1661 }
1662 }
ab9bc19b
RD
1663{
1664 wxPy_BEGIN_ALLOW_THREADS;
1665 _result = (bool )wxMouseEvent_RightDown(_arg0);
1666
1667 wxPy_END_ALLOW_THREADS;
1668} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1669 return _resultobj;
1670}
1671
1672#define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
107e4716 1673static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1674 PyObject * _resultobj;
1675 bool _result;
1676 wxMouseEvent * _arg0;
2d091820 1677 PyObject * _argo0 = 0;
107e4716 1678 char *_kwnames[] = { "self", NULL };
70551f47
RD
1679
1680 self = self;
107e4716 1681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftUp",_kwnames,&_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_LeftUp. Expected _wxMouseEvent_p.");
1687 return NULL;
1688 }
1689 }
ab9bc19b
RD
1690{
1691 wxPy_BEGIN_ALLOW_THREADS;
1692 _result = (bool )wxMouseEvent_LeftUp(_arg0);
1693
1694 wxPy_END_ALLOW_THREADS;
1695} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1696 return _resultobj;
1697}
1698
1699#define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
107e4716 1700static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1701 PyObject * _resultobj;
1702 bool _result;
1703 wxMouseEvent * _arg0;
2d091820 1704 PyObject * _argo0 = 0;
107e4716 1705 char *_kwnames[] = { "self", NULL };
70551f47
RD
1706
1707 self = self;
107e4716 1708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleUp",_kwnames,&_argo0))
70551f47 1709 return NULL;
2d091820
RD
1710 if (_argo0) {
1711 if (_argo0 == Py_None) { _arg0 = NULL; }
1712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1714 return NULL;
1715 }
1716 }
ab9bc19b
RD
1717{
1718 wxPy_BEGIN_ALLOW_THREADS;
1719 _result = (bool )wxMouseEvent_MiddleUp(_arg0);
1720
1721 wxPy_END_ALLOW_THREADS;
1722} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1723 return _resultobj;
1724}
1725
1726#define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
107e4716 1727static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1728 PyObject * _resultobj;
1729 bool _result;
1730 wxMouseEvent * _arg0;
2d091820 1731 PyObject * _argo0 = 0;
107e4716 1732 char *_kwnames[] = { "self", NULL };
70551f47
RD
1733
1734 self = self;
107e4716 1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightUp",_kwnames,&_argo0))
70551f47 1736 return NULL;
2d091820
RD
1737 if (_argo0) {
1738 if (_argo0 == Py_None) { _arg0 = NULL; }
1739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1741 return NULL;
1742 }
1743 }
ab9bc19b
RD
1744{
1745 wxPy_BEGIN_ALLOW_THREADS;
1746 _result = (bool )wxMouseEvent_RightUp(_arg0);
1747
1748 wxPy_END_ALLOW_THREADS;
1749} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1750 return _resultobj;
1751}
1752
1753#define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
107e4716 1754static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1755 PyObject * _resultobj;
1756 bool _result;
1757 wxMouseEvent * _arg0;
2d091820 1758 PyObject * _argo0 = 0;
107e4716 1759 char *_kwnames[] = { "self", NULL };
70551f47
RD
1760
1761 self = self;
107e4716 1762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDClick",_kwnames,&_argo0))
70551f47 1763 return NULL;
2d091820
RD
1764 if (_argo0) {
1765 if (_argo0 == Py_None) { _arg0 = NULL; }
1766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1768 return NULL;
1769 }
1770 }
ab9bc19b
RD
1771{
1772 wxPy_BEGIN_ALLOW_THREADS;
1773 _result = (bool )wxMouseEvent_LeftDClick(_arg0);
1774
1775 wxPy_END_ALLOW_THREADS;
1776} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1777 return _resultobj;
1778}
1779
1780#define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
107e4716 1781static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1782 PyObject * _resultobj;
1783 bool _result;
1784 wxMouseEvent * _arg0;
2d091820 1785 PyObject * _argo0 = 0;
107e4716 1786 char *_kwnames[] = { "self", NULL };
70551f47
RD
1787
1788 self = self;
107e4716 1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDClick",_kwnames,&_argo0))
70551f47 1790 return NULL;
2d091820
RD
1791 if (_argo0) {
1792 if (_argo0 == Py_None) { _arg0 = NULL; }
1793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1795 return NULL;
1796 }
1797 }
ab9bc19b
RD
1798{
1799 wxPy_BEGIN_ALLOW_THREADS;
1800 _result = (bool )wxMouseEvent_MiddleDClick(_arg0);
1801
1802 wxPy_END_ALLOW_THREADS;
1803} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1804 return _resultobj;
1805}
1806
1807#define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
107e4716 1808static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1809 PyObject * _resultobj;
1810 bool _result;
1811 wxMouseEvent * _arg0;
2d091820 1812 PyObject * _argo0 = 0;
107e4716 1813 char *_kwnames[] = { "self", NULL };
70551f47
RD
1814
1815 self = self;
107e4716 1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDClick",_kwnames,&_argo0))
70551f47 1817 return NULL;
2d091820
RD
1818 if (_argo0) {
1819 if (_argo0 == Py_None) { _arg0 = NULL; }
1820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1822 return NULL;
1823 }
1824 }
ab9bc19b
RD
1825{
1826 wxPy_BEGIN_ALLOW_THREADS;
1827 _result = (bool )wxMouseEvent_RightDClick(_arg0);
1828
1829 wxPy_END_ALLOW_THREADS;
1830} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1831 return _resultobj;
1832}
1833
1834#define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
107e4716 1835static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1836 PyObject * _resultobj;
1837 bool _result;
1838 wxMouseEvent * _arg0;
2d091820 1839 PyObject * _argo0 = 0;
107e4716 1840 char *_kwnames[] = { "self", NULL };
70551f47
RD
1841
1842 self = self;
107e4716 1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftIsDown",_kwnames,&_argo0))
70551f47 1844 return NULL;
2d091820
RD
1845 if (_argo0) {
1846 if (_argo0 == Py_None) { _arg0 = NULL; }
1847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1849 return NULL;
1850 }
1851 }
ab9bc19b
RD
1852{
1853 wxPy_BEGIN_ALLOW_THREADS;
1854 _result = (bool )wxMouseEvent_LeftIsDown(_arg0);
1855
1856 wxPy_END_ALLOW_THREADS;
1857} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1858 return _resultobj;
1859}
1860
1861#define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
107e4716 1862static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1863 PyObject * _resultobj;
1864 bool _result;
1865 wxMouseEvent * _arg0;
2d091820 1866 PyObject * _argo0 = 0;
107e4716 1867 char *_kwnames[] = { "self", NULL };
70551f47
RD
1868
1869 self = self;
107e4716 1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleIsDown",_kwnames,&_argo0))
70551f47 1871 return NULL;
2d091820
RD
1872 if (_argo0) {
1873 if (_argo0 == Py_None) { _arg0 = NULL; }
1874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1876 return NULL;
1877 }
1878 }
ab9bc19b
RD
1879{
1880 wxPy_BEGIN_ALLOW_THREADS;
1881 _result = (bool )wxMouseEvent_MiddleIsDown(_arg0);
1882
1883 wxPy_END_ALLOW_THREADS;
1884} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1885 return _resultobj;
1886}
1887
1888#define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
107e4716 1889static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1890 PyObject * _resultobj;
1891 bool _result;
1892 wxMouseEvent * _arg0;
2d091820 1893 PyObject * _argo0 = 0;
107e4716 1894 char *_kwnames[] = { "self", NULL };
70551f47
RD
1895
1896 self = self;
107e4716 1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightIsDown",_kwnames,&_argo0))
70551f47 1898 return NULL;
2d091820
RD
1899 if (_argo0) {
1900 if (_argo0 == Py_None) { _arg0 = NULL; }
1901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1903 return NULL;
1904 }
1905 }
ab9bc19b
RD
1906{
1907 wxPy_BEGIN_ALLOW_THREADS;
1908 _result = (bool )wxMouseEvent_RightIsDown(_arg0);
1909
1910 wxPy_END_ALLOW_THREADS;
1911} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1912 return _resultobj;
1913}
1914
1915#define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
107e4716 1916static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1917 PyObject * _resultobj;
1918 bool _result;
1919 wxMouseEvent * _arg0;
2d091820 1920 PyObject * _argo0 = 0;
107e4716 1921 char *_kwnames[] = { "self", NULL };
70551f47
RD
1922
1923 self = self;
107e4716 1924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Dragging",_kwnames,&_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,"_wxMouseEvent_p")) {
70551f47
RD
1929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1930 return NULL;
1931 }
1932 }
ab9bc19b
RD
1933{
1934 wxPy_BEGIN_ALLOW_THREADS;
1935 _result = (bool )wxMouseEvent_Dragging(_arg0);
1936
1937 wxPy_END_ALLOW_THREADS;
1938} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1939 return _resultobj;
1940}
1941
1942#define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
107e4716 1943static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1944 PyObject * _resultobj;
1945 bool _result;
1946 wxMouseEvent * _arg0;
2d091820 1947 PyObject * _argo0 = 0;
107e4716 1948 char *_kwnames[] = { "self", NULL };
70551f47
RD
1949
1950 self = self;
107e4716 1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Moving",_kwnames,&_argo0))
70551f47 1952 return NULL;
2d091820
RD
1953 if (_argo0) {
1954 if (_argo0 == Py_None) { _arg0 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1957 return NULL;
1958 }
1959 }
ab9bc19b
RD
1960{
1961 wxPy_BEGIN_ALLOW_THREADS;
1962 _result = (bool )wxMouseEvent_Moving(_arg0);
1963
1964 wxPy_END_ALLOW_THREADS;
1965} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1966 return _resultobj;
1967}
1968
1969#define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
107e4716 1970static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1971 PyObject * _resultobj;
1972 bool _result;
1973 wxMouseEvent * _arg0;
2d091820 1974 PyObject * _argo0 = 0;
107e4716 1975 char *_kwnames[] = { "self", NULL };
70551f47
RD
1976
1977 self = self;
107e4716 1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Entering",_kwnames,&_argo0))
70551f47 1979 return NULL;
2d091820
RD
1980 if (_argo0) {
1981 if (_argo0 == Py_None) { _arg0 = NULL; }
1982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
1983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1984 return NULL;
1985 }
1986 }
ab9bc19b
RD
1987{
1988 wxPy_BEGIN_ALLOW_THREADS;
1989 _result = (bool )wxMouseEvent_Entering(_arg0);
1990
1991 wxPy_END_ALLOW_THREADS;
1992} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1993 return _resultobj;
1994}
1995
1996#define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
107e4716 1997static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1998 PyObject * _resultobj;
1999 bool _result;
2000 wxMouseEvent * _arg0;
2d091820 2001 PyObject * _argo0 = 0;
107e4716 2002 char *_kwnames[] = { "self", NULL };
70551f47
RD
2003
2004 self = self;
107e4716 2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Leaving",_kwnames,&_argo0))
70551f47 2006 return NULL;
2d091820
RD
2007 if (_argo0) {
2008 if (_argo0 == Py_None) { _arg0 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2011 return NULL;
2012 }
2013 }
ab9bc19b
RD
2014{
2015 wxPy_BEGIN_ALLOW_THREADS;
2016 _result = (bool )wxMouseEvent_Leaving(_arg0);
2017
2018 wxPy_END_ALLOW_THREADS;
2019} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2020 return _resultobj;
2021}
2022
4120ef2b
RD
2023#define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2024static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2025 PyObject * _resultobj;
2026 wxPoint * _result;
2027 wxMouseEvent * _arg0;
2028 PyObject * _argo0 = 0;
2029 char *_kwnames[] = { "self", NULL };
2030 char _ptemp[128];
2031
2032 self = self;
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPosition",_kwnames,&_argo0))
2034 return NULL;
2035 if (_argo0) {
2036 if (_argo0 == Py_None) { _arg0 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2039 return NULL;
2040 }
2041 }
2042{
2043 wxPy_BEGIN_ALLOW_THREADS;
2044 _result = new wxPoint (wxMouseEvent_GetPosition(_arg0));
2045
2046 wxPy_END_ALLOW_THREADS;
2047} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2048 _resultobj = Py_BuildValue("s",_ptemp);
2049 return _resultobj;
2050}
2051
2052#define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2053static PyObject *_wrap_wxMouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2054 PyObject * _resultobj;
2055 wxMouseEvent * _arg0;
2056 long * _arg1;
2057 long temp;
2058 long * _arg2;
2059 long temp0;
2d091820 2060 PyObject * _argo0 = 0;
107e4716 2061 char *_kwnames[] = { "self", NULL };
70551f47
RD
2062
2063 self = self;
2064{
2065 _arg1 = &temp;
2066}
2067{
2068 _arg2 = &temp0;
2069}
4120ef2b 2070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPositionTuple",_kwnames,&_argo0))
70551f47 2071 return NULL;
2d091820
RD
2072 if (_argo0) {
2073 if (_argo0 == Py_None) { _arg0 = NULL; }
2074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
4120ef2b 2075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
70551f47
RD
2076 return NULL;
2077 }
2078 }
ab9bc19b
RD
2079{
2080 wxPy_BEGIN_ALLOW_THREADS;
4120ef2b 2081 wxMouseEvent_GetPositionTuple(_arg0,_arg1,_arg2);
ab9bc19b
RD
2082
2083 wxPy_END_ALLOW_THREADS;
2084} Py_INCREF(Py_None);
70551f47
RD
2085 _resultobj = Py_None;
2086{
2087 PyObject *o;
2088 o = PyInt_FromLong((long) (*_arg1));
2089 _resultobj = t_output_helper(_resultobj, o);
2090}
2091{
2092 PyObject *o;
2093 o = PyInt_FromLong((long) (*_arg2));
2094 _resultobj = t_output_helper(_resultobj, o);
2095}
2096 return _resultobj;
2097}
2098
70551f47 2099#define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
107e4716 2100static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2101 PyObject * _resultobj;
2102 wxPoint * _result;
2103 wxMouseEvent * _arg0;
2104 wxDC * _arg1;
2d091820
RD
2105 PyObject * _argo0 = 0;
2106 PyObject * _argo1 = 0;
107e4716 2107 char *_kwnames[] = { "self","dc", NULL };
70551f47
RD
2108 char _ptemp[128];
2109
2110 self = self;
107e4716 2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMouseEvent_GetLogicalPosition",_kwnames,&_argo0,&_argo1))
70551f47 2112 return NULL;
2d091820
RD
2113 if (_argo0) {
2114 if (_argo0 == Py_None) { _arg0 = NULL; }
2115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
2116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2117 return NULL;
2118 }
2119 }
2d091820
RD
2120 if (_argo1) {
2121 if (_argo1 == Py_None) { _arg1 = NULL; }
2122 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
70551f47
RD
2123 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2124 return NULL;
2125 }
2126 }
ab9bc19b
RD
2127{
2128 wxPy_BEGIN_ALLOW_THREADS;
2129 _result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1));
2130
2131 wxPy_END_ALLOW_THREADS;
2132} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
70551f47
RD
2133 _resultobj = Py_BuildValue("s",_ptemp);
2134 return _resultobj;
2135}
2136
2137#define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
107e4716 2138static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2139 PyObject * _resultobj;
2140 long _result;
2141 wxMouseEvent * _arg0;
2d091820 2142 PyObject * _argo0 = 0;
107e4716 2143 char *_kwnames[] = { "self", NULL };
70551f47
RD
2144
2145 self = self;
107e4716 2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetX",_kwnames,&_argo0))
70551f47 2147 return NULL;
2d091820
RD
2148 if (_argo0) {
2149 if (_argo0 == Py_None) { _arg0 = NULL; }
2150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
2151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2152 return NULL;
2153 }
2154 }
ab9bc19b
RD
2155{
2156 wxPy_BEGIN_ALLOW_THREADS;
2157 _result = (long )wxMouseEvent_GetX(_arg0);
2158
2159 wxPy_END_ALLOW_THREADS;
2160} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
2161 return _resultobj;
2162}
2163
2164#define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
107e4716 2165static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2166 PyObject * _resultobj;
2167 long _result;
2168 wxMouseEvent * _arg0;
2d091820 2169 PyObject * _argo0 = 0;
107e4716 2170 char *_kwnames[] = { "self", NULL };
70551f47
RD
2171
2172 self = self;
107e4716 2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetY",_kwnames,&_argo0))
70551f47 2174 return NULL;
2d091820
RD
2175 if (_argo0) {
2176 if (_argo0 == Py_None) { _arg0 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
70551f47
RD
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2179 return NULL;
2180 }
2181 }
ab9bc19b
RD
2182{
2183 wxPy_BEGIN_ALLOW_THREADS;
2184 _result = (long )wxMouseEvent_GetY(_arg0);
2185
2186 wxPy_END_ALLOW_THREADS;
2187} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
2188 return _resultobj;
2189}
2190
c368d904
RD
2191#define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2192static PyObject *_wrap_wxMouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject * _resultobj;
2194 long _result;
2195 wxMouseEvent * _arg0;
2196 long _arg1;
2197 PyObject * _argo0 = 0;
2198 char *_kwnames[] = { "self","m_x", NULL };
2199
2200 self = self;
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxMouseEvent_m_x_set",_kwnames,&_argo0,&_arg1))
2202 return NULL;
2203 if (_argo0) {
2204 if (_argo0 == Py_None) { _arg0 = NULL; }
2205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2207 return NULL;
2208 }
2209 }
2210{
2211 wxPy_BEGIN_ALLOW_THREADS;
2212 _result = (long )wxMouseEvent_m_x_set(_arg0,_arg1);
2213
2214 wxPy_END_ALLOW_THREADS;
2215} _resultobj = Py_BuildValue("l",_result);
2216 return _resultobj;
70551f47
RD
2217}
2218
c368d904
RD
2219#define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2220static PyObject *_wrap_wxMouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
167b96c2 2221 PyObject * _resultobj;
c368d904
RD
2222 long _result;
2223 wxMouseEvent * _arg0;
2224 PyObject * _argo0 = 0;
2225 char *_kwnames[] = { "self", NULL };
167b96c2
RD
2226
2227 self = self;
c368d904
RD
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_x_get",_kwnames,&_argo0))
2229 return NULL;
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
167b96c2 2234 return NULL;
c368d904
RD
2235 }
2236 }
167b96c2
RD
2237{
2238 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2239 _result = (long )wxMouseEvent_m_x_get(_arg0);
167b96c2
RD
2240
2241 wxPy_END_ALLOW_THREADS;
c368d904
RD
2242} _resultobj = Py_BuildValue("l",_result);
2243 return _resultobj;
2244}
2245
2246#define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2247static PyObject *_wrap_wxMouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject * _resultobj;
2249 long _result;
2250 wxMouseEvent * _arg0;
2251 long _arg1;
2252 PyObject * _argo0 = 0;
2253 char *_kwnames[] = { "self","m_y", NULL };
2254
2255 self = self;
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxMouseEvent_m_y_set",_kwnames,&_argo0,&_arg1))
2257 return NULL;
2258 if (_argo0) {
2259 if (_argo0 == Py_None) { _arg0 = NULL; }
2260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2262 return NULL;
2263 }
167b96c2 2264 }
c368d904
RD
2265{
2266 wxPy_BEGIN_ALLOW_THREADS;
2267 _result = (long )wxMouseEvent_m_y_set(_arg0,_arg1);
2268
2269 wxPy_END_ALLOW_THREADS;
2270} _resultobj = Py_BuildValue("l",_result);
167b96c2
RD
2271 return _resultobj;
2272}
2273
c368d904
RD
2274#define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2275static PyObject *_wrap_wxMouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2276 PyObject * _resultobj;
c368d904
RD
2277 long _result;
2278 wxMouseEvent * _arg0;
2d091820 2279 PyObject * _argo0 = 0;
107e4716 2280 char *_kwnames[] = { "self", NULL };
70551f47
RD
2281
2282 self = self;
c368d904 2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_y_get",_kwnames,&_argo0))
70551f47 2284 return NULL;
2d091820
RD
2285 if (_argo0) {
2286 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
70551f47
RD
2289 return NULL;
2290 }
2291 }
ab9bc19b
RD
2292{
2293 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2294 _result = (long )wxMouseEvent_m_y_get(_arg0);
ab9bc19b
RD
2295
2296 wxPy_END_ALLOW_THREADS;
c368d904 2297} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
2298 return _resultobj;
2299}
2300
c368d904
RD
2301#define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2302static PyObject *_wrap_wxMouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2303 PyObject * _resultobj;
2304 bool _result;
c368d904
RD
2305 wxMouseEvent * _arg0;
2306 bool _arg1;
2d091820 2307 PyObject * _argo0 = 0;
c368d904
RD
2308 int tempbool1;
2309 char *_kwnames[] = { "self","m_leftDown", NULL };
70551f47
RD
2310
2311 self = self;
c368d904 2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_leftDown_set",_kwnames,&_argo0,&tempbool1))
70551f47 2313 return NULL;
2d091820
RD
2314 if (_argo0) {
2315 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
70551f47
RD
2318 return NULL;
2319 }
2320 }
c368d904 2321 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
2322{
2323 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2324 _result = (bool )wxMouseEvent_m_leftDown_set(_arg0,_arg1);
ab9bc19b
RD
2325
2326 wxPy_END_ALLOW_THREADS;
2327} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2328 return _resultobj;
2329}
2330
c368d904
RD
2331#define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2332static PyObject *_wrap_wxMouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2333 PyObject * _resultobj;
2334 bool _result;
c368d904 2335 wxMouseEvent * _arg0;
2d091820 2336 PyObject * _argo0 = 0;
107e4716 2337 char *_kwnames[] = { "self", NULL };
70551f47
RD
2338
2339 self = self;
c368d904 2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_leftDown_get",_kwnames,&_argo0))
70551f47 2341 return NULL;
2d091820
RD
2342 if (_argo0) {
2343 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
70551f47
RD
2346 return NULL;
2347 }
2348 }
ab9bc19b
RD
2349{
2350 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2351 _result = (bool )wxMouseEvent_m_leftDown_get(_arg0);
ab9bc19b
RD
2352
2353 wxPy_END_ALLOW_THREADS;
2354} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2355 return _resultobj;
2356}
2357
c368d904
RD
2358#define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2359static PyObject *_wrap_wxMouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2360 PyObject * _resultobj;
2361 bool _result;
c368d904
RD
2362 wxMouseEvent * _arg0;
2363 bool _arg1;
2d091820 2364 PyObject * _argo0 = 0;
c368d904
RD
2365 int tempbool1;
2366 char *_kwnames[] = { "self","m_middleDown", NULL };
70551f47
RD
2367
2368 self = self;
c368d904 2369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_middleDown_set",_kwnames,&_argo0,&tempbool1))
70551f47 2370 return NULL;
2d091820
RD
2371 if (_argo0) {
2372 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
70551f47
RD
2375 return NULL;
2376 }
2377 }
c368d904 2378 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
2379{
2380 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2381 _result = (bool )wxMouseEvent_m_middleDown_set(_arg0,_arg1);
ab9bc19b
RD
2382
2383 wxPy_END_ALLOW_THREADS;
2384} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2385 return _resultobj;
2386}
2387
c368d904
RD
2388#define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2389static PyObject *_wrap_wxMouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2390 PyObject * _resultobj;
c368d904
RD
2391 bool _result;
2392 wxMouseEvent * _arg0;
2d091820 2393 PyObject * _argo0 = 0;
107e4716 2394 char *_kwnames[] = { "self", NULL };
70551f47
RD
2395
2396 self = self;
c368d904 2397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_middleDown_get",_kwnames,&_argo0))
70551f47 2398 return NULL;
2d091820
RD
2399 if (_argo0) {
2400 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
70551f47
RD
2403 return NULL;
2404 }
2405 }
ab9bc19b
RD
2406{
2407 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2408 _result = (bool )wxMouseEvent_m_middleDown_get(_arg0);
ab9bc19b
RD
2409
2410 wxPy_END_ALLOW_THREADS;
c368d904 2411} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2412 return _resultobj;
2413}
2414
c368d904
RD
2415#define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2416static PyObject *_wrap_wxMouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2417 PyObject * _resultobj;
c368d904
RD
2418 bool _result;
2419 wxMouseEvent * _arg0;
2420 bool _arg1;
f6bcfd97 2421 PyObject * _argo0 = 0;
c368d904
RD
2422 int tempbool1;
2423 char *_kwnames[] = { "self","m_rightDown", NULL };
f6bcfd97
BP
2424
2425 self = self;
c368d904 2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_rightDown_set",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
2427 return NULL;
2428 if (_argo0) {
2429 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
f6bcfd97
BP
2432 return NULL;
2433 }
2434 }
c368d904 2435 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
2436{
2437 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2438 _result = (bool )wxMouseEvent_m_rightDown_set(_arg0,_arg1);
f6bcfd97
BP
2439
2440 wxPy_END_ALLOW_THREADS;
c368d904 2441} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
2442 return _resultobj;
2443}
2444
c368d904
RD
2445#define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2446static PyObject *_wrap_wxMouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2447 PyObject * _resultobj;
2448 bool _result;
c368d904 2449 wxMouseEvent * _arg0;
f6bcfd97
BP
2450 PyObject * _argo0 = 0;
2451 char *_kwnames[] = { "self", NULL };
2452
2453 self = self;
c368d904 2454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_rightDown_get",_kwnames,&_argo0))
f6bcfd97
BP
2455 return NULL;
2456 if (_argo0) {
2457 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
f6bcfd97
BP
2460 return NULL;
2461 }
2462 }
2463{
2464 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2465 _result = (bool )wxMouseEvent_m_rightDown_get(_arg0);
f6bcfd97
BP
2466
2467 wxPy_END_ALLOW_THREADS;
2468} _resultobj = Py_BuildValue("i",_result);
2469 return _resultobj;
2470}
2471
c368d904
RD
2472#define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2473static PyObject *_wrap_wxMouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2474 PyObject * _resultobj;
c368d904
RD
2475 bool _result;
2476 wxMouseEvent * _arg0;
2477 bool _arg1;
2d091820 2478 PyObject * _argo0 = 0;
c368d904
RD
2479 int tempbool1;
2480 char *_kwnames[] = { "self","m_controlDown", NULL };
70551f47
RD
2481
2482 self = self;
c368d904 2483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_controlDown_set",_kwnames,&_argo0,&tempbool1))
70551f47 2484 return NULL;
2d091820
RD
2485 if (_argo0) {
2486 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
70551f47
RD
2489 return NULL;
2490 }
2491 }
c368d904 2492 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
2493{
2494 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2495 _result = (bool )wxMouseEvent_m_controlDown_set(_arg0,_arg1);
ab9bc19b
RD
2496
2497 wxPy_END_ALLOW_THREADS;
c368d904 2498} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2499 return _resultobj;
2500}
2501
c368d904
RD
2502#define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2503static PyObject *_wrap_wxMouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2504 PyObject * _resultobj;
c368d904
RD
2505 bool _result;
2506 wxMouseEvent * _arg0;
2d091820 2507 PyObject * _argo0 = 0;
107e4716 2508 char *_kwnames[] = { "self", NULL };
70551f47
RD
2509
2510 self = self;
c368d904 2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_controlDown_get",_kwnames,&_argo0))
70551f47 2512 return NULL;
2d091820
RD
2513 if (_argo0) {
2514 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
70551f47
RD
2517 return NULL;
2518 }
2519 }
ab9bc19b
RD
2520{
2521 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2522 _result = (bool )wxMouseEvent_m_controlDown_get(_arg0);
ab9bc19b
RD
2523
2524 wxPy_END_ALLOW_THREADS;
c368d904 2525} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2526 return _resultobj;
2527}
2528
c368d904
RD
2529#define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2530static PyObject *_wrap_wxMouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2531 PyObject * _resultobj;
c368d904
RD
2532 bool _result;
2533 wxMouseEvent * _arg0;
2534 bool _arg1;
2d091820 2535 PyObject * _argo0 = 0;
c368d904
RD
2536 int tempbool1;
2537 char *_kwnames[] = { "self","m_shiftDown", NULL };
70551f47
RD
2538
2539 self = self;
c368d904 2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames,&_argo0,&tempbool1))
70551f47 2541 return NULL;
2d091820
RD
2542 if (_argo0) {
2543 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
70551f47
RD
2546 return NULL;
2547 }
2548 }
c368d904 2549 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
2550{
2551 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2552 _result = (bool )wxMouseEvent_m_shiftDown_set(_arg0,_arg1);
ab9bc19b
RD
2553
2554 wxPy_END_ALLOW_THREADS;
c368d904 2555} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2556 return _resultobj;
2557}
2558
c368d904
RD
2559#define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2560static PyObject *_wrap_wxMouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2561 PyObject * _resultobj;
c368d904
RD
2562 bool _result;
2563 wxMouseEvent * _arg0;
2d091820 2564 PyObject * _argo0 = 0;
107e4716 2565 char *_kwnames[] = { "self", NULL };
70551f47
RD
2566
2567 self = self;
c368d904
RD
2568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_shiftDown_get",_kwnames,&_argo0))
2569 return NULL;
2570 if (_argo0) {
2571 if (_argo0 == Py_None) { _arg0 = NULL; }
2572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2574 return NULL;
2575 }
2576 }
167b96c2 2577{
c368d904
RD
2578 wxPy_BEGIN_ALLOW_THREADS;
2579 _result = (bool )wxMouseEvent_m_shiftDown_get(_arg0);
2580
2581 wxPy_END_ALLOW_THREADS;
2582} _resultobj = Py_BuildValue("i",_result);
2583 return _resultobj;
167b96c2 2584}
c368d904
RD
2585
2586#define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2587static PyObject *_wrap_wxMouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2588 PyObject * _resultobj;
2589 bool _result;
2590 wxMouseEvent * _arg0;
2591 bool _arg1;
2592 PyObject * _argo0 = 0;
2593 int tempbool1;
2594 char *_kwnames[] = { "self","m_altDown", NULL };
2595
2596 self = self;
2597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_altDown_set",_kwnames,&_argo0,&tempbool1))
70551f47 2598 return NULL;
2d091820
RD
2599 if (_argo0) {
2600 if (_argo0 == Py_None) { _arg0 = NULL; }
c368d904
RD
2601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
70551f47
RD
2603 return NULL;
2604 }
2605 }
c368d904 2606 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
2607{
2608 wxPy_BEGIN_ALLOW_THREADS;
c368d904 2609 _result = (bool )wxMouseEvent_m_altDown_set(_arg0,_arg1);
ab9bc19b
RD
2610
2611 wxPy_END_ALLOW_THREADS;
c368d904
RD
2612} _resultobj = Py_BuildValue("i",_result);
2613 return _resultobj;
2614}
2615
2616#define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2617static PyObject *_wrap_wxMouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject * _resultobj;
2619 bool _result;
2620 wxMouseEvent * _arg0;
2621 PyObject * _argo0 = 0;
2622 char *_kwnames[] = { "self", NULL };
2623
2624 self = self;
2625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_altDown_get",_kwnames,&_argo0))
2626 return NULL;
2627 if (_argo0) {
2628 if (_argo0 == Py_None) { _arg0 = NULL; }
2629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2631 return NULL;
2632 }
2633 }
2634{
2635 wxPy_BEGIN_ALLOW_THREADS;
2636 _result = (bool )wxMouseEvent_m_altDown_get(_arg0);
2637
2638 wxPy_END_ALLOW_THREADS;
2639} _resultobj = Py_BuildValue("i",_result);
2640 return _resultobj;
2641}
2642
2643#define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2644static PyObject *_wrap_wxMouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2645 PyObject * _resultobj;
2646 bool _result;
2647 wxMouseEvent * _arg0;
2648 bool _arg1;
2649 PyObject * _argo0 = 0;
2650 int tempbool1;
2651 char *_kwnames[] = { "self","m_metaDown", NULL };
2652
2653 self = self;
2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_m_metaDown_set",_kwnames,&_argo0,&tempbool1))
2655 return NULL;
2656 if (_argo0) {
2657 if (_argo0 == Py_None) { _arg0 = NULL; }
2658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2660 return NULL;
2661 }
2662 }
2663 _arg1 = (bool ) tempbool1;
2664{
2665 wxPy_BEGIN_ALLOW_THREADS;
2666 _result = (bool )wxMouseEvent_m_metaDown_set(_arg0,_arg1);
2667
2668 wxPy_END_ALLOW_THREADS;
2669} _resultobj = Py_BuildValue("i",_result);
2670 return _resultobj;
2671}
2672
2673#define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2674static PyObject *_wrap_wxMouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject * _resultobj;
2676 bool _result;
2677 wxMouseEvent * _arg0;
2678 PyObject * _argo0 = 0;
2679 char *_kwnames[] = { "self", NULL };
2680
2681 self = self;
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_m_metaDown_get",_kwnames,&_argo0))
2683 return NULL;
2684 if (_argo0) {
2685 if (_argo0 == Py_None) { _arg0 = NULL; }
2686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2688 return NULL;
2689 }
2690 }
2691{
2692 wxPy_BEGIN_ALLOW_THREADS;
2693 _result = (bool )wxMouseEvent_m_metaDown_get(_arg0);
2694
2695 wxPy_END_ALLOW_THREADS;
2696} _resultobj = Py_BuildValue("i",_result);
2697 return _resultobj;
2698}
2699
2700static void *SwigwxKeyEventTowxEvent(void *ptr) {
2701 wxKeyEvent *src;
2702 wxEvent *dest;
2703 src = (wxKeyEvent *) ptr;
2704 dest = (wxEvent *) src;
2705 return (void *) dest;
2706}
2707
2708#define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
2709static PyObject *_wrap_new_wxKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2710 PyObject * _resultobj;
2711 wxKeyEvent * _result;
2712 int _arg0;
2713 char *_kwnames[] = { "keyEventType", NULL };
2714 char _ptemp[128];
2715
2716 self = self;
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxKeyEvent",_kwnames,&_arg0))
2718 return NULL;
2719{
2720 wxPy_BEGIN_ALLOW_THREADS;
2721 _result = (wxKeyEvent *)new_wxKeyEvent(_arg0);
2722
2723 wxPy_END_ALLOW_THREADS;
2724} if (_result) {
2725 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
2726 _resultobj = Py_BuildValue("s",_ptemp);
2727 } else {
2728 Py_INCREF(Py_None);
2729 _resultobj = Py_None;
2730 }
2731 return _resultobj;
2732}
2733
2734#define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
2735static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject * _resultobj;
2737 bool _result;
2738 wxKeyEvent * _arg0;
2739 PyObject * _argo0 = 0;
2740 char *_kwnames[] = { "self", NULL };
2741
2742 self = self;
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ControlDown",_kwnames,&_argo0))
2744 return NULL;
2745 if (_argo0) {
2746 if (_argo0 == Py_None) { _arg0 = NULL; }
2747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
2749 return NULL;
2750 }
2751 }
2752{
2753 wxPy_BEGIN_ALLOW_THREADS;
2754 _result = (bool )wxKeyEvent_ControlDown(_arg0);
2755
2756 wxPy_END_ALLOW_THREADS;
2757} _resultobj = Py_BuildValue("i",_result);
2758 return _resultobj;
2759}
2760
2761#define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
2762static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject * _resultobj;
2764 bool _result;
2765 wxKeyEvent * _arg0;
2766 PyObject * _argo0 = 0;
2767 char *_kwnames[] = { "self", NULL };
2768
2769 self = self;
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_MetaDown",_kwnames,&_argo0))
2771 return NULL;
2772 if (_argo0) {
2773 if (_argo0 == Py_None) { _arg0 = NULL; }
2774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
2776 return NULL;
2777 }
2778 }
2779{
2780 wxPy_BEGIN_ALLOW_THREADS;
2781 _result = (bool )wxKeyEvent_MetaDown(_arg0);
2782
2783 wxPy_END_ALLOW_THREADS;
2784} _resultobj = Py_BuildValue("i",_result);
2785 return _resultobj;
2786}
2787
2788#define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
2789static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2790 PyObject * _resultobj;
2791 bool _result;
2792 wxKeyEvent * _arg0;
2793 PyObject * _argo0 = 0;
2794 char *_kwnames[] = { "self", NULL };
2795
2796 self = self;
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_AltDown",_kwnames,&_argo0))
2798 return NULL;
2799 if (_argo0) {
2800 if (_argo0 == Py_None) { _arg0 = NULL; }
2801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
2803 return NULL;
2804 }
2805 }
2806{
2807 wxPy_BEGIN_ALLOW_THREADS;
2808 _result = (bool )wxKeyEvent_AltDown(_arg0);
2809
2810 wxPy_END_ALLOW_THREADS;
2811} _resultobj = Py_BuildValue("i",_result);
2812 return _resultobj;
2813}
2814
2815#define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
2816static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject * _resultobj;
2818 bool _result;
2819 wxKeyEvent * _arg0;
2820 PyObject * _argo0 = 0;
2821 char *_kwnames[] = { "self", NULL };
2822
2823 self = self;
2824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ShiftDown",_kwnames,&_argo0))
2825 return NULL;
2826 if (_argo0) {
2827 if (_argo0 == Py_None) { _arg0 = NULL; }
2828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
2830 return NULL;
2831 }
2832 }
2833{
2834 wxPy_BEGIN_ALLOW_THREADS;
2835 _result = (bool )wxKeyEvent_ShiftDown(_arg0);
2836
2837 wxPy_END_ALLOW_THREADS;
2838} _resultobj = Py_BuildValue("i",_result);
2839 return _resultobj;
2840}
2841
2842#define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
2843static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2844 PyObject * _resultobj;
2845 long _result;
2846 wxKeyEvent * _arg0;
2847 PyObject * _argo0 = 0;
2848 char *_kwnames[] = { "self", NULL };
2849
2850 self = self;
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_KeyCode",_kwnames,&_argo0))
2852 return NULL;
2853 if (_argo0) {
2854 if (_argo0 == Py_None) { _arg0 = NULL; }
2855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
2857 return NULL;
2858 }
2859 }
2860{
2861 wxPy_BEGIN_ALLOW_THREADS;
2862 _result = (long )wxKeyEvent_KeyCode(_arg0);
2863
2864 wxPy_END_ALLOW_THREADS;
2865} _resultobj = Py_BuildValue("l",_result);
2866 return _resultobj;
2867}
2868
2869#define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2870static PyObject *_wrap_wxKeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2871 PyObject * _resultobj;
2872 long _result;
2873 wxKeyEvent * _arg0;
2874 PyObject * _argo0 = 0;
2875 char *_kwnames[] = { "self", NULL };
2876
2877 self = self;
2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetKeyCode",_kwnames,&_argo0))
2879 return NULL;
2880 if (_argo0) {
2881 if (_argo0 == Py_None) { _arg0 = NULL; }
2882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
2884 return NULL;
2885 }
2886 }
2887{
2888 wxPy_BEGIN_ALLOW_THREADS;
2889 _result = (long )wxKeyEvent_GetKeyCode(_arg0);
2890
2891 wxPy_END_ALLOW_THREADS;
2892} _resultobj = Py_BuildValue("l",_result);
2893 return _resultobj;
2894}
2895
2896#define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
2897static PyObject *_wrap_wxKeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject * _resultobj;
2899 bool _result;
2900 wxKeyEvent * _arg0;
2901 PyObject * _argo0 = 0;
2902 char *_kwnames[] = { "self", NULL };
2903
2904 self = self;
2905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_HasModifiers",_kwnames,&_argo0))
2906 return NULL;
2907 if (_argo0) {
2908 if (_argo0 == Py_None) { _arg0 = NULL; }
2909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
2911 return NULL;
2912 }
2913 }
2914{
2915 wxPy_BEGIN_ALLOW_THREADS;
2916 _result = (bool )wxKeyEvent_HasModifiers(_arg0);
2917
2918 wxPy_END_ALLOW_THREADS;
2919} _resultobj = Py_BuildValue("i",_result);
2920 return _resultobj;
2921}
2922
2923#define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
2924static PyObject *_wrap_wxKeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject * _resultobj;
2926 long _result;
2927 wxKeyEvent * _arg0;
2928 PyObject * _argo0 = 0;
2929 char *_kwnames[] = { "self", NULL };
2930
2931 self = self;
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetX",_kwnames,&_argo0))
2933 return NULL;
2934 if (_argo0) {
2935 if (_argo0 == Py_None) { _arg0 = NULL; }
2936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
2938 return NULL;
2939 }
2940 }
2941{
2942 wxPy_BEGIN_ALLOW_THREADS;
2943 _result = (long )wxKeyEvent_GetX(_arg0);
2944
2945 wxPy_END_ALLOW_THREADS;
2946} _resultobj = Py_BuildValue("l",_result);
2947 return _resultobj;
2948}
2949
2950#define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
2951static PyObject *_wrap_wxKeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2952 PyObject * _resultobj;
2953 long _result;
2954 wxKeyEvent * _arg0;
2955 PyObject * _argo0 = 0;
2956 char *_kwnames[] = { "self", NULL };
2957
2958 self = self;
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetY",_kwnames,&_argo0))
2960 return NULL;
2961 if (_argo0) {
2962 if (_argo0 == Py_None) { _arg0 = NULL; }
2963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
2965 return NULL;
2966 }
2967 }
2968{
2969 wxPy_BEGIN_ALLOW_THREADS;
2970 _result = (long )wxKeyEvent_GetY(_arg0);
2971
2972 wxPy_END_ALLOW_THREADS;
2973} _resultobj = Py_BuildValue("l",_result);
2974 return _resultobj;
2975}
2976
2977#define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2978static PyObject *_wrap_wxKeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2979 PyObject * _resultobj;
2980 wxPoint * _result;
2981 wxKeyEvent * _arg0;
2982 PyObject * _argo0 = 0;
2983 char *_kwnames[] = { "self", NULL };
2984 char _ptemp[128];
2985
2986 self = self;
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPosition",_kwnames,&_argo0))
2988 return NULL;
2989 if (_argo0) {
2990 if (_argo0 == Py_None) { _arg0 = NULL; }
2991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
2993 return NULL;
2994 }
2995 }
2996{
2997 wxPy_BEGIN_ALLOW_THREADS;
2998 _result = new wxPoint (wxKeyEvent_GetPosition(_arg0));
2999
3000 wxPy_END_ALLOW_THREADS;
3001} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3002 _resultobj = Py_BuildValue("s",_ptemp);
3003 return _resultobj;
3004}
3005
3006#define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3007static PyObject *_wrap_wxKeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
3008 PyObject * _resultobj;
3009 wxKeyEvent * _arg0;
3010 long * _arg1;
3011 long temp;
3012 long * _arg2;
3013 long temp0;
3014 PyObject * _argo0 = 0;
3015 char *_kwnames[] = { "self", NULL };
3016
3017 self = self;
3018{
3019 _arg1 = &temp;
3020}
3021{
3022 _arg2 = &temp0;
3023}
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPositionTuple",_kwnames,&_argo0))
3025 return NULL;
3026 if (_argo0) {
3027 if (_argo0 == Py_None) { _arg0 = NULL; }
3028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3030 return NULL;
3031 }
3032 }
3033{
3034 wxPy_BEGIN_ALLOW_THREADS;
3035 wxKeyEvent_GetPositionTuple(_arg0,_arg1,_arg2);
3036
3037 wxPy_END_ALLOW_THREADS;
3038} Py_INCREF(Py_None);
3039 _resultobj = Py_None;
3040{
3041 PyObject *o;
3042 o = PyInt_FromLong((long) (*_arg1));
3043 _resultobj = t_output_helper(_resultobj, o);
3044}
3045{
3046 PyObject *o;
3047 o = PyInt_FromLong((long) (*_arg2));
3048 _resultobj = t_output_helper(_resultobj, o);
3049}
3050 return _resultobj;
3051}
3052
3053#define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3054static PyObject *_wrap_wxKeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3055 PyObject * _resultobj;
3056 long _result;
3057 wxKeyEvent * _arg0;
3058 long _arg1;
3059 PyObject * _argo0 = 0;
3060 char *_kwnames[] = { "self","m_x", NULL };
3061
3062 self = self;
3063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_x_set",_kwnames,&_argo0,&_arg1))
3064 return NULL;
3065 if (_argo0) {
3066 if (_argo0 == Py_None) { _arg0 = NULL; }
3067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3069 return NULL;
3070 }
3071 }
3072{
3073 wxPy_BEGIN_ALLOW_THREADS;
3074 _result = (long )wxKeyEvent_m_x_set(_arg0,_arg1);
3075
3076 wxPy_END_ALLOW_THREADS;
3077} _resultobj = Py_BuildValue("l",_result);
3078 return _resultobj;
3079}
3080
3081#define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3082static PyObject *_wrap_wxKeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3083 PyObject * _resultobj;
3084 long _result;
3085 wxKeyEvent * _arg0;
3086 PyObject * _argo0 = 0;
3087 char *_kwnames[] = { "self", NULL };
3088
3089 self = self;
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_x_get",_kwnames,&_argo0))
3091 return NULL;
3092 if (_argo0) {
3093 if (_argo0 == Py_None) { _arg0 = NULL; }
3094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3096 return NULL;
3097 }
3098 }
3099{
3100 wxPy_BEGIN_ALLOW_THREADS;
3101 _result = (long )wxKeyEvent_m_x_get(_arg0);
3102
3103 wxPy_END_ALLOW_THREADS;
3104} _resultobj = Py_BuildValue("l",_result);
3105 return _resultobj;
3106}
3107
3108#define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3109static PyObject *_wrap_wxKeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3110 PyObject * _resultobj;
3111 long _result;
3112 wxKeyEvent * _arg0;
3113 long _arg1;
3114 PyObject * _argo0 = 0;
3115 char *_kwnames[] = { "self","m_y", NULL };
3116
3117 self = self;
3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_y_set",_kwnames,&_argo0,&_arg1))
3119 return NULL;
3120 if (_argo0) {
3121 if (_argo0 == Py_None) { _arg0 = NULL; }
3122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p.");
3124 return NULL;
3125 }
3126 }
3127{
3128 wxPy_BEGIN_ALLOW_THREADS;
3129 _result = (long )wxKeyEvent_m_y_set(_arg0,_arg1);
3130
3131 wxPy_END_ALLOW_THREADS;
3132} _resultobj = Py_BuildValue("l",_result);
3133 return _resultobj;
3134}
3135
3136#define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3137static PyObject *_wrap_wxKeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3138 PyObject * _resultobj;
3139 long _result;
3140 wxKeyEvent * _arg0;
3141 PyObject * _argo0 = 0;
3142 char *_kwnames[] = { "self", NULL };
3143
3144 self = self;
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_y_get",_kwnames,&_argo0))
3146 return NULL;
3147 if (_argo0) {
3148 if (_argo0 == Py_None) { _arg0 = NULL; }
3149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p.");
3151 return NULL;
3152 }
3153 }
3154{
3155 wxPy_BEGIN_ALLOW_THREADS;
3156 _result = (long )wxKeyEvent_m_y_get(_arg0);
3157
3158 wxPy_END_ALLOW_THREADS;
3159} _resultobj = Py_BuildValue("l",_result);
3160 return _resultobj;
3161}
3162
3163#define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3164static PyObject *_wrap_wxKeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3165 PyObject * _resultobj;
3166 long _result;
3167 wxKeyEvent * _arg0;
3168 long _arg1;
3169 PyObject * _argo0 = 0;
3170 char *_kwnames[] = { "self","m_keyCode", NULL };
3171
3172 self = self;
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_keyCode_set",_kwnames,&_argo0,&_arg1))
3174 return NULL;
3175 if (_argo0) {
3176 if (_argo0 == Py_None) { _arg0 = NULL; }
3177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3179 return NULL;
3180 }
3181 }
3182{
3183 wxPy_BEGIN_ALLOW_THREADS;
3184 _result = (long )wxKeyEvent_m_keyCode_set(_arg0,_arg1);
3185
3186 wxPy_END_ALLOW_THREADS;
3187} _resultobj = Py_BuildValue("l",_result);
3188 return _resultobj;
3189}
3190
3191#define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3192static PyObject *_wrap_wxKeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject * _resultobj;
3194 long _result;
3195 wxKeyEvent * _arg0;
3196 PyObject * _argo0 = 0;
3197 char *_kwnames[] = { "self", NULL };
3198
3199 self = self;
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_keyCode_get",_kwnames,&_argo0))
3201 return NULL;
3202 if (_argo0) {
3203 if (_argo0 == Py_None) { _arg0 = NULL; }
3204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3206 return NULL;
3207 }
3208 }
167b96c2 3209{
c368d904
RD
3210 wxPy_BEGIN_ALLOW_THREADS;
3211 _result = (long )wxKeyEvent_m_keyCode_get(_arg0);
3212
3213 wxPy_END_ALLOW_THREADS;
3214} _resultobj = Py_BuildValue("l",_result);
3215 return _resultobj;
167b96c2 3216}
c368d904
RD
3217
3218#define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3219static PyObject *_wrap_wxKeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3220 PyObject * _resultobj;
3221 bool _result;
3222 wxKeyEvent * _arg0;
3223 bool _arg1;
3224 PyObject * _argo0 = 0;
3225 int tempbool1;
3226 char *_kwnames[] = { "self","m_controlDown", NULL };
3227
3228 self = self;
3229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_controlDown_set",_kwnames,&_argo0,&tempbool1))
3230 return NULL;
3231 if (_argo0) {
3232 if (_argo0 == Py_None) { _arg0 = NULL; }
3233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
3235 return NULL;
3236 }
3237 }
3238 _arg1 = (bool ) tempbool1;
167b96c2 3239{
c368d904
RD
3240 wxPy_BEGIN_ALLOW_THREADS;
3241 _result = (bool )wxKeyEvent_m_controlDown_set(_arg0,_arg1);
3242
3243 wxPy_END_ALLOW_THREADS;
3244} _resultobj = Py_BuildValue("i",_result);
3245 return _resultobj;
3246}
3247
3248#define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
3249static PyObject *_wrap_wxKeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3250 PyObject * _resultobj;
3251 bool _result;
3252 wxKeyEvent * _arg0;
3253 PyObject * _argo0 = 0;
3254 char *_kwnames[] = { "self", NULL };
3255
3256 self = self;
3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_controlDown_get",_kwnames,&_argo0))
3258 return NULL;
3259 if (_argo0) {
3260 if (_argo0 == Py_None) { _arg0 = NULL; }
3261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
3263 return NULL;
3264 }
3265 }
3266{
3267 wxPy_BEGIN_ALLOW_THREADS;
3268 _result = (bool )wxKeyEvent_m_controlDown_get(_arg0);
3269
3270 wxPy_END_ALLOW_THREADS;
3271} _resultobj = Py_BuildValue("i",_result);
3272 return _resultobj;
3273}
3274
3275#define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
3276static PyObject *_wrap_wxKeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3277 PyObject * _resultobj;
3278 bool _result;
3279 wxKeyEvent * _arg0;
3280 bool _arg1;
3281 PyObject * _argo0 = 0;
3282 int tempbool1;
3283 char *_kwnames[] = { "self","m_shiftDown", NULL };
3284
3285 self = self;
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames,&_argo0,&tempbool1))
3287 return NULL;
3288 if (_argo0) {
3289 if (_argo0 == Py_None) { _arg0 = NULL; }
3290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
3292 return NULL;
3293 }
3294 }
3295 _arg1 = (bool ) tempbool1;
3296{
3297 wxPy_BEGIN_ALLOW_THREADS;
3298 _result = (bool )wxKeyEvent_m_shiftDown_set(_arg0,_arg1);
3299
3300 wxPy_END_ALLOW_THREADS;
3301} _resultobj = Py_BuildValue("i",_result);
3302 return _resultobj;
3303}
3304
3305#define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
3306static PyObject *_wrap_wxKeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject * _resultobj;
3308 bool _result;
3309 wxKeyEvent * _arg0;
3310 PyObject * _argo0 = 0;
3311 char *_kwnames[] = { "self", NULL };
3312
3313 self = self;
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_shiftDown_get",_kwnames,&_argo0))
3315 return NULL;
3316 if (_argo0) {
3317 if (_argo0 == Py_None) { _arg0 = NULL; }
3318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
3320 return NULL;
3321 }
3322 }
3323{
3324 wxPy_BEGIN_ALLOW_THREADS;
3325 _result = (bool )wxKeyEvent_m_shiftDown_get(_arg0);
3326
3327 wxPy_END_ALLOW_THREADS;
3328} _resultobj = Py_BuildValue("i",_result);
3329 return _resultobj;
3330}
3331
3332#define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
3333static PyObject *_wrap_wxKeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3334 PyObject * _resultobj;
3335 bool _result;
3336 wxKeyEvent * _arg0;
3337 bool _arg1;
3338 PyObject * _argo0 = 0;
3339 int tempbool1;
3340 char *_kwnames[] = { "self","m_altDown", NULL };
3341
3342 self = self;
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_altDown_set",_kwnames,&_argo0,&tempbool1))
3344 return NULL;
3345 if (_argo0) {
3346 if (_argo0 == Py_None) { _arg0 = NULL; }
3347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
3349 return NULL;
3350 }
3351 }
3352 _arg1 = (bool ) tempbool1;
3353{
3354 wxPy_BEGIN_ALLOW_THREADS;
3355 _result = (bool )wxKeyEvent_m_altDown_set(_arg0,_arg1);
3356
3357 wxPy_END_ALLOW_THREADS;
3358} _resultobj = Py_BuildValue("i",_result);
3359 return _resultobj;
3360}
3361
3362#define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
3363static PyObject *_wrap_wxKeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject * _resultobj;
3365 bool _result;
3366 wxKeyEvent * _arg0;
3367 PyObject * _argo0 = 0;
3368 char *_kwnames[] = { "self", NULL };
3369
3370 self = self;
3371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_altDown_get",_kwnames,&_argo0))
3372 return NULL;
3373 if (_argo0) {
3374 if (_argo0 == Py_None) { _arg0 = NULL; }
3375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
3377 return NULL;
3378 }
3379 }
3380{
3381 wxPy_BEGIN_ALLOW_THREADS;
3382 _result = (bool )wxKeyEvent_m_altDown_get(_arg0);
3383
3384 wxPy_END_ALLOW_THREADS;
3385} _resultobj = Py_BuildValue("i",_result);
3386 return _resultobj;
3387}
3388
3389#define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
3390static PyObject *_wrap_wxKeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3391 PyObject * _resultobj;
3392 bool _result;
3393 wxKeyEvent * _arg0;
3394 bool _arg1;
3395 PyObject * _argo0 = 0;
3396 int tempbool1;
3397 char *_kwnames[] = { "self","m_metaDown", NULL };
3398
3399 self = self;
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_metaDown_set",_kwnames,&_argo0,&tempbool1))
3401 return NULL;
3402 if (_argo0) {
3403 if (_argo0 == Py_None) { _arg0 = NULL; }
3404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p.");
3406 return NULL;
3407 }
3408 }
3409 _arg1 = (bool ) tempbool1;
3410{
3411 wxPy_BEGIN_ALLOW_THREADS;
3412 _result = (bool )wxKeyEvent_m_metaDown_set(_arg0,_arg1);
3413
3414 wxPy_END_ALLOW_THREADS;
3415} _resultobj = Py_BuildValue("i",_result);
3416 return _resultobj;
3417}
3418
3419#define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
3420static PyObject *_wrap_wxKeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject * _resultobj;
3422 bool _result;
3423 wxKeyEvent * _arg0;
3424 PyObject * _argo0 = 0;
3425 char *_kwnames[] = { "self", NULL };
3426
3427 self = self;
3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_metaDown_get",_kwnames,&_argo0))
3429 return NULL;
3430 if (_argo0) {
3431 if (_argo0 == Py_None) { _arg0 = NULL; }
3432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p.");
3434 return NULL;
3435 }
3436 }
3437{
3438 wxPy_BEGIN_ALLOW_THREADS;
3439 _result = (bool )wxKeyEvent_m_metaDown_get(_arg0);
3440
3441 wxPy_END_ALLOW_THREADS;
3442} _resultobj = Py_BuildValue("i",_result);
3443 return _resultobj;
3444}
3445
3446#define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
3447static PyObject *_wrap_wxKeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3448 PyObject * _resultobj;
3449 bool _result;
3450 wxKeyEvent * _arg0;
3451 bool _arg1;
3452 PyObject * _argo0 = 0;
3453 int tempbool1;
3454 char *_kwnames[] = { "self","m_scanCode", NULL };
3455
3456 self = self;
3457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_scanCode_set",_kwnames,&_argo0,&tempbool1))
3458 return NULL;
3459 if (_argo0) {
3460 if (_argo0 == Py_None) { _arg0 = NULL; }
3461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
3463 return NULL;
3464 }
3465 }
3466 _arg1 = (bool ) tempbool1;
3467{
3468 wxPy_BEGIN_ALLOW_THREADS;
3469 _result = (bool )wxKeyEvent_m_scanCode_set(_arg0,_arg1);
3470
3471 wxPy_END_ALLOW_THREADS;
3472} _resultobj = Py_BuildValue("i",_result);
3473 return _resultobj;
167b96c2 3474}
c368d904
RD
3475
3476#define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
3477static PyObject *_wrap_wxKeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject * _resultobj;
3479 bool _result;
3480 wxKeyEvent * _arg0;
3481 PyObject * _argo0 = 0;
3482 char *_kwnames[] = { "self", NULL };
3483
3484 self = self;
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_scanCode_get",_kwnames,&_argo0))
3486 return NULL;
3487 if (_argo0) {
3488 if (_argo0 == Py_None) { _arg0 = NULL; }
3489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
3490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
3491 return NULL;
3492 }
3493 }
3494{
3495 wxPy_BEGIN_ALLOW_THREADS;
3496 _result = (bool )wxKeyEvent_m_scanCode_get(_arg0);
3497
3498 wxPy_END_ALLOW_THREADS;
3499} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3500 return _resultobj;
3501}
3502
167b96c2
RD
3503static void *SwigwxNavigationKeyEventTowxEvent(void *ptr) {
3504 wxNavigationKeyEvent *src;
70551f47 3505 wxEvent *dest;
167b96c2 3506 src = (wxNavigationKeyEvent *) ptr;
70551f47
RD
3507 dest = (wxEvent *) src;
3508 return (void *) dest;
3509}
3510
167b96c2
RD
3511#define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
3512static PyObject *_wrap_new_wxNavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3513 PyObject * _resultobj;
167b96c2
RD
3514 wxNavigationKeyEvent * _result;
3515 char *_kwnames[] = { NULL };
3516 char _ptemp[128];
70551f47
RD
3517
3518 self = self;
167b96c2 3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNavigationKeyEvent",_kwnames))
70551f47 3520 return NULL;
ab9bc19b
RD
3521{
3522 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 3523 _result = (wxNavigationKeyEvent *)new_wxNavigationKeyEvent();
ab9bc19b
RD
3524
3525 wxPy_END_ALLOW_THREADS;
167b96c2
RD
3526} if (_result) {
3527 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNavigationKeyEvent_p");
3528 _resultobj = Py_BuildValue("s",_ptemp);
3529 } else {
3530 Py_INCREF(Py_None);
3531 _resultobj = Py_None;
3532 }
70551f47
RD
3533 return _resultobj;
3534}
3535
167b96c2
RD
3536#define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
3537static PyObject *_wrap_wxNavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3538 PyObject * _resultobj;
3539 bool _result;
167b96c2 3540 wxNavigationKeyEvent * _arg0;
2d091820 3541 PyObject * _argo0 = 0;
107e4716 3542 char *_kwnames[] = { "self", NULL };
70551f47
RD
3543
3544 self = self;
167b96c2 3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetDirection",_kwnames,&_argo0))
70551f47 3546 return NULL;
2d091820
RD
3547 if (_argo0) {
3548 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
3549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
3550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
70551f47
RD
3551 return NULL;
3552 }
3553 }
ab9bc19b
RD
3554{
3555 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 3556 _result = (bool )wxNavigationKeyEvent_GetDirection(_arg0);
ab9bc19b
RD
3557
3558 wxPy_END_ALLOW_THREADS;
3559} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3560 return _resultobj;
3561}
3562
167b96c2
RD
3563#define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
3564static PyObject *_wrap_wxNavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3565 PyObject * _resultobj;
167b96c2
RD
3566 wxNavigationKeyEvent * _arg0;
3567 bool _arg1;
2d091820 3568 PyObject * _argo0 = 0;
167b96c2
RD
3569 int tempbool1;
3570 char *_kwnames[] = { "self","bForward", NULL };
70551f47
RD
3571
3572 self = self;
167b96c2 3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames,&_argo0,&tempbool1))
70551f47 3574 return NULL;
2d091820
RD
3575 if (_argo0) {
3576 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
3577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
3578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
70551f47
RD
3579 return NULL;
3580 }
3581 }
167b96c2 3582 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
3583{
3584 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 3585 wxNavigationKeyEvent_SetDirection(_arg0,_arg1);
ab9bc19b
RD
3586
3587 wxPy_END_ALLOW_THREADS;
167b96c2
RD
3588} Py_INCREF(Py_None);
3589 _resultobj = Py_None;
70551f47
RD
3590 return _resultobj;
3591}
3592
167b96c2
RD
3593#define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
3594static PyObject *_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3595 PyObject * _resultobj;
167b96c2
RD
3596 bool _result;
3597 wxNavigationKeyEvent * _arg0;
2d091820 3598 PyObject * _argo0 = 0;
107e4716 3599 char *_kwnames[] = { "self", NULL };
70551f47
RD
3600
3601 self = self;
167b96c2 3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames,&_argo0))
70551f47 3603 return NULL;
2d091820
RD
3604 if (_argo0) {
3605 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
3606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
3607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
70551f47
RD
3608 return NULL;
3609 }
3610 }
ab9bc19b
RD
3611{
3612 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 3613 _result = (bool )wxNavigationKeyEvent_IsWindowChange(_arg0);
ab9bc19b
RD
3614
3615 wxPy_END_ALLOW_THREADS;
3616} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3617 return _resultobj;
3618}
3619
167b96c2
RD
3620#define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
3621static PyObject *_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3622 PyObject * _resultobj;
167b96c2
RD
3623 wxNavigationKeyEvent * _arg0;
3624 bool _arg1;
2d091820 3625 PyObject * _argo0 = 0;
167b96c2
RD
3626 int tempbool1;
3627 char *_kwnames[] = { "self","bIs", NULL };
70551f47
RD
3628
3629 self = self;
167b96c2 3630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames,&_argo0,&tempbool1))
70551f47 3631 return NULL;
2d091820
RD
3632 if (_argo0) {
3633 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
3634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
3635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
70551f47
RD
3636 return NULL;
3637 }
3638 }
167b96c2 3639 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
3640{
3641 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 3642 wxNavigationKeyEvent_SetWindowChange(_arg0,_arg1);
ab9bc19b
RD
3643
3644 wxPy_END_ALLOW_THREADS;
167b96c2
RD
3645} Py_INCREF(Py_None);
3646 _resultobj = Py_None;
70551f47
RD
3647 return _resultobj;
3648}
3649
167b96c2
RD
3650#define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
3651static PyObject *_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3652 PyObject * _resultobj;
167b96c2
RD
3653 wxWindow * _result;
3654 wxNavigationKeyEvent * _arg0;
2d091820 3655 PyObject * _argo0 = 0;
107e4716 3656 char *_kwnames[] = { "self", NULL };
167b96c2 3657 char _ptemp[128];
70551f47
RD
3658
3659 self = self;
167b96c2 3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames,&_argo0))
70551f47 3661 return NULL;
2d091820
RD
3662 if (_argo0) {
3663 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
3664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
3665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
70551f47
RD
3666 return NULL;
3667 }
3668 }
ab9bc19b
RD
3669{
3670 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 3671 _result = (wxWindow *)wxNavigationKeyEvent_GetCurrentFocus(_arg0);
ab9bc19b
RD
3672
3673 wxPy_END_ALLOW_THREADS;
167b96c2
RD
3674} if (_result) {
3675 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
3676 _resultobj = Py_BuildValue("s",_ptemp);
3677 } else {
3678 Py_INCREF(Py_None);
3679 _resultobj = Py_None;
3680 }
70551f47
RD
3681 return _resultobj;
3682}
3683
167b96c2
RD
3684#define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
3685static PyObject *_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3686 PyObject * _resultobj;
167b96c2
RD
3687 wxNavigationKeyEvent * _arg0;
3688 wxWindow * _arg1;
2d091820 3689 PyObject * _argo0 = 0;
167b96c2
RD
3690 PyObject * _argo1 = 0;
3691 char *_kwnames[] = { "self","win", NULL };
70551f47
RD
3692
3693 self = self;
167b96c2 3694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames,&_argo0,&_argo1))
70551f47 3695 return NULL;
2d091820
RD
3696 if (_argo0) {
3697 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
3698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
3699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
3700 return NULL;
3701 }
3702 }
3703 if (_argo1) {
3704 if (_argo1 == Py_None) { _arg1 = NULL; }
3705 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3706 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
70551f47
RD
3707 return NULL;
3708 }
3709 }
ab9bc19b
RD
3710{
3711 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 3712 wxNavigationKeyEvent_SetCurrentFocus(_arg0,_arg1);
ab9bc19b
RD
3713
3714 wxPy_END_ALLOW_THREADS;
167b96c2
RD
3715} Py_INCREF(Py_None);
3716 _resultobj = Py_None;
70551f47
RD
3717 return _resultobj;
3718}
3719
167b96c2
RD
3720static void *SwigwxMoveEventTowxEvent(void *ptr) {
3721 wxMoveEvent *src;
3722 wxEvent *dest;
3723 src = (wxMoveEvent *) ptr;
3724 dest = (wxEvent *) src;
3725 return (void *) dest;
3726}
3727
3728#define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
3729static PyObject *_wrap_new_wxMoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3730 PyObject * _resultobj;
167b96c2
RD
3731 wxMoveEvent * _result;
3732 wxPoint * _arg0;
3733 int _arg1 = (int ) 0;
3734 wxPoint temp;
3735 PyObject * _obj0 = 0;
3736 char *_kwnames[] = { "pt","id", NULL };
3737 char _ptemp[128];
70551f47
RD
3738
3739 self = self;
167b96c2 3740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxMoveEvent",_kwnames,&_obj0,&_arg1))
70551f47 3741 return NULL;
167b96c2
RD
3742{
3743 _arg0 = &temp;
3744 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 3745 return NULL;
167b96c2 3746}
ab9bc19b
RD
3747{
3748 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 3749 _result = (wxMoveEvent *)new_wxMoveEvent(*_arg0,_arg1);
ab9bc19b
RD
3750
3751 wxPy_END_ALLOW_THREADS;
167b96c2
RD
3752} if (_result) {
3753 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMoveEvent_p");
3754 _resultobj = Py_BuildValue("s",_ptemp);
3755 } else {
3756 Py_INCREF(Py_None);
3757 _resultobj = Py_None;
3758 }
3759 return _resultobj;
3760}
3761
3762#define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3763static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3764 PyObject * _resultobj;
3765 wxPoint * _result;
3766 wxMoveEvent * _arg0;
3767 PyObject * _argo0 = 0;
3768 char *_kwnames[] = { "self", NULL };
3769 char _ptemp[128];
3770
3771 self = self;
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMoveEvent_GetPosition",_kwnames,&_argo0))
3773 return NULL;
3774 if (_argo0) {
3775 if (_argo0 == Py_None) { _arg0 = NULL; }
3776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMoveEvent_p")) {
3777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
3778 return NULL;
3779 }
3780 }
3781{
3782 wxPy_BEGIN_ALLOW_THREADS;
3783 _result = new wxPoint (wxMoveEvent_GetPosition(_arg0));
3784
3785 wxPy_END_ALLOW_THREADS;
3786} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3787 _resultobj = Py_BuildValue("s",_ptemp);
3788 return _resultobj;
3789}
3790
3791static void *SwigwxPaintEventTowxEvent(void *ptr) {
3792 wxPaintEvent *src;
3793 wxEvent *dest;
3794 src = (wxPaintEvent *) ptr;
3795 dest = (wxEvent *) src;
3796 return (void *) dest;
3797}
3798
3799#define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
3800static PyObject *_wrap_new_wxPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3801 PyObject * _resultobj;
3802 wxPaintEvent * _result;
3803 int _arg0 = (int ) 0;
3804 char *_kwnames[] = { "id", NULL };
3805 char _ptemp[128];
3806
3807 self = self;
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaintEvent",_kwnames,&_arg0))
3809 return NULL;
3810{
3811 wxPy_BEGIN_ALLOW_THREADS;
3812 _result = (wxPaintEvent *)new_wxPaintEvent(_arg0);
3813
3814 wxPy_END_ALLOW_THREADS;
3815} if (_result) {
3816 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintEvent_p");
3817 _resultobj = Py_BuildValue("s",_ptemp);
3818 } else {
3819 Py_INCREF(Py_None);
3820 _resultobj = Py_None;
3821 }
3822 return _resultobj;
3823}
3824
3825static void *SwigwxEraseEventTowxEvent(void *ptr) {
3826 wxEraseEvent *src;
3827 wxEvent *dest;
3828 src = (wxEraseEvent *) ptr;
3829 dest = (wxEvent *) src;
3830 return (void *) dest;
3831}
3832
3833#define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
3834static PyObject *_wrap_new_wxEraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject * _resultobj;
3836 wxEraseEvent * _result;
3837 int _arg0 = (int ) 0;
3838 wxDC * _arg1 = (wxDC *) NULL;
3839 PyObject * _argo1 = 0;
3840 char *_kwnames[] = { "id","dc", NULL };
3841 char _ptemp[128];
3842
3843 self = self;
3844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxEraseEvent",_kwnames,&_arg0,&_argo1))
3845 return NULL;
3846 if (_argo1) {
3847 if (_argo1 == Py_None) { _arg1 = NULL; }
3848 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3849 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
3850 return NULL;
3851 }
3852 }
3853{
3854 wxPy_BEGIN_ALLOW_THREADS;
3855 _result = (wxEraseEvent *)new_wxEraseEvent(_arg0,_arg1);
3856
3857 wxPy_END_ALLOW_THREADS;
3858} if (_result) {
3859 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEraseEvent_p");
3860 _resultobj = Py_BuildValue("s",_ptemp);
3861 } else {
3862 Py_INCREF(Py_None);
3863 _resultobj = Py_None;
3864 }
3865 return _resultobj;
3866}
3867
3868#define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
3869static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
3870 PyObject * _resultobj;
3871 wxDC * _result;
3872 wxEraseEvent * _arg0;
3873 PyObject * _argo0 = 0;
3874 char *_kwnames[] = { "self", NULL };
3875 char _ptemp[128];
3876
3877 self = self;
3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEraseEvent_GetDC",_kwnames,&_argo0))
3879 return NULL;
3880 if (_argo0) {
3881 if (_argo0 == Py_None) { _arg0 = NULL; }
3882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEraseEvent_p")) {
3883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
3884 return NULL;
3885 }
3886 }
3887{
3888 wxPy_BEGIN_ALLOW_THREADS;
3889 _result = (wxDC *)wxEraseEvent_GetDC(_arg0);
3890
3891 wxPy_END_ALLOW_THREADS;
3892} if (_result) {
3893 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
3894 _resultobj = Py_BuildValue("s",_ptemp);
3895 } else {
3896 Py_INCREF(Py_None);
3897 _resultobj = Py_None;
3898 }
3899 return _resultobj;
3900}
3901
3902static void *SwigwxFocusEventTowxEvent(void *ptr) {
3903 wxFocusEvent *src;
3904 wxEvent *dest;
3905 src = (wxFocusEvent *) ptr;
3906 dest = (wxEvent *) src;
3907 return (void *) dest;
3908}
3909
3910#define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
3911static PyObject *_wrap_new_wxFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3912 PyObject * _resultobj;
3913 wxFocusEvent * _result;
3914 WXTYPE _arg0 = (WXTYPE ) 0;
3915 int _arg1 = (int ) 0;
3916 char *_kwnames[] = { "eventType","id", NULL };
3917 char _ptemp[128];
3918
3919 self = self;
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxFocusEvent",_kwnames,&_arg0,&_arg1))
3921 return NULL;
3922{
3923 wxPy_BEGIN_ALLOW_THREADS;
3924 _result = (wxFocusEvent *)new_wxFocusEvent(_arg0,_arg1);
3925
3926 wxPy_END_ALLOW_THREADS;
3927} if (_result) {
3928 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFocusEvent_p");
3929 _resultobj = Py_BuildValue("s",_ptemp);
3930 } else {
3931 Py_INCREF(Py_None);
3932 _resultobj = Py_None;
3933 }
3934 return _resultobj;
3935}
3936
3937static void *SwigwxActivateEventTowxEvent(void *ptr) {
3938 wxActivateEvent *src;
3939 wxEvent *dest;
3940 src = (wxActivateEvent *) ptr;
3941 dest = (wxEvent *) src;
3942 return (void *) dest;
3943}
3944
3945#define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
3946static PyObject *_wrap_new_wxActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject * _resultobj;
3948 wxActivateEvent * _result;
3949 WXTYPE _arg0 = (WXTYPE ) 0;
3950 int _arg1 = (int ) TRUE;
3951 int _arg2 = (int ) 0;
3952 char *_kwnames[] = { "eventType","active","id", NULL };
3953 char _ptemp[128];
3954
3955 self = self;
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hii:new_wxActivateEvent",_kwnames,&_arg0,&_arg1,&_arg2))
3957 return NULL;
3958{
3959 wxPy_BEGIN_ALLOW_THREADS;
3960 _result = (wxActivateEvent *)new_wxActivateEvent(_arg0,_arg1,_arg2);
3961
3962 wxPy_END_ALLOW_THREADS;
3963} if (_result) {
3964 SWIG_MakePtr(_ptemp, (char *) _result,"_wxActivateEvent_p");
3965 _resultobj = Py_BuildValue("s",_ptemp);
3966 } else {
3967 Py_INCREF(Py_None);
3968 _resultobj = Py_None;
3969 }
3970 return _resultobj;
3971}
3972
3973#define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
3974static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3975 PyObject * _resultobj;
3976 bool _result;
3977 wxActivateEvent * _arg0;
3978 PyObject * _argo0 = 0;
3979 char *_kwnames[] = { "self", NULL };
3980
3981 self = self;
3982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxActivateEvent_GetActive",_kwnames,&_argo0))
3983 return NULL;
3984 if (_argo0) {
3985 if (_argo0 == Py_None) { _arg0 = NULL; }
3986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxActivateEvent_p")) {
3987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
3988 return NULL;
3989 }
3990 }
3991{
3992 wxPy_BEGIN_ALLOW_THREADS;
3993 _result = (bool )wxActivateEvent_GetActive(_arg0);
3994
3995 wxPy_END_ALLOW_THREADS;
3996} _resultobj = Py_BuildValue("i",_result);
3997 return _resultobj;
3998}
3999
4000static void *SwigwxInitDialogEventTowxEvent(void *ptr) {
4001 wxInitDialogEvent *src;
4002 wxEvent *dest;
4003 src = (wxInitDialogEvent *) ptr;
4004 dest = (wxEvent *) src;
4005 return (void *) dest;
4006}
4007
4008#define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
4009static PyObject *_wrap_new_wxInitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4010 PyObject * _resultobj;
4011 wxInitDialogEvent * _result;
4012 int _arg0 = (int ) 0;
4013 char *_kwnames[] = { "id", NULL };
4014 char _ptemp[128];
4015
4016 self = self;
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxInitDialogEvent",_kwnames,&_arg0))
4018 return NULL;
4019{
4020 wxPy_BEGIN_ALLOW_THREADS;
4021 _result = (wxInitDialogEvent *)new_wxInitDialogEvent(_arg0);
4022
4023 wxPy_END_ALLOW_THREADS;
4024} if (_result) {
4025 SWIG_MakePtr(_ptemp, (char *) _result,"_wxInitDialogEvent_p");
4026 _resultobj = Py_BuildValue("s",_ptemp);
4027 } else {
4028 Py_INCREF(Py_None);
4029 _resultobj = Py_None;
4030 }
4031 return _resultobj;
4032}
4033
4034static void *SwigwxMenuEventTowxEvent(void *ptr) {
4035 wxMenuEvent *src;
4036 wxEvent *dest;
4037 src = (wxMenuEvent *) ptr;
4038 dest = (wxEvent *) src;
4039 return (void *) dest;
4040}
4041
4042#define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
4043static PyObject *_wrap_new_wxMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4044 PyObject * _resultobj;
4045 wxMenuEvent * _result;
4046 WXTYPE _arg0 = (WXTYPE ) 0;
4047 int _arg1 = (int ) 0;
4048 char *_kwnames[] = { "id","id", NULL };
4049 char _ptemp[128];
4050
4051 self = self;
4052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxMenuEvent",_kwnames,&_arg0,&_arg1))
4053 return NULL;
4054{
4055 wxPy_BEGIN_ALLOW_THREADS;
4056 _result = (wxMenuEvent *)new_wxMenuEvent(_arg0,_arg1);
4057
4058 wxPy_END_ALLOW_THREADS;
4059} if (_result) {
4060 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuEvent_p");
4061 _resultobj = Py_BuildValue("s",_ptemp);
4062 } else {
4063 Py_INCREF(Py_None);
4064 _resultobj = Py_None;
4065 }
4066 return _resultobj;
4067}
4068
4069#define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
4070static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject * _resultobj;
4072 int _result;
4073 wxMenuEvent * _arg0;
4074 PyObject * _argo0 = 0;
4075 char *_kwnames[] = { "self", NULL };
4076
4077 self = self;
4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_GetMenuId",_kwnames,&_argo0))
4079 return NULL;
4080 if (_argo0) {
4081 if (_argo0 == Py_None) { _arg0 = NULL; }
4082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) {
4083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
4084 return NULL;
4085 }
4086 }
4087{
4088 wxPy_BEGIN_ALLOW_THREADS;
4089 _result = (int )wxMenuEvent_GetMenuId(_arg0);
4090
4091 wxPy_END_ALLOW_THREADS;
4092} _resultobj = Py_BuildValue("i",_result);
4093 return _resultobj;
4094}
4095
4096static void *SwigwxShowEventTowxEvent(void *ptr) {
4097 wxShowEvent *src;
4098 wxEvent *dest;
4099 src = (wxShowEvent *) ptr;
4100 dest = (wxEvent *) src;
4101 return (void *) dest;
4102}
4103
4104#define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
4105static PyObject *_wrap_new_wxShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4106 PyObject * _resultobj;
4107 wxShowEvent * _result;
4108 int _arg0 = (int ) 0;
4109 int _arg1 = (int ) FALSE;
4110 char *_kwnames[] = { "id","show", NULL };
4111 char _ptemp[128];
4112
4113 self = self;
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxShowEvent",_kwnames,&_arg0,&_arg1))
4115 return NULL;
4116{
4117 wxPy_BEGIN_ALLOW_THREADS;
4118 _result = (wxShowEvent *)new_wxShowEvent(_arg0,_arg1);
4119
4120 wxPy_END_ALLOW_THREADS;
4121} if (_result) {
4122 SWIG_MakePtr(_ptemp, (char *) _result,"_wxShowEvent_p");
4123 _resultobj = Py_BuildValue("s",_ptemp);
4124 } else {
4125 Py_INCREF(Py_None);
4126 _resultobj = Py_None;
4127 }
4128 return _resultobj;
4129}
4130
4131#define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
4132static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject * _resultobj;
4134 wxShowEvent * _arg0;
4135 bool _arg1;
4136 PyObject * _argo0 = 0;
4137 int tempbool1;
4138 char *_kwnames[] = { "self","show", NULL };
4139
4140 self = self;
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShowEvent_SetShow",_kwnames,&_argo0,&tempbool1))
4142 return NULL;
4143 if (_argo0) {
4144 if (_argo0 == Py_None) { _arg0 = NULL; }
4145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
4146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
4147 return NULL;
4148 }
4149 }
4150 _arg1 = (bool ) tempbool1;
4151{
4152 wxPy_BEGIN_ALLOW_THREADS;
4153 wxShowEvent_SetShow(_arg0,_arg1);
4154
4155 wxPy_END_ALLOW_THREADS;
4156} Py_INCREF(Py_None);
4157 _resultobj = Py_None;
4158 return _resultobj;
4159}
4160
4161#define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
4162static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4163 PyObject * _resultobj;
4164 bool _result;
4165 wxShowEvent * _arg0;
4166 PyObject * _argo0 = 0;
4167 char *_kwnames[] = { "self", NULL };
4168
4169 self = self;
4170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShowEvent_GetShow",_kwnames,&_argo0))
4171 return NULL;
4172 if (_argo0) {
4173 if (_argo0 == Py_None) { _arg0 = NULL; }
4174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
4175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
4176 return NULL;
4177 }
4178 }
4179{
4180 wxPy_BEGIN_ALLOW_THREADS;
4181 _result = (bool )wxShowEvent_GetShow(_arg0);
4182
4183 wxPy_END_ALLOW_THREADS;
4184} _resultobj = Py_BuildValue("i",_result);
4185 return _resultobj;
4186}
4187
4188static void *SwigwxIconizeEventTowxEvent(void *ptr) {
4189 wxIconizeEvent *src;
4190 wxEvent *dest;
4191 src = (wxIconizeEvent *) ptr;
4192 dest = (wxEvent *) src;
4193 return (void *) dest;
4194}
4195
4196#define new_wxIconizeEvent(_swigarg0) (new wxIconizeEvent(_swigarg0))
4197static PyObject *_wrap_new_wxIconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4198 PyObject * _resultobj;
4199 wxIconizeEvent * _result;
4200 int _arg0 = (int ) 0;
4201 char *_kwnames[] = { "id", NULL };
4202 char _ptemp[128];
4203
4204 self = self;
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxIconizeEvent",_kwnames,&_arg0))
4206 return NULL;
4207{
4208 wxPy_BEGIN_ALLOW_THREADS;
4209 _result = (wxIconizeEvent *)new_wxIconizeEvent(_arg0);
4210
4211 wxPy_END_ALLOW_THREADS;
4212} if (_result) {
4213 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconizeEvent_p");
4214 _resultobj = Py_BuildValue("s",_ptemp);
4215 } else {
4216 Py_INCREF(Py_None);
4217 _resultobj = Py_None;
4218 }
4219 return _resultobj;
4220}
4221
4222static void *SwigwxMaximizeEventTowxEvent(void *ptr) {
4223 wxMaximizeEvent *src;
4224 wxEvent *dest;
4225 src = (wxMaximizeEvent *) ptr;
4226 dest = (wxEvent *) src;
4227 return (void *) dest;
4228}
4229
4230#define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4231static PyObject *_wrap_new_wxMaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4232 PyObject * _resultobj;
4233 wxMaximizeEvent * _result;
4234 int _arg0 = (int ) 0;
4235 char *_kwnames[] = { "id", NULL };
4236 char _ptemp[128];
4237
4238 self = self;
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxMaximizeEvent",_kwnames,&_arg0))
4240 return NULL;
4241{
4242 wxPy_BEGIN_ALLOW_THREADS;
4243 _result = (wxMaximizeEvent *)new_wxMaximizeEvent(_arg0);
4244
4245 wxPy_END_ALLOW_THREADS;
4246} if (_result) {
4247 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMaximizeEvent_p");
4248 _resultobj = Py_BuildValue("s",_ptemp);
4249 } else {
4250 Py_INCREF(Py_None);
4251 _resultobj = Py_None;
4252 }
4253 return _resultobj;
4254}
4255
4256static void *SwigwxJoystickEventTowxEvent(void *ptr) {
4257 wxJoystickEvent *src;
4258 wxEvent *dest;
4259 src = (wxJoystickEvent *) ptr;
4260 dest = (wxEvent *) src;
4261 return (void *) dest;
4262}
4263
4264#define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4265static PyObject *_wrap_new_wxJoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4266 PyObject * _resultobj;
4267 wxJoystickEvent * _result;
4268 int _arg0 = (int ) wxEVT_NULL;
4269 int _arg1 = (int ) 0;
4270 int _arg2 = (int ) wxJOYSTICK1;
4271 int _arg3 = (int ) 0;
4272 char *_kwnames[] = { "type","state","joystick","change", NULL };
4273 char _ptemp[128];
4274
4275 self = self;
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxJoystickEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
4277 return NULL;
4278{
4279 wxPy_BEGIN_ALLOW_THREADS;
4280 _result = (wxJoystickEvent *)new_wxJoystickEvent(_arg0,_arg1,_arg2,_arg3);
4281
4282 wxPy_END_ALLOW_THREADS;
4283} if (_result) {
4284 SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystickEvent_p");
4285 _resultobj = Py_BuildValue("s",_ptemp);
4286 } else {
4287 Py_INCREF(Py_None);
4288 _resultobj = Py_None;
4289 }
4290 return _resultobj;
4291}
4292
4293#define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4294static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject * _resultobj;
4296 wxPoint * _result;
4297 wxJoystickEvent * _arg0;
4298 PyObject * _argo0 = 0;
4299 char *_kwnames[] = { "self", NULL };
4300 char _ptemp[128];
4301
4302 self = self;
4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetPosition",_kwnames,&_argo0))
4304 return NULL;
4305 if (_argo0) {
4306 if (_argo0 == Py_None) { _arg0 = NULL; }
4307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4309 return NULL;
4310 }
4311 }
4312{
4313 wxPy_BEGIN_ALLOW_THREADS;
4314 _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0));
4315
4316 wxPy_END_ALLOW_THREADS;
4317} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4318 _resultobj = Py_BuildValue("s",_ptemp);
4319 return _resultobj;
4320}
4321
4322#define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4323static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4324 PyObject * _resultobj;
4325 int _result;
4326 wxJoystickEvent * _arg0;
4327 PyObject * _argo0 = 0;
4328 char *_kwnames[] = { "self", NULL };
4329
4330 self = self;
4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetZPosition",_kwnames,&_argo0))
4332 return NULL;
4333 if (_argo0) {
4334 if (_argo0 == Py_None) { _arg0 = NULL; }
4335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4337 return NULL;
4338 }
4339 }
4340{
4341 wxPy_BEGIN_ALLOW_THREADS;
4342 _result = (int )wxJoystickEvent_GetZPosition(_arg0);
4343
4344 wxPy_END_ALLOW_THREADS;
4345} _resultobj = Py_BuildValue("i",_result);
4346 return _resultobj;
4347}
4348
4349#define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
4350static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
4351 PyObject * _resultobj;
4352 int _result;
4353 wxJoystickEvent * _arg0;
4354 PyObject * _argo0 = 0;
4355 char *_kwnames[] = { "self", NULL };
4356
4357 self = self;
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonState",_kwnames,&_argo0))
4359 return NULL;
4360 if (_argo0) {
4361 if (_argo0 == Py_None) { _arg0 = NULL; }
4362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
4364 return NULL;
4365 }
4366 }
4367{
4368 wxPy_BEGIN_ALLOW_THREADS;
4369 _result = (int )wxJoystickEvent_GetButtonState(_arg0);
4370
4371 wxPy_END_ALLOW_THREADS;
4372} _resultobj = Py_BuildValue("i",_result);
4373 return _resultobj;
4374}
4375
4376#define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
4377static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
4378 PyObject * _resultobj;
4379 int _result;
4380 wxJoystickEvent * _arg0;
4381 PyObject * _argo0 = 0;
4382 char *_kwnames[] = { "self", NULL };
4383
4384 self = self;
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonChange",_kwnames,&_argo0))
4386 return NULL;
4387 if (_argo0) {
4388 if (_argo0 == Py_None) { _arg0 = NULL; }
4389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
4391 return NULL;
4392 }
4393 }
4394{
4395 wxPy_BEGIN_ALLOW_THREADS;
4396 _result = (int )wxJoystickEvent_GetButtonChange(_arg0);
4397
4398 wxPy_END_ALLOW_THREADS;
4399} _resultobj = Py_BuildValue("i",_result);
4400 return _resultobj;
4401}
4402
4403#define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
4404static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
4405 PyObject * _resultobj;
4406 int _result;
4407 wxJoystickEvent * _arg0;
4408 PyObject * _argo0 = 0;
4409 char *_kwnames[] = { "self", NULL };
4410
4411 self = self;
4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetJoystick",_kwnames,&_argo0))
4413 return NULL;
4414 if (_argo0) {
4415 if (_argo0 == Py_None) { _arg0 = NULL; }
4416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
4418 return NULL;
4419 }
4420 }
4421{
4422 wxPy_BEGIN_ALLOW_THREADS;
4423 _result = (int )wxJoystickEvent_GetJoystick(_arg0);
4424
4425 wxPy_END_ALLOW_THREADS;
4426} _resultobj = Py_BuildValue("i",_result);
4427 return _resultobj;
4428}
4429
4430#define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
4431static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject * _resultobj;
4433 wxJoystickEvent * _arg0;
4434 int _arg1;
4435 PyObject * _argo0 = 0;
4436 char *_kwnames[] = { "self","stick", NULL };
4437
4438 self = self;
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetJoystick",_kwnames,&_argo0,&_arg1))
4440 return NULL;
4441 if (_argo0) {
4442 if (_argo0 == Py_None) { _arg0 = NULL; }
4443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
4445 return NULL;
4446 }
4447 }
4448{
4449 wxPy_BEGIN_ALLOW_THREADS;
4450 wxJoystickEvent_SetJoystick(_arg0,_arg1);
4451
4452 wxPy_END_ALLOW_THREADS;
4453} Py_INCREF(Py_None);
4454 _resultobj = Py_None;
4455 return _resultobj;
4456}
4457
4458#define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
107e4716 4459static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4460 PyObject * _resultobj;
4461 wxJoystickEvent * _arg0;
167b96c2
RD
4462 int _arg1;
4463 PyObject * _argo0 = 0;
4464 char *_kwnames[] = { "self","state", NULL };
4465
4466 self = self;
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonState",_kwnames,&_argo0,&_arg1))
4468 return NULL;
4469 if (_argo0) {
4470 if (_argo0 == Py_None) { _arg0 = NULL; }
4471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
4473 return NULL;
4474 }
4475 }
4476{
4477 wxPy_BEGIN_ALLOW_THREADS;
4478 wxJoystickEvent_SetButtonState(_arg0,_arg1);
4479
4480 wxPy_END_ALLOW_THREADS;
4481} Py_INCREF(Py_None);
4482 _resultobj = Py_None;
4483 return _resultobj;
4484}
4485
4486#define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
4487static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
4488 PyObject * _resultobj;
4489 wxJoystickEvent * _arg0;
4490 int _arg1;
4491 PyObject * _argo0 = 0;
4492 char *_kwnames[] = { "self","change", NULL };
4493
4494 self = self;
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonChange",_kwnames,&_argo0,&_arg1))
4496 return NULL;
4497 if (_argo0) {
4498 if (_argo0 == Py_None) { _arg0 = NULL; }
4499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
4501 return NULL;
4502 }
4503 }
4504{
4505 wxPy_BEGIN_ALLOW_THREADS;
4506 wxJoystickEvent_SetButtonChange(_arg0,_arg1);
4507
4508 wxPy_END_ALLOW_THREADS;
4509} Py_INCREF(Py_None);
4510 _resultobj = Py_None;
4511 return _resultobj;
4512}
4513
4514#define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
4515static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4516 PyObject * _resultobj;
4517 wxJoystickEvent * _arg0;
4518 wxPoint * _arg1;
4519 PyObject * _argo0 = 0;
4520 wxPoint temp;
4521 PyObject * _obj1 = 0;
4522 char *_kwnames[] = { "self","pos", NULL };
4523
4524 self = self;
4525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_obj1))
4526 return NULL;
4527 if (_argo0) {
4528 if (_argo0 == Py_None) { _arg0 = NULL; }
4529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
4531 return NULL;
4532 }
4533 }
4534{
4535 _arg1 = &temp;
4536 if (! wxPoint_helper(_obj1, &_arg1))
4537 return NULL;
4538}
4539{
4540 wxPy_BEGIN_ALLOW_THREADS;
4541 wxJoystickEvent_SetPosition(_arg0,*_arg1);
4542
4543 wxPy_END_ALLOW_THREADS;
4544} Py_INCREF(Py_None);
4545 _resultobj = Py_None;
4546 return _resultobj;
4547}
4548
4549#define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
4550static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4551 PyObject * _resultobj;
4552 wxJoystickEvent * _arg0;
4553 int _arg1;
4554 PyObject * _argo0 = 0;
4555 char *_kwnames[] = { "self","zPos", NULL };
4556
4557 self = self;
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetZPosition",_kwnames,&_argo0,&_arg1))
4559 return NULL;
4560 if (_argo0) {
4561 if (_argo0 == Py_None) { _arg0 = NULL; }
4562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
4564 return NULL;
4565 }
4566 }
4567{
4568 wxPy_BEGIN_ALLOW_THREADS;
4569 wxJoystickEvent_SetZPosition(_arg0,_arg1);
4570
4571 wxPy_END_ALLOW_THREADS;
4572} Py_INCREF(Py_None);
4573 _resultobj = Py_None;
4574 return _resultobj;
4575}
4576
4577#define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
4578static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
4579 PyObject * _resultobj;
4580 bool _result;
4581 wxJoystickEvent * _arg0;
4582 PyObject * _argo0 = 0;
4583 char *_kwnames[] = { "self", NULL };
4584
4585 self = self;
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsButton",_kwnames,&_argo0))
4587 return NULL;
4588 if (_argo0) {
4589 if (_argo0 == Py_None) { _arg0 = NULL; }
4590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
4592 return NULL;
4593 }
4594 }
4595{
4596 wxPy_BEGIN_ALLOW_THREADS;
4597 _result = (bool )wxJoystickEvent_IsButton(_arg0);
4598
4599 wxPy_END_ALLOW_THREADS;
4600} _resultobj = Py_BuildValue("i",_result);
4601 return _resultobj;
4602}
4603
4604#define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
4605static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
4606 PyObject * _resultobj;
4607 bool _result;
4608 wxJoystickEvent * _arg0;
4609 PyObject * _argo0 = 0;
4610 char *_kwnames[] = { "self", NULL };
4611
4612 self = self;
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsMove",_kwnames,&_argo0))
4614 return NULL;
4615 if (_argo0) {
4616 if (_argo0 == Py_None) { _arg0 = NULL; }
4617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
4619 return NULL;
4620 }
4621 }
4622{
4623 wxPy_BEGIN_ALLOW_THREADS;
4624 _result = (bool )wxJoystickEvent_IsMove(_arg0);
4625
4626 wxPy_END_ALLOW_THREADS;
4627} _resultobj = Py_BuildValue("i",_result);
4628 return _resultobj;
4629}
4630
4631#define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
4632static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject * _resultobj;
4634 bool _result;
4635 wxJoystickEvent * _arg0;
4636 PyObject * _argo0 = 0;
4637 char *_kwnames[] = { "self", NULL };
4638
4639 self = self;
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsZMove",_kwnames,&_argo0))
4641 return NULL;
4642 if (_argo0) {
4643 if (_argo0 == Py_None) { _arg0 = NULL; }
4644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
4646 return NULL;
4647 }
4648 }
4649{
4650 wxPy_BEGIN_ALLOW_THREADS;
4651 _result = (bool )wxJoystickEvent_IsZMove(_arg0);
4652
4653 wxPy_END_ALLOW_THREADS;
4654} _resultobj = Py_BuildValue("i",_result);
4655 return _resultobj;
4656}
4657
4658#define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
4659static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
4660 PyObject * _resultobj;
4661 bool _result;
4662 wxJoystickEvent * _arg0;
4663 int _arg1 = (int ) wxJOY_BUTTON_ANY;
4664 PyObject * _argo0 = 0;
4665 char *_kwnames[] = { "self","but", NULL };
4666
4667 self = self;
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
4669 return NULL;
4670 if (_argo0) {
4671 if (_argo0 == Py_None) { _arg0 = NULL; }
4672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
4674 return NULL;
4675 }
4676 }
4677{
4678 wxPy_BEGIN_ALLOW_THREADS;
4679 _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1);
4680
4681 wxPy_END_ALLOW_THREADS;
4682} _resultobj = Py_BuildValue("i",_result);
4683 return _resultobj;
4684}
4685
4686#define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
4687static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
4688 PyObject * _resultobj;
4689 bool _result;
4690 wxJoystickEvent * _arg0;
4691 int _arg1 = (int ) wxJOY_BUTTON_ANY;
4692 PyObject * _argo0 = 0;
4693 char *_kwnames[] = { "self","but", NULL };
4694
4695 self = self;
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
4697 return NULL;
4698 if (_argo0) {
4699 if (_argo0 == Py_None) { _arg0 = NULL; }
4700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
4701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
4702 return NULL;
4703 }
4704 }
4705{
4706 wxPy_BEGIN_ALLOW_THREADS;
4707 _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1);
4708
4709 wxPy_END_ALLOW_THREADS;
4710} _resultobj = Py_BuildValue("i",_result);
4711 return _resultobj;
4712}
4713
4714#define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
4715static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
4716 PyObject * _resultobj;
4717 bool _result;
4718 wxJoystickEvent * _arg0;
4719 int _arg1 = (int ) wxJOY_BUTTON_ANY;
2d091820 4720 PyObject * _argo0 = 0;
167b96c2 4721 char *_kwnames[] = { "self","but", NULL };
70551f47
RD
4722
4723 self = self;
167b96c2 4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
70551f47 4725 return NULL;
2d091820
RD
4726 if (_argo0) {
4727 if (_argo0 == Py_None) { _arg0 = NULL; }
4728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
167b96c2 4729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
70551f47
RD
4730 return NULL;
4731 }
4732 }
ab9bc19b
RD
4733{
4734 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 4735 _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1);
ab9bc19b
RD
4736
4737 wxPy_END_ALLOW_THREADS;
167b96c2 4738} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4739 return _resultobj;
4740}
4741
167b96c2
RD
4742static void *SwigwxDropFilesEventTowxEvent(void *ptr) {
4743 wxDropFilesEvent *src;
4744 wxEvent *dest;
4745 src = (wxDropFilesEvent *) ptr;
4746 dest = (wxEvent *) src;
4747 return (void *) dest;
4748}
4749
4750#define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4751static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 4752 PyObject * _resultobj;
167b96c2
RD
4753 wxPoint * _result;
4754 wxDropFilesEvent * _arg0;
2d091820 4755 PyObject * _argo0 = 0;
167b96c2
RD
4756 char *_kwnames[] = { "self", NULL };
4757 char _ptemp[128];
70551f47
RD
4758
4759 self = self;
167b96c2 4760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetPosition",_kwnames,&_argo0))
70551f47 4761 return NULL;
2d091820
RD
4762 if (_argo0) {
4763 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
4764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
4765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
70551f47
RD
4766 return NULL;
4767 }
4768 }
ab9bc19b
RD
4769{
4770 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 4771 _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0));
ab9bc19b
RD
4772
4773 wxPy_END_ALLOW_THREADS;
167b96c2
RD
4774} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4775 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
4776 return _resultobj;
4777}
4778
167b96c2
RD
4779#define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
4780static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 4781 PyObject * _resultobj;
167b96c2
RD
4782 int _result;
4783 wxDropFilesEvent * _arg0;
2d091820 4784 PyObject * _argo0 = 0;
167b96c2 4785 char *_kwnames[] = { "self", NULL };
70551f47
RD
4786
4787 self = self;
167b96c2 4788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames,&_argo0))
70551f47 4789 return NULL;
2d091820
RD
4790 if (_argo0) {
4791 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
4792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
4793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
70551f47
RD
4794 return NULL;
4795 }
4796 }
37f6a977 4797{
167b96c2
RD
4798 wxPy_BEGIN_ALLOW_THREADS;
4799 _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0);
4800
4801 wxPy_END_ALLOW_THREADS;
4802} _resultobj = Py_BuildValue("i",_result);
4803 return _resultobj;
4804}
4805
4806static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) {
4807 int count = self->GetNumberOfFiles();
4808 wxString* files = self->GetFiles();
4809 PyObject* list = PyList_New(count);
4810
4811 if (!list) {
4812 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
4813 return NULL;
4814 }
4815
4816 for (int i=0; i<count; i++) {
4817 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
4818 }
4819 return list;
4820 }
4821static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject * _resultobj;
4823 PyObject * _result;
4824 wxDropFilesEvent * _arg0;
4825 PyObject * _argo0 = 0;
4826 char *_kwnames[] = { "self", NULL };
4827
4828 self = self;
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetFiles",_kwnames,&_argo0))
4830 return NULL;
4831 if (_argo0) {
4832 if (_argo0 == Py_None) { _arg0 = NULL; }
4833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
4834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
4835 return NULL;
4836 }
4837 }
4838{
4839 wxPy_BEGIN_ALLOW_THREADS;
4840 _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0);
4841
4842 wxPy_END_ALLOW_THREADS;
4843}{
4844 _resultobj = _result;
4845}
4846 return _resultobj;
4847}
4848
4849static void *SwigwxIdleEventTowxEvent(void *ptr) {
4850 wxIdleEvent *src;
4851 wxEvent *dest;
4852 src = (wxIdleEvent *) ptr;
4853 dest = (wxEvent *) src;
4854 return (void *) dest;
4855}
4856
4857#define new_wxIdleEvent() (new wxIdleEvent())
4858static PyObject *_wrap_new_wxIdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4859 PyObject * _resultobj;
4860 wxIdleEvent * _result;
4861 char *_kwnames[] = { NULL };
4862 char _ptemp[128];
4863
4864 self = self;
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxIdleEvent",_kwnames))
70551f47 4866 return NULL;
167b96c2
RD
4867{
4868 wxPy_BEGIN_ALLOW_THREADS;
4869 _result = (wxIdleEvent *)new_wxIdleEvent();
4870
4871 wxPy_END_ALLOW_THREADS;
4872} if (_result) {
4873 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIdleEvent_p");
4874 _resultobj = Py_BuildValue("s",_ptemp);
4875 } else {
4876 Py_INCREF(Py_None);
4877 _resultobj = Py_None;
4878 }
4879 return _resultobj;
37f6a977 4880}
167b96c2
RD
4881
4882#define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
4883static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject * _resultobj;
4885 wxIdleEvent * _arg0;
4886 bool _arg1 = (bool ) TRUE;
4887 PyObject * _argo0 = 0;
4888 int tempbool1 = (int) TRUE;
4889 char *_kwnames[] = { "self","needMore", NULL };
4890
4891 self = self;
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIdleEvent_RequestMore",_kwnames,&_argo0,&tempbool1))
4893 return NULL;
4894 if (_argo0) {
4895 if (_argo0 == Py_None) { _arg0 = NULL; }
4896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
4897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
4898 return NULL;
4899 }
4900 }
4901 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
4902{
4903 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 4904 wxIdleEvent_RequestMore(_arg0,_arg1);
ab9bc19b
RD
4905
4906 wxPy_END_ALLOW_THREADS;
4907} Py_INCREF(Py_None);
70551f47
RD
4908 _resultobj = Py_None;
4909 return _resultobj;
4910}
4911
167b96c2
RD
4912#define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
4913static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 4914 PyObject * _resultobj;
167b96c2
RD
4915 bool _result;
4916 wxIdleEvent * _arg0;
2d091820 4917 PyObject * _argo0 = 0;
167b96c2 4918 char *_kwnames[] = { "self", NULL };
70551f47
RD
4919
4920 self = self;
167b96c2 4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIdleEvent_MoreRequested",_kwnames,&_argo0))
70551f47 4922 return NULL;
2d091820
RD
4923 if (_argo0) {
4924 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
4925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
4926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
70551f47
RD
4927 return NULL;
4928 }
4929 }
ab9bc19b
RD
4930{
4931 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 4932 _result = (bool )wxIdleEvent_MoreRequested(_arg0);
ab9bc19b
RD
4933
4934 wxPy_END_ALLOW_THREADS;
167b96c2 4935} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4936 return _resultobj;
4937}
4938
167b96c2
RD
4939static void *SwigwxUpdateUIEventTowxEvent(void *ptr) {
4940 wxUpdateUIEvent *src;
4941 wxEvent *dest;
4942 src = (wxUpdateUIEvent *) ptr;
4943 dest = (wxEvent *) src;
4944 return (void *) dest;
4945}
4946
4947#define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
4948static PyObject *_wrap_new_wxUpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4949 PyObject * _resultobj;
4950 wxUpdateUIEvent * _result;
4951 wxWindowID _arg0 = (wxWindowID ) 0;
4952 char *_kwnames[] = { "commandId", NULL };
4953 char _ptemp[128];
4954
4955 self = self;
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxUpdateUIEvent",_kwnames,&_arg0))
4957 return NULL;
4958{
4959 wxPy_BEGIN_ALLOW_THREADS;
4960 _result = (wxUpdateUIEvent *)new_wxUpdateUIEvent(_arg0);
4961
4962 wxPy_END_ALLOW_THREADS;
4963} if (_result) {
4964 SWIG_MakePtr(_ptemp, (char *) _result,"_wxUpdateUIEvent_p");
4965 _resultobj = Py_BuildValue("s",_ptemp);
4966 } else {
4967 Py_INCREF(Py_None);
4968 _resultobj = Py_None;
4969 }
4970 return _resultobj;
4971}
4972
4973#define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
4974static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4975 PyObject * _resultobj;
4976 bool _result;
167b96c2 4977 wxUpdateUIEvent * _arg0;
2d091820 4978 PyObject * _argo0 = 0;
107e4716 4979 char *_kwnames[] = { "self", NULL };
70551f47
RD
4980
4981 self = self;
167b96c2 4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetChecked",_kwnames,&_argo0))
70551f47 4983 return NULL;
2d091820
RD
4984 if (_argo0) {
4985 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
4986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
4987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
70551f47
RD
4988 return NULL;
4989 }
4990 }
ab9bc19b
RD
4991{
4992 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 4993 _result = (bool )wxUpdateUIEvent_GetChecked(_arg0);
ab9bc19b
RD
4994
4995 wxPy_END_ALLOW_THREADS;
4996} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4997 return _resultobj;
4998}
4999
167b96c2
RD
5000#define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5001static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5002 PyObject * _resultobj;
5003 bool _result;
167b96c2 5004 wxUpdateUIEvent * _arg0;
2d091820 5005 PyObject * _argo0 = 0;
107e4716 5006 char *_kwnames[] = { "self", NULL };
70551f47
RD
5007
5008 self = self;
167b96c2 5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetEnabled",_kwnames,&_argo0))
70551f47 5010 return NULL;
2d091820
RD
5011 if (_argo0) {
5012 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
70551f47
RD
5015 return NULL;
5016 }
5017 }
ab9bc19b
RD
5018{
5019 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5020 _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0);
ab9bc19b
RD
5021
5022 wxPy_END_ALLOW_THREADS;
5023} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5024 return _resultobj;
5025}
5026
167b96c2
RD
5027#define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5028static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5029 PyObject * _resultobj;
167b96c2
RD
5030 wxString * _result;
5031 wxUpdateUIEvent * _arg0;
2d091820 5032 PyObject * _argo0 = 0;
107e4716 5033 char *_kwnames[] = { "self", NULL };
70551f47
RD
5034
5035 self = self;
167b96c2 5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetText",_kwnames,&_argo0))
70551f47 5037 return NULL;
2d091820
RD
5038 if (_argo0) {
5039 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
70551f47
RD
5042 return NULL;
5043 }
5044 }
ab9bc19b
RD
5045{
5046 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5047 _result = new wxString (wxUpdateUIEvent_GetText(_arg0));
ab9bc19b
RD
5048
5049 wxPy_END_ALLOW_THREADS;
167b96c2 5050}{
e02c03a4 5051 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
167b96c2
RD
5052}
5053{
5054 delete _result;
5055}
70551f47
RD
5056 return _resultobj;
5057}
5058
167b96c2
RD
5059#define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5060static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5061 PyObject * _resultobj;
5062 bool _result;
167b96c2 5063 wxUpdateUIEvent * _arg0;
2d091820 5064 PyObject * _argo0 = 0;
167b96c2 5065 char *_kwnames[] = { "self", NULL };
70551f47
RD
5066
5067 self = self;
167b96c2 5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetText",_kwnames,&_argo0))
70551f47 5069 return NULL;
2d091820
RD
5070 if (_argo0) {
5071 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
70551f47
RD
5074 return NULL;
5075 }
5076 }
ab9bc19b
RD
5077{
5078 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5079 _result = (bool )wxUpdateUIEvent_GetSetText(_arg0);
ab9bc19b
RD
5080
5081 wxPy_END_ALLOW_THREADS;
5082} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5083 return _resultobj;
5084}
5085
167b96c2
RD
5086#define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5087static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5088 PyObject * _resultobj;
5089 bool _result;
167b96c2 5090 wxUpdateUIEvent * _arg0;
2d091820 5091 PyObject * _argo0 = 0;
167b96c2 5092 char *_kwnames[] = { "self", NULL };
70551f47
RD
5093
5094 self = self;
167b96c2 5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetChecked",_kwnames,&_argo0))
70551f47 5096 return NULL;
2d091820
RD
5097 if (_argo0) {
5098 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
70551f47
RD
5101 return NULL;
5102 }
5103 }
ab9bc19b
RD
5104{
5105 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5106 _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0);
ab9bc19b
RD
5107
5108 wxPy_END_ALLOW_THREADS;
5109} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5110 return _resultobj;
5111}
5112
167b96c2
RD
5113#define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5114static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5115 PyObject * _resultobj;
5116 bool _result;
167b96c2 5117 wxUpdateUIEvent * _arg0;
2d091820 5118 PyObject * _argo0 = 0;
167b96c2 5119 char *_kwnames[] = { "self", NULL };
70551f47
RD
5120
5121 self = self;
167b96c2 5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames,&_argo0))
70551f47 5123 return NULL;
2d091820
RD
5124 if (_argo0) {
5125 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
70551f47
RD
5128 return NULL;
5129 }
5130 }
ab9bc19b
RD
5131{
5132 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5133 _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0);
ab9bc19b
RD
5134
5135 wxPy_END_ALLOW_THREADS;
5136} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5137 return _resultobj;
5138}
5139
167b96c2
RD
5140#define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5141static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5142 PyObject * _resultobj;
167b96c2
RD
5143 wxUpdateUIEvent * _arg0;
5144 bool _arg1;
2d091820 5145 PyObject * _argo0 = 0;
167b96c2
RD
5146 int tempbool1;
5147 char *_kwnames[] = { "self","check", NULL };
70551f47
RD
5148
5149 self = self;
167b96c2 5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Check",_kwnames,&_argo0,&tempbool1))
70551f47 5151 return NULL;
2d091820
RD
5152 if (_argo0) {
5153 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
70551f47
RD
5156 return NULL;
5157 }
5158 }
167b96c2 5159 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
5160{
5161 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5162 wxUpdateUIEvent_Check(_arg0,_arg1);
ab9bc19b
RD
5163
5164 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5165} Py_INCREF(Py_None);
5166 _resultobj = Py_None;
70551f47
RD
5167 return _resultobj;
5168}
5169
167b96c2
RD
5170#define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5171static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5172 PyObject * _resultobj;
167b96c2
RD
5173 wxUpdateUIEvent * _arg0;
5174 bool _arg1;
2d091820 5175 PyObject * _argo0 = 0;
167b96c2
RD
5176 int tempbool1;
5177 char *_kwnames[] = { "self","enable", NULL };
70551f47
RD
5178
5179 self = self;
167b96c2 5180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Enable",_kwnames,&_argo0,&tempbool1))
70551f47 5181 return NULL;
2d091820
RD
5182 if (_argo0) {
5183 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
70551f47
RD
5186 return NULL;
5187 }
5188 }
167b96c2 5189 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
5190{
5191 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5192 wxUpdateUIEvent_Enable(_arg0,_arg1);
ab9bc19b
RD
5193
5194 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5195} Py_INCREF(Py_None);
5196 _resultobj = Py_None;
70551f47
RD
5197 return _resultobj;
5198}
5199
167b96c2
RD
5200#define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5201static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5202 PyObject * _resultobj;
167b96c2
RD
5203 wxUpdateUIEvent * _arg0;
5204 wxString * _arg1;
2d091820 5205 PyObject * _argo0 = 0;
167b96c2
RD
5206 PyObject * _obj1 = 0;
5207 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
5208
5209 self = self;
167b96c2 5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxUpdateUIEvent_SetText",_kwnames,&_argo0,&_obj1))
70551f47 5211 return NULL;
2d091820
RD
5212 if (_argo0) {
5213 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
5215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
70551f47
RD
5216 return NULL;
5217 }
5218 }
167b96c2 5219{
2cd2fac8
RD
5220#if PYTHON_API_VERSION >= 1009
5221 char* tmpPtr; int tmpSize;
5222 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5223 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5224 return NULL;
5225 }
5226 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5227 return NULL;
5228 _arg1 = new wxString(tmpPtr, tmpSize);
5229#else
167b96c2
RD
5230 if (!PyString_Check(_obj1)) {
5231 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5232 return NULL;
5233 }
2cd2fac8
RD
5234 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5235#endif
167b96c2 5236}
70551f47 5237{
ab9bc19b 5238 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5239 wxUpdateUIEvent_SetText(_arg0,*_arg1);
ab9bc19b
RD
5240
5241 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5242} Py_INCREF(Py_None);
5243 _resultobj = Py_None;
5244{
5245 if (_obj1)
5246 delete _arg1;
70551f47
RD
5247}
5248 return _resultobj;
5249}
5250
167b96c2
RD
5251static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) {
5252 wxSysColourChangedEvent *src;
70551f47 5253 wxEvent *dest;
167b96c2 5254 src = (wxSysColourChangedEvent *) ptr;
70551f47
RD
5255 dest = (wxEvent *) src;
5256 return (void *) dest;
5257}
5258
167b96c2
RD
5259#define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5260static PyObject *_wrap_new_wxSysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5261 PyObject * _resultobj;
167b96c2
RD
5262 wxSysColourChangedEvent * _result;
5263 char *_kwnames[] = { NULL };
5264 char _ptemp[128];
70551f47
RD
5265
5266 self = self;
167b96c2 5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxSysColourChangedEvent",_kwnames))
70551f47 5268 return NULL;
ab9bc19b
RD
5269{
5270 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5271 _result = (wxSysColourChangedEvent *)new_wxSysColourChangedEvent();
ab9bc19b
RD
5272
5273 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5274} if (_result) {
5275 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSysColourChangedEvent_p");
5276 _resultobj = Py_BuildValue("s",_ptemp);
5277 } else {
5278 Py_INCREF(Py_None);
5279 _resultobj = Py_None;
5280 }
70551f47
RD
5281 return _resultobj;
5282}
5283
167b96c2
RD
5284static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) {
5285 wxNotifyEvent *src;
5286 wxCommandEvent *dest;
5287 src = (wxNotifyEvent *) ptr;
5288 dest = (wxCommandEvent *) src;
5289 return (void *) dest;
5290}
5291
5292static void *SwigwxNotifyEventTowxEvent(void *ptr) {
5293 wxNotifyEvent *src;
5294 wxEvent *dest;
5295 src = (wxNotifyEvent *) ptr;
5296 dest = (wxEvent *) src;
5297 return (void *) dest;
5298}
5299
5300#define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
5301static PyObject *_wrap_new_wxNotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5302 PyObject * _resultobj;
167b96c2
RD
5303 wxNotifyEvent * _result;
5304 int _arg0 = (int ) wxEVT_NULL;
5305 int _arg1 = (int ) 0;
5306 char *_kwnames[] = { "commandType","id", NULL };
5307 char _ptemp[128];
70551f47
RD
5308
5309 self = self;
167b96c2 5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxNotifyEvent",_kwnames,&_arg0,&_arg1))
70551f47 5311 return NULL;
ab9bc19b
RD
5312{
5313 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5314 _result = (wxNotifyEvent *)new_wxNotifyEvent(_arg0,_arg1);
ab9bc19b
RD
5315
5316 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5317} if (_result) {
5318 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotifyEvent_p");
5319 _resultobj = Py_BuildValue("s",_ptemp);
5320 } else {
5321 Py_INCREF(Py_None);
5322 _resultobj = Py_None;
5323 }
70551f47
RD
5324 return _resultobj;
5325}
167b96c2
RD
5326
5327#define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
5328static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5329 PyObject * _resultobj;
5330 bool _result;
167b96c2 5331 wxNotifyEvent * _arg0;
2d091820 5332 PyObject * _argo0 = 0;
107e4716 5333 char *_kwnames[] = { "self", NULL };
70551f47
RD
5334
5335 self = self;
167b96c2 5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_IsAllowed",_kwnames,&_argo0))
70551f47 5337 return NULL;
2d091820
RD
5338 if (_argo0) {
5339 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
5341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
70551f47
RD
5342 return NULL;
5343 }
5344 }
ab9bc19b
RD
5345{
5346 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5347 _result = (bool )wxNotifyEvent_IsAllowed(_arg0);
ab9bc19b
RD
5348
5349 wxPy_END_ALLOW_THREADS;
5350} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5351 return _resultobj;
5352}
5353
2cd2fac8
RD
5354#define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
5355static PyObject *_wrap_wxNotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
5356 PyObject * _resultobj;
5357 wxNotifyEvent * _arg0;
5358 PyObject * _argo0 = 0;
5359 char *_kwnames[] = { "self", NULL };
5360
5361 self = self;
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Allow",_kwnames,&_argo0))
5363 return NULL;
5364 if (_argo0) {
5365 if (_argo0 == Py_None) { _arg0 = NULL; }
5366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
5367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
5368 return NULL;
5369 }
5370 }
5371{
5372 wxPy_BEGIN_ALLOW_THREADS;
5373 wxNotifyEvent_Allow(_arg0);
5374
5375 wxPy_END_ALLOW_THREADS;
5376} Py_INCREF(Py_None);
5377 _resultobj = Py_None;
5378 return _resultobj;
5379}
5380
167b96c2
RD
5381#define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
5382static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5383 PyObject * _resultobj;
167b96c2 5384 wxNotifyEvent * _arg0;
2d091820 5385 PyObject * _argo0 = 0;
107e4716 5386 char *_kwnames[] = { "self", NULL };
70551f47
RD
5387
5388 self = self;
167b96c2 5389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Veto",_kwnames,&_argo0))
70551f47 5390 return NULL;
2d091820
RD
5391 if (_argo0) {
5392 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
5394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
70551f47
RD
5395 return NULL;
5396 }
5397 }
ab9bc19b
RD
5398{
5399 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5400 wxNotifyEvent_Veto(_arg0);
ab9bc19b
RD
5401
5402 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5403} Py_INCREF(Py_None);
5404 _resultobj = Py_None;
70551f47
RD
5405 return _resultobj;
5406}
5407
167b96c2
RD
5408static void *SwigwxPaletteChangedEventTowxEvent(void *ptr) {
5409 wxPaletteChangedEvent *src;
5410 wxEvent *dest;
5411 src = (wxPaletteChangedEvent *) ptr;
5412 dest = (wxEvent *) src;
5413 return (void *) dest;
5414}
5415
5416#define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
5417static PyObject *_wrap_new_wxPaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5418 PyObject * _resultobj;
167b96c2
RD
5419 wxPaletteChangedEvent * _result;
5420 wxWindowID _arg0 = (wxWindowID ) 0;
5421 char *_kwnames[] = { "id", NULL };
5422 char _ptemp[128];
70551f47
RD
5423
5424 self = self;
167b96c2 5425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaletteChangedEvent",_kwnames,&_arg0))
70551f47 5426 return NULL;
70551f47 5427{
ab9bc19b 5428 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5429 _result = (wxPaletteChangedEvent *)new_wxPaletteChangedEvent(_arg0);
ab9bc19b
RD
5430
5431 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5432} if (_result) {
5433 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaletteChangedEvent_p");
5434 _resultobj = Py_BuildValue("s",_ptemp);
5435 } else {
5436 Py_INCREF(Py_None);
5437 _resultobj = Py_None;
5438 }
70551f47
RD
5439 return _resultobj;
5440}
5441
167b96c2
RD
5442#define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
5443static PyObject *_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5444 PyObject * _resultobj;
167b96c2
RD
5445 wxPaletteChangedEvent * _arg0;
5446 wxWindow * _arg1;
2d091820 5447 PyObject * _argo0 = 0;
167b96c2
RD
5448 PyObject * _argo1 = 0;
5449 char *_kwnames[] = { "self","win", NULL };
70551f47
RD
5450
5451 self = self;
167b96c2 5452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames,&_argo0,&_argo1))
70551f47 5453 return NULL;
2d091820
RD
5454 if (_argo0) {
5455 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) {
5457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
5458 return NULL;
5459 }
5460 }
5461 if (_argo1) {
5462 if (_argo1 == Py_None) { _arg1 = NULL; }
5463 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5464 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
70551f47
RD
5465 return NULL;
5466 }
5467 }
ab9bc19b
RD
5468{
5469 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5470 wxPaletteChangedEvent_SetChangedWindow(_arg0,_arg1);
ab9bc19b
RD
5471
5472 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5473} Py_INCREF(Py_None);
5474 _resultobj = Py_None;
70551f47
RD
5475 return _resultobj;
5476}
5477
167b96c2
RD
5478#define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
5479static PyObject *_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5480 PyObject * _resultobj;
167b96c2
RD
5481 wxWindow * _result;
5482 wxPaletteChangedEvent * _arg0;
2d091820 5483 PyObject * _argo0 = 0;
107e4716 5484 char *_kwnames[] = { "self", NULL };
167b96c2 5485 char _ptemp[128];
70551f47
RD
5486
5487 self = self;
167b96c2 5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames,&_argo0))
70551f47 5489 return NULL;
2d091820
RD
5490 if (_argo0) {
5491 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) {
5493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
70551f47
RD
5494 return NULL;
5495 }
5496 }
ab9bc19b
RD
5497{
5498 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5499 _result = (wxWindow *)wxPaletteChangedEvent_GetChangedWindow(_arg0);
ab9bc19b
RD
5500
5501 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5502} if (_result) {
5503 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
5504 _resultobj = Py_BuildValue("s",_ptemp);
5505 } else {
5506 Py_INCREF(Py_None);
5507 _resultobj = Py_None;
5508 }
70551f47
RD
5509 return _resultobj;
5510}
5511
167b96c2
RD
5512static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr) {
5513 wxQueryNewPaletteEvent *src;
5514 wxEvent *dest;
5515 src = (wxQueryNewPaletteEvent *) ptr;
5516 dest = (wxEvent *) src;
5517 return (void *) dest;
5518}
5519
5520#define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
5521static PyObject *_wrap_new_wxQueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5522 PyObject * _resultobj;
167b96c2
RD
5523 wxQueryNewPaletteEvent * _result;
5524 wxWindowID _arg0 = (wxWindowID ) 0;
5525 char *_kwnames[] = { "id", NULL };
5526 char _ptemp[128];
70551f47
RD
5527
5528 self = self;
167b96c2 5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxQueryNewPaletteEvent",_kwnames,&_arg0))
70551f47 5530 return NULL;
ab9bc19b
RD
5531{
5532 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5533 _result = (wxQueryNewPaletteEvent *)new_wxQueryNewPaletteEvent(_arg0);
ab9bc19b
RD
5534
5535 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5536} if (_result) {
5537 SWIG_MakePtr(_ptemp, (char *) _result,"_wxQueryNewPaletteEvent_p");
5538 _resultobj = Py_BuildValue("s",_ptemp);
5539 } else {
5540 Py_INCREF(Py_None);
5541 _resultobj = Py_None;
5542 }
70551f47
RD
5543 return _resultobj;
5544}
5545
167b96c2
RD
5546#define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
5547static PyObject *_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5548 PyObject * _resultobj;
167b96c2 5549 wxQueryNewPaletteEvent * _arg0;
70551f47 5550 bool _arg1;
2d091820 5551 PyObject * _argo0 = 0;
70551f47 5552 int tempbool1;
167b96c2 5553 char *_kwnames[] = { "self","realized", NULL };
70551f47
RD
5554
5555 self = self;
167b96c2 5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames,&_argo0,&tempbool1))
70551f47 5557 return NULL;
2d091820
RD
5558 if (_argo0) {
5559 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) {
5561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
70551f47
RD
5562 return NULL;
5563 }
5564 }
5565 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
5566{
5567 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5568 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0,_arg1);
ab9bc19b
RD
5569
5570 wxPy_END_ALLOW_THREADS;
5571} Py_INCREF(Py_None);
70551f47
RD
5572 _resultobj = Py_None;
5573 return _resultobj;
5574}
5575
167b96c2
RD
5576#define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
5577static PyObject *_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5578 PyObject * _resultobj;
167b96c2
RD
5579 bool _result;
5580 wxQueryNewPaletteEvent * _arg0;
2d091820 5581 PyObject * _argo0 = 0;
167b96c2 5582 char *_kwnames[] = { "self", NULL };
70551f47
RD
5583
5584 self = self;
167b96c2 5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames,&_argo0))
70551f47 5586 return NULL;
2d091820
RD
5587 if (_argo0) {
5588 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) {
5590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
70551f47
RD
5591 return NULL;
5592 }
5593 }
ab9bc19b
RD
5594{
5595 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5596 _result = (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0);
ab9bc19b
RD
5597
5598 wxPy_END_ALLOW_THREADS;
167b96c2 5599} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5600 return _resultobj;
5601}
5602
f6bcfd97
BP
5603static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr) {
5604 wxWindowCreateEvent *src;
5605 wxCommandEvent *dest;
5606 src = (wxWindowCreateEvent *) ptr;
5607 dest = (wxCommandEvent *) src;
5608 return (void *) dest;
5609}
5610
167b96c2
RD
5611static void *SwigwxWindowCreateEventTowxEvent(void *ptr) {
5612 wxWindowCreateEvent *src;
5613 wxEvent *dest;
5614 src = (wxWindowCreateEvent *) ptr;
5615 dest = (wxEvent *) src;
5616 return (void *) dest;
5617}
5618
5619#define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
5620static PyObject *_wrap_new_wxWindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5621 PyObject * _resultobj;
167b96c2
RD
5622 wxWindowCreateEvent * _result;
5623 wxWindow * _arg0 = (wxWindow *) NULL;
2d091820 5624 PyObject * _argo0 = 0;
167b96c2
RD
5625 char *_kwnames[] = { "win", NULL };
5626 char _ptemp[128];
70551f47
RD
5627
5628 self = self;
167b96c2 5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowCreateEvent",_kwnames,&_argo0))
70551f47 5630 return NULL;
2d091820
RD
5631 if (_argo0) {
5632 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
70551f47
RD
5635 return NULL;
5636 }
5637 }
ab9bc19b
RD
5638{
5639 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5640 _result = (wxWindowCreateEvent *)new_wxWindowCreateEvent(_arg0);
ab9bc19b
RD
5641
5642 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5643} if (_result) {
5644 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowCreateEvent_p");
5645 _resultobj = Py_BuildValue("s",_ptemp);
5646 } else {
5647 Py_INCREF(Py_None);
5648 _resultobj = Py_None;
5649 }
70551f47
RD
5650 return _resultobj;
5651}
5652
167b96c2
RD
5653#define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
5654static PyObject *_wrap_wxWindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5655 PyObject * _resultobj;
5656 wxWindow * _result;
5657 wxWindowCreateEvent * _arg0;
5658 PyObject * _argo0 = 0;
5659 char *_kwnames[] = { "self", NULL };
5660 char _ptemp[128];
70551f47 5661
167b96c2
RD
5662 self = self;
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowCreateEvent_GetWindow",_kwnames,&_argo0))
5664 return NULL;
5665 if (_argo0) {
5666 if (_argo0 == Py_None) { _arg0 = NULL; }
5667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowCreateEvent_p")) {
5668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
5669 return NULL;
5670 }
5671 }
5672{
5673 wxPy_BEGIN_ALLOW_THREADS;
5674 _result = (wxWindow *)wxWindowCreateEvent_GetWindow(_arg0);
5675
5676 wxPy_END_ALLOW_THREADS;
5677} if (_result) {
5678 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
5679 _resultobj = Py_BuildValue("s",_ptemp);
5680 } else {
5681 Py_INCREF(Py_None);
5682 _resultobj = Py_None;
5683 }
5684 return _resultobj;
ab9bc19b
RD
5685}
5686
f6bcfd97
BP
5687static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr) {
5688 wxWindowDestroyEvent *src;
5689 wxCommandEvent *dest;
5690 src = (wxWindowDestroyEvent *) ptr;
5691 dest = (wxCommandEvent *) src;
5692 return (void *) dest;
5693}
5694
167b96c2
RD
5695static void *SwigwxWindowDestroyEventTowxEvent(void *ptr) {
5696 wxWindowDestroyEvent *src;
37f6a977 5697 wxEvent *dest;
167b96c2 5698 src = (wxWindowDestroyEvent *) ptr;
37f6a977
RD
5699 dest = (wxEvent *) src;
5700 return (void *) dest;
5701}
5702
167b96c2
RD
5703#define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
5704static PyObject *_wrap_new_wxWindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977 5705 PyObject * _resultobj;
167b96c2
RD
5706 wxWindowDestroyEvent * _result;
5707 wxWindow * _arg0 = (wxWindow *) NULL;
37f6a977 5708 PyObject * _argo0 = 0;
167b96c2
RD
5709 char *_kwnames[] = { "win", NULL };
5710 char _ptemp[128];
37f6a977
RD
5711
5712 self = self;
167b96c2 5713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDestroyEvent",_kwnames,&_argo0))
37f6a977
RD
5714 return NULL;
5715 if (_argo0) {
5716 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
37f6a977
RD
5719 return NULL;
5720 }
5721 }
5722{
5723 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5724 _result = (wxWindowDestroyEvent *)new_wxWindowDestroyEvent(_arg0);
37f6a977
RD
5725
5726 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5727} if (_result) {
5728 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDestroyEvent_p");
5729 _resultobj = Py_BuildValue("s",_ptemp);
5730 } else {
5731 Py_INCREF(Py_None);
5732 _resultobj = Py_None;
5733 }
37f6a977
RD
5734 return _resultobj;
5735}
5736
167b96c2
RD
5737#define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
5738static PyObject *_wrap_wxWindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977 5739 PyObject * _resultobj;
167b96c2
RD
5740 wxWindow * _result;
5741 wxWindowDestroyEvent * _arg0;
37f6a977
RD
5742 PyObject * _argo0 = 0;
5743 char *_kwnames[] = { "self", NULL };
167b96c2 5744 char _ptemp[128];
37f6a977
RD
5745
5746 self = self;
167b96c2 5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowDestroyEvent_GetWindow",_kwnames,&_argo0))
37f6a977
RD
5748 return NULL;
5749 if (_argo0) {
5750 if (_argo0 == Py_None) { _arg0 = NULL; }
167b96c2
RD
5751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDestroyEvent_p")) {
5752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
37f6a977
RD
5753 return NULL;
5754 }
5755 }
5756{
5757 wxPy_BEGIN_ALLOW_THREADS;
167b96c2 5758 _result = (wxWindow *)wxWindowDestroyEvent_GetWindow(_arg0);
37f6a977
RD
5759
5760 wxPy_END_ALLOW_THREADS;
167b96c2
RD
5761} if (_result) {
5762 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
5763 _resultobj = Py_BuildValue("s",_ptemp);
5764 } else {
5765 Py_INCREF(Py_None);
5766 _resultobj = Py_None;
5767 }
37f6a977
RD
5768 return _resultobj;
5769}
5770
f6bcfd97
BP
5771static void *SwigwxTimerEventTowxEvent(void *ptr) {
5772 wxTimerEvent *src;
5773 wxEvent *dest;
5774 src = (wxTimerEvent *) ptr;
5775 dest = (wxEvent *) src;
5776 return (void *) dest;
5777}
5778
5779#define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
5780static PyObject *_wrap_new_wxTimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5781 PyObject * _resultobj;
5782 wxTimerEvent * _result;
5783 int _arg0 = (int ) 0;
5784 int _arg1 = (int ) 0;
5785 char *_kwnames[] = { "id","interval", NULL };
5786 char _ptemp[128];
5787
5788 self = self;
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTimerEvent",_kwnames,&_arg0,&_arg1))
5790 return NULL;
5791{
5792 wxPy_BEGIN_ALLOW_THREADS;
5793 _result = (wxTimerEvent *)new_wxTimerEvent(_arg0,_arg1);
5794
5795 wxPy_END_ALLOW_THREADS;
5796} if (_result) {
5797 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTimerEvent_p");
5798 _resultobj = Py_BuildValue("s",_ptemp);
5799 } else {
5800 Py_INCREF(Py_None);
5801 _resultobj = Py_None;
5802 }
5803 return _resultobj;
5804}
5805
5806#define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
5807static PyObject *_wrap_wxTimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject * _resultobj;
5809 int _result;
5810 wxTimerEvent * _arg0;
5811 PyObject * _argo0 = 0;
5812 char *_kwnames[] = { "self", NULL };
5813
5814 self = self;
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimerEvent_GetInterval",_kwnames,&_argo0))
5816 return NULL;
5817 if (_argo0) {
5818 if (_argo0 == Py_None) { _arg0 = NULL; }
5819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimerEvent_p")) {
5820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
5821 return NULL;
5822 }
5823 }
5824{
5825 wxPy_BEGIN_ALLOW_THREADS;
5826 _result = (int )wxTimerEvent_GetInterval(_arg0);
5827
5828 wxPy_END_ALLOW_THREADS;
5829} _resultobj = Py_BuildValue("i",_result);
5830 return _resultobj;
5831}
5832
ab9bc19b
RD
5833static void *SwigwxPyEventTowxEvent(void *ptr) {
5834 wxPyEvent *src;
5835 wxEvent *dest;
5836 src = (wxPyEvent *) ptr;
5837 dest = (wxEvent *) src;
5838 return (void *) dest;
5839}
5840
4120ef2b 5841#define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
107e4716 5842static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
5843 PyObject * _resultobj;
5844 wxPyEvent * _result;
37f6a977 5845 int _arg0 = (int ) 0;
4120ef2b 5846 char *_kwnames[] = { "id", NULL };
ab9bc19b
RD
5847 char _ptemp[128];
5848
5849 self = self;
4120ef2b 5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPyEvent",_kwnames,&_arg0))
ab9bc19b 5851 return NULL;
ab9bc19b
RD
5852{
5853 wxPy_BEGIN_ALLOW_THREADS;
4120ef2b 5854 _result = (wxPyEvent *)new_wxPyEvent(_arg0);
ab9bc19b
RD
5855
5856 wxPy_END_ALLOW_THREADS;
2d091820
RD
5857} if (_result) {
5858 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p");
5859 _resultobj = Py_BuildValue("s",_ptemp);
5860 } else {
5861 Py_INCREF(Py_None);
5862 _resultobj = Py_None;
5863 }
ab9bc19b
RD
5864 return _resultobj;
5865}
5866
5867#define delete_wxPyEvent(_swigobj) (delete _swigobj)
107e4716 5868static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
5869 PyObject * _resultobj;
5870 wxPyEvent * _arg0;
2d091820 5871 PyObject * _argo0 = 0;
107e4716 5872 char *_kwnames[] = { "self", NULL };
ab9bc19b
RD
5873
5874 self = self;
107e4716 5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0))
ab9bc19b 5876 return NULL;
2d091820
RD
5877 if (_argo0) {
5878 if (_argo0 == Py_None) { _arg0 = NULL; }
5879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
ab9bc19b
RD
5880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
5881 return NULL;
5882 }
5883 }
5884{
5885 wxPy_BEGIN_ALLOW_THREADS;
5886 delete_wxPyEvent(_arg0);
5887
5888 wxPy_END_ALLOW_THREADS;
5889} Py_INCREF(Py_None);
5890 _resultobj = Py_None;
5891 return _resultobj;
5892}
5893
4120ef2b
RD
5894#define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
5895static PyObject *_wrap_wxPyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
5896 PyObject * _resultobj;
5897 wxPyEvent * _arg0;
5898 PyObject * _arg1;
2d091820 5899 PyObject * _argo0 = 0;
ab9bc19b 5900 PyObject * _obj1 = 0;
4120ef2b 5901 char *_kwnames[] = { "self","self", NULL };
ab9bc19b
RD
5902
5903 self = self;
4120ef2b 5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetSelf",_kwnames,&_argo0,&_obj1))
ab9bc19b 5905 return NULL;
2d091820
RD
5906 if (_argo0) {
5907 if (_argo0 == Py_None) { _arg0 = NULL; }
5908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
4120ef2b 5909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
ab9bc19b
RD
5910 return NULL;
5911 }
5912 }
5913{
5914 _arg1 = _obj1;
5915}
5916{
5917 wxPy_BEGIN_ALLOW_THREADS;
4120ef2b 5918 wxPyEvent_SetSelf(_arg0,_arg1);
ab9bc19b
RD
5919
5920 wxPy_END_ALLOW_THREADS;
5921} Py_INCREF(Py_None);
5922 _resultobj = Py_None;
5923 return _resultobj;
5924}
5925
4120ef2b
RD
5926#define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
5927static PyObject *_wrap_wxPyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
5928 PyObject * _resultobj;
5929 PyObject * _result;
5930 wxPyEvent * _arg0;
2d091820 5931 PyObject * _argo0 = 0;
107e4716 5932 char *_kwnames[] = { "self", NULL };
ab9bc19b
RD
5933
5934 self = self;
4120ef2b 5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetSelf",_kwnames,&_argo0))
ab9bc19b 5936 return NULL;
2d091820
RD
5937 if (_argo0) {
5938 if (_argo0 == Py_None) { _arg0 = NULL; }
5939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
4120ef2b 5940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
ab9bc19b
RD
5941 return NULL;
5942 }
5943 }
5944{
5945 wxPy_BEGIN_ALLOW_THREADS;
4120ef2b 5946 _result = (PyObject *)wxPyEvent_GetSelf(_arg0);
ab9bc19b
RD
5947
5948 wxPy_END_ALLOW_THREADS;
5949}{
5950 _resultobj = _result;
5951}
5952 return _resultobj;
5953}
5954
37f6a977
RD
5955static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr) {
5956 wxPyCommandEvent *src;
d24a34bb 5957 wxCommandEvent *dest;
37f6a977 5958 src = (wxPyCommandEvent *) ptr;
d24a34bb
RD
5959 dest = (wxCommandEvent *) src;
5960 return (void *) dest;
5961}
5962
37f6a977
RD
5963static void *SwigwxPyCommandEventTowxEvent(void *ptr) {
5964 wxPyCommandEvent *src;
d24a34bb 5965 wxEvent *dest;
37f6a977 5966 src = (wxPyCommandEvent *) ptr;
d24a34bb
RD
5967 dest = (wxEvent *) src;
5968 return (void *) dest;
5969}
5970
4120ef2b 5971#define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
37f6a977 5972static PyObject *_wrap_new_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb 5973 PyObject * _resultobj;
37f6a977
RD
5974 wxPyCommandEvent * _result;
5975 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
5976 int _arg1 = (int ) 0;
4120ef2b 5977 char *_kwnames[] = { "commandType","id", NULL };
37f6a977
RD
5978 char _ptemp[128];
5979
5980 self = self;
4120ef2b 5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxPyCommandEvent",_kwnames,&_arg0,&_arg1))
37f6a977 5982 return NULL;
37f6a977
RD
5983{
5984 wxPy_BEGIN_ALLOW_THREADS;
4120ef2b 5985 _result = (wxPyCommandEvent *)new_wxPyCommandEvent(_arg0,_arg1);
37f6a977
RD
5986
5987 wxPy_END_ALLOW_THREADS;
5988} if (_result) {
5989 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCommandEvent_p");
5990 _resultobj = Py_BuildValue("s",_ptemp);
5991 } else {
5992 Py_INCREF(Py_None);
5993 _resultobj = Py_None;
5994 }
5995 return _resultobj;
5996}
5997
5998#define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
5999static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6000 PyObject * _resultobj;
6001 wxPyCommandEvent * _arg0;
2d091820 6002 PyObject * _argo0 = 0;
107e4716 6003 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
6004
6005 self = self;
37f6a977 6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyCommandEvent",_kwnames,&_argo0))
d24a34bb 6007 return NULL;
2d091820
RD
6008 if (_argo0) {
6009 if (_argo0 == Py_None) { _arg0 = NULL; }
37f6a977
RD
6010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
6011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
d24a34bb
RD
6012 return NULL;
6013 }
6014 }
6015{
6016 wxPy_BEGIN_ALLOW_THREADS;
37f6a977 6017 delete_wxPyCommandEvent(_arg0);
d24a34bb
RD
6018
6019 wxPy_END_ALLOW_THREADS;
37f6a977
RD
6020} Py_INCREF(Py_None);
6021 _resultobj = Py_None;
d24a34bb
RD
6022 return _resultobj;
6023}
6024
4120ef2b
RD
6025#define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6026static PyObject *_wrap_wxPyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb 6027 PyObject * _resultobj;
37f6a977
RD
6028 wxPyCommandEvent * _arg0;
6029 PyObject * _arg1;
2d091820 6030 PyObject * _argo0 = 0;
37f6a977 6031 PyObject * _obj1 = 0;
4120ef2b 6032 char *_kwnames[] = { "self","self", NULL };
d24a34bb
RD
6033
6034 self = self;
4120ef2b 6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCommandEvent_SetSelf",_kwnames,&_argo0,&_obj1))
d24a34bb 6036 return NULL;
2d091820
RD
6037 if (_argo0) {
6038 if (_argo0 == Py_None) { _arg0 = NULL; }
37f6a977 6039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
4120ef2b 6040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
d24a34bb
RD
6041 return NULL;
6042 }
6043 }
37f6a977
RD
6044{
6045 _arg1 = _obj1;
6046}
d24a34bb
RD
6047{
6048 wxPy_BEGIN_ALLOW_THREADS;
4120ef2b 6049 wxPyCommandEvent_SetSelf(_arg0,_arg1);
d24a34bb
RD
6050
6051 wxPy_END_ALLOW_THREADS;
6052} Py_INCREF(Py_None);
6053 _resultobj = Py_None;
6054 return _resultobj;
6055}
6056
4120ef2b
RD
6057#define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6058static PyObject *_wrap_wxPyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977
RD
6059 PyObject * _resultobj;
6060 PyObject * _result;
6061 wxPyCommandEvent * _arg0;
6062 PyObject * _argo0 = 0;
6063 char *_kwnames[] = { "self", NULL };
6064
6065 self = self;
4120ef2b 6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCommandEvent_GetSelf",_kwnames,&_argo0))
37f6a977
RD
6067 return NULL;
6068 if (_argo0) {
6069 if (_argo0 == Py_None) { _arg0 = NULL; }
6070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
4120ef2b 6071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
37f6a977
RD
6072 return NULL;
6073 }
6074 }
6075{
6076 wxPy_BEGIN_ALLOW_THREADS;
4120ef2b 6077 _result = (PyObject *)wxPyCommandEvent_GetSelf(_arg0);
37f6a977
RD
6078
6079 wxPy_END_ALLOW_THREADS;
6080}{
6081 _resultobj = _result;
6082}
6083 return _resultobj;
6084}
6085
70551f47 6086static PyMethodDef eventscMethods[] = {
4120ef2b
RD
6087 { "wxPyCommandEvent_GetSelf", (PyCFunction) _wrap_wxPyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
6088 { "wxPyCommandEvent_SetSelf", (PyCFunction) _wrap_wxPyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
37f6a977
RD
6089 { "delete_wxPyCommandEvent", (PyCFunction) _wrap_delete_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
6090 { "new_wxPyCommandEvent", (PyCFunction) _wrap_new_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
4120ef2b
RD
6091 { "wxPyEvent_GetSelf", (PyCFunction) _wrap_wxPyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
6092 { "wxPyEvent_SetSelf", (PyCFunction) _wrap_wxPyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6093 { "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
6094 { "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
6095 { "wxTimerEvent_GetInterval", (PyCFunction) _wrap_wxTimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
6096 { "new_wxTimerEvent", (PyCFunction) _wrap_new_wxTimerEvent, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6097 { "wxWindowDestroyEvent_GetWindow", (PyCFunction) _wrap_wxWindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
6098 { "new_wxWindowDestroyEvent", (PyCFunction) _wrap_new_wxWindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
6099 { "wxWindowCreateEvent_GetWindow", (PyCFunction) _wrap_wxWindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
6100 { "new_wxWindowCreateEvent", (PyCFunction) _wrap_new_wxWindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
6101 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
6102 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
6103 { "new_wxQueryNewPaletteEvent", (PyCFunction) _wrap_new_wxQueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
6104 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
6105 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
6106 { "new_wxPaletteChangedEvent", (PyCFunction) _wrap_new_wxPaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
37f6a977 6107 { "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
2cd2fac8 6108 { "wxNotifyEvent_Allow", (PyCFunction) _wrap_wxNotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
37f6a977 6109 { "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6110 { "new_wxNotifyEvent", (PyCFunction) _wrap_new_wxNotifyEvent, METH_VARARGS | METH_KEYWORDS },
6111 { "new_wxSysColourChangedEvent", (PyCFunction) _wrap_new_wxSysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6112 { "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
6113 { "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
6114 { "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
6115 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
6116 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
6117 { "wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
6118 { "wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
6119 { "wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
6120 { "wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
167b96c2 6121 { "new_wxUpdateUIEvent", (PyCFunction) _wrap_new_wxUpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6122 { "wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
6123 { "wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
167b96c2 6124 { "new_wxIdleEvent", (PyCFunction) _wrap_new_wxIdleEvent, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6125 { "wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
6126 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
6127 { "wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
6128 { "wxJoystickEvent_ButtonIsDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
6129 { "wxJoystickEvent_ButtonUp", (PyCFunction) _wrap_wxJoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
6130 { "wxJoystickEvent_ButtonDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
6131 { "wxJoystickEvent_IsZMove", (PyCFunction) _wrap_wxJoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
6132 { "wxJoystickEvent_IsMove", (PyCFunction) _wrap_wxJoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
6133 { "wxJoystickEvent_IsButton", (PyCFunction) _wrap_wxJoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
6134 { "wxJoystickEvent_SetZPosition", (PyCFunction) _wrap_wxJoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
6135 { "wxJoystickEvent_SetPosition", (PyCFunction) _wrap_wxJoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
6136 { "wxJoystickEvent_SetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
6137 { "wxJoystickEvent_SetButtonState", (PyCFunction) _wrap_wxJoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
6138 { "wxJoystickEvent_SetJoystick", (PyCFunction) _wrap_wxJoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
6139 { "wxJoystickEvent_GetJoystick", (PyCFunction) _wrap_wxJoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
6140 { "wxJoystickEvent_GetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
6141 { "wxJoystickEvent_GetButtonState", (PyCFunction) _wrap_wxJoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
6142 { "wxJoystickEvent_GetZPosition", (PyCFunction) _wrap_wxJoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
6143 { "wxJoystickEvent_GetPosition", (PyCFunction) _wrap_wxJoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6144 { "new_wxJoystickEvent", (PyCFunction) _wrap_new_wxJoystickEvent, METH_VARARGS | METH_KEYWORDS },
6145 { "new_wxMaximizeEvent", (PyCFunction) _wrap_new_wxMaximizeEvent, METH_VARARGS | METH_KEYWORDS },
6146 { "new_wxIconizeEvent", (PyCFunction) _wrap_new_wxIconizeEvent, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6147 { "wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
6148 { "wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
167b96c2 6149 { "new_wxShowEvent", (PyCFunction) _wrap_new_wxShowEvent, METH_VARARGS | METH_KEYWORDS },
107e4716 6150 { "wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6151 { "new_wxMenuEvent", (PyCFunction) _wrap_new_wxMenuEvent, METH_VARARGS | METH_KEYWORDS },
6152 { "new_wxInitDialogEvent", (PyCFunction) _wrap_new_wxInitDialogEvent, METH_VARARGS | METH_KEYWORDS },
107e4716 6153 { "wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6154 { "new_wxActivateEvent", (PyCFunction) _wrap_new_wxActivateEvent, METH_VARARGS | METH_KEYWORDS },
6155 { "new_wxFocusEvent", (PyCFunction) _wrap_new_wxFocusEvent, METH_VARARGS | METH_KEYWORDS },
107e4716 6156 { "wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6157 { "new_wxEraseEvent", (PyCFunction) _wrap_new_wxEraseEvent, METH_VARARGS | METH_KEYWORDS },
6158 { "new_wxPaintEvent", (PyCFunction) _wrap_new_wxPaintEvent, METH_VARARGS | METH_KEYWORDS },
107e4716 6159 { "wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6160 { "new_wxMoveEvent", (PyCFunction) _wrap_new_wxMoveEvent, METH_VARARGS | METH_KEYWORDS },
6161 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
6162 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
6163 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
6164 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
6165 { "wxNavigationKeyEvent_SetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
6166 { "wxNavigationKeyEvent_GetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
6167 { "new_wxNavigationKeyEvent", (PyCFunction) _wrap_new_wxNavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
6168 { "wxKeyEvent_m_scanCode_get", (PyCFunction) _wrap_wxKeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
6169 { "wxKeyEvent_m_scanCode_set", (PyCFunction) _wrap_wxKeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
6170 { "wxKeyEvent_m_metaDown_get", (PyCFunction) _wrap_wxKeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
6171 { "wxKeyEvent_m_metaDown_set", (PyCFunction) _wrap_wxKeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
6172 { "wxKeyEvent_m_altDown_get", (PyCFunction) _wrap_wxKeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
6173 { "wxKeyEvent_m_altDown_set", (PyCFunction) _wrap_wxKeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
6174 { "wxKeyEvent_m_shiftDown_get", (PyCFunction) _wrap_wxKeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
6175 { "wxKeyEvent_m_shiftDown_set", (PyCFunction) _wrap_wxKeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
6176 { "wxKeyEvent_m_controlDown_get", (PyCFunction) _wrap_wxKeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
6177 { "wxKeyEvent_m_controlDown_set", (PyCFunction) _wrap_wxKeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
6178 { "wxKeyEvent_m_keyCode_get", (PyCFunction) _wrap_wxKeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
6179 { "wxKeyEvent_m_keyCode_set", (PyCFunction) _wrap_wxKeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
6180 { "wxKeyEvent_m_y_get", (PyCFunction) _wrap_wxKeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
6181 { "wxKeyEvent_m_y_set", (PyCFunction) _wrap_wxKeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
6182 { "wxKeyEvent_m_x_get", (PyCFunction) _wrap_wxKeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
6183 { "wxKeyEvent_m_x_set", (PyCFunction) _wrap_wxKeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6184 { "wxKeyEvent_GetPositionTuple", (PyCFunction) _wrap_wxKeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
6185 { "wxKeyEvent_GetPosition", (PyCFunction) _wrap_wxKeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
6186 { "wxKeyEvent_GetY", (PyCFunction) _wrap_wxKeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
6187 { "wxKeyEvent_GetX", (PyCFunction) _wrap_wxKeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
6188 { "wxKeyEvent_HasModifiers", (PyCFunction) _wrap_wxKeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
6189 { "wxKeyEvent_GetKeyCode", (PyCFunction) _wrap_wxKeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6190 { "wxKeyEvent_KeyCode", (PyCFunction) _wrap_wxKeyEvent_KeyCode, METH_VARARGS | METH_KEYWORDS },
6191 { "wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
6192 { "wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
6193 { "wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
6194 { "wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
167b96c2 6195 { "new_wxKeyEvent", (PyCFunction) _wrap_new_wxKeyEvent, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
6196 { "wxMouseEvent_m_metaDown_get", (PyCFunction) _wrap_wxMouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
6197 { "wxMouseEvent_m_metaDown_set", (PyCFunction) _wrap_wxMouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
6198 { "wxMouseEvent_m_altDown_get", (PyCFunction) _wrap_wxMouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
6199 { "wxMouseEvent_m_altDown_set", (PyCFunction) _wrap_wxMouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
6200 { "wxMouseEvent_m_shiftDown_get", (PyCFunction) _wrap_wxMouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
6201 { "wxMouseEvent_m_shiftDown_set", (PyCFunction) _wrap_wxMouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
6202 { "wxMouseEvent_m_controlDown_get", (PyCFunction) _wrap_wxMouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
6203 { "wxMouseEvent_m_controlDown_set", (PyCFunction) _wrap_wxMouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
6204 { "wxMouseEvent_m_rightDown_get", (PyCFunction) _wrap_wxMouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
6205 { "wxMouseEvent_m_rightDown_set", (PyCFunction) _wrap_wxMouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
6206 { "wxMouseEvent_m_middleDown_get", (PyCFunction) _wrap_wxMouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
6207 { "wxMouseEvent_m_middleDown_set", (PyCFunction) _wrap_wxMouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
6208 { "wxMouseEvent_m_leftDown_get", (PyCFunction) _wrap_wxMouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
6209 { "wxMouseEvent_m_leftDown_set", (PyCFunction) _wrap_wxMouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
6210 { "wxMouseEvent_m_y_get", (PyCFunction) _wrap_wxMouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
6211 { "wxMouseEvent_m_y_set", (PyCFunction) _wrap_wxMouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
6212 { "wxMouseEvent_m_x_get", (PyCFunction) _wrap_wxMouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
6213 { "wxMouseEvent_m_x_set", (PyCFunction) _wrap_wxMouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6214 { "wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
6215 { "wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
6216 { "wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
4120ef2b 6217 { "wxMouseEvent_GetPositionTuple", (PyCFunction) _wrap_wxMouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
107e4716 6218 { "wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6219 { "wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
6220 { "wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
6221 { "wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
6222 { "wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
6223 { "wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
6224 { "wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
6225 { "wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
6226 { "wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
6227 { "wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
6228 { "wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
6229 { "wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
6230 { "wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
6231 { "wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
6232 { "wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
6233 { "wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
6234 { "wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
6235 { "wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
6236 { "wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
6237 { "wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
6238 { "wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
6239 { "wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
6240 { "wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
6241 { "wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
6242 { "wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
6243 { "wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
6244 { "wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6245 { "new_wxMouseEvent", (PyCFunction) _wrap_new_wxMouseEvent, METH_VARARGS | METH_KEYWORDS },
6246 { "new_wxSpinEvent", (PyCFunction) _wrap_new_wxSpinEvent, METH_VARARGS | METH_KEYWORDS },
9cce9de1
RD
6247 { "wxScrollWinEvent_GetPosition", (PyCFunction) _wrap_wxScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
6248 { "wxScrollWinEvent_GetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
167b96c2 6249 { "new_wxScrollWinEvent", (PyCFunction) _wrap_new_wxScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6250 { "wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
6251 { "wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
167b96c2 6252 { "new_wxScrollEvent", (PyCFunction) _wrap_new_wxScrollEvent, METH_VARARGS | METH_KEYWORDS },
56f5d962
RD
6253 { "wxCommandEvent_SetInt", (PyCFunction) _wrap_wxCommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
6254 { "wxCommandEvent_SetExtraLong", (PyCFunction) _wrap_wxCommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
6255 { "wxCommandEvent_SetString", (PyCFunction) _wrap_wxCommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6256 { "wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
6257 { "wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
6258 { "wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
6259 { "wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
6260 { "wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
3ca6a5f0
BP
6261 { "wxCommandEvent_Checked", (PyCFunction) _wrap_wxCommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
6262 { "wxCommandEvent_IsChecked", (PyCFunction) _wrap_wxCommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
167b96c2 6263 { "new_wxCommandEvent", (PyCFunction) _wrap_new_wxCommandEvent, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6264 { "wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
6265 { "wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
6266 { "wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
6267 { "wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
6268 { "wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
6269 { "wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
167b96c2 6270 { "new_wxCloseEvent", (PyCFunction) _wrap_new_wxCloseEvent, METH_VARARGS | METH_KEYWORDS },
107e4716 6271 { "wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
167b96c2 6272 { "new_wxSizeEvent", (PyCFunction) _wrap_new_wxSizeEvent, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
6273 { "wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS },
6274 { "wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
6275 { "wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS },
6276 { "wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS },
6277 { "wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS },
6278 { "wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
6279 { "wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS },
6280 { "wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS },
6281 { "wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS },
6282 { "wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS },
167b96c2
RD
6283 { "delete_wxEvent", (PyCFunction) _wrap_delete_wxEvent, METH_VARARGS | METH_KEYWORDS },
6284 { "new_wxEvent", (PyCFunction) _wrap_new_wxEvent, METH_VARARGS | METH_KEYWORDS },
70551f47
RD
6285 { NULL, NULL }
6286};
2d091820
RD
6287#ifdef __cplusplus
6288}
6289#endif
6290/*
6291 * This table is used by the pointer type-checker
6292 */
6293static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
6294 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
37f6a977
RD
6295 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
6296 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
2d091820
RD
6297 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
6298 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
f6bcfd97
BP
6299 { "_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent},
6300 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent},
167b96c2
RD
6301 { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
6302 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
6303 { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
6304 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
6305 { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
6306 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
6307 { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
6308 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
37f6a977
RD
6309 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
6310 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
2d091820
RD
6311 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
6312 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
6313 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
6314 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
6315 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
6316 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
6317 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
6318 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
6319 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
6320 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
6321 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
6322 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
6323 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
6324 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
6325 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
6326 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
6327 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
6328 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
6329 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
6330 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
6331 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
6332 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
6333 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
6334 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
6335 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
6336 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
6337 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
6338 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
6339 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
6340 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
167b96c2
RD
6341 { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
6342 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
2d091820
RD
6343 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
6344 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
6345 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
6346 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
6347 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
6348 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
9cce9de1
RD
6349 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
6350 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
2d091820
RD
6351 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
6352 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
6353 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
6354 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
6355 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
6356 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
6357 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
6358 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
6359 { "_wxEvent","_class_wxEvent",0},
6360 { "_class_wxActivateEvent","_wxActivateEvent",0},
6361 { "_signed_long","_long",0},
6362 { "_wxMenuEvent","_class_wxMenuEvent",0},
37f6a977 6363 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4120ef2b 6364 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
6365 { "_wxPrintQuality","_int",0},
6366 { "_wxPrintQuality","_signed_int",0},
6367 { "_wxPrintQuality","_unsigned_int",0},
6368 { "_wxPrintQuality","_wxWindowID",0},
6369 { "_wxPrintQuality","_uint",0},
6370 { "_wxPrintQuality","_EBool",0},
6371 { "_wxPrintQuality","_size_t",0},
c368d904 6372 { "_wxPrintQuality","_time_t",0},
2d091820
RD
6373 { "_class_wxRegionIterator","_wxRegionIterator",0},
6374 { "_wxPaintEvent","_class_wxPaintEvent",0},
6375 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
f6bcfd97 6376 { "_wxCursor","_class_wxCursor",0},
2d091820 6377 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
f6bcfd97
BP
6378 { "_wxMask","_class_wxMask",0},
6379 { "_wxPen","_class_wxPen",0},
2d091820
RD
6380 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6381 { "_byte","_unsigned_char",0},
6382 { "_long","_unsigned_long",0},
6383 { "_long","_signed_long",0},
f6bcfd97 6384 { "_wxImageList","_class_wxImageList",0},
2d091820
RD
6385 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6386 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
f6bcfd97 6387 { "_wxDC","_class_wxDC",0},
2d091820 6388 { "_wxSpinEvent","_class_wxSpinEvent",0},
4120ef2b 6389 { "_size_t","_wxCoord",0},
2d091820 6390 { "_size_t","_wxPrintQuality",0},
c368d904 6391 { "_size_t","_time_t",0},
2d091820
RD
6392 { "_size_t","_unsigned_int",0},
6393 { "_size_t","_int",0},
6394 { "_size_t","_wxWindowID",0},
6395 { "_size_t","_uint",0},
6396 { "_class_wxRealPoint","_wxRealPoint",0},
167b96c2
RD
6397 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6398 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2d091820
RD
6399 { "_class_wxPaintEvent","_wxPaintEvent",0},
6400 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
f6bcfd97 6401 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2d091820
RD
6402 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6403 { "_wxPyEvent","_class_wxPyEvent",0},
f6bcfd97 6404 { "_class_wxMask","_wxMask",0},
2d091820 6405 { "_class_wxKeyEvent","_wxKeyEvent",0},
f6bcfd97 6406 { "_wxColour","_class_wxColour",0},
2d091820
RD
6407 { "_wxIdleEvent","_class_wxIdleEvent",0},
6408 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
f6bcfd97 6409 { "_wxBrush","_class_wxBrush",0},
2d091820 6410 { "_wxShowEvent","_class_wxShowEvent",0},
4120ef2b 6411 { "_uint","_wxCoord",0},
2d091820 6412 { "_uint","_wxPrintQuality",0},
c368d904 6413 { "_uint","_time_t",0},
2d091820
RD
6414 { "_uint","_size_t",0},
6415 { "_uint","_unsigned_int",0},
6416 { "_uint","_int",0},
6417 { "_uint","_wxWindowID",0},
f6bcfd97 6418 { "_wxChar","_char",0},
37f6a977
RD
6419 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
6420 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
2d091820
RD
6421 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
6422 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
f6bcfd97
BP
6423 { "_class_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent},
6424 { "_class_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent},
167b96c2
RD
6425 { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
6426 { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
6427 { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
6428 { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
6429 { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
6430 { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
6431 { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
6432 { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
37f6a977
RD
6433 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
6434 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
2d091820
RD
6435 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
6436 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
6437 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
6438 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
6439 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
6440 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
6441 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
6442 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
6443 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
6444 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
6445 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
6446 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
6447 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
6448 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
6449 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
6450 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
6451 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
6452 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
6453 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
6454 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
6455 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
6456 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
6457 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
6458 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
6459 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
6460 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
6461 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
6462 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
6463 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
6464 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
167b96c2
RD
6465 { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
6466 { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
2d091820
RD
6467 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
6468 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
6469 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
6470 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
6471 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
6472 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
9cce9de1
RD
6473 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
6474 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
2d091820
RD
6475 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
6476 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
6477 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
6478 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
6479 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
6480 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
6481 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
6482 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
6483 { "_class_wxEvent","_wxEvent",0},
6484 { "_wxRect","_class_wxRect",0},
37f6a977
RD
6485 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
6486 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
f6bcfd97
BP
6487 { "_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent},
6488 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent},
6489 { "_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent},
6490 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent},
2d091820
RD
6491 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
6492 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
2d091820
RD
6493 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
6494 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
6495 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
6496 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
6497 { "_wxCommandEvent","_class_wxCommandEvent",0},
6498 { "_wxSizeEvent","_class_wxSizeEvent",0},
6499 { "_wxPoint","_class_wxPoint",0},
f6bcfd97
BP
6500 { "_char","_wxChar",0},
6501 { "_wxBitmap","_class_wxBitmap",0},
6502 { "_wxWindowDC","_class_wxWindowDC",0},
6503 { "_wxTimerEvent","_class_wxTimerEvent",0},
2d091820
RD
6504 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6505 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6506 { "_class_wxPyEvent","_wxPyEvent",0},
6507 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6508 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
6509 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
6510 { "_wxScrollEvent","_class_wxScrollEvent",0},
4120ef2b 6511 { "_EBool","_wxCoord",0},
2d091820
RD
6512 { "_EBool","_wxPrintQuality",0},
6513 { "_EBool","_signed_int",0},
6514 { "_EBool","_int",0},
6515 { "_EBool","_wxWindowID",0},
6516 { "_class_wxRegion","_wxRegion",0},
6517 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
167b96c2 6518 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
f6bcfd97 6519 { "_wxFont","_class_wxFont",0},
2d091820
RD
6520 { "_wxCloseEvent","_class_wxCloseEvent",0},
6521 { "_unsigned_long","_long",0},
6522 { "_class_wxRect","_wxRect",0},
f6bcfd97 6523 { "_class_wxDC","_wxDC",0},
9cce9de1 6524 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
167b96c2
RD
6525 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6526 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2d091820
RD
6527 { "_wxFocusEvent","_class_wxFocusEvent",0},
6528 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
f6bcfd97 6529 { "_class_wxTimerEvent","_wxTimerEvent",0},
2d091820 6530 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4120ef2b 6531 { "_signed_int","_wxCoord",0},
2d091820
RD
6532 { "_signed_int","_wxPrintQuality",0},
6533 { "_signed_int","_EBool",0},
6534 { "_signed_int","_wxWindowID",0},
6535 { "_signed_int","_int",0},
6536 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6537 { "_class_wxMoveEvent","_wxMoveEvent",0},
f6bcfd97 6538 { "_wxScreenDC","_class_wxScreenDC",0},
2d091820
RD
6539 { "_WXTYPE","_short",0},
6540 { "_WXTYPE","_signed_short",0},
6541 { "_WXTYPE","_unsigned_short",0},
f6bcfd97 6542 { "_class_wxBrush","_wxBrush",0},
2d091820
RD
6543 { "_unsigned_short","_WXTYPE",0},
6544 { "_unsigned_short","_short",0},
f6bcfd97 6545 { "_class_wxFont","_wxFont",0},
2d091820 6546 { "_class_wxCloseEvent","_wxCloseEvent",0},
4120ef2b 6547 { "_wxBusyInfo","_class_wxBusyInfo",0},
2d091820 6548 { "_class_wxMenuEvent","_wxMenuEvent",0},
167b96c2 6549 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
f6bcfd97 6550 { "_wxClientDC","_class_wxClientDC",0},
2d091820
RD
6551 { "_wxMouseEvent","_class_wxMouseEvent",0},
6552 { "_class_wxPoint","_wxPoint",0},
6553 { "_wxRealPoint","_class_wxRealPoint",0},
6554 { "_signed_short","_WXTYPE",0},
6555 { "_signed_short","_short",0},
f6bcfd97
BP
6556 { "_wxMemoryDC","_class_wxMemoryDC",0},
6557 { "_wxPaintDC","_class_wxPaintDC",0},
6558 { "_class_wxWindowDC","_wxWindowDC",0},
2d091820
RD
6559 { "_class_wxFocusEvent","_wxFocusEvent",0},
6560 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6561 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
f6bcfd97
BP
6562 { "_class_wxCursor","_wxCursor",0},
6563 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2d091820 6564 { "_unsigned_char","_byte",0},
4120ef2b 6565 { "_unsigned_int","_wxCoord",0},
2d091820 6566 { "_unsigned_int","_wxPrintQuality",0},
c368d904 6567 { "_unsigned_int","_time_t",0},
2d091820
RD
6568 { "_unsigned_int","_size_t",0},
6569 { "_unsigned_int","_uint",0},
6570 { "_unsigned_int","_wxWindowID",0},
6571 { "_unsigned_int","_int",0},
f6bcfd97
BP
6572 { "_wxIcon","_class_wxIcon",0},
6573 { "_class_wxPen","_wxPen",0},
2d091820
RD
6574 { "_short","_WXTYPE",0},
6575 { "_short","_unsigned_short",0},
6576 { "_short","_signed_short",0},
6577 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
6578 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
6579 { "_class_wxScrollEvent","_wxScrollEvent",0},
6580 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
f6bcfd97 6581 { "_class_wxImageList","_wxImageList",0},
167b96c2 6582 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
4120ef2b 6583 { "_wxWindowID","_wxCoord",0},
2d091820 6584 { "_wxWindowID","_wxPrintQuality",0},
c368d904 6585 { "_wxWindowID","_time_t",0},
2d091820
RD
6586 { "_wxWindowID","_size_t",0},
6587 { "_wxWindowID","_EBool",0},
6588 { "_wxWindowID","_uint",0},
6589 { "_wxWindowID","_int",0},
6590 { "_wxWindowID","_signed_int",0},
6591 { "_wxWindowID","_unsigned_int",0},
9cce9de1 6592 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4120ef2b 6593 { "_int","_wxCoord",0},
2d091820 6594 { "_int","_wxPrintQuality",0},
c368d904 6595 { "_int","_time_t",0},
2d091820
RD
6596 { "_int","_size_t",0},
6597 { "_int","_EBool",0},
6598 { "_int","_uint",0},
6599 { "_int","_wxWindowID",0},
6600 { "_int","_unsigned_int",0},
6601 { "_int","_signed_int",0},
6602 { "_class_wxMouseEvent","_wxMouseEvent",0},
37f6a977 6603 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2d091820 6604 { "_class_wxSpinEvent","_wxSpinEvent",0},
167b96c2 6605 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
6606 { "_time_t","_wxCoord",0},
6607 { "_time_t","_wxPrintQuality",0},
6608 { "_time_t","_unsigned_int",0},
6609 { "_time_t","_int",0},
6610 { "_time_t","_wxWindowID",0},
6611 { "_time_t","_uint",0},
6612 { "_time_t","_size_t",0},
167b96c2 6613 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2d091820
RD
6614 { "_wxSize","_class_wxSize",0},
6615 { "_wxRegionIterator","_class_wxRegionIterator",0},
f6bcfd97 6616 { "_class_wxPaintDC","_wxPaintDC",0},
2d091820
RD
6617 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6618 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6619 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6620 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
f6bcfd97
BP
6621 { "_class_wxIcon","_wxIcon",0},
6622 { "_class_wxColour","_wxColour",0},
6623 { "_class_wxScreenDC","_wxScreenDC",0},
6624 { "_wxPalette","_class_wxPalette",0},
2d091820 6625 { "_class_wxIdleEvent","_wxIdleEvent",0},
4120ef2b
RD
6626 { "_wxCoord","_int",0},
6627 { "_wxCoord","_signed_int",0},
6628 { "_wxCoord","_unsigned_int",0},
6629 { "_wxCoord","_wxWindowID",0},
6630 { "_wxCoord","_uint",0},
6631 { "_wxCoord","_EBool",0},
6632 { "_wxCoord","_size_t",0},
c368d904 6633 { "_wxCoord","_time_t",0},
4120ef2b 6634 { "_wxCoord","_wxPrintQuality",0},
2d091820
RD
6635 { "_wxEraseEvent","_class_wxEraseEvent",0},
6636 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6637 { "_wxRegion","_class_wxRegion",0},
6638 { "_class_wxShowEvent","_wxShowEvent",0},
6639 { "_wxActivateEvent","_class_wxActivateEvent",0},
4120ef2b 6640 { "_class_wxBusyInfo","_wxBusyInfo",0},
37f6a977
RD
6641 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
6642 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
f6bcfd97
BP
6643 { "_class_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent},
6644 { "_class_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent},
6645 { "_class_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent},
6646 { "_class_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent},
2d091820
RD
6647 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
6648 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
2d091820
RD
6649 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
6650 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
6651 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
6652 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
6653 { "_class_wxCommandEvent","_wxCommandEvent",0},
f6bcfd97 6654 { "_class_wxClientDC","_wxClientDC",0},
2d091820
RD
6655 { "_class_wxSizeEvent","_wxSizeEvent",0},
6656 { "_class_wxSize","_wxSize",0},
f6bcfd97
BP
6657 { "_class_wxBitmap","_wxBitmap",0},
6658 { "_class_wxMemoryDC","_wxMemoryDC",0},
2d091820
RD
6659 { "_wxKeyEvent","_class_wxKeyEvent",0},
6660 { "_wxMoveEvent","_class_wxMoveEvent",0},
f6bcfd97 6661 { "_class_wxPalette","_wxPalette",0},
2d091820 6662 { "_class_wxEraseEvent","_wxEraseEvent",0},
167b96c2 6663 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2d091820
RD
6664{0,0,0}};
6665
70551f47
RD
6666static PyObject *SWIG_globals;
6667#ifdef __cplusplus
6668extern "C"
6669#endif
2d091820 6670SWIGEXPORT(void) initeventsc() {
70551f47
RD
6671 PyObject *m, *d;
6672 SWIG_globals = SWIG_newvarlink();
6673 m = Py_InitModule("eventsc", eventscMethods);
6674 d = PyModule_GetDict(m);
2d091820
RD
6675{
6676 int i;
6677 for (i = 0; _swig_mapping[i].n1; i++)
6678 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6679}
70551f47 6680}