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