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