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