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