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