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