]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/events.cpp
wxPython updates for wxGTK
[wxWidgets.git] / utils / wxPython / src / gtk / events.cpp
1 /*
2 * FILE : gtk/events.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initeventsc
53
54 #define SWIG_name "eventsc"
55
56 #include "helpers.h"
57 #include <wx/spinbutt.h>
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 PyObject* o3;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106 static char* wxStringErrorMsg = "string type is required for parameter";
107 #ifdef __cplusplus
108 extern "C" {
109 #endif
110 #define new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
111 static PyObject *_wrap_new_wxEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
112 PyObject * _resultobj;
113 wxEvent * _result;
114 int _arg0 = (int ) 0;
115 char *_kwnames[] = { "id", NULL };
116 char _ptemp[128];
117
118 self = self;
119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxEvent",_kwnames,&_arg0))
120 return NULL;
121 {
122 wxPy_BEGIN_ALLOW_THREADS;
123 _result = (wxEvent *)new_wxEvent(_arg0);
124
125 wxPy_END_ALLOW_THREADS;
126 } if (_result) {
127 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p");
128 _resultobj = Py_BuildValue("s",_ptemp);
129 } else {
130 Py_INCREF(Py_None);
131 _resultobj = Py_None;
132 }
133 return _resultobj;
134 }
135
136 #define delete_wxEvent(_swigobj) (delete _swigobj)
137 static PyObject *_wrap_delete_wxEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
138 PyObject * _resultobj;
139 wxEvent * _arg0;
140 PyObject * _argo0 = 0;
141 char *_kwnames[] = { "self", NULL };
142
143 self = self;
144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxEvent",_kwnames,&_argo0))
145 return NULL;
146 if (_argo0) {
147 if (_argo0 == Py_None) { _arg0 = NULL; }
148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
150 return NULL;
151 }
152 }
153 {
154 wxPy_BEGIN_ALLOW_THREADS;
155 delete_wxEvent(_arg0);
156
157 wxPy_END_ALLOW_THREADS;
158 } Py_INCREF(Py_None);
159 _resultobj = Py_None;
160 return _resultobj;
161 }
162
163 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
164 static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
165 PyObject * _resultobj;
166 wxObject * _result;
167 wxEvent * _arg0;
168 PyObject * _argo0 = 0;
169 char *_kwnames[] = { "self", NULL };
170 char _ptemp[128];
171
172 self = self;
173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventObject",_kwnames,&_argo0))
174 return NULL;
175 if (_argo0) {
176 if (_argo0 == Py_None) { _arg0 = NULL; }
177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
179 return NULL;
180 }
181 }
182 {
183 wxPy_BEGIN_ALLOW_THREADS;
184 _result = (wxObject *)wxEvent_GetEventObject(_arg0);
185
186 wxPy_END_ALLOW_THREADS;
187 } if (_result) {
188 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
189 _resultobj = Py_BuildValue("s",_ptemp);
190 } else {
191 Py_INCREF(Py_None);
192 _resultobj = Py_None;
193 }
194 return _resultobj;
195 }
196
197 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
198 static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
199 PyObject * _resultobj;
200 wxEventType _result;
201 wxEvent * _arg0;
202 PyObject * _argo0 = 0;
203 char *_kwnames[] = { "self", NULL };
204
205 self = self;
206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventType",_kwnames,&_argo0))
207 return NULL;
208 if (_argo0) {
209 if (_argo0 == Py_None) { _arg0 = NULL; }
210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
212 return NULL;
213 }
214 }
215 {
216 wxPy_BEGIN_ALLOW_THREADS;
217 _result = (wxEventType )wxEvent_GetEventType(_arg0);
218
219 wxPy_END_ALLOW_THREADS;
220 } _resultobj = Py_BuildValue("i",_result);
221 return _resultobj;
222 }
223
224 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
225 static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
226 PyObject * _resultobj;
227 int _result;
228 wxEvent * _arg0;
229 PyObject * _argo0 = 0;
230 char *_kwnames[] = { "self", NULL };
231
232 self = self;
233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetId",_kwnames,&_argo0))
234 return NULL;
235 if (_argo0) {
236 if (_argo0 == Py_None) { _arg0 = NULL; }
237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
239 return NULL;
240 }
241 }
242 {
243 wxPy_BEGIN_ALLOW_THREADS;
244 _result = (int )wxEvent_GetId(_arg0);
245
246 wxPy_END_ALLOW_THREADS;
247 } _resultobj = Py_BuildValue("i",_result);
248 return _resultobj;
249 }
250
251 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
252 static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
253 PyObject * _resultobj;
254 bool _result;
255 wxEvent * _arg0;
256 PyObject * _argo0 = 0;
257 char *_kwnames[] = { "self", NULL };
258
259 self = self;
260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetSkipped",_kwnames,&_argo0))
261 return NULL;
262 if (_argo0) {
263 if (_argo0 == Py_None) { _arg0 = NULL; }
264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
266 return NULL;
267 }
268 }
269 {
270 wxPy_BEGIN_ALLOW_THREADS;
271 _result = (bool )wxEvent_GetSkipped(_arg0);
272
273 wxPy_END_ALLOW_THREADS;
274 } _resultobj = Py_BuildValue("i",_result);
275 return _resultobj;
276 }
277
278 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
279 static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
280 PyObject * _resultobj;
281 long _result;
282 wxEvent * _arg0;
283 PyObject * _argo0 = 0;
284 char *_kwnames[] = { "self", NULL };
285
286 self = self;
287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetTimestamp",_kwnames,&_argo0))
288 return NULL;
289 if (_argo0) {
290 if (_argo0 == Py_None) { _arg0 = NULL; }
291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
293 return NULL;
294 }
295 }
296 {
297 wxPy_BEGIN_ALLOW_THREADS;
298 _result = (long )wxEvent_GetTimestamp(_arg0);
299
300 wxPy_END_ALLOW_THREADS;
301 } _resultobj = Py_BuildValue("l",_result);
302 return _resultobj;
303 }
304
305 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
306 static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
307 PyObject * _resultobj;
308 wxEvent * _arg0;
309 wxObject * _arg1;
310 PyObject * _argo0 = 0;
311 PyObject * _argo1 = 0;
312 char *_kwnames[] = { "self","object", NULL };
313
314 self = self;
315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvent_SetEventObject",_kwnames,&_argo0,&_argo1))
316 return NULL;
317 if (_argo0) {
318 if (_argo0 == Py_None) { _arg0 = NULL; }
319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
321 return NULL;
322 }
323 }
324 if (_argo1) {
325 if (_argo1 == Py_None) { _arg1 = NULL; }
326 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
327 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
328 return NULL;
329 }
330 }
331 {
332 wxPy_BEGIN_ALLOW_THREADS;
333 wxEvent_SetEventObject(_arg0,_arg1);
334
335 wxPy_END_ALLOW_THREADS;
336 } Py_INCREF(Py_None);
337 _resultobj = Py_None;
338 return _resultobj;
339 }
340
341 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
342 static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
343 PyObject * _resultobj;
344 wxEvent * _arg0;
345 wxEventType _arg1;
346 PyObject * _argo0 = 0;
347 char *_kwnames[] = { "self","typ", NULL };
348
349 self = self;
350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetEventType",_kwnames,&_argo0,&_arg1))
351 return NULL;
352 if (_argo0) {
353 if (_argo0 == Py_None) { _arg0 = NULL; }
354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
356 return NULL;
357 }
358 }
359 {
360 wxPy_BEGIN_ALLOW_THREADS;
361 wxEvent_SetEventType(_arg0,_arg1);
362
363 wxPy_END_ALLOW_THREADS;
364 } Py_INCREF(Py_None);
365 _resultobj = Py_None;
366 return _resultobj;
367 }
368
369 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
370 static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
371 PyObject * _resultobj;
372 wxEvent * _arg0;
373 int _arg1;
374 PyObject * _argo0 = 0;
375 char *_kwnames[] = { "self","id", NULL };
376
377 self = self;
378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetId",_kwnames,&_argo0,&_arg1))
379 return NULL;
380 if (_argo0) {
381 if (_argo0 == Py_None) { _arg0 = NULL; }
382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
384 return NULL;
385 }
386 }
387 {
388 wxPy_BEGIN_ALLOW_THREADS;
389 wxEvent_SetId(_arg0,_arg1);
390
391 wxPy_END_ALLOW_THREADS;
392 } Py_INCREF(Py_None);
393 _resultobj = Py_None;
394 return _resultobj;
395 }
396
397 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
398 static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
399 PyObject * _resultobj;
400 wxEvent * _arg0;
401 long _arg1;
402 PyObject * _argo0 = 0;
403 char *_kwnames[] = { "self","timeStamp", NULL };
404
405 self = self;
406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxEvent_SetTimestamp",_kwnames,&_argo0,&_arg1))
407 return NULL;
408 if (_argo0) {
409 if (_argo0 == Py_None) { _arg0 = NULL; }
410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
412 return NULL;
413 }
414 }
415 {
416 wxPy_BEGIN_ALLOW_THREADS;
417 wxEvent_SetTimestamp(_arg0,_arg1);
418
419 wxPy_END_ALLOW_THREADS;
420 } Py_INCREF(Py_None);
421 _resultobj = Py_None;
422 return _resultobj;
423 }
424
425 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
426 static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
427 PyObject * _resultobj;
428 wxEvent * _arg0;
429 bool _arg1 = (bool ) TRUE;
430 PyObject * _argo0 = 0;
431 int tempbool1 = (int) TRUE;
432 char *_kwnames[] = { "self","skip", NULL };
433
434 self = self;
435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxEvent_Skip",_kwnames,&_argo0,&tempbool1))
436 return NULL;
437 if (_argo0) {
438 if (_argo0 == Py_None) { _arg0 = NULL; }
439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
441 return NULL;
442 }
443 }
444 _arg1 = (bool ) tempbool1;
445 {
446 wxPy_BEGIN_ALLOW_THREADS;
447 wxEvent_Skip(_arg0,_arg1);
448
449 wxPy_END_ALLOW_THREADS;
450 } Py_INCREF(Py_None);
451 _resultobj = Py_None;
452 return _resultobj;
453 }
454
455 static void *SwigwxSizeEventTowxEvent(void *ptr) {
456 wxSizeEvent *src;
457 wxEvent *dest;
458 src = (wxSizeEvent *) ptr;
459 dest = (wxEvent *) src;
460 return (void *) dest;
461 }
462
463 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
464 static PyObject *_wrap_new_wxSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
465 PyObject * _resultobj;
466 wxSizeEvent * _result;
467 wxSize * _arg0;
468 int _arg1 = (int ) 0;
469 wxSize temp;
470 PyObject * _obj0 = 0;
471 char *_kwnames[] = { "sz","id", NULL };
472 char _ptemp[128];
473
474 self = self;
475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxSizeEvent",_kwnames,&_obj0,&_arg1))
476 return NULL;
477 {
478 _arg0 = &temp;
479 if (! wxSize_helper(_obj0, &_arg0))
480 return NULL;
481 }
482 {
483 wxPy_BEGIN_ALLOW_THREADS;
484 _result = (wxSizeEvent *)new_wxSizeEvent(*_arg0,_arg1);
485
486 wxPy_END_ALLOW_THREADS;
487 } if (_result) {
488 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSizeEvent_p");
489 _resultobj = Py_BuildValue("s",_ptemp);
490 } else {
491 Py_INCREF(Py_None);
492 _resultobj = Py_None;
493 }
494 return _resultobj;
495 }
496
497 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
498 static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
499 PyObject * _resultobj;
500 wxSize * _result;
501 wxSizeEvent * _arg0;
502 PyObject * _argo0 = 0;
503 char *_kwnames[] = { "self", NULL };
504 char _ptemp[128];
505
506 self = self;
507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizeEvent_GetSize",_kwnames,&_argo0))
508 return NULL;
509 if (_argo0) {
510 if (_argo0 == Py_None) { _arg0 = NULL; }
511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizeEvent_p")) {
512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
513 return NULL;
514 }
515 }
516 {
517 wxPy_BEGIN_ALLOW_THREADS;
518 _result = new wxSize (wxSizeEvent_GetSize(_arg0));
519
520 wxPy_END_ALLOW_THREADS;
521 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
522 _resultobj = Py_BuildValue("s",_ptemp);
523 return _resultobj;
524 }
525
526 static void *SwigwxCloseEventTowxEvent(void *ptr) {
527 wxCloseEvent *src;
528 wxEvent *dest;
529 src = (wxCloseEvent *) ptr;
530 dest = (wxEvent *) src;
531 return (void *) dest;
532 }
533
534 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
535 static PyObject *_wrap_new_wxCloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
536 PyObject * _resultobj;
537 wxCloseEvent * _result;
538 int _arg0 = (int ) 0;
539 int _arg1 = (int ) 0;
540 char *_kwnames[] = { "commandEventType","id", NULL };
541 char _ptemp[128];
542
543 self = self;
544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxCloseEvent",_kwnames,&_arg0,&_arg1))
545 return NULL;
546 {
547 wxPy_BEGIN_ALLOW_THREADS;
548 _result = (wxCloseEvent *)new_wxCloseEvent(_arg0,_arg1);
549
550 wxPy_END_ALLOW_THREADS;
551 } if (_result) {
552 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCloseEvent_p");
553 _resultobj = Py_BuildValue("s",_ptemp);
554 } else {
555 Py_INCREF(Py_None);
556 _resultobj = Py_None;
557 }
558 return _resultobj;
559 }
560
561 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
562 static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
563 PyObject * _resultobj;
564 wxCloseEvent * _arg0;
565 bool _arg1;
566 PyObject * _argo0 = 0;
567 int tempbool1;
568 char *_kwnames[] = { "self","loggingOff", NULL };
569
570 self = self;
571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetLoggingOff",_kwnames,&_argo0,&tempbool1))
572 return NULL;
573 if (_argo0) {
574 if (_argo0 == Py_None) { _arg0 = NULL; }
575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
577 return NULL;
578 }
579 }
580 _arg1 = (bool ) tempbool1;
581 {
582 wxPy_BEGIN_ALLOW_THREADS;
583 wxCloseEvent_SetLoggingOff(_arg0,_arg1);
584
585 wxPy_END_ALLOW_THREADS;
586 } Py_INCREF(Py_None);
587 _resultobj = Py_None;
588 return _resultobj;
589 }
590
591 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
592 static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
593 PyObject * _resultobj;
594 bool _result;
595 wxCloseEvent * _arg0;
596 PyObject * _argo0 = 0;
597 char *_kwnames[] = { "self", NULL };
598
599 self = self;
600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetLoggingOff",_kwnames,&_argo0))
601 return NULL;
602 if (_argo0) {
603 if (_argo0 == Py_None) { _arg0 = NULL; }
604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
606 return NULL;
607 }
608 }
609 {
610 wxPy_BEGIN_ALLOW_THREADS;
611 _result = (bool )wxCloseEvent_GetLoggingOff(_arg0);
612
613 wxPy_END_ALLOW_THREADS;
614 } _resultobj = Py_BuildValue("i",_result);
615 return _resultobj;
616 }
617
618 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
619 static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
620 PyObject * _resultobj;
621 wxCloseEvent * _arg0;
622 bool _arg1 = (bool ) TRUE;
623 PyObject * _argo0 = 0;
624 int tempbool1 = (int) TRUE;
625 char *_kwnames[] = { "self","veto", NULL };
626
627 self = self;
628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCloseEvent_Veto",_kwnames,&_argo0,&tempbool1))
629 return NULL;
630 if (_argo0) {
631 if (_argo0 == Py_None) { _arg0 = NULL; }
632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
634 return NULL;
635 }
636 }
637 _arg1 = (bool ) tempbool1;
638 {
639 wxPy_BEGIN_ALLOW_THREADS;
640 wxCloseEvent_Veto(_arg0,_arg1);
641
642 wxPy_END_ALLOW_THREADS;
643 } Py_INCREF(Py_None);
644 _resultobj = Py_None;
645 return _resultobj;
646 }
647
648 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
649 static PyObject *_wrap_wxCloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
650 PyObject * _resultobj;
651 bool _result;
652 wxCloseEvent * _arg0;
653 PyObject * _argo0 = 0;
654 char *_kwnames[] = { "self", NULL };
655
656 self = self;
657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_CanVeto",_kwnames,&_argo0))
658 return NULL;
659 if (_argo0) {
660 if (_argo0 == Py_None) { _arg0 = NULL; }
661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
663 return NULL;
664 }
665 }
666 {
667 wxPy_BEGIN_ALLOW_THREADS;
668 _result = (bool )wxCloseEvent_CanVeto(_arg0);
669
670 wxPy_END_ALLOW_THREADS;
671 } _resultobj = Py_BuildValue("i",_result);
672 return _resultobj;
673 }
674
675 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
676 static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
677 PyObject * _resultobj;
678 bool _result;
679 wxCloseEvent * _arg0;
680 PyObject * _argo0 = 0;
681 char *_kwnames[] = { "self", NULL };
682
683 self = self;
684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetVeto",_kwnames,&_argo0))
685 return NULL;
686 if (_argo0) {
687 if (_argo0 == Py_None) { _arg0 = NULL; }
688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
690 return NULL;
691 }
692 }
693 {
694 wxPy_BEGIN_ALLOW_THREADS;
695 _result = (bool )wxCloseEvent_GetVeto(_arg0);
696
697 wxPy_END_ALLOW_THREADS;
698 } _resultobj = Py_BuildValue("i",_result);
699 return _resultobj;
700 }
701
702 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
703 static PyObject *_wrap_wxCloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
704 PyObject * _resultobj;
705 wxCloseEvent * _arg0;
706 bool _arg1;
707 PyObject * _argo0 = 0;
708 int tempbool1;
709 char *_kwnames[] = { "self","canVeto", NULL };
710
711 self = self;
712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetCanVeto",_kwnames,&_argo0,&tempbool1))
713 return NULL;
714 if (_argo0) {
715 if (_argo0 == Py_None) { _arg0 = NULL; }
716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
718 return NULL;
719 }
720 }
721 _arg1 = (bool ) tempbool1;
722 {
723 wxPy_BEGIN_ALLOW_THREADS;
724 wxCloseEvent_SetCanVeto(_arg0,_arg1);
725
726 wxPy_END_ALLOW_THREADS;
727 } Py_INCREF(Py_None);
728 _resultobj = Py_None;
729 return _resultobj;
730 }
731
732 static void *SwigwxCommandEventTowxEvent(void *ptr) {
733 wxCommandEvent *src;
734 wxEvent *dest;
735 src = (wxCommandEvent *) ptr;
736 dest = (wxEvent *) src;
737 return (void *) dest;
738 }
739
740 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
741 static PyObject *_wrap_new_wxCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
742 PyObject * _resultobj;
743 wxCommandEvent * _result;
744 int _arg0 = (int ) 0;
745 int _arg1 = (int ) 0;
746 char *_kwnames[] = { "commandEventType","id", NULL };
747 char _ptemp[128];
748
749 self = self;
750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxCommandEvent",_kwnames,&_arg0,&_arg1))
751 return NULL;
752 {
753 wxPy_BEGIN_ALLOW_THREADS;
754 _result = (wxCommandEvent *)new_wxCommandEvent(_arg0,_arg1);
755
756 wxPy_END_ALLOW_THREADS;
757 } if (_result) {
758 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCommandEvent_p");
759 _resultobj = Py_BuildValue("s",_ptemp);
760 } else {
761 Py_INCREF(Py_None);
762 _resultobj = Py_None;
763 }
764 return _resultobj;
765 }
766
767 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
768 static PyObject *_wrap_wxCommandEvent_Checked(PyObject *self, PyObject *args, PyObject *kwargs) {
769 PyObject * _resultobj;
770 bool _result;
771 wxCommandEvent * _arg0;
772 PyObject * _argo0 = 0;
773 char *_kwnames[] = { "self", NULL };
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_Checked",_kwnames,&_argo0))
777 return NULL;
778 if (_argo0) {
779 if (_argo0 == Py_None) { _arg0 = NULL; }
780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
782 return NULL;
783 }
784 }
785 {
786 wxPy_BEGIN_ALLOW_THREADS;
787 _result = (bool )wxCommandEvent_Checked(_arg0);
788
789 wxPy_END_ALLOW_THREADS;
790 } _resultobj = Py_BuildValue("i",_result);
791 return _resultobj;
792 }
793
794 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
795 static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
796 PyObject * _resultobj;
797 long _result;
798 wxCommandEvent * _arg0;
799 PyObject * _argo0 = 0;
800 char *_kwnames[] = { "self", NULL };
801
802 self = self;
803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetExtraLong",_kwnames,&_argo0))
804 return NULL;
805 if (_argo0) {
806 if (_argo0 == Py_None) { _arg0 = NULL; }
807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
809 return NULL;
810 }
811 }
812 {
813 wxPy_BEGIN_ALLOW_THREADS;
814 _result = (long )wxCommandEvent_GetExtraLong(_arg0);
815
816 wxPy_END_ALLOW_THREADS;
817 } _resultobj = Py_BuildValue("l",_result);
818 return _resultobj;
819 }
820
821 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
822 static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
823 PyObject * _resultobj;
824 int _result;
825 wxCommandEvent * _arg0;
826 PyObject * _argo0 = 0;
827 char *_kwnames[] = { "self", NULL };
828
829 self = self;
830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetInt",_kwnames,&_argo0))
831 return NULL;
832 if (_argo0) {
833 if (_argo0 == Py_None) { _arg0 = NULL; }
834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
836 return NULL;
837 }
838 }
839 {
840 wxPy_BEGIN_ALLOW_THREADS;
841 _result = (int )wxCommandEvent_GetInt(_arg0);
842
843 wxPy_END_ALLOW_THREADS;
844 } _resultobj = Py_BuildValue("i",_result);
845 return _resultobj;
846 }
847
848 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
849 static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
850 PyObject * _resultobj;
851 int _result;
852 wxCommandEvent * _arg0;
853 PyObject * _argo0 = 0;
854 char *_kwnames[] = { "self", NULL };
855
856 self = self;
857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetSelection",_kwnames,&_argo0))
858 return NULL;
859 if (_argo0) {
860 if (_argo0 == Py_None) { _arg0 = NULL; }
861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
863 return NULL;
864 }
865 }
866 {
867 wxPy_BEGIN_ALLOW_THREADS;
868 _result = (int )wxCommandEvent_GetSelection(_arg0);
869
870 wxPy_END_ALLOW_THREADS;
871 } _resultobj = Py_BuildValue("i",_result);
872 return _resultobj;
873 }
874
875 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
876 static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
877 PyObject * _resultobj;
878 wxString * _result;
879 wxCommandEvent * _arg0;
880 PyObject * _argo0 = 0;
881 char *_kwnames[] = { "self", NULL };
882
883 self = self;
884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetString",_kwnames,&_argo0))
885 return NULL;
886 if (_argo0) {
887 if (_argo0 == Py_None) { _arg0 = NULL; }
888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
890 return NULL;
891 }
892 }
893 {
894 wxPy_BEGIN_ALLOW_THREADS;
895 _result = new wxString (wxCommandEvent_GetString(_arg0));
896
897 wxPy_END_ALLOW_THREADS;
898 }{
899 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
900 }
901 {
902 delete _result;
903 }
904 return _resultobj;
905 }
906
907 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
908 static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
909 PyObject * _resultobj;
910 bool _result;
911 wxCommandEvent * _arg0;
912 PyObject * _argo0 = 0;
913 char *_kwnames[] = { "self", NULL };
914
915 self = self;
916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_IsSelection",_kwnames,&_argo0))
917 return NULL;
918 if (_argo0) {
919 if (_argo0 == Py_None) { _arg0 = NULL; }
920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
922 return NULL;
923 }
924 }
925 {
926 wxPy_BEGIN_ALLOW_THREADS;
927 _result = (bool )wxCommandEvent_IsSelection(_arg0);
928
929 wxPy_END_ALLOW_THREADS;
930 } _resultobj = Py_BuildValue("i",_result);
931 return _resultobj;
932 }
933
934 static void *SwigwxScrollEventTowxCommandEvent(void *ptr) {
935 wxScrollEvent *src;
936 wxCommandEvent *dest;
937 src = (wxScrollEvent *) ptr;
938 dest = (wxCommandEvent *) src;
939 return (void *) dest;
940 }
941
942 static void *SwigwxScrollEventTowxEvent(void *ptr) {
943 wxScrollEvent *src;
944 wxEvent *dest;
945 src = (wxScrollEvent *) ptr;
946 dest = (wxEvent *) src;
947 return (void *) dest;
948 }
949
950 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
951 static PyObject *_wrap_new_wxScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
952 PyObject * _resultobj;
953 wxScrollEvent * _result;
954 int _arg0 = (int ) 0;
955 int _arg1 = (int ) 0;
956 int _arg2 = (int ) 0;
957 int _arg3 = (int ) 0;
958 char *_kwnames[] = { "commandType","id","pos","orientation", NULL };
959 char _ptemp[128];
960
961 self = self;
962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxScrollEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
963 return NULL;
964 {
965 wxPy_BEGIN_ALLOW_THREADS;
966 _result = (wxScrollEvent *)new_wxScrollEvent(_arg0,_arg1,_arg2,_arg3);
967
968 wxPy_END_ALLOW_THREADS;
969 } if (_result) {
970 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollEvent_p");
971 _resultobj = Py_BuildValue("s",_ptemp);
972 } else {
973 Py_INCREF(Py_None);
974 _resultobj = Py_None;
975 }
976 return _resultobj;
977 }
978
979 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
980 static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
981 PyObject * _resultobj;
982 int _result;
983 wxScrollEvent * _arg0;
984 PyObject * _argo0 = 0;
985 char *_kwnames[] = { "self", NULL };
986
987 self = self;
988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetOrientation",_kwnames,&_argo0))
989 return NULL;
990 if (_argo0) {
991 if (_argo0 == Py_None) { _arg0 = NULL; }
992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
994 return NULL;
995 }
996 }
997 {
998 wxPy_BEGIN_ALLOW_THREADS;
999 _result = (int )wxScrollEvent_GetOrientation(_arg0);
1000
1001 wxPy_END_ALLOW_THREADS;
1002 } _resultobj = Py_BuildValue("i",_result);
1003 return _resultobj;
1004 }
1005
1006 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1007 static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1008 PyObject * _resultobj;
1009 int _result;
1010 wxScrollEvent * _arg0;
1011 PyObject * _argo0 = 0;
1012 char *_kwnames[] = { "self", NULL };
1013
1014 self = self;
1015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetPosition",_kwnames,&_argo0))
1016 return NULL;
1017 if (_argo0) {
1018 if (_argo0 == Py_None) { _arg0 = NULL; }
1019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
1020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1021 return NULL;
1022 }
1023 }
1024 {
1025 wxPy_BEGIN_ALLOW_THREADS;
1026 _result = (int )wxScrollEvent_GetPosition(_arg0);
1027
1028 wxPy_END_ALLOW_THREADS;
1029 } _resultobj = Py_BuildValue("i",_result);
1030 return _resultobj;
1031 }
1032
1033 static void *SwigwxScrollWinEventTowxEvent(void *ptr) {
1034 wxScrollWinEvent *src;
1035 wxEvent *dest;
1036 src = (wxScrollWinEvent *) ptr;
1037 dest = (wxEvent *) src;
1038 return (void *) dest;
1039 }
1040
1041 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1042 static PyObject *_wrap_new_wxScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject * _resultobj;
1044 wxScrollWinEvent * _result;
1045 int _arg0 = (int ) 0;
1046 int _arg1 = (int ) 0;
1047 int _arg2 = (int ) 0;
1048 char *_kwnames[] = { "commandType","pos","orientation", NULL };
1049 char _ptemp[128];
1050
1051 self = self;
1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxScrollWinEvent",_kwnames,&_arg0,&_arg1,&_arg2))
1053 return NULL;
1054 {
1055 wxPy_BEGIN_ALLOW_THREADS;
1056 _result = (wxScrollWinEvent *)new_wxScrollWinEvent(_arg0,_arg1,_arg2);
1057
1058 wxPy_END_ALLOW_THREADS;
1059 } if (_result) {
1060 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollWinEvent_p");
1061 _resultobj = Py_BuildValue("s",_ptemp);
1062 } else {
1063 Py_INCREF(Py_None);
1064 _resultobj = Py_None;
1065 }
1066 return _resultobj;
1067 }
1068
1069 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1070 static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1071 PyObject * _resultobj;
1072 int _result;
1073 wxScrollWinEvent * _arg0;
1074 PyObject * _argo0 = 0;
1075 char *_kwnames[] = { "self", NULL };
1076
1077 self = self;
1078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetOrientation",_kwnames,&_argo0))
1079 return NULL;
1080 if (_argo0) {
1081 if (_argo0 == Py_None) { _arg0 = NULL; }
1082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
1083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1084 return NULL;
1085 }
1086 }
1087 {
1088 wxPy_BEGIN_ALLOW_THREADS;
1089 _result = (int )wxScrollWinEvent_GetOrientation(_arg0);
1090
1091 wxPy_END_ALLOW_THREADS;
1092 } _resultobj = Py_BuildValue("i",_result);
1093 return _resultobj;
1094 }
1095
1096 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1097 static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1098 PyObject * _resultobj;
1099 int _result;
1100 wxScrollWinEvent * _arg0;
1101 PyObject * _argo0 = 0;
1102 char *_kwnames[] = { "self", NULL };
1103
1104 self = self;
1105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetPosition",_kwnames,&_argo0))
1106 return NULL;
1107 if (_argo0) {
1108 if (_argo0 == Py_None) { _arg0 = NULL; }
1109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
1110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1111 return NULL;
1112 }
1113 }
1114 {
1115 wxPy_BEGIN_ALLOW_THREADS;
1116 _result = (int )wxScrollWinEvent_GetPosition(_arg0);
1117
1118 wxPy_END_ALLOW_THREADS;
1119 } _resultobj = Py_BuildValue("i",_result);
1120 return _resultobj;
1121 }
1122
1123 static void *SwigwxSpinEventTowxScrollEvent(void *ptr) {
1124 wxSpinEvent *src;
1125 wxScrollEvent *dest;
1126 src = (wxSpinEvent *) ptr;
1127 dest = (wxScrollEvent *) src;
1128 return (void *) dest;
1129 }
1130
1131 static void *SwigwxSpinEventTowxCommandEvent(void *ptr) {
1132 wxSpinEvent *src;
1133 wxCommandEvent *dest;
1134 src = (wxSpinEvent *) ptr;
1135 dest = (wxCommandEvent *) src;
1136 return (void *) dest;
1137 }
1138
1139 static void *SwigwxSpinEventTowxEvent(void *ptr) {
1140 wxSpinEvent *src;
1141 wxEvent *dest;
1142 src = (wxSpinEvent *) ptr;
1143 dest = (wxEvent *) src;
1144 return (void *) dest;
1145 }
1146
1147 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1148 static PyObject *_wrap_new_wxSpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1149 PyObject * _resultobj;
1150 wxSpinEvent * _result;
1151 int _arg0 = (int ) 0;
1152 int _arg1 = (int ) 0;
1153 char *_kwnames[] = { "commandType","id", NULL };
1154 char _ptemp[128];
1155
1156 self = self;
1157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxSpinEvent",_kwnames,&_arg0,&_arg1))
1158 return NULL;
1159 {
1160 wxPy_BEGIN_ALLOW_THREADS;
1161 _result = (wxSpinEvent *)new_wxSpinEvent(_arg0,_arg1);
1162
1163 wxPy_END_ALLOW_THREADS;
1164 } if (_result) {
1165 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinEvent_p");
1166 _resultobj = Py_BuildValue("s",_ptemp);
1167 } else {
1168 Py_INCREF(Py_None);
1169 _resultobj = Py_None;
1170 }
1171 return _resultobj;
1172 }
1173
1174 static void *SwigwxMouseEventTowxEvent(void *ptr) {
1175 wxMouseEvent *src;
1176 wxEvent *dest;
1177 src = (wxMouseEvent *) ptr;
1178 dest = (wxEvent *) src;
1179 return (void *) dest;
1180 }
1181
1182 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1183 static PyObject *_wrap_new_wxMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1184 PyObject * _resultobj;
1185 wxMouseEvent * _result;
1186 int _arg0 = (int ) 0;
1187 char *_kwnames[] = { "mouseEventType", NULL };
1188 char _ptemp[128];
1189
1190 self = self;
1191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxMouseEvent",_kwnames,&_arg0))
1192 return NULL;
1193 {
1194 wxPy_BEGIN_ALLOW_THREADS;
1195 _result = (wxMouseEvent *)new_wxMouseEvent(_arg0);
1196
1197 wxPy_END_ALLOW_THREADS;
1198 } if (_result) {
1199 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMouseEvent_p");
1200 _resultobj = Py_BuildValue("s",_ptemp);
1201 } else {
1202 Py_INCREF(Py_None);
1203 _resultobj = Py_None;
1204 }
1205 return _resultobj;
1206 }
1207
1208 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1209 static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1210 PyObject * _resultobj;
1211 bool _result;
1212 wxMouseEvent * _arg0;
1213 PyObject * _argo0 = 0;
1214 char *_kwnames[] = { "self", NULL };
1215
1216 self = self;
1217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_IsButton",_kwnames,&_argo0))
1218 return NULL;
1219 if (_argo0) {
1220 if (_argo0 == Py_None) { _arg0 = NULL; }
1221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1223 return NULL;
1224 }
1225 }
1226 {
1227 wxPy_BEGIN_ALLOW_THREADS;
1228 _result = (bool )wxMouseEvent_IsButton(_arg0);
1229
1230 wxPy_END_ALLOW_THREADS;
1231 } _resultobj = Py_BuildValue("i",_result);
1232 return _resultobj;
1233 }
1234
1235 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1236 static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 bool _result;
1239 wxMouseEvent * _arg0;
1240 int _arg1 = (int ) -1;
1241 PyObject * _argo0 = 0;
1242 char *_kwnames[] = { "self","but", NULL };
1243
1244 self = self;
1245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
1246 return NULL;
1247 if (_argo0) {
1248 if (_argo0 == Py_None) { _arg0 = NULL; }
1249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1251 return NULL;
1252 }
1253 }
1254 {
1255 wxPy_BEGIN_ALLOW_THREADS;
1256 _result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1);
1257
1258 wxPy_END_ALLOW_THREADS;
1259 } _resultobj = Py_BuildValue("i",_result);
1260 return _resultobj;
1261 }
1262
1263 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1264 static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1265 PyObject * _resultobj;
1266 bool _result;
1267 wxMouseEvent * _arg0;
1268 int _arg1 = (int ) -1;
1269 PyObject * _argo0 = 0;
1270 char *_kwnames[] = { "self","but", NULL };
1271
1272 self = self;
1273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDClick",_kwnames,&_argo0,&_arg1))
1274 return NULL;
1275 if (_argo0) {
1276 if (_argo0 == Py_None) { _arg0 = NULL; }
1277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1279 return NULL;
1280 }
1281 }
1282 {
1283 wxPy_BEGIN_ALLOW_THREADS;
1284 _result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1);
1285
1286 wxPy_END_ALLOW_THREADS;
1287 } _resultobj = Py_BuildValue("i",_result);
1288 return _resultobj;
1289 }
1290
1291 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1292 static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1293 PyObject * _resultobj;
1294 bool _result;
1295 wxMouseEvent * _arg0;
1296 int _arg1 = (int ) -1;
1297 PyObject * _argo0 = 0;
1298 char *_kwnames[] = { "self","but", NULL };
1299
1300 self = self;
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
1302 return NULL;
1303 if (_argo0) {
1304 if (_argo0 == Py_None) { _arg0 = NULL; }
1305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1307 return NULL;
1308 }
1309 }
1310 {
1311 wxPy_BEGIN_ALLOW_THREADS;
1312 _result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1);
1313
1314 wxPy_END_ALLOW_THREADS;
1315 } _resultobj = Py_BuildValue("i",_result);
1316 return _resultobj;
1317 }
1318
1319 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1320 static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject * _resultobj;
1322 bool _result;
1323 wxMouseEvent * _arg0;
1324 int _arg1;
1325 PyObject * _argo0 = 0;
1326 char *_kwnames[] = { "self","but", NULL };
1327
1328 self = self;
1329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_Button",_kwnames,&_argo0,&_arg1))
1330 return NULL;
1331 if (_argo0) {
1332 if (_argo0 == Py_None) { _arg0 = NULL; }
1333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1335 return NULL;
1336 }
1337 }
1338 {
1339 wxPy_BEGIN_ALLOW_THREADS;
1340 _result = (bool )wxMouseEvent_Button(_arg0,_arg1);
1341
1342 wxPy_END_ALLOW_THREADS;
1343 } _resultobj = Py_BuildValue("i",_result);
1344 return _resultobj;
1345 }
1346
1347 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1348 static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject * _resultobj;
1350 bool _result;
1351 wxMouseEvent * _arg0;
1352 int _arg1;
1353 PyObject * _argo0 = 0;
1354 char *_kwnames[] = { "self","but", NULL };
1355
1356 self = self;
1357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
1358 return NULL;
1359 if (_argo0) {
1360 if (_argo0 == Py_None) { _arg0 = NULL; }
1361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1363 return NULL;
1364 }
1365 }
1366 {
1367 wxPy_BEGIN_ALLOW_THREADS;
1368 _result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1);
1369
1370 wxPy_END_ALLOW_THREADS;
1371 } _resultobj = Py_BuildValue("i",_result);
1372 return _resultobj;
1373 }
1374
1375 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1376 static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject * _resultobj;
1378 bool _result;
1379 wxMouseEvent * _arg0;
1380 PyObject * _argo0 = 0;
1381 char *_kwnames[] = { "self", NULL };
1382
1383 self = self;
1384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ControlDown",_kwnames,&_argo0))
1385 return NULL;
1386 if (_argo0) {
1387 if (_argo0 == Py_None) { _arg0 = NULL; }
1388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1390 return NULL;
1391 }
1392 }
1393 {
1394 wxPy_BEGIN_ALLOW_THREADS;
1395 _result = (bool )wxMouseEvent_ControlDown(_arg0);
1396
1397 wxPy_END_ALLOW_THREADS;
1398 } _resultobj = Py_BuildValue("i",_result);
1399 return _resultobj;
1400 }
1401
1402 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1403 static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject * _resultobj;
1405 bool _result;
1406 wxMouseEvent * _arg0;
1407 PyObject * _argo0 = 0;
1408 char *_kwnames[] = { "self", NULL };
1409
1410 self = self;
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MetaDown",_kwnames,&_argo0))
1412 return NULL;
1413 if (_argo0) {
1414 if (_argo0 == Py_None) { _arg0 = NULL; }
1415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1417 return NULL;
1418 }
1419 }
1420 {
1421 wxPy_BEGIN_ALLOW_THREADS;
1422 _result = (bool )wxMouseEvent_MetaDown(_arg0);
1423
1424 wxPy_END_ALLOW_THREADS;
1425 } _resultobj = Py_BuildValue("i",_result);
1426 return _resultobj;
1427 }
1428
1429 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1430 static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject * _resultobj;
1432 bool _result;
1433 wxMouseEvent * _arg0;
1434 PyObject * _argo0 = 0;
1435 char *_kwnames[] = { "self", NULL };
1436
1437 self = self;
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_AltDown",_kwnames,&_argo0))
1439 return NULL;
1440 if (_argo0) {
1441 if (_argo0 == Py_None) { _arg0 = NULL; }
1442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1444 return NULL;
1445 }
1446 }
1447 {
1448 wxPy_BEGIN_ALLOW_THREADS;
1449 _result = (bool )wxMouseEvent_AltDown(_arg0);
1450
1451 wxPy_END_ALLOW_THREADS;
1452 } _resultobj = Py_BuildValue("i",_result);
1453 return _resultobj;
1454 }
1455
1456 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1457 static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject * _resultobj;
1459 bool _result;
1460 wxMouseEvent * _arg0;
1461 PyObject * _argo0 = 0;
1462 char *_kwnames[] = { "self", NULL };
1463
1464 self = self;
1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ShiftDown",_kwnames,&_argo0))
1466 return NULL;
1467 if (_argo0) {
1468 if (_argo0 == Py_None) { _arg0 = NULL; }
1469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1471 return NULL;
1472 }
1473 }
1474 {
1475 wxPy_BEGIN_ALLOW_THREADS;
1476 _result = (bool )wxMouseEvent_ShiftDown(_arg0);
1477
1478 wxPy_END_ALLOW_THREADS;
1479 } _resultobj = Py_BuildValue("i",_result);
1480 return _resultobj;
1481 }
1482
1483 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1484 static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1485 PyObject * _resultobj;
1486 bool _result;
1487 wxMouseEvent * _arg0;
1488 PyObject * _argo0 = 0;
1489 char *_kwnames[] = { "self", NULL };
1490
1491 self = self;
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDown",_kwnames,&_argo0))
1493 return NULL;
1494 if (_argo0) {
1495 if (_argo0 == Py_None) { _arg0 = NULL; }
1496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1498 return NULL;
1499 }
1500 }
1501 {
1502 wxPy_BEGIN_ALLOW_THREADS;
1503 _result = (bool )wxMouseEvent_LeftDown(_arg0);
1504
1505 wxPy_END_ALLOW_THREADS;
1506 } _resultobj = Py_BuildValue("i",_result);
1507 return _resultobj;
1508 }
1509
1510 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1511 static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1512 PyObject * _resultobj;
1513 bool _result;
1514 wxMouseEvent * _arg0;
1515 PyObject * _argo0 = 0;
1516 char *_kwnames[] = { "self", NULL };
1517
1518 self = self;
1519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDown",_kwnames,&_argo0))
1520 return NULL;
1521 if (_argo0) {
1522 if (_argo0 == Py_None) { _arg0 = NULL; }
1523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1525 return NULL;
1526 }
1527 }
1528 {
1529 wxPy_BEGIN_ALLOW_THREADS;
1530 _result = (bool )wxMouseEvent_MiddleDown(_arg0);
1531
1532 wxPy_END_ALLOW_THREADS;
1533 } _resultobj = Py_BuildValue("i",_result);
1534 return _resultobj;
1535 }
1536
1537 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1538 static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject * _resultobj;
1540 bool _result;
1541 wxMouseEvent * _arg0;
1542 PyObject * _argo0 = 0;
1543 char *_kwnames[] = { "self", NULL };
1544
1545 self = self;
1546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDown",_kwnames,&_argo0))
1547 return NULL;
1548 if (_argo0) {
1549 if (_argo0 == Py_None) { _arg0 = NULL; }
1550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1552 return NULL;
1553 }
1554 }
1555 {
1556 wxPy_BEGIN_ALLOW_THREADS;
1557 _result = (bool )wxMouseEvent_RightDown(_arg0);
1558
1559 wxPy_END_ALLOW_THREADS;
1560 } _resultobj = Py_BuildValue("i",_result);
1561 return _resultobj;
1562 }
1563
1564 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1565 static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject * _resultobj;
1567 bool _result;
1568 wxMouseEvent * _arg0;
1569 PyObject * _argo0 = 0;
1570 char *_kwnames[] = { "self", NULL };
1571
1572 self = self;
1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftUp",_kwnames,&_argo0))
1574 return NULL;
1575 if (_argo0) {
1576 if (_argo0 == Py_None) { _arg0 = NULL; }
1577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1579 return NULL;
1580 }
1581 }
1582 {
1583 wxPy_BEGIN_ALLOW_THREADS;
1584 _result = (bool )wxMouseEvent_LeftUp(_arg0);
1585
1586 wxPy_END_ALLOW_THREADS;
1587 } _resultobj = Py_BuildValue("i",_result);
1588 return _resultobj;
1589 }
1590
1591 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1592 static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject * _resultobj;
1594 bool _result;
1595 wxMouseEvent * _arg0;
1596 PyObject * _argo0 = 0;
1597 char *_kwnames[] = { "self", NULL };
1598
1599 self = self;
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleUp",_kwnames,&_argo0))
1601 return NULL;
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1606 return NULL;
1607 }
1608 }
1609 {
1610 wxPy_BEGIN_ALLOW_THREADS;
1611 _result = (bool )wxMouseEvent_MiddleUp(_arg0);
1612
1613 wxPy_END_ALLOW_THREADS;
1614 } _resultobj = Py_BuildValue("i",_result);
1615 return _resultobj;
1616 }
1617
1618 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1619 static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject * _resultobj;
1621 bool _result;
1622 wxMouseEvent * _arg0;
1623 PyObject * _argo0 = 0;
1624 char *_kwnames[] = { "self", NULL };
1625
1626 self = self;
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightUp",_kwnames,&_argo0))
1628 return NULL;
1629 if (_argo0) {
1630 if (_argo0 == Py_None) { _arg0 = NULL; }
1631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1633 return NULL;
1634 }
1635 }
1636 {
1637 wxPy_BEGIN_ALLOW_THREADS;
1638 _result = (bool )wxMouseEvent_RightUp(_arg0);
1639
1640 wxPy_END_ALLOW_THREADS;
1641 } _resultobj = Py_BuildValue("i",_result);
1642 return _resultobj;
1643 }
1644
1645 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1646 static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1647 PyObject * _resultobj;
1648 bool _result;
1649 wxMouseEvent * _arg0;
1650 PyObject * _argo0 = 0;
1651 char *_kwnames[] = { "self", NULL };
1652
1653 self = self;
1654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDClick",_kwnames,&_argo0))
1655 return NULL;
1656 if (_argo0) {
1657 if (_argo0 == Py_None) { _arg0 = NULL; }
1658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1660 return NULL;
1661 }
1662 }
1663 {
1664 wxPy_BEGIN_ALLOW_THREADS;
1665 _result = (bool )wxMouseEvent_LeftDClick(_arg0);
1666
1667 wxPy_END_ALLOW_THREADS;
1668 } _resultobj = Py_BuildValue("i",_result);
1669 return _resultobj;
1670 }
1671
1672 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1673 static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1674 PyObject * _resultobj;
1675 bool _result;
1676 wxMouseEvent * _arg0;
1677 PyObject * _argo0 = 0;
1678 char *_kwnames[] = { "self", NULL };
1679
1680 self = self;
1681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDClick",_kwnames,&_argo0))
1682 return NULL;
1683 if (_argo0) {
1684 if (_argo0 == Py_None) { _arg0 = NULL; }
1685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1687 return NULL;
1688 }
1689 }
1690 {
1691 wxPy_BEGIN_ALLOW_THREADS;
1692 _result = (bool )wxMouseEvent_MiddleDClick(_arg0);
1693
1694 wxPy_END_ALLOW_THREADS;
1695 } _resultobj = Py_BuildValue("i",_result);
1696 return _resultobj;
1697 }
1698
1699 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1700 static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1701 PyObject * _resultobj;
1702 bool _result;
1703 wxMouseEvent * _arg0;
1704 PyObject * _argo0 = 0;
1705 char *_kwnames[] = { "self", NULL };
1706
1707 self = self;
1708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDClick",_kwnames,&_argo0))
1709 return NULL;
1710 if (_argo0) {
1711 if (_argo0 == Py_None) { _arg0 = NULL; }
1712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1714 return NULL;
1715 }
1716 }
1717 {
1718 wxPy_BEGIN_ALLOW_THREADS;
1719 _result = (bool )wxMouseEvent_RightDClick(_arg0);
1720
1721 wxPy_END_ALLOW_THREADS;
1722 } _resultobj = Py_BuildValue("i",_result);
1723 return _resultobj;
1724 }
1725
1726 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1727 static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1728 PyObject * _resultobj;
1729 bool _result;
1730 wxMouseEvent * _arg0;
1731 PyObject * _argo0 = 0;
1732 char *_kwnames[] = { "self", NULL };
1733
1734 self = self;
1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftIsDown",_kwnames,&_argo0))
1736 return NULL;
1737 if (_argo0) {
1738 if (_argo0 == Py_None) { _arg0 = NULL; }
1739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1741 return NULL;
1742 }
1743 }
1744 {
1745 wxPy_BEGIN_ALLOW_THREADS;
1746 _result = (bool )wxMouseEvent_LeftIsDown(_arg0);
1747
1748 wxPy_END_ALLOW_THREADS;
1749 } _resultobj = Py_BuildValue("i",_result);
1750 return _resultobj;
1751 }
1752
1753 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1754 static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject * _resultobj;
1756 bool _result;
1757 wxMouseEvent * _arg0;
1758 PyObject * _argo0 = 0;
1759 char *_kwnames[] = { "self", NULL };
1760
1761 self = self;
1762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleIsDown",_kwnames,&_argo0))
1763 return NULL;
1764 if (_argo0) {
1765 if (_argo0 == Py_None) { _arg0 = NULL; }
1766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1768 return NULL;
1769 }
1770 }
1771 {
1772 wxPy_BEGIN_ALLOW_THREADS;
1773 _result = (bool )wxMouseEvent_MiddleIsDown(_arg0);
1774
1775 wxPy_END_ALLOW_THREADS;
1776 } _resultobj = Py_BuildValue("i",_result);
1777 return _resultobj;
1778 }
1779
1780 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1781 static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1782 PyObject * _resultobj;
1783 bool _result;
1784 wxMouseEvent * _arg0;
1785 PyObject * _argo0 = 0;
1786 char *_kwnames[] = { "self", NULL };
1787
1788 self = self;
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightIsDown",_kwnames,&_argo0))
1790 return NULL;
1791 if (_argo0) {
1792 if (_argo0 == Py_None) { _arg0 = NULL; }
1793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1795 return NULL;
1796 }
1797 }
1798 {
1799 wxPy_BEGIN_ALLOW_THREADS;
1800 _result = (bool )wxMouseEvent_RightIsDown(_arg0);
1801
1802 wxPy_END_ALLOW_THREADS;
1803 } _resultobj = Py_BuildValue("i",_result);
1804 return _resultobj;
1805 }
1806
1807 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1808 static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
1809 PyObject * _resultobj;
1810 bool _result;
1811 wxMouseEvent * _arg0;
1812 PyObject * _argo0 = 0;
1813 char *_kwnames[] = { "self", NULL };
1814
1815 self = self;
1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Dragging",_kwnames,&_argo0))
1817 return NULL;
1818 if (_argo0) {
1819 if (_argo0 == Py_None) { _arg0 = NULL; }
1820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1822 return NULL;
1823 }
1824 }
1825 {
1826 wxPy_BEGIN_ALLOW_THREADS;
1827 _result = (bool )wxMouseEvent_Dragging(_arg0);
1828
1829 wxPy_END_ALLOW_THREADS;
1830 } _resultobj = Py_BuildValue("i",_result);
1831 return _resultobj;
1832 }
1833
1834 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1835 static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
1836 PyObject * _resultobj;
1837 bool _result;
1838 wxMouseEvent * _arg0;
1839 PyObject * _argo0 = 0;
1840 char *_kwnames[] = { "self", NULL };
1841
1842 self = self;
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Moving",_kwnames,&_argo0))
1844 return NULL;
1845 if (_argo0) {
1846 if (_argo0 == Py_None) { _arg0 = NULL; }
1847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1849 return NULL;
1850 }
1851 }
1852 {
1853 wxPy_BEGIN_ALLOW_THREADS;
1854 _result = (bool )wxMouseEvent_Moving(_arg0);
1855
1856 wxPy_END_ALLOW_THREADS;
1857 } _resultobj = Py_BuildValue("i",_result);
1858 return _resultobj;
1859 }
1860
1861 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1862 static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
1863 PyObject * _resultobj;
1864 bool _result;
1865 wxMouseEvent * _arg0;
1866 PyObject * _argo0 = 0;
1867 char *_kwnames[] = { "self", NULL };
1868
1869 self = self;
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Entering",_kwnames,&_argo0))
1871 return NULL;
1872 if (_argo0) {
1873 if (_argo0 == Py_None) { _arg0 = NULL; }
1874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1876 return NULL;
1877 }
1878 }
1879 {
1880 wxPy_BEGIN_ALLOW_THREADS;
1881 _result = (bool )wxMouseEvent_Entering(_arg0);
1882
1883 wxPy_END_ALLOW_THREADS;
1884 } _resultobj = Py_BuildValue("i",_result);
1885 return _resultobj;
1886 }
1887
1888 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1889 static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject * _resultobj;
1891 bool _result;
1892 wxMouseEvent * _arg0;
1893 PyObject * _argo0 = 0;
1894 char *_kwnames[] = { "self", NULL };
1895
1896 self = self;
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Leaving",_kwnames,&_argo0))
1898 return NULL;
1899 if (_argo0) {
1900 if (_argo0 == Py_None) { _arg0 = NULL; }
1901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1903 return NULL;
1904 }
1905 }
1906 {
1907 wxPy_BEGIN_ALLOW_THREADS;
1908 _result = (bool )wxMouseEvent_Leaving(_arg0);
1909
1910 wxPy_END_ALLOW_THREADS;
1911 } _resultobj = Py_BuildValue("i",_result);
1912 return _resultobj;
1913 }
1914
1915 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1916 static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1917 PyObject * _resultobj;
1918 wxPoint * _result;
1919 wxMouseEvent * _arg0;
1920 PyObject * _argo0 = 0;
1921 char *_kwnames[] = { "self", NULL };
1922 char _ptemp[128];
1923
1924 self = self;
1925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPosition",_kwnames,&_argo0))
1926 return NULL;
1927 if (_argo0) {
1928 if (_argo0 == Py_None) { _arg0 = NULL; }
1929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1931 return NULL;
1932 }
1933 }
1934 {
1935 wxPy_BEGIN_ALLOW_THREADS;
1936 _result = new wxPoint (wxMouseEvent_GetPosition(_arg0));
1937
1938 wxPy_END_ALLOW_THREADS;
1939 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1940 _resultobj = Py_BuildValue("s",_ptemp);
1941 return _resultobj;
1942 }
1943
1944 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1945 static PyObject *_wrap_wxMouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject * _resultobj;
1947 wxMouseEvent * _arg0;
1948 long * _arg1;
1949 long temp;
1950 long * _arg2;
1951 long temp0;
1952 PyObject * _argo0 = 0;
1953 char *_kwnames[] = { "self", NULL };
1954
1955 self = self;
1956 {
1957 _arg1 = &temp;
1958 }
1959 {
1960 _arg2 = &temp0;
1961 }
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPositionTuple",_kwnames,&_argo0))
1963 return NULL;
1964 if (_argo0) {
1965 if (_argo0 == Py_None) { _arg0 = NULL; }
1966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
1968 return NULL;
1969 }
1970 }
1971 {
1972 wxPy_BEGIN_ALLOW_THREADS;
1973 wxMouseEvent_GetPositionTuple(_arg0,_arg1,_arg2);
1974
1975 wxPy_END_ALLOW_THREADS;
1976 } Py_INCREF(Py_None);
1977 _resultobj = Py_None;
1978 {
1979 PyObject *o;
1980 o = PyInt_FromLong((long) (*_arg1));
1981 _resultobj = t_output_helper(_resultobj, o);
1982 }
1983 {
1984 PyObject *o;
1985 o = PyInt_FromLong((long) (*_arg2));
1986 _resultobj = t_output_helper(_resultobj, o);
1987 }
1988 return _resultobj;
1989 }
1990
1991 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1992 static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1993 PyObject * _resultobj;
1994 wxPoint * _result;
1995 wxMouseEvent * _arg0;
1996 wxDC * _arg1;
1997 PyObject * _argo0 = 0;
1998 PyObject * _argo1 = 0;
1999 char *_kwnames[] = { "self","dc", NULL };
2000 char _ptemp[128];
2001
2002 self = self;
2003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMouseEvent_GetLogicalPosition",_kwnames,&_argo0,&_argo1))
2004 return NULL;
2005 if (_argo0) {
2006 if (_argo0 == Py_None) { _arg0 = NULL; }
2007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2009 return NULL;
2010 }
2011 }
2012 if (_argo1) {
2013 if (_argo1 == Py_None) { _arg1 = NULL; }
2014 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2015 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2016 return NULL;
2017 }
2018 }
2019 {
2020 wxPy_BEGIN_ALLOW_THREADS;
2021 _result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1));
2022
2023 wxPy_END_ALLOW_THREADS;
2024 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2025 _resultobj = Py_BuildValue("s",_ptemp);
2026 return _resultobj;
2027 }
2028
2029 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2030 static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2031 PyObject * _resultobj;
2032 long _result;
2033 wxMouseEvent * _arg0;
2034 PyObject * _argo0 = 0;
2035 char *_kwnames[] = { "self", NULL };
2036
2037 self = self;
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetX",_kwnames,&_argo0))
2039 return NULL;
2040 if (_argo0) {
2041 if (_argo0 == Py_None) { _arg0 = NULL; }
2042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2044 return NULL;
2045 }
2046 }
2047 {
2048 wxPy_BEGIN_ALLOW_THREADS;
2049 _result = (long )wxMouseEvent_GetX(_arg0);
2050
2051 wxPy_END_ALLOW_THREADS;
2052 } _resultobj = Py_BuildValue("l",_result);
2053 return _resultobj;
2054 }
2055
2056 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2057 static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject * _resultobj;
2059 long _result;
2060 wxMouseEvent * _arg0;
2061 PyObject * _argo0 = 0;
2062 char *_kwnames[] = { "self", NULL };
2063
2064 self = self;
2065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetY",_kwnames,&_argo0))
2066 return NULL;
2067 if (_argo0) {
2068 if (_argo0 == Py_None) { _arg0 = NULL; }
2069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
2070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2071 return NULL;
2072 }
2073 }
2074 {
2075 wxPy_BEGIN_ALLOW_THREADS;
2076 _result = (long )wxMouseEvent_GetY(_arg0);
2077
2078 wxPy_END_ALLOW_THREADS;
2079 } _resultobj = Py_BuildValue("l",_result);
2080 return _resultobj;
2081 }
2082
2083 static void *SwigwxKeyEventTowxEvent(void *ptr) {
2084 wxKeyEvent *src;
2085 wxEvent *dest;
2086 src = (wxKeyEvent *) ptr;
2087 dest = (wxEvent *) src;
2088 return (void *) dest;
2089 }
2090
2091 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
2092 static PyObject *_wrap_new_wxKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2093 PyObject * _resultobj;
2094 wxKeyEvent * _result;
2095 int _arg0;
2096 char *_kwnames[] = { "keyEventType", NULL };
2097 char _ptemp[128];
2098
2099 self = self;
2100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxKeyEvent",_kwnames,&_arg0))
2101 return NULL;
2102 {
2103 wxPy_BEGIN_ALLOW_THREADS;
2104 _result = (wxKeyEvent *)new_wxKeyEvent(_arg0);
2105
2106 wxPy_END_ALLOW_THREADS;
2107 } if (_result) {
2108 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
2109 _resultobj = Py_BuildValue("s",_ptemp);
2110 } else {
2111 Py_INCREF(Py_None);
2112 _resultobj = Py_None;
2113 }
2114 return _resultobj;
2115 }
2116
2117 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
2118 static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject * _resultobj;
2120 bool _result;
2121 wxKeyEvent * _arg0;
2122 PyObject * _argo0 = 0;
2123 char *_kwnames[] = { "self", NULL };
2124
2125 self = self;
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ControlDown",_kwnames,&_argo0))
2127 return NULL;
2128 if (_argo0) {
2129 if (_argo0 == Py_None) { _arg0 = NULL; }
2130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
2132 return NULL;
2133 }
2134 }
2135 {
2136 wxPy_BEGIN_ALLOW_THREADS;
2137 _result = (bool )wxKeyEvent_ControlDown(_arg0);
2138
2139 wxPy_END_ALLOW_THREADS;
2140 } _resultobj = Py_BuildValue("i",_result);
2141 return _resultobj;
2142 }
2143
2144 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
2145 static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2146 PyObject * _resultobj;
2147 bool _result;
2148 wxKeyEvent * _arg0;
2149 PyObject * _argo0 = 0;
2150 char *_kwnames[] = { "self", NULL };
2151
2152 self = self;
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_MetaDown",_kwnames,&_argo0))
2154 return NULL;
2155 if (_argo0) {
2156 if (_argo0 == Py_None) { _arg0 = NULL; }
2157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
2159 return NULL;
2160 }
2161 }
2162 {
2163 wxPy_BEGIN_ALLOW_THREADS;
2164 _result = (bool )wxKeyEvent_MetaDown(_arg0);
2165
2166 wxPy_END_ALLOW_THREADS;
2167 } _resultobj = Py_BuildValue("i",_result);
2168 return _resultobj;
2169 }
2170
2171 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
2172 static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2173 PyObject * _resultobj;
2174 bool _result;
2175 wxKeyEvent * _arg0;
2176 PyObject * _argo0 = 0;
2177 char *_kwnames[] = { "self", NULL };
2178
2179 self = self;
2180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_AltDown",_kwnames,&_argo0))
2181 return NULL;
2182 if (_argo0) {
2183 if (_argo0 == Py_None) { _arg0 = NULL; }
2184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
2186 return NULL;
2187 }
2188 }
2189 {
2190 wxPy_BEGIN_ALLOW_THREADS;
2191 _result = (bool )wxKeyEvent_AltDown(_arg0);
2192
2193 wxPy_END_ALLOW_THREADS;
2194 } _resultobj = Py_BuildValue("i",_result);
2195 return _resultobj;
2196 }
2197
2198 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
2199 static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2200 PyObject * _resultobj;
2201 bool _result;
2202 wxKeyEvent * _arg0;
2203 PyObject * _argo0 = 0;
2204 char *_kwnames[] = { "self", NULL };
2205
2206 self = self;
2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ShiftDown",_kwnames,&_argo0))
2208 return NULL;
2209 if (_argo0) {
2210 if (_argo0 == Py_None) { _arg0 = NULL; }
2211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
2213 return NULL;
2214 }
2215 }
2216 {
2217 wxPy_BEGIN_ALLOW_THREADS;
2218 _result = (bool )wxKeyEvent_ShiftDown(_arg0);
2219
2220 wxPy_END_ALLOW_THREADS;
2221 } _resultobj = Py_BuildValue("i",_result);
2222 return _resultobj;
2223 }
2224
2225 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
2226 static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2227 PyObject * _resultobj;
2228 long _result;
2229 wxKeyEvent * _arg0;
2230 PyObject * _argo0 = 0;
2231 char *_kwnames[] = { "self", NULL };
2232
2233 self = self;
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_KeyCode",_kwnames,&_argo0))
2235 return NULL;
2236 if (_argo0) {
2237 if (_argo0 == Py_None) { _arg0 = NULL; }
2238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
2240 return NULL;
2241 }
2242 }
2243 {
2244 wxPy_BEGIN_ALLOW_THREADS;
2245 _result = (long )wxKeyEvent_KeyCode(_arg0);
2246
2247 wxPy_END_ALLOW_THREADS;
2248 } _resultobj = Py_BuildValue("l",_result);
2249 return _resultobj;
2250 }
2251
2252 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
2253 static PyObject *_wrap_wxKeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2254 PyObject * _resultobj;
2255 long _result;
2256 wxKeyEvent * _arg0;
2257 PyObject * _argo0 = 0;
2258 char *_kwnames[] = { "self", NULL };
2259
2260 self = self;
2261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetX",_kwnames,&_argo0))
2262 return NULL;
2263 if (_argo0) {
2264 if (_argo0 == Py_None) { _arg0 = NULL; }
2265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
2267 return NULL;
2268 }
2269 }
2270 {
2271 wxPy_BEGIN_ALLOW_THREADS;
2272 _result = (long )wxKeyEvent_GetX(_arg0);
2273
2274 wxPy_END_ALLOW_THREADS;
2275 } _resultobj = Py_BuildValue("l",_result);
2276 return _resultobj;
2277 }
2278
2279 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
2280 static PyObject *_wrap_wxKeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject * _resultobj;
2282 long _result;
2283 wxKeyEvent * _arg0;
2284 PyObject * _argo0 = 0;
2285 char *_kwnames[] = { "self", NULL };
2286
2287 self = self;
2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetY",_kwnames,&_argo0))
2289 return NULL;
2290 if (_argo0) {
2291 if (_argo0 == Py_None) { _arg0 = NULL; }
2292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
2294 return NULL;
2295 }
2296 }
2297 {
2298 wxPy_BEGIN_ALLOW_THREADS;
2299 _result = (long )wxKeyEvent_GetY(_arg0);
2300
2301 wxPy_END_ALLOW_THREADS;
2302 } _resultobj = Py_BuildValue("l",_result);
2303 return _resultobj;
2304 }
2305
2306 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2307 static PyObject *_wrap_wxKeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2308 PyObject * _resultobj;
2309 wxPoint * _result;
2310 wxKeyEvent * _arg0;
2311 PyObject * _argo0 = 0;
2312 char *_kwnames[] = { "self", NULL };
2313 char _ptemp[128];
2314
2315 self = self;
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPosition",_kwnames,&_argo0))
2317 return NULL;
2318 if (_argo0) {
2319 if (_argo0 == Py_None) { _arg0 = NULL; }
2320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
2322 return NULL;
2323 }
2324 }
2325 {
2326 wxPy_BEGIN_ALLOW_THREADS;
2327 _result = new wxPoint (wxKeyEvent_GetPosition(_arg0));
2328
2329 wxPy_END_ALLOW_THREADS;
2330 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2331 _resultobj = Py_BuildValue("s",_ptemp);
2332 return _resultobj;
2333 }
2334
2335 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2336 static PyObject *_wrap_wxKeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2337 PyObject * _resultobj;
2338 wxKeyEvent * _arg0;
2339 long * _arg1;
2340 long temp;
2341 long * _arg2;
2342 long temp0;
2343 PyObject * _argo0 = 0;
2344 char *_kwnames[] = { "self", NULL };
2345
2346 self = self;
2347 {
2348 _arg1 = &temp;
2349 }
2350 {
2351 _arg2 = &temp0;
2352 }
2353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPositionTuple",_kwnames,&_argo0))
2354 return NULL;
2355 if (_argo0) {
2356 if (_argo0 == Py_None) { _arg0 = NULL; }
2357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
2359 return NULL;
2360 }
2361 }
2362 {
2363 wxPy_BEGIN_ALLOW_THREADS;
2364 wxKeyEvent_GetPositionTuple(_arg0,_arg1,_arg2);
2365
2366 wxPy_END_ALLOW_THREADS;
2367 } Py_INCREF(Py_None);
2368 _resultobj = Py_None;
2369 {
2370 PyObject *o;
2371 o = PyInt_FromLong((long) (*_arg1));
2372 _resultobj = t_output_helper(_resultobj, o);
2373 }
2374 {
2375 PyObject *o;
2376 o = PyInt_FromLong((long) (*_arg2));
2377 _resultobj = t_output_helper(_resultobj, o);
2378 }
2379 return _resultobj;
2380 }
2381
2382 static void *SwigwxNavigationKeyEventTowxCommandEvent(void *ptr) {
2383 wxNavigationKeyEvent *src;
2384 wxCommandEvent *dest;
2385 src = (wxNavigationKeyEvent *) ptr;
2386 dest = (wxCommandEvent *) src;
2387 return (void *) dest;
2388 }
2389
2390 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr) {
2391 wxNavigationKeyEvent *src;
2392 wxEvent *dest;
2393 src = (wxNavigationKeyEvent *) ptr;
2394 dest = (wxEvent *) src;
2395 return (void *) dest;
2396 }
2397
2398 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
2399 static PyObject *_wrap_new_wxNavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject * _resultobj;
2401 wxNavigationKeyEvent * _result;
2402 char *_kwnames[] = { NULL };
2403 char _ptemp[128];
2404
2405 self = self;
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNavigationKeyEvent",_kwnames))
2407 return NULL;
2408 {
2409 wxPy_BEGIN_ALLOW_THREADS;
2410 _result = (wxNavigationKeyEvent *)new_wxNavigationKeyEvent();
2411
2412 wxPy_END_ALLOW_THREADS;
2413 } if (_result) {
2414 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNavigationKeyEvent_p");
2415 _resultobj = Py_BuildValue("s",_ptemp);
2416 } else {
2417 Py_INCREF(Py_None);
2418 _resultobj = Py_None;
2419 }
2420 return _resultobj;
2421 }
2422
2423 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
2424 static PyObject *_wrap_wxNavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
2425 PyObject * _resultobj;
2426 bool _result;
2427 wxNavigationKeyEvent * _arg0;
2428 PyObject * _argo0 = 0;
2429 char *_kwnames[] = { "self", NULL };
2430
2431 self = self;
2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetDirection",_kwnames,&_argo0))
2433 return NULL;
2434 if (_argo0) {
2435 if (_argo0 == Py_None) { _arg0 = NULL; }
2436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
2437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
2438 return NULL;
2439 }
2440 }
2441 {
2442 wxPy_BEGIN_ALLOW_THREADS;
2443 _result = (bool )wxNavigationKeyEvent_GetDirection(_arg0);
2444
2445 wxPy_END_ALLOW_THREADS;
2446 } _resultobj = Py_BuildValue("i",_result);
2447 return _resultobj;
2448 }
2449
2450 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
2451 static PyObject *_wrap_wxNavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
2452 PyObject * _resultobj;
2453 wxNavigationKeyEvent * _arg0;
2454 bool _arg1;
2455 PyObject * _argo0 = 0;
2456 int tempbool1;
2457 char *_kwnames[] = { "self","bForward", NULL };
2458
2459 self = self;
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames,&_argo0,&tempbool1))
2461 return NULL;
2462 if (_argo0) {
2463 if (_argo0 == Py_None) { _arg0 = NULL; }
2464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
2465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
2466 return NULL;
2467 }
2468 }
2469 _arg1 = (bool ) tempbool1;
2470 {
2471 wxPy_BEGIN_ALLOW_THREADS;
2472 wxNavigationKeyEvent_SetDirection(_arg0,_arg1);
2473
2474 wxPy_END_ALLOW_THREADS;
2475 } Py_INCREF(Py_None);
2476 _resultobj = Py_None;
2477 return _resultobj;
2478 }
2479
2480 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
2481 static PyObject *_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
2482 PyObject * _resultobj;
2483 bool _result;
2484 wxNavigationKeyEvent * _arg0;
2485 PyObject * _argo0 = 0;
2486 char *_kwnames[] = { "self", NULL };
2487
2488 self = self;
2489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames,&_argo0))
2490 return NULL;
2491 if (_argo0) {
2492 if (_argo0 == Py_None) { _arg0 = NULL; }
2493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
2494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
2495 return NULL;
2496 }
2497 }
2498 {
2499 wxPy_BEGIN_ALLOW_THREADS;
2500 _result = (bool )wxNavigationKeyEvent_IsWindowChange(_arg0);
2501
2502 wxPy_END_ALLOW_THREADS;
2503 } _resultobj = Py_BuildValue("i",_result);
2504 return _resultobj;
2505 }
2506
2507 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
2508 static PyObject *_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
2509 PyObject * _resultobj;
2510 wxNavigationKeyEvent * _arg0;
2511 bool _arg1;
2512 PyObject * _argo0 = 0;
2513 int tempbool1;
2514 char *_kwnames[] = { "self","bIs", NULL };
2515
2516 self = self;
2517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames,&_argo0,&tempbool1))
2518 return NULL;
2519 if (_argo0) {
2520 if (_argo0 == Py_None) { _arg0 = NULL; }
2521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
2522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
2523 return NULL;
2524 }
2525 }
2526 _arg1 = (bool ) tempbool1;
2527 {
2528 wxPy_BEGIN_ALLOW_THREADS;
2529 wxNavigationKeyEvent_SetWindowChange(_arg0,_arg1);
2530
2531 wxPy_END_ALLOW_THREADS;
2532 } Py_INCREF(Py_None);
2533 _resultobj = Py_None;
2534 return _resultobj;
2535 }
2536
2537 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
2538 static PyObject *_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
2539 PyObject * _resultobj;
2540 wxWindow * _result;
2541 wxNavigationKeyEvent * _arg0;
2542 PyObject * _argo0 = 0;
2543 char *_kwnames[] = { "self", NULL };
2544 char _ptemp[128];
2545
2546 self = self;
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames,&_argo0))
2548 return NULL;
2549 if (_argo0) {
2550 if (_argo0 == Py_None) { _arg0 = NULL; }
2551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
2552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
2553 return NULL;
2554 }
2555 }
2556 {
2557 wxPy_BEGIN_ALLOW_THREADS;
2558 _result = (wxWindow *)wxNavigationKeyEvent_GetCurrentFocus(_arg0);
2559
2560 wxPy_END_ALLOW_THREADS;
2561 } if (_result) {
2562 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
2563 _resultobj = Py_BuildValue("s",_ptemp);
2564 } else {
2565 Py_INCREF(Py_None);
2566 _resultobj = Py_None;
2567 }
2568 return _resultobj;
2569 }
2570
2571 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
2572 static PyObject *_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
2573 PyObject * _resultobj;
2574 wxNavigationKeyEvent * _arg0;
2575 wxWindow * _arg1;
2576 PyObject * _argo0 = 0;
2577 PyObject * _argo1 = 0;
2578 char *_kwnames[] = { "self","win", NULL };
2579
2580 self = self;
2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames,&_argo0,&_argo1))
2582 return NULL;
2583 if (_argo0) {
2584 if (_argo0 == Py_None) { _arg0 = NULL; }
2585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) {
2586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
2587 return NULL;
2588 }
2589 }
2590 if (_argo1) {
2591 if (_argo1 == Py_None) { _arg1 = NULL; }
2592 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2593 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
2594 return NULL;
2595 }
2596 }
2597 {
2598 wxPy_BEGIN_ALLOW_THREADS;
2599 wxNavigationKeyEvent_SetCurrentFocus(_arg0,_arg1);
2600
2601 wxPy_END_ALLOW_THREADS;
2602 } Py_INCREF(Py_None);
2603 _resultobj = Py_None;
2604 return _resultobj;
2605 }
2606
2607 static void *SwigwxMoveEventTowxEvent(void *ptr) {
2608 wxMoveEvent *src;
2609 wxEvent *dest;
2610 src = (wxMoveEvent *) ptr;
2611 dest = (wxEvent *) src;
2612 return (void *) dest;
2613 }
2614
2615 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
2616 static PyObject *_wrap_new_wxMoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2617 PyObject * _resultobj;
2618 wxMoveEvent * _result;
2619 wxPoint * _arg0;
2620 int _arg1 = (int ) 0;
2621 wxPoint temp;
2622 PyObject * _obj0 = 0;
2623 char *_kwnames[] = { "pt","id", NULL };
2624 char _ptemp[128];
2625
2626 self = self;
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxMoveEvent",_kwnames,&_obj0,&_arg1))
2628 return NULL;
2629 {
2630 _arg0 = &temp;
2631 if (! wxPoint_helper(_obj0, &_arg0))
2632 return NULL;
2633 }
2634 {
2635 wxPy_BEGIN_ALLOW_THREADS;
2636 _result = (wxMoveEvent *)new_wxMoveEvent(*_arg0,_arg1);
2637
2638 wxPy_END_ALLOW_THREADS;
2639 } if (_result) {
2640 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMoveEvent_p");
2641 _resultobj = Py_BuildValue("s",_ptemp);
2642 } else {
2643 Py_INCREF(Py_None);
2644 _resultobj = Py_None;
2645 }
2646 return _resultobj;
2647 }
2648
2649 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2650 static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject * _resultobj;
2652 wxPoint * _result;
2653 wxMoveEvent * _arg0;
2654 PyObject * _argo0 = 0;
2655 char *_kwnames[] = { "self", NULL };
2656 char _ptemp[128];
2657
2658 self = self;
2659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMoveEvent_GetPosition",_kwnames,&_argo0))
2660 return NULL;
2661 if (_argo0) {
2662 if (_argo0 == Py_None) { _arg0 = NULL; }
2663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMoveEvent_p")) {
2664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
2665 return NULL;
2666 }
2667 }
2668 {
2669 wxPy_BEGIN_ALLOW_THREADS;
2670 _result = new wxPoint (wxMoveEvent_GetPosition(_arg0));
2671
2672 wxPy_END_ALLOW_THREADS;
2673 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2674 _resultobj = Py_BuildValue("s",_ptemp);
2675 return _resultobj;
2676 }
2677
2678 static void *SwigwxPaintEventTowxEvent(void *ptr) {
2679 wxPaintEvent *src;
2680 wxEvent *dest;
2681 src = (wxPaintEvent *) ptr;
2682 dest = (wxEvent *) src;
2683 return (void *) dest;
2684 }
2685
2686 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
2687 static PyObject *_wrap_new_wxPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject * _resultobj;
2689 wxPaintEvent * _result;
2690 int _arg0 = (int ) 0;
2691 char *_kwnames[] = { "id", NULL };
2692 char _ptemp[128];
2693
2694 self = self;
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaintEvent",_kwnames,&_arg0))
2696 return NULL;
2697 {
2698 wxPy_BEGIN_ALLOW_THREADS;
2699 _result = (wxPaintEvent *)new_wxPaintEvent(_arg0);
2700
2701 wxPy_END_ALLOW_THREADS;
2702 } if (_result) {
2703 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintEvent_p");
2704 _resultobj = Py_BuildValue("s",_ptemp);
2705 } else {
2706 Py_INCREF(Py_None);
2707 _resultobj = Py_None;
2708 }
2709 return _resultobj;
2710 }
2711
2712 static void *SwigwxEraseEventTowxEvent(void *ptr) {
2713 wxEraseEvent *src;
2714 wxEvent *dest;
2715 src = (wxEraseEvent *) ptr;
2716 dest = (wxEvent *) src;
2717 return (void *) dest;
2718 }
2719
2720 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
2721 static PyObject *_wrap_new_wxEraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2722 PyObject * _resultobj;
2723 wxEraseEvent * _result;
2724 int _arg0 = (int ) 0;
2725 wxDC * _arg1 = (wxDC *) NULL;
2726 PyObject * _argo1 = 0;
2727 char *_kwnames[] = { "id","dc", NULL };
2728 char _ptemp[128];
2729
2730 self = self;
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxEraseEvent",_kwnames,&_arg0,&_argo1))
2732 return NULL;
2733 if (_argo1) {
2734 if (_argo1 == Py_None) { _arg1 = NULL; }
2735 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2736 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
2737 return NULL;
2738 }
2739 }
2740 {
2741 wxPy_BEGIN_ALLOW_THREADS;
2742 _result = (wxEraseEvent *)new_wxEraseEvent(_arg0,_arg1);
2743
2744 wxPy_END_ALLOW_THREADS;
2745 } if (_result) {
2746 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEraseEvent_p");
2747 _resultobj = Py_BuildValue("s",_ptemp);
2748 } else {
2749 Py_INCREF(Py_None);
2750 _resultobj = Py_None;
2751 }
2752 return _resultobj;
2753 }
2754
2755 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
2756 static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject * _resultobj;
2758 wxDC * _result;
2759 wxEraseEvent * _arg0;
2760 PyObject * _argo0 = 0;
2761 char *_kwnames[] = { "self", NULL };
2762 char _ptemp[128];
2763
2764 self = self;
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEraseEvent_GetDC",_kwnames,&_argo0))
2766 return NULL;
2767 if (_argo0) {
2768 if (_argo0 == Py_None) { _arg0 = NULL; }
2769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEraseEvent_p")) {
2770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
2771 return NULL;
2772 }
2773 }
2774 {
2775 wxPy_BEGIN_ALLOW_THREADS;
2776 _result = (wxDC *)wxEraseEvent_GetDC(_arg0);
2777
2778 wxPy_END_ALLOW_THREADS;
2779 } if (_result) {
2780 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
2781 _resultobj = Py_BuildValue("s",_ptemp);
2782 } else {
2783 Py_INCREF(Py_None);
2784 _resultobj = Py_None;
2785 }
2786 return _resultobj;
2787 }
2788
2789 static void *SwigwxFocusEventTowxEvent(void *ptr) {
2790 wxFocusEvent *src;
2791 wxEvent *dest;
2792 src = (wxFocusEvent *) ptr;
2793 dest = (wxEvent *) src;
2794 return (void *) dest;
2795 }
2796
2797 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
2798 static PyObject *_wrap_new_wxFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2799 PyObject * _resultobj;
2800 wxFocusEvent * _result;
2801 WXTYPE _arg0 = (WXTYPE ) 0;
2802 int _arg1 = (int ) 0;
2803 char *_kwnames[] = { "eventType","id", NULL };
2804 char _ptemp[128];
2805
2806 self = self;
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxFocusEvent",_kwnames,&_arg0,&_arg1))
2808 return NULL;
2809 {
2810 wxPy_BEGIN_ALLOW_THREADS;
2811 _result = (wxFocusEvent *)new_wxFocusEvent(_arg0,_arg1);
2812
2813 wxPy_END_ALLOW_THREADS;
2814 } if (_result) {
2815 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFocusEvent_p");
2816 _resultobj = Py_BuildValue("s",_ptemp);
2817 } else {
2818 Py_INCREF(Py_None);
2819 _resultobj = Py_None;
2820 }
2821 return _resultobj;
2822 }
2823
2824 static void *SwigwxActivateEventTowxEvent(void *ptr) {
2825 wxActivateEvent *src;
2826 wxEvent *dest;
2827 src = (wxActivateEvent *) ptr;
2828 dest = (wxEvent *) src;
2829 return (void *) dest;
2830 }
2831
2832 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
2833 static PyObject *_wrap_new_wxActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2834 PyObject * _resultobj;
2835 wxActivateEvent * _result;
2836 WXTYPE _arg0 = (WXTYPE ) 0;
2837 int _arg1 = (int ) TRUE;
2838 int _arg2 = (int ) 0;
2839 char *_kwnames[] = { "eventType","active","id", NULL };
2840 char _ptemp[128];
2841
2842 self = self;
2843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hii:new_wxActivateEvent",_kwnames,&_arg0,&_arg1,&_arg2))
2844 return NULL;
2845 {
2846 wxPy_BEGIN_ALLOW_THREADS;
2847 _result = (wxActivateEvent *)new_wxActivateEvent(_arg0,_arg1,_arg2);
2848
2849 wxPy_END_ALLOW_THREADS;
2850 } if (_result) {
2851 SWIG_MakePtr(_ptemp, (char *) _result,"_wxActivateEvent_p");
2852 _resultobj = Py_BuildValue("s",_ptemp);
2853 } else {
2854 Py_INCREF(Py_None);
2855 _resultobj = Py_None;
2856 }
2857 return _resultobj;
2858 }
2859
2860 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
2861 static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
2862 PyObject * _resultobj;
2863 bool _result;
2864 wxActivateEvent * _arg0;
2865 PyObject * _argo0 = 0;
2866 char *_kwnames[] = { "self", NULL };
2867
2868 self = self;
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxActivateEvent_GetActive",_kwnames,&_argo0))
2870 return NULL;
2871 if (_argo0) {
2872 if (_argo0 == Py_None) { _arg0 = NULL; }
2873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxActivateEvent_p")) {
2874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
2875 return NULL;
2876 }
2877 }
2878 {
2879 wxPy_BEGIN_ALLOW_THREADS;
2880 _result = (bool )wxActivateEvent_GetActive(_arg0);
2881
2882 wxPy_END_ALLOW_THREADS;
2883 } _resultobj = Py_BuildValue("i",_result);
2884 return _resultobj;
2885 }
2886
2887 static void *SwigwxInitDialogEventTowxEvent(void *ptr) {
2888 wxInitDialogEvent *src;
2889 wxEvent *dest;
2890 src = (wxInitDialogEvent *) ptr;
2891 dest = (wxEvent *) src;
2892 return (void *) dest;
2893 }
2894
2895 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
2896 static PyObject *_wrap_new_wxInitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2897 PyObject * _resultobj;
2898 wxInitDialogEvent * _result;
2899 int _arg0 = (int ) 0;
2900 char *_kwnames[] = { "id", NULL };
2901 char _ptemp[128];
2902
2903 self = self;
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxInitDialogEvent",_kwnames,&_arg0))
2905 return NULL;
2906 {
2907 wxPy_BEGIN_ALLOW_THREADS;
2908 _result = (wxInitDialogEvent *)new_wxInitDialogEvent(_arg0);
2909
2910 wxPy_END_ALLOW_THREADS;
2911 } if (_result) {
2912 SWIG_MakePtr(_ptemp, (char *) _result,"_wxInitDialogEvent_p");
2913 _resultobj = Py_BuildValue("s",_ptemp);
2914 } else {
2915 Py_INCREF(Py_None);
2916 _resultobj = Py_None;
2917 }
2918 return _resultobj;
2919 }
2920
2921 static void *SwigwxMenuEventTowxEvent(void *ptr) {
2922 wxMenuEvent *src;
2923 wxEvent *dest;
2924 src = (wxMenuEvent *) ptr;
2925 dest = (wxEvent *) src;
2926 return (void *) dest;
2927 }
2928
2929 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
2930 static PyObject *_wrap_new_wxMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2931 PyObject * _resultobj;
2932 wxMenuEvent * _result;
2933 WXTYPE _arg0 = (WXTYPE ) 0;
2934 int _arg1 = (int ) 0;
2935 char *_kwnames[] = { "id","id", NULL };
2936 char _ptemp[128];
2937
2938 self = self;
2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxMenuEvent",_kwnames,&_arg0,&_arg1))
2940 return NULL;
2941 {
2942 wxPy_BEGIN_ALLOW_THREADS;
2943 _result = (wxMenuEvent *)new_wxMenuEvent(_arg0,_arg1);
2944
2945 wxPy_END_ALLOW_THREADS;
2946 } if (_result) {
2947 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuEvent_p");
2948 _resultobj = Py_BuildValue("s",_ptemp);
2949 } else {
2950 Py_INCREF(Py_None);
2951 _resultobj = Py_None;
2952 }
2953 return _resultobj;
2954 }
2955
2956 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
2957 static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject * _resultobj;
2959 int _result;
2960 wxMenuEvent * _arg0;
2961 PyObject * _argo0 = 0;
2962 char *_kwnames[] = { "self", NULL };
2963
2964 self = self;
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_GetMenuId",_kwnames,&_argo0))
2966 return NULL;
2967 if (_argo0) {
2968 if (_argo0 == Py_None) { _arg0 = NULL; }
2969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) {
2970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
2971 return NULL;
2972 }
2973 }
2974 {
2975 wxPy_BEGIN_ALLOW_THREADS;
2976 _result = (int )wxMenuEvent_GetMenuId(_arg0);
2977
2978 wxPy_END_ALLOW_THREADS;
2979 } _resultobj = Py_BuildValue("i",_result);
2980 return _resultobj;
2981 }
2982
2983 static void *SwigwxShowEventTowxEvent(void *ptr) {
2984 wxShowEvent *src;
2985 wxEvent *dest;
2986 src = (wxShowEvent *) ptr;
2987 dest = (wxEvent *) src;
2988 return (void *) dest;
2989 }
2990
2991 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
2992 static PyObject *_wrap_new_wxShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2993 PyObject * _resultobj;
2994 wxShowEvent * _result;
2995 int _arg0 = (int ) 0;
2996 int _arg1 = (int ) FALSE;
2997 char *_kwnames[] = { "id","show", NULL };
2998 char _ptemp[128];
2999
3000 self = self;
3001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxShowEvent",_kwnames,&_arg0,&_arg1))
3002 return NULL;
3003 {
3004 wxPy_BEGIN_ALLOW_THREADS;
3005 _result = (wxShowEvent *)new_wxShowEvent(_arg0,_arg1);
3006
3007 wxPy_END_ALLOW_THREADS;
3008 } if (_result) {
3009 SWIG_MakePtr(_ptemp, (char *) _result,"_wxShowEvent_p");
3010 _resultobj = Py_BuildValue("s",_ptemp);
3011 } else {
3012 Py_INCREF(Py_None);
3013 _resultobj = Py_None;
3014 }
3015 return _resultobj;
3016 }
3017
3018 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
3019 static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3020 PyObject * _resultobj;
3021 wxShowEvent * _arg0;
3022 bool _arg1;
3023 PyObject * _argo0 = 0;
3024 int tempbool1;
3025 char *_kwnames[] = { "self","show", NULL };
3026
3027 self = self;
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShowEvent_SetShow",_kwnames,&_argo0,&tempbool1))
3029 return NULL;
3030 if (_argo0) {
3031 if (_argo0 == Py_None) { _arg0 = NULL; }
3032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
3033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
3034 return NULL;
3035 }
3036 }
3037 _arg1 = (bool ) tempbool1;
3038 {
3039 wxPy_BEGIN_ALLOW_THREADS;
3040 wxShowEvent_SetShow(_arg0,_arg1);
3041
3042 wxPy_END_ALLOW_THREADS;
3043 } Py_INCREF(Py_None);
3044 _resultobj = Py_None;
3045 return _resultobj;
3046 }
3047
3048 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
3049 static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject * _resultobj;
3051 bool _result;
3052 wxShowEvent * _arg0;
3053 PyObject * _argo0 = 0;
3054 char *_kwnames[] = { "self", NULL };
3055
3056 self = self;
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShowEvent_GetShow",_kwnames,&_argo0))
3058 return NULL;
3059 if (_argo0) {
3060 if (_argo0 == Py_None) { _arg0 = NULL; }
3061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
3062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
3063 return NULL;
3064 }
3065 }
3066 {
3067 wxPy_BEGIN_ALLOW_THREADS;
3068 _result = (bool )wxShowEvent_GetShow(_arg0);
3069
3070 wxPy_END_ALLOW_THREADS;
3071 } _resultobj = Py_BuildValue("i",_result);
3072 return _resultobj;
3073 }
3074
3075 static void *SwigwxIconizeEventTowxEvent(void *ptr) {
3076 wxIconizeEvent *src;
3077 wxEvent *dest;
3078 src = (wxIconizeEvent *) ptr;
3079 dest = (wxEvent *) src;
3080 return (void *) dest;
3081 }
3082
3083 #define new_wxIconizeEvent(_swigarg0) (new wxIconizeEvent(_swigarg0))
3084 static PyObject *_wrap_new_wxIconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3085 PyObject * _resultobj;
3086 wxIconizeEvent * _result;
3087 int _arg0 = (int ) 0;
3088 char *_kwnames[] = { "id", NULL };
3089 char _ptemp[128];
3090
3091 self = self;
3092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxIconizeEvent",_kwnames,&_arg0))
3093 return NULL;
3094 {
3095 wxPy_BEGIN_ALLOW_THREADS;
3096 _result = (wxIconizeEvent *)new_wxIconizeEvent(_arg0);
3097
3098 wxPy_END_ALLOW_THREADS;
3099 } if (_result) {
3100 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconizeEvent_p");
3101 _resultobj = Py_BuildValue("s",_ptemp);
3102 } else {
3103 Py_INCREF(Py_None);
3104 _resultobj = Py_None;
3105 }
3106 return _resultobj;
3107 }
3108
3109 static void *SwigwxMaximizeEventTowxEvent(void *ptr) {
3110 wxMaximizeEvent *src;
3111 wxEvent *dest;
3112 src = (wxMaximizeEvent *) ptr;
3113 dest = (wxEvent *) src;
3114 return (void *) dest;
3115 }
3116
3117 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
3118 static PyObject *_wrap_new_wxMaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject * _resultobj;
3120 wxMaximizeEvent * _result;
3121 int _arg0 = (int ) 0;
3122 char *_kwnames[] = { "id", NULL };
3123 char _ptemp[128];
3124
3125 self = self;
3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxMaximizeEvent",_kwnames,&_arg0))
3127 return NULL;
3128 {
3129 wxPy_BEGIN_ALLOW_THREADS;
3130 _result = (wxMaximizeEvent *)new_wxMaximizeEvent(_arg0);
3131
3132 wxPy_END_ALLOW_THREADS;
3133 } if (_result) {
3134 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMaximizeEvent_p");
3135 _resultobj = Py_BuildValue("s",_ptemp);
3136 } else {
3137 Py_INCREF(Py_None);
3138 _resultobj = Py_None;
3139 }
3140 return _resultobj;
3141 }
3142
3143 static void *SwigwxJoystickEventTowxEvent(void *ptr) {
3144 wxJoystickEvent *src;
3145 wxEvent *dest;
3146 src = (wxJoystickEvent *) ptr;
3147 dest = (wxEvent *) src;
3148 return (void *) dest;
3149 }
3150
3151 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3152 static PyObject *_wrap_new_wxJoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject * _resultobj;
3154 wxJoystickEvent * _result;
3155 int _arg0 = (int ) wxEVT_NULL;
3156 int _arg1 = (int ) 0;
3157 int _arg2 = (int ) wxJOYSTICK1;
3158 int _arg3 = (int ) 0;
3159 char *_kwnames[] = { "type","state","joystick","change", NULL };
3160 char _ptemp[128];
3161
3162 self = self;
3163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxJoystickEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
3164 return NULL;
3165 {
3166 wxPy_BEGIN_ALLOW_THREADS;
3167 _result = (wxJoystickEvent *)new_wxJoystickEvent(_arg0,_arg1,_arg2,_arg3);
3168
3169 wxPy_END_ALLOW_THREADS;
3170 } if (_result) {
3171 SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystickEvent_p");
3172 _resultobj = Py_BuildValue("s",_ptemp);
3173 } else {
3174 Py_INCREF(Py_None);
3175 _resultobj = Py_None;
3176 }
3177 return _resultobj;
3178 }
3179
3180 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3181 static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3182 PyObject * _resultobj;
3183 wxPoint * _result;
3184 wxJoystickEvent * _arg0;
3185 PyObject * _argo0 = 0;
3186 char *_kwnames[] = { "self", NULL };
3187 char _ptemp[128];
3188
3189 self = self;
3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetPosition",_kwnames,&_argo0))
3191 return NULL;
3192 if (_argo0) {
3193 if (_argo0 == Py_None) { _arg0 = NULL; }
3194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
3196 return NULL;
3197 }
3198 }
3199 {
3200 wxPy_BEGIN_ALLOW_THREADS;
3201 _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0));
3202
3203 wxPy_END_ALLOW_THREADS;
3204 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3205 _resultobj = Py_BuildValue("s",_ptemp);
3206 return _resultobj;
3207 }
3208
3209 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
3210 static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3211 PyObject * _resultobj;
3212 int _result;
3213 wxJoystickEvent * _arg0;
3214 PyObject * _argo0 = 0;
3215 char *_kwnames[] = { "self", NULL };
3216
3217 self = self;
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetZPosition",_kwnames,&_argo0))
3219 return NULL;
3220 if (_argo0) {
3221 if (_argo0 == Py_None) { _arg0 = NULL; }
3222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
3224 return NULL;
3225 }
3226 }
3227 {
3228 wxPy_BEGIN_ALLOW_THREADS;
3229 _result = (int )wxJoystickEvent_GetZPosition(_arg0);
3230
3231 wxPy_END_ALLOW_THREADS;
3232 } _resultobj = Py_BuildValue("i",_result);
3233 return _resultobj;
3234 }
3235
3236 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
3237 static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
3238 PyObject * _resultobj;
3239 int _result;
3240 wxJoystickEvent * _arg0;
3241 PyObject * _argo0 = 0;
3242 char *_kwnames[] = { "self", NULL };
3243
3244 self = self;
3245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonState",_kwnames,&_argo0))
3246 return NULL;
3247 if (_argo0) {
3248 if (_argo0 == Py_None) { _arg0 = NULL; }
3249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
3251 return NULL;
3252 }
3253 }
3254 {
3255 wxPy_BEGIN_ALLOW_THREADS;
3256 _result = (int )wxJoystickEvent_GetButtonState(_arg0);
3257
3258 wxPy_END_ALLOW_THREADS;
3259 } _resultobj = Py_BuildValue("i",_result);
3260 return _resultobj;
3261 }
3262
3263 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
3264 static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
3265 PyObject * _resultobj;
3266 int _result;
3267 wxJoystickEvent * _arg0;
3268 PyObject * _argo0 = 0;
3269 char *_kwnames[] = { "self", NULL };
3270
3271 self = self;
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonChange",_kwnames,&_argo0))
3273 return NULL;
3274 if (_argo0) {
3275 if (_argo0 == Py_None) { _arg0 = NULL; }
3276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
3278 return NULL;
3279 }
3280 }
3281 {
3282 wxPy_BEGIN_ALLOW_THREADS;
3283 _result = (int )wxJoystickEvent_GetButtonChange(_arg0);
3284
3285 wxPy_END_ALLOW_THREADS;
3286 } _resultobj = Py_BuildValue("i",_result);
3287 return _resultobj;
3288 }
3289
3290 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
3291 static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject * _resultobj;
3293 int _result;
3294 wxJoystickEvent * _arg0;
3295 PyObject * _argo0 = 0;
3296 char *_kwnames[] = { "self", NULL };
3297
3298 self = self;
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetJoystick",_kwnames,&_argo0))
3300 return NULL;
3301 if (_argo0) {
3302 if (_argo0 == Py_None) { _arg0 = NULL; }
3303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
3305 return NULL;
3306 }
3307 }
3308 {
3309 wxPy_BEGIN_ALLOW_THREADS;
3310 _result = (int )wxJoystickEvent_GetJoystick(_arg0);
3311
3312 wxPy_END_ALLOW_THREADS;
3313 } _resultobj = Py_BuildValue("i",_result);
3314 return _resultobj;
3315 }
3316
3317 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
3318 static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
3319 PyObject * _resultobj;
3320 wxJoystickEvent * _arg0;
3321 int _arg1;
3322 PyObject * _argo0 = 0;
3323 char *_kwnames[] = { "self","stick", NULL };
3324
3325 self = self;
3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetJoystick",_kwnames,&_argo0,&_arg1))
3327 return NULL;
3328 if (_argo0) {
3329 if (_argo0 == Py_None) { _arg0 = NULL; }
3330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
3332 return NULL;
3333 }
3334 }
3335 {
3336 wxPy_BEGIN_ALLOW_THREADS;
3337 wxJoystickEvent_SetJoystick(_arg0,_arg1);
3338
3339 wxPy_END_ALLOW_THREADS;
3340 } Py_INCREF(Py_None);
3341 _resultobj = Py_None;
3342 return _resultobj;
3343 }
3344
3345 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
3346 static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
3347 PyObject * _resultobj;
3348 wxJoystickEvent * _arg0;
3349 int _arg1;
3350 PyObject * _argo0 = 0;
3351 char *_kwnames[] = { "self","state", NULL };
3352
3353 self = self;
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonState",_kwnames,&_argo0,&_arg1))
3355 return NULL;
3356 if (_argo0) {
3357 if (_argo0 == Py_None) { _arg0 = NULL; }
3358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
3360 return NULL;
3361 }
3362 }
3363 {
3364 wxPy_BEGIN_ALLOW_THREADS;
3365 wxJoystickEvent_SetButtonState(_arg0,_arg1);
3366
3367 wxPy_END_ALLOW_THREADS;
3368 } Py_INCREF(Py_None);
3369 _resultobj = Py_None;
3370 return _resultobj;
3371 }
3372
3373 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
3374 static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject * _resultobj;
3376 wxJoystickEvent * _arg0;
3377 int _arg1;
3378 PyObject * _argo0 = 0;
3379 char *_kwnames[] = { "self","change", NULL };
3380
3381 self = self;
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonChange",_kwnames,&_argo0,&_arg1))
3383 return NULL;
3384 if (_argo0) {
3385 if (_argo0 == Py_None) { _arg0 = NULL; }
3386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
3388 return NULL;
3389 }
3390 }
3391 {
3392 wxPy_BEGIN_ALLOW_THREADS;
3393 wxJoystickEvent_SetButtonChange(_arg0,_arg1);
3394
3395 wxPy_END_ALLOW_THREADS;
3396 } Py_INCREF(Py_None);
3397 _resultobj = Py_None;
3398 return _resultobj;
3399 }
3400
3401 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
3402 static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject * _resultobj;
3404 wxJoystickEvent * _arg0;
3405 wxPoint * _arg1;
3406 PyObject * _argo0 = 0;
3407 wxPoint temp;
3408 PyObject * _obj1 = 0;
3409 char *_kwnames[] = { "self","pos", NULL };
3410
3411 self = self;
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_obj1))
3413 return NULL;
3414 if (_argo0) {
3415 if (_argo0 == Py_None) { _arg0 = NULL; }
3416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
3418 return NULL;
3419 }
3420 }
3421 {
3422 _arg1 = &temp;
3423 if (! wxPoint_helper(_obj1, &_arg1))
3424 return NULL;
3425 }
3426 {
3427 wxPy_BEGIN_ALLOW_THREADS;
3428 wxJoystickEvent_SetPosition(_arg0,*_arg1);
3429
3430 wxPy_END_ALLOW_THREADS;
3431 } Py_INCREF(Py_None);
3432 _resultobj = Py_None;
3433 return _resultobj;
3434 }
3435
3436 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
3437 static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject * _resultobj;
3439 wxJoystickEvent * _arg0;
3440 int _arg1;
3441 PyObject * _argo0 = 0;
3442 char *_kwnames[] = { "self","zPos", NULL };
3443
3444 self = self;
3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetZPosition",_kwnames,&_argo0,&_arg1))
3446 return NULL;
3447 if (_argo0) {
3448 if (_argo0 == Py_None) { _arg0 = NULL; }
3449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
3451 return NULL;
3452 }
3453 }
3454 {
3455 wxPy_BEGIN_ALLOW_THREADS;
3456 wxJoystickEvent_SetZPosition(_arg0,_arg1);
3457
3458 wxPy_END_ALLOW_THREADS;
3459 } Py_INCREF(Py_None);
3460 _resultobj = Py_None;
3461 return _resultobj;
3462 }
3463
3464 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
3465 static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
3466 PyObject * _resultobj;
3467 bool _result;
3468 wxJoystickEvent * _arg0;
3469 PyObject * _argo0 = 0;
3470 char *_kwnames[] = { "self", NULL };
3471
3472 self = self;
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsButton",_kwnames,&_argo0))
3474 return NULL;
3475 if (_argo0) {
3476 if (_argo0 == Py_None) { _arg0 = NULL; }
3477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
3479 return NULL;
3480 }
3481 }
3482 {
3483 wxPy_BEGIN_ALLOW_THREADS;
3484 _result = (bool )wxJoystickEvent_IsButton(_arg0);
3485
3486 wxPy_END_ALLOW_THREADS;
3487 } _resultobj = Py_BuildValue("i",_result);
3488 return _resultobj;
3489 }
3490
3491 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
3492 static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
3493 PyObject * _resultobj;
3494 bool _result;
3495 wxJoystickEvent * _arg0;
3496 PyObject * _argo0 = 0;
3497 char *_kwnames[] = { "self", NULL };
3498
3499 self = self;
3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsMove",_kwnames,&_argo0))
3501 return NULL;
3502 if (_argo0) {
3503 if (_argo0 == Py_None) { _arg0 = NULL; }
3504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
3506 return NULL;
3507 }
3508 }
3509 {
3510 wxPy_BEGIN_ALLOW_THREADS;
3511 _result = (bool )wxJoystickEvent_IsMove(_arg0);
3512
3513 wxPy_END_ALLOW_THREADS;
3514 } _resultobj = Py_BuildValue("i",_result);
3515 return _resultobj;
3516 }
3517
3518 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
3519 static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
3520 PyObject * _resultobj;
3521 bool _result;
3522 wxJoystickEvent * _arg0;
3523 PyObject * _argo0 = 0;
3524 char *_kwnames[] = { "self", NULL };
3525
3526 self = self;
3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsZMove",_kwnames,&_argo0))
3528 return NULL;
3529 if (_argo0) {
3530 if (_argo0 == Py_None) { _arg0 = NULL; }
3531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
3533 return NULL;
3534 }
3535 }
3536 {
3537 wxPy_BEGIN_ALLOW_THREADS;
3538 _result = (bool )wxJoystickEvent_IsZMove(_arg0);
3539
3540 wxPy_END_ALLOW_THREADS;
3541 } _resultobj = Py_BuildValue("i",_result);
3542 return _resultobj;
3543 }
3544
3545 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
3546 static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3547 PyObject * _resultobj;
3548 bool _result;
3549 wxJoystickEvent * _arg0;
3550 int _arg1 = (int ) wxJOY_BUTTON_ANY;
3551 PyObject * _argo0 = 0;
3552 char *_kwnames[] = { "self","but", NULL };
3553
3554 self = self;
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
3556 return NULL;
3557 if (_argo0) {
3558 if (_argo0 == Py_None) { _arg0 = NULL; }
3559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
3561 return NULL;
3562 }
3563 }
3564 {
3565 wxPy_BEGIN_ALLOW_THREADS;
3566 _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1);
3567
3568 wxPy_END_ALLOW_THREADS;
3569 } _resultobj = Py_BuildValue("i",_result);
3570 return _resultobj;
3571 }
3572
3573 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
3574 static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
3575 PyObject * _resultobj;
3576 bool _result;
3577 wxJoystickEvent * _arg0;
3578 int _arg1 = (int ) wxJOY_BUTTON_ANY;
3579 PyObject * _argo0 = 0;
3580 char *_kwnames[] = { "self","but", NULL };
3581
3582 self = self;
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
3584 return NULL;
3585 if (_argo0) {
3586 if (_argo0 == Py_None) { _arg0 = NULL; }
3587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
3589 return NULL;
3590 }
3591 }
3592 {
3593 wxPy_BEGIN_ALLOW_THREADS;
3594 _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1);
3595
3596 wxPy_END_ALLOW_THREADS;
3597 } _resultobj = Py_BuildValue("i",_result);
3598 return _resultobj;
3599 }
3600
3601 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
3602 static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3603 PyObject * _resultobj;
3604 bool _result;
3605 wxJoystickEvent * _arg0;
3606 int _arg1 = (int ) wxJOY_BUTTON_ANY;
3607 PyObject * _argo0 = 0;
3608 char *_kwnames[] = { "self","but", NULL };
3609
3610 self = self;
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
3612 return NULL;
3613 if (_argo0) {
3614 if (_argo0 == Py_None) { _arg0 = NULL; }
3615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
3616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
3617 return NULL;
3618 }
3619 }
3620 {
3621 wxPy_BEGIN_ALLOW_THREADS;
3622 _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1);
3623
3624 wxPy_END_ALLOW_THREADS;
3625 } _resultobj = Py_BuildValue("i",_result);
3626 return _resultobj;
3627 }
3628
3629 static void *SwigwxDropFilesEventTowxEvent(void *ptr) {
3630 wxDropFilesEvent *src;
3631 wxEvent *dest;
3632 src = (wxDropFilesEvent *) ptr;
3633 dest = (wxEvent *) src;
3634 return (void *) dest;
3635 }
3636
3637 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3638 static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject * _resultobj;
3640 wxPoint * _result;
3641 wxDropFilesEvent * _arg0;
3642 PyObject * _argo0 = 0;
3643 char *_kwnames[] = { "self", NULL };
3644 char _ptemp[128];
3645
3646 self = self;
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetPosition",_kwnames,&_argo0))
3648 return NULL;
3649 if (_argo0) {
3650 if (_argo0 == Py_None) { _arg0 = NULL; }
3651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
3652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
3653 return NULL;
3654 }
3655 }
3656 {
3657 wxPy_BEGIN_ALLOW_THREADS;
3658 _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0));
3659
3660 wxPy_END_ALLOW_THREADS;
3661 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3662 _resultobj = Py_BuildValue("s",_ptemp);
3663 return _resultobj;
3664 }
3665
3666 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
3667 static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
3668 PyObject * _resultobj;
3669 int _result;
3670 wxDropFilesEvent * _arg0;
3671 PyObject * _argo0 = 0;
3672 char *_kwnames[] = { "self", NULL };
3673
3674 self = self;
3675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames,&_argo0))
3676 return NULL;
3677 if (_argo0) {
3678 if (_argo0 == Py_None) { _arg0 = NULL; }
3679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
3680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
3681 return NULL;
3682 }
3683 }
3684 {
3685 wxPy_BEGIN_ALLOW_THREADS;
3686 _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0);
3687
3688 wxPy_END_ALLOW_THREADS;
3689 } _resultobj = Py_BuildValue("i",_result);
3690 return _resultobj;
3691 }
3692
3693 static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) {
3694 int count = self->GetNumberOfFiles();
3695 wxString* files = self->GetFiles();
3696 PyObject* list = PyList_New(count);
3697
3698 if (!list) {
3699 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
3700 return NULL;
3701 }
3702
3703 for (int i=0; i<count; i++) {
3704 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
3705 }
3706 return list;
3707 }
3708 static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
3709 PyObject * _resultobj;
3710 PyObject * _result;
3711 wxDropFilesEvent * _arg0;
3712 PyObject * _argo0 = 0;
3713 char *_kwnames[] = { "self", NULL };
3714
3715 self = self;
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetFiles",_kwnames,&_argo0))
3717 return NULL;
3718 if (_argo0) {
3719 if (_argo0 == Py_None) { _arg0 = NULL; }
3720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
3721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
3722 return NULL;
3723 }
3724 }
3725 {
3726 wxPy_BEGIN_ALLOW_THREADS;
3727 _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0);
3728
3729 wxPy_END_ALLOW_THREADS;
3730 }{
3731 _resultobj = _result;
3732 }
3733 return _resultobj;
3734 }
3735
3736 static void *SwigwxIdleEventTowxEvent(void *ptr) {
3737 wxIdleEvent *src;
3738 wxEvent *dest;
3739 src = (wxIdleEvent *) ptr;
3740 dest = (wxEvent *) src;
3741 return (void *) dest;
3742 }
3743
3744 #define new_wxIdleEvent() (new wxIdleEvent())
3745 static PyObject *_wrap_new_wxIdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3746 PyObject * _resultobj;
3747 wxIdleEvent * _result;
3748 char *_kwnames[] = { NULL };
3749 char _ptemp[128];
3750
3751 self = self;
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxIdleEvent",_kwnames))
3753 return NULL;
3754 {
3755 wxPy_BEGIN_ALLOW_THREADS;
3756 _result = (wxIdleEvent *)new_wxIdleEvent();
3757
3758 wxPy_END_ALLOW_THREADS;
3759 } if (_result) {
3760 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIdleEvent_p");
3761 _resultobj = Py_BuildValue("s",_ptemp);
3762 } else {
3763 Py_INCREF(Py_None);
3764 _resultobj = Py_None;
3765 }
3766 return _resultobj;
3767 }
3768
3769 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
3770 static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
3771 PyObject * _resultobj;
3772 wxIdleEvent * _arg0;
3773 bool _arg1 = (bool ) TRUE;
3774 PyObject * _argo0 = 0;
3775 int tempbool1 = (int) TRUE;
3776 char *_kwnames[] = { "self","needMore", NULL };
3777
3778 self = self;
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIdleEvent_RequestMore",_kwnames,&_argo0,&tempbool1))
3780 return NULL;
3781 if (_argo0) {
3782 if (_argo0 == Py_None) { _arg0 = NULL; }
3783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
3784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
3785 return NULL;
3786 }
3787 }
3788 _arg1 = (bool ) tempbool1;
3789 {
3790 wxPy_BEGIN_ALLOW_THREADS;
3791 wxIdleEvent_RequestMore(_arg0,_arg1);
3792
3793 wxPy_END_ALLOW_THREADS;
3794 } Py_INCREF(Py_None);
3795 _resultobj = Py_None;
3796 return _resultobj;
3797 }
3798
3799 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
3800 static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
3801 PyObject * _resultobj;
3802 bool _result;
3803 wxIdleEvent * _arg0;
3804 PyObject * _argo0 = 0;
3805 char *_kwnames[] = { "self", NULL };
3806
3807 self = self;
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIdleEvent_MoreRequested",_kwnames,&_argo0))
3809 return NULL;
3810 if (_argo0) {
3811 if (_argo0 == Py_None) { _arg0 = NULL; }
3812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
3813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
3814 return NULL;
3815 }
3816 }
3817 {
3818 wxPy_BEGIN_ALLOW_THREADS;
3819 _result = (bool )wxIdleEvent_MoreRequested(_arg0);
3820
3821 wxPy_END_ALLOW_THREADS;
3822 } _resultobj = Py_BuildValue("i",_result);
3823 return _resultobj;
3824 }
3825
3826 static void *SwigwxUpdateUIEventTowxEvent(void *ptr) {
3827 wxUpdateUIEvent *src;
3828 wxEvent *dest;
3829 src = (wxUpdateUIEvent *) ptr;
3830 dest = (wxEvent *) src;
3831 return (void *) dest;
3832 }
3833
3834 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
3835 static PyObject *_wrap_new_wxUpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3836 PyObject * _resultobj;
3837 wxUpdateUIEvent * _result;
3838 wxWindowID _arg0 = (wxWindowID ) 0;
3839 char *_kwnames[] = { "commandId", NULL };
3840 char _ptemp[128];
3841
3842 self = self;
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxUpdateUIEvent",_kwnames,&_arg0))
3844 return NULL;
3845 {
3846 wxPy_BEGIN_ALLOW_THREADS;
3847 _result = (wxUpdateUIEvent *)new_wxUpdateUIEvent(_arg0);
3848
3849 wxPy_END_ALLOW_THREADS;
3850 } if (_result) {
3851 SWIG_MakePtr(_ptemp, (char *) _result,"_wxUpdateUIEvent_p");
3852 _resultobj = Py_BuildValue("s",_ptemp);
3853 } else {
3854 Py_INCREF(Py_None);
3855 _resultobj = Py_None;
3856 }
3857 return _resultobj;
3858 }
3859
3860 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
3861 static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
3862 PyObject * _resultobj;
3863 bool _result;
3864 wxUpdateUIEvent * _arg0;
3865 PyObject * _argo0 = 0;
3866 char *_kwnames[] = { "self", NULL };
3867
3868 self = self;
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetChecked",_kwnames,&_argo0))
3870 return NULL;
3871 if (_argo0) {
3872 if (_argo0 == Py_None) { _arg0 = NULL; }
3873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
3875 return NULL;
3876 }
3877 }
3878 {
3879 wxPy_BEGIN_ALLOW_THREADS;
3880 _result = (bool )wxUpdateUIEvent_GetChecked(_arg0);
3881
3882 wxPy_END_ALLOW_THREADS;
3883 } _resultobj = Py_BuildValue("i",_result);
3884 return _resultobj;
3885 }
3886
3887 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
3888 static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
3889 PyObject * _resultobj;
3890 bool _result;
3891 wxUpdateUIEvent * _arg0;
3892 PyObject * _argo0 = 0;
3893 char *_kwnames[] = { "self", NULL };
3894
3895 self = self;
3896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetEnabled",_kwnames,&_argo0))
3897 return NULL;
3898 if (_argo0) {
3899 if (_argo0 == Py_None) { _arg0 = NULL; }
3900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
3902 return NULL;
3903 }
3904 }
3905 {
3906 wxPy_BEGIN_ALLOW_THREADS;
3907 _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0);
3908
3909 wxPy_END_ALLOW_THREADS;
3910 } _resultobj = Py_BuildValue("i",_result);
3911 return _resultobj;
3912 }
3913
3914 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
3915 static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject * _resultobj;
3917 wxString * _result;
3918 wxUpdateUIEvent * _arg0;
3919 PyObject * _argo0 = 0;
3920 char *_kwnames[] = { "self", NULL };
3921
3922 self = self;
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetText",_kwnames,&_argo0))
3924 return NULL;
3925 if (_argo0) {
3926 if (_argo0 == Py_None) { _arg0 = NULL; }
3927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
3929 return NULL;
3930 }
3931 }
3932 {
3933 wxPy_BEGIN_ALLOW_THREADS;
3934 _result = new wxString (wxUpdateUIEvent_GetText(_arg0));
3935
3936 wxPy_END_ALLOW_THREADS;
3937 }{
3938 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3939 }
3940 {
3941 delete _result;
3942 }
3943 return _resultobj;
3944 }
3945
3946 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
3947 static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
3948 PyObject * _resultobj;
3949 bool _result;
3950 wxUpdateUIEvent * _arg0;
3951 PyObject * _argo0 = 0;
3952 char *_kwnames[] = { "self", NULL };
3953
3954 self = self;
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetText",_kwnames,&_argo0))
3956 return NULL;
3957 if (_argo0) {
3958 if (_argo0 == Py_None) { _arg0 = NULL; }
3959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
3961 return NULL;
3962 }
3963 }
3964 {
3965 wxPy_BEGIN_ALLOW_THREADS;
3966 _result = (bool )wxUpdateUIEvent_GetSetText(_arg0);
3967
3968 wxPy_END_ALLOW_THREADS;
3969 } _resultobj = Py_BuildValue("i",_result);
3970 return _resultobj;
3971 }
3972
3973 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
3974 static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
3975 PyObject * _resultobj;
3976 bool _result;
3977 wxUpdateUIEvent * _arg0;
3978 PyObject * _argo0 = 0;
3979 char *_kwnames[] = { "self", NULL };
3980
3981 self = self;
3982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetChecked",_kwnames,&_argo0))
3983 return NULL;
3984 if (_argo0) {
3985 if (_argo0 == Py_None) { _arg0 = NULL; }
3986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
3988 return NULL;
3989 }
3990 }
3991 {
3992 wxPy_BEGIN_ALLOW_THREADS;
3993 _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0);
3994
3995 wxPy_END_ALLOW_THREADS;
3996 } _resultobj = Py_BuildValue("i",_result);
3997 return _resultobj;
3998 }
3999
4000 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
4001 static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject * _resultobj;
4003 bool _result;
4004 wxUpdateUIEvent * _arg0;
4005 PyObject * _argo0 = 0;
4006 char *_kwnames[] = { "self", NULL };
4007
4008 self = self;
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames,&_argo0))
4010 return NULL;
4011 if (_argo0) {
4012 if (_argo0 == Py_None) { _arg0 = NULL; }
4013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
4014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
4015 return NULL;
4016 }
4017 }
4018 {
4019 wxPy_BEGIN_ALLOW_THREADS;
4020 _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0);
4021
4022 wxPy_END_ALLOW_THREADS;
4023 } _resultobj = Py_BuildValue("i",_result);
4024 return _resultobj;
4025 }
4026
4027 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4028 static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
4029 PyObject * _resultobj;
4030 wxUpdateUIEvent * _arg0;
4031 bool _arg1;
4032 PyObject * _argo0 = 0;
4033 int tempbool1;
4034 char *_kwnames[] = { "self","check", NULL };
4035
4036 self = self;
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Check",_kwnames,&_argo0,&tempbool1))
4038 return NULL;
4039 if (_argo0) {
4040 if (_argo0 == Py_None) { _arg0 = NULL; }
4041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
4042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
4043 return NULL;
4044 }
4045 }
4046 _arg1 = (bool ) tempbool1;
4047 {
4048 wxPy_BEGIN_ALLOW_THREADS;
4049 wxUpdateUIEvent_Check(_arg0,_arg1);
4050
4051 wxPy_END_ALLOW_THREADS;
4052 } Py_INCREF(Py_None);
4053 _resultobj = Py_None;
4054 return _resultobj;
4055 }
4056
4057 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4058 static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4059 PyObject * _resultobj;
4060 wxUpdateUIEvent * _arg0;
4061 bool _arg1;
4062 PyObject * _argo0 = 0;
4063 int tempbool1;
4064 char *_kwnames[] = { "self","enable", NULL };
4065
4066 self = self;
4067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Enable",_kwnames,&_argo0,&tempbool1))
4068 return NULL;
4069 if (_argo0) {
4070 if (_argo0 == Py_None) { _arg0 = NULL; }
4071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
4072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
4073 return NULL;
4074 }
4075 }
4076 _arg1 = (bool ) tempbool1;
4077 {
4078 wxPy_BEGIN_ALLOW_THREADS;
4079 wxUpdateUIEvent_Enable(_arg0,_arg1);
4080
4081 wxPy_END_ALLOW_THREADS;
4082 } Py_INCREF(Py_None);
4083 _resultobj = Py_None;
4084 return _resultobj;
4085 }
4086
4087 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
4088 static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
4089 PyObject * _resultobj;
4090 wxUpdateUIEvent * _arg0;
4091 wxString * _arg1;
4092 PyObject * _argo0 = 0;
4093 PyObject * _obj1 = 0;
4094 char *_kwnames[] = { "self","text", NULL };
4095
4096 self = self;
4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxUpdateUIEvent_SetText",_kwnames,&_argo0,&_obj1))
4098 return NULL;
4099 if (_argo0) {
4100 if (_argo0 == Py_None) { _arg0 = NULL; }
4101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
4102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
4103 return NULL;
4104 }
4105 }
4106 {
4107 if (!PyString_Check(_obj1)) {
4108 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4109 return NULL;
4110 }
4111 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4112 }
4113 {
4114 wxPy_BEGIN_ALLOW_THREADS;
4115 wxUpdateUIEvent_SetText(_arg0,*_arg1);
4116
4117 wxPy_END_ALLOW_THREADS;
4118 } Py_INCREF(Py_None);
4119 _resultobj = Py_None;
4120 {
4121 if (_obj1)
4122 delete _arg1;
4123 }
4124 return _resultobj;
4125 }
4126
4127 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) {
4128 wxSysColourChangedEvent *src;
4129 wxEvent *dest;
4130 src = (wxSysColourChangedEvent *) ptr;
4131 dest = (wxEvent *) src;
4132 return (void *) dest;
4133 }
4134
4135 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
4136 static PyObject *_wrap_new_wxSysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject * _resultobj;
4138 wxSysColourChangedEvent * _result;
4139 char *_kwnames[] = { NULL };
4140 char _ptemp[128];
4141
4142 self = self;
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxSysColourChangedEvent",_kwnames))
4144 return NULL;
4145 {
4146 wxPy_BEGIN_ALLOW_THREADS;
4147 _result = (wxSysColourChangedEvent *)new_wxSysColourChangedEvent();
4148
4149 wxPy_END_ALLOW_THREADS;
4150 } if (_result) {
4151 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSysColourChangedEvent_p");
4152 _resultobj = Py_BuildValue("s",_ptemp);
4153 } else {
4154 Py_INCREF(Py_None);
4155 _resultobj = Py_None;
4156 }
4157 return _resultobj;
4158 }
4159
4160 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) {
4161 wxNotifyEvent *src;
4162 wxCommandEvent *dest;
4163 src = (wxNotifyEvent *) ptr;
4164 dest = (wxCommandEvent *) src;
4165 return (void *) dest;
4166 }
4167
4168 static void *SwigwxNotifyEventTowxEvent(void *ptr) {
4169 wxNotifyEvent *src;
4170 wxEvent *dest;
4171 src = (wxNotifyEvent *) ptr;
4172 dest = (wxEvent *) src;
4173 return (void *) dest;
4174 }
4175
4176 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
4177 static PyObject *_wrap_new_wxNotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject * _resultobj;
4179 wxNotifyEvent * _result;
4180 int _arg0 = (int ) wxEVT_NULL;
4181 int _arg1 = (int ) 0;
4182 char *_kwnames[] = { "commandType","id", NULL };
4183 char _ptemp[128];
4184
4185 self = self;
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxNotifyEvent",_kwnames,&_arg0,&_arg1))
4187 return NULL;
4188 {
4189 wxPy_BEGIN_ALLOW_THREADS;
4190 _result = (wxNotifyEvent *)new_wxNotifyEvent(_arg0,_arg1);
4191
4192 wxPy_END_ALLOW_THREADS;
4193 } if (_result) {
4194 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotifyEvent_p");
4195 _resultobj = Py_BuildValue("s",_ptemp);
4196 } else {
4197 Py_INCREF(Py_None);
4198 _resultobj = Py_None;
4199 }
4200 return _resultobj;
4201 }
4202
4203 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
4204 static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
4205 PyObject * _resultobj;
4206 bool _result;
4207 wxNotifyEvent * _arg0;
4208 PyObject * _argo0 = 0;
4209 char *_kwnames[] = { "self", NULL };
4210
4211 self = self;
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_IsAllowed",_kwnames,&_argo0))
4213 return NULL;
4214 if (_argo0) {
4215 if (_argo0 == Py_None) { _arg0 = NULL; }
4216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
4217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
4218 return NULL;
4219 }
4220 }
4221 {
4222 wxPy_BEGIN_ALLOW_THREADS;
4223 _result = (bool )wxNotifyEvent_IsAllowed(_arg0);
4224
4225 wxPy_END_ALLOW_THREADS;
4226 } _resultobj = Py_BuildValue("i",_result);
4227 return _resultobj;
4228 }
4229
4230 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
4231 static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
4232 PyObject * _resultobj;
4233 wxNotifyEvent * _arg0;
4234 PyObject * _argo0 = 0;
4235 char *_kwnames[] = { "self", NULL };
4236
4237 self = self;
4238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Veto",_kwnames,&_argo0))
4239 return NULL;
4240 if (_argo0) {
4241 if (_argo0 == Py_None) { _arg0 = NULL; }
4242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
4243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
4244 return NULL;
4245 }
4246 }
4247 {
4248 wxPy_BEGIN_ALLOW_THREADS;
4249 wxNotifyEvent_Veto(_arg0);
4250
4251 wxPy_END_ALLOW_THREADS;
4252 } Py_INCREF(Py_None);
4253 _resultobj = Py_None;
4254 return _resultobj;
4255 }
4256
4257 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr) {
4258 wxPaletteChangedEvent *src;
4259 wxEvent *dest;
4260 src = (wxPaletteChangedEvent *) ptr;
4261 dest = (wxEvent *) src;
4262 return (void *) dest;
4263 }
4264
4265 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
4266 static PyObject *_wrap_new_wxPaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4267 PyObject * _resultobj;
4268 wxPaletteChangedEvent * _result;
4269 wxWindowID _arg0 = (wxWindowID ) 0;
4270 char *_kwnames[] = { "id", NULL };
4271 char _ptemp[128];
4272
4273 self = self;
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaletteChangedEvent",_kwnames,&_arg0))
4275 return NULL;
4276 {
4277 wxPy_BEGIN_ALLOW_THREADS;
4278 _result = (wxPaletteChangedEvent *)new_wxPaletteChangedEvent(_arg0);
4279
4280 wxPy_END_ALLOW_THREADS;
4281 } if (_result) {
4282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaletteChangedEvent_p");
4283 _resultobj = Py_BuildValue("s",_ptemp);
4284 } else {
4285 Py_INCREF(Py_None);
4286 _resultobj = Py_None;
4287 }
4288 return _resultobj;
4289 }
4290
4291 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
4292 static PyObject *_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject * _resultobj;
4294 wxPaletteChangedEvent * _arg0;
4295 wxWindow * _arg1;
4296 PyObject * _argo0 = 0;
4297 PyObject * _argo1 = 0;
4298 char *_kwnames[] = { "self","win", NULL };
4299
4300 self = self;
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames,&_argo0,&_argo1))
4302 return NULL;
4303 if (_argo0) {
4304 if (_argo0 == Py_None) { _arg0 = NULL; }
4305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) {
4306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
4307 return NULL;
4308 }
4309 }
4310 if (_argo1) {
4311 if (_argo1 == Py_None) { _arg1 = NULL; }
4312 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4313 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
4314 return NULL;
4315 }
4316 }
4317 {
4318 wxPy_BEGIN_ALLOW_THREADS;
4319 wxPaletteChangedEvent_SetChangedWindow(_arg0,_arg1);
4320
4321 wxPy_END_ALLOW_THREADS;
4322 } Py_INCREF(Py_None);
4323 _resultobj = Py_None;
4324 return _resultobj;
4325 }
4326
4327 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
4328 static PyObject *_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4329 PyObject * _resultobj;
4330 wxWindow * _result;
4331 wxPaletteChangedEvent * _arg0;
4332 PyObject * _argo0 = 0;
4333 char *_kwnames[] = { "self", NULL };
4334 char _ptemp[128];
4335
4336 self = self;
4337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames,&_argo0))
4338 return NULL;
4339 if (_argo0) {
4340 if (_argo0 == Py_None) { _arg0 = NULL; }
4341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) {
4342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
4343 return NULL;
4344 }
4345 }
4346 {
4347 wxPy_BEGIN_ALLOW_THREADS;
4348 _result = (wxWindow *)wxPaletteChangedEvent_GetChangedWindow(_arg0);
4349
4350 wxPy_END_ALLOW_THREADS;
4351 } if (_result) {
4352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4353 _resultobj = Py_BuildValue("s",_ptemp);
4354 } else {
4355 Py_INCREF(Py_None);
4356 _resultobj = Py_None;
4357 }
4358 return _resultobj;
4359 }
4360
4361 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr) {
4362 wxQueryNewPaletteEvent *src;
4363 wxEvent *dest;
4364 src = (wxQueryNewPaletteEvent *) ptr;
4365 dest = (wxEvent *) src;
4366 return (void *) dest;
4367 }
4368
4369 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
4370 static PyObject *_wrap_new_wxQueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4371 PyObject * _resultobj;
4372 wxQueryNewPaletteEvent * _result;
4373 wxWindowID _arg0 = (wxWindowID ) 0;
4374 char *_kwnames[] = { "id", NULL };
4375 char _ptemp[128];
4376
4377 self = self;
4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxQueryNewPaletteEvent",_kwnames,&_arg0))
4379 return NULL;
4380 {
4381 wxPy_BEGIN_ALLOW_THREADS;
4382 _result = (wxQueryNewPaletteEvent *)new_wxQueryNewPaletteEvent(_arg0);
4383
4384 wxPy_END_ALLOW_THREADS;
4385 } if (_result) {
4386 SWIG_MakePtr(_ptemp, (char *) _result,"_wxQueryNewPaletteEvent_p");
4387 _resultobj = Py_BuildValue("s",_ptemp);
4388 } else {
4389 Py_INCREF(Py_None);
4390 _resultobj = Py_None;
4391 }
4392 return _resultobj;
4393 }
4394
4395 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
4396 static PyObject *_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
4397 PyObject * _resultobj;
4398 wxQueryNewPaletteEvent * _arg0;
4399 bool _arg1;
4400 PyObject * _argo0 = 0;
4401 int tempbool1;
4402 char *_kwnames[] = { "self","realized", NULL };
4403
4404 self = self;
4405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames,&_argo0,&tempbool1))
4406 return NULL;
4407 if (_argo0) {
4408 if (_argo0 == Py_None) { _arg0 = NULL; }
4409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) {
4410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
4411 return NULL;
4412 }
4413 }
4414 _arg1 = (bool ) tempbool1;
4415 {
4416 wxPy_BEGIN_ALLOW_THREADS;
4417 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0,_arg1);
4418
4419 wxPy_END_ALLOW_THREADS;
4420 } Py_INCREF(Py_None);
4421 _resultobj = Py_None;
4422 return _resultobj;
4423 }
4424
4425 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
4426 static PyObject *_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject * _resultobj;
4428 bool _result;
4429 wxQueryNewPaletteEvent * _arg0;
4430 PyObject * _argo0 = 0;
4431 char *_kwnames[] = { "self", NULL };
4432
4433 self = self;
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames,&_argo0))
4435 return NULL;
4436 if (_argo0) {
4437 if (_argo0 == Py_None) { _arg0 = NULL; }
4438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) {
4439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
4440 return NULL;
4441 }
4442 }
4443 {
4444 wxPy_BEGIN_ALLOW_THREADS;
4445 _result = (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0);
4446
4447 wxPy_END_ALLOW_THREADS;
4448 } _resultobj = Py_BuildValue("i",_result);
4449 return _resultobj;
4450 }
4451
4452 static void *SwigwxWindowCreateEventTowxEvent(void *ptr) {
4453 wxWindowCreateEvent *src;
4454 wxEvent *dest;
4455 src = (wxWindowCreateEvent *) ptr;
4456 dest = (wxEvent *) src;
4457 return (void *) dest;
4458 }
4459
4460 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
4461 static PyObject *_wrap_new_wxWindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject * _resultobj;
4463 wxWindowCreateEvent * _result;
4464 wxWindow * _arg0 = (wxWindow *) NULL;
4465 PyObject * _argo0 = 0;
4466 char *_kwnames[] = { "win", NULL };
4467 char _ptemp[128];
4468
4469 self = self;
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowCreateEvent",_kwnames,&_argo0))
4471 return NULL;
4472 if (_argo0) {
4473 if (_argo0 == Py_None) { _arg0 = NULL; }
4474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
4476 return NULL;
4477 }
4478 }
4479 {
4480 wxPy_BEGIN_ALLOW_THREADS;
4481 _result = (wxWindowCreateEvent *)new_wxWindowCreateEvent(_arg0);
4482
4483 wxPy_END_ALLOW_THREADS;
4484 } if (_result) {
4485 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowCreateEvent_p");
4486 _resultobj = Py_BuildValue("s",_ptemp);
4487 } else {
4488 Py_INCREF(Py_None);
4489 _resultobj = Py_None;
4490 }
4491 return _resultobj;
4492 }
4493
4494 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
4495 static PyObject *_wrap_wxWindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject * _resultobj;
4497 wxWindow * _result;
4498 wxWindowCreateEvent * _arg0;
4499 PyObject * _argo0 = 0;
4500 char *_kwnames[] = { "self", NULL };
4501 char _ptemp[128];
4502
4503 self = self;
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowCreateEvent_GetWindow",_kwnames,&_argo0))
4505 return NULL;
4506 if (_argo0) {
4507 if (_argo0 == Py_None) { _arg0 = NULL; }
4508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowCreateEvent_p")) {
4509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
4510 return NULL;
4511 }
4512 }
4513 {
4514 wxPy_BEGIN_ALLOW_THREADS;
4515 _result = (wxWindow *)wxWindowCreateEvent_GetWindow(_arg0);
4516
4517 wxPy_END_ALLOW_THREADS;
4518 } if (_result) {
4519 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4520 _resultobj = Py_BuildValue("s",_ptemp);
4521 } else {
4522 Py_INCREF(Py_None);
4523 _resultobj = Py_None;
4524 }
4525 return _resultobj;
4526 }
4527
4528 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr) {
4529 wxWindowDestroyEvent *src;
4530 wxEvent *dest;
4531 src = (wxWindowDestroyEvent *) ptr;
4532 dest = (wxEvent *) src;
4533 return (void *) dest;
4534 }
4535
4536 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
4537 static PyObject *_wrap_new_wxWindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4538 PyObject * _resultobj;
4539 wxWindowDestroyEvent * _result;
4540 wxWindow * _arg0 = (wxWindow *) NULL;
4541 PyObject * _argo0 = 0;
4542 char *_kwnames[] = { "win", NULL };
4543 char _ptemp[128];
4544
4545 self = self;
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDestroyEvent",_kwnames,&_argo0))
4547 return NULL;
4548 if (_argo0) {
4549 if (_argo0 == Py_None) { _arg0 = NULL; }
4550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
4552 return NULL;
4553 }
4554 }
4555 {
4556 wxPy_BEGIN_ALLOW_THREADS;
4557 _result = (wxWindowDestroyEvent *)new_wxWindowDestroyEvent(_arg0);
4558
4559 wxPy_END_ALLOW_THREADS;
4560 } if (_result) {
4561 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDestroyEvent_p");
4562 _resultobj = Py_BuildValue("s",_ptemp);
4563 } else {
4564 Py_INCREF(Py_None);
4565 _resultobj = Py_None;
4566 }
4567 return _resultobj;
4568 }
4569
4570 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
4571 static PyObject *_wrap_wxWindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4572 PyObject * _resultobj;
4573 wxWindow * _result;
4574 wxWindowDestroyEvent * _arg0;
4575 PyObject * _argo0 = 0;
4576 char *_kwnames[] = { "self", NULL };
4577 char _ptemp[128];
4578
4579 self = self;
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowDestroyEvent_GetWindow",_kwnames,&_argo0))
4581 return NULL;
4582 if (_argo0) {
4583 if (_argo0 == Py_None) { _arg0 = NULL; }
4584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDestroyEvent_p")) {
4585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
4586 return NULL;
4587 }
4588 }
4589 {
4590 wxPy_BEGIN_ALLOW_THREADS;
4591 _result = (wxWindow *)wxWindowDestroyEvent_GetWindow(_arg0);
4592
4593 wxPy_END_ALLOW_THREADS;
4594 } if (_result) {
4595 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4596 _resultobj = Py_BuildValue("s",_ptemp);
4597 } else {
4598 Py_INCREF(Py_None);
4599 _resultobj = Py_None;
4600 }
4601 return _resultobj;
4602 }
4603
4604 static void *SwigwxPyEventTowxEvent(void *ptr) {
4605 wxPyEvent *src;
4606 wxEvent *dest;
4607 src = (wxPyEvent *) ptr;
4608 dest = (wxEvent *) src;
4609 return (void *) dest;
4610 }
4611
4612 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
4613 static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4614 PyObject * _resultobj;
4615 wxPyEvent * _result;
4616 int _arg0 = (int ) 0;
4617 char *_kwnames[] = { "id", NULL };
4618 char _ptemp[128];
4619
4620 self = self;
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPyEvent",_kwnames,&_arg0))
4622 return NULL;
4623 {
4624 wxPy_BEGIN_ALLOW_THREADS;
4625 _result = (wxPyEvent *)new_wxPyEvent(_arg0);
4626
4627 wxPy_END_ALLOW_THREADS;
4628 } if (_result) {
4629 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p");
4630 _resultobj = Py_BuildValue("s",_ptemp);
4631 } else {
4632 Py_INCREF(Py_None);
4633 _resultobj = Py_None;
4634 }
4635 return _resultobj;
4636 }
4637
4638 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
4639 static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4640 PyObject * _resultobj;
4641 wxPyEvent * _arg0;
4642 PyObject * _argo0 = 0;
4643 char *_kwnames[] = { "self", NULL };
4644
4645 self = self;
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0))
4647 return NULL;
4648 if (_argo0) {
4649 if (_argo0 == Py_None) { _arg0 = NULL; }
4650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
4651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
4652 return NULL;
4653 }
4654 }
4655 {
4656 wxPy_BEGIN_ALLOW_THREADS;
4657 delete_wxPyEvent(_arg0);
4658
4659 wxPy_END_ALLOW_THREADS;
4660 } Py_INCREF(Py_None);
4661 _resultobj = Py_None;
4662 return _resultobj;
4663 }
4664
4665 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
4666 static PyObject *_wrap_wxPyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
4667 PyObject * _resultobj;
4668 wxPyEvent * _arg0;
4669 PyObject * _arg1;
4670 PyObject * _argo0 = 0;
4671 PyObject * _obj1 = 0;
4672 char *_kwnames[] = { "self","self", NULL };
4673
4674 self = self;
4675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetSelf",_kwnames,&_argo0,&_obj1))
4676 return NULL;
4677 if (_argo0) {
4678 if (_argo0 == Py_None) { _arg0 = NULL; }
4679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
4680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
4681 return NULL;
4682 }
4683 }
4684 {
4685 _arg1 = _obj1;
4686 }
4687 {
4688 wxPy_BEGIN_ALLOW_THREADS;
4689 wxPyEvent_SetSelf(_arg0,_arg1);
4690
4691 wxPy_END_ALLOW_THREADS;
4692 } Py_INCREF(Py_None);
4693 _resultobj = Py_None;
4694 return _resultobj;
4695 }
4696
4697 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
4698 static PyObject *_wrap_wxPyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
4699 PyObject * _resultobj;
4700 PyObject * _result;
4701 wxPyEvent * _arg0;
4702 PyObject * _argo0 = 0;
4703 char *_kwnames[] = { "self", NULL };
4704
4705 self = self;
4706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetSelf",_kwnames,&_argo0))
4707 return NULL;
4708 if (_argo0) {
4709 if (_argo0 == Py_None) { _arg0 = NULL; }
4710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
4711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
4712 return NULL;
4713 }
4714 }
4715 {
4716 wxPy_BEGIN_ALLOW_THREADS;
4717 _result = (PyObject *)wxPyEvent_GetSelf(_arg0);
4718
4719 wxPy_END_ALLOW_THREADS;
4720 }{
4721 _resultobj = _result;
4722 }
4723 return _resultobj;
4724 }
4725
4726 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr) {
4727 wxPyCommandEvent *src;
4728 wxCommandEvent *dest;
4729 src = (wxPyCommandEvent *) ptr;
4730 dest = (wxCommandEvent *) src;
4731 return (void *) dest;
4732 }
4733
4734 static void *SwigwxPyCommandEventTowxEvent(void *ptr) {
4735 wxPyCommandEvent *src;
4736 wxEvent *dest;
4737 src = (wxPyCommandEvent *) ptr;
4738 dest = (wxEvent *) src;
4739 return (void *) dest;
4740 }
4741
4742 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
4743 static PyObject *_wrap_new_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4744 PyObject * _resultobj;
4745 wxPyCommandEvent * _result;
4746 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
4747 int _arg1 = (int ) 0;
4748 char *_kwnames[] = { "commandType","id", NULL };
4749 char _ptemp[128];
4750
4751 self = self;
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxPyCommandEvent",_kwnames,&_arg0,&_arg1))
4753 return NULL;
4754 {
4755 wxPy_BEGIN_ALLOW_THREADS;
4756 _result = (wxPyCommandEvent *)new_wxPyCommandEvent(_arg0,_arg1);
4757
4758 wxPy_END_ALLOW_THREADS;
4759 } if (_result) {
4760 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCommandEvent_p");
4761 _resultobj = Py_BuildValue("s",_ptemp);
4762 } else {
4763 Py_INCREF(Py_None);
4764 _resultobj = Py_None;
4765 }
4766 return _resultobj;
4767 }
4768
4769 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
4770 static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject * _resultobj;
4772 wxPyCommandEvent * _arg0;
4773 PyObject * _argo0 = 0;
4774 char *_kwnames[] = { "self", NULL };
4775
4776 self = self;
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyCommandEvent",_kwnames,&_argo0))
4778 return NULL;
4779 if (_argo0) {
4780 if (_argo0 == Py_None) { _arg0 = NULL; }
4781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
4782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
4783 return NULL;
4784 }
4785 }
4786 {
4787 wxPy_BEGIN_ALLOW_THREADS;
4788 delete_wxPyCommandEvent(_arg0);
4789
4790 wxPy_END_ALLOW_THREADS;
4791 } Py_INCREF(Py_None);
4792 _resultobj = Py_None;
4793 return _resultobj;
4794 }
4795
4796 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
4797 static PyObject *_wrap_wxPyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
4798 PyObject * _resultobj;
4799 wxPyCommandEvent * _arg0;
4800 PyObject * _arg1;
4801 PyObject * _argo0 = 0;
4802 PyObject * _obj1 = 0;
4803 char *_kwnames[] = { "self","self", NULL };
4804
4805 self = self;
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCommandEvent_SetSelf",_kwnames,&_argo0,&_obj1))
4807 return NULL;
4808 if (_argo0) {
4809 if (_argo0 == Py_None) { _arg0 = NULL; }
4810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
4811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
4812 return NULL;
4813 }
4814 }
4815 {
4816 _arg1 = _obj1;
4817 }
4818 {
4819 wxPy_BEGIN_ALLOW_THREADS;
4820 wxPyCommandEvent_SetSelf(_arg0,_arg1);
4821
4822 wxPy_END_ALLOW_THREADS;
4823 } Py_INCREF(Py_None);
4824 _resultobj = Py_None;
4825 return _resultobj;
4826 }
4827
4828 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
4829 static PyObject *_wrap_wxPyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject * _resultobj;
4831 PyObject * _result;
4832 wxPyCommandEvent * _arg0;
4833 PyObject * _argo0 = 0;
4834 char *_kwnames[] = { "self", NULL };
4835
4836 self = self;
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCommandEvent_GetSelf",_kwnames,&_argo0))
4838 return NULL;
4839 if (_argo0) {
4840 if (_argo0 == Py_None) { _arg0 = NULL; }
4841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
4842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
4843 return NULL;
4844 }
4845 }
4846 {
4847 wxPy_BEGIN_ALLOW_THREADS;
4848 _result = (PyObject *)wxPyCommandEvent_GetSelf(_arg0);
4849
4850 wxPy_END_ALLOW_THREADS;
4851 }{
4852 _resultobj = _result;
4853 }
4854 return _resultobj;
4855 }
4856
4857 static PyMethodDef eventscMethods[] = {
4858 { "wxPyCommandEvent_GetSelf", (PyCFunction) _wrap_wxPyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
4859 { "wxPyCommandEvent_SetSelf", (PyCFunction) _wrap_wxPyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
4860 { "delete_wxPyCommandEvent", (PyCFunction) _wrap_delete_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
4861 { "new_wxPyCommandEvent", (PyCFunction) _wrap_new_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
4862 { "wxPyEvent_GetSelf", (PyCFunction) _wrap_wxPyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
4863 { "wxPyEvent_SetSelf", (PyCFunction) _wrap_wxPyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
4864 { "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
4865 { "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
4866 { "wxWindowDestroyEvent_GetWindow", (PyCFunction) _wrap_wxWindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
4867 { "new_wxWindowDestroyEvent", (PyCFunction) _wrap_new_wxWindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
4868 { "wxWindowCreateEvent_GetWindow", (PyCFunction) _wrap_wxWindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
4869 { "new_wxWindowCreateEvent", (PyCFunction) _wrap_new_wxWindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
4870 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
4871 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
4872 { "new_wxQueryNewPaletteEvent", (PyCFunction) _wrap_new_wxQueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
4873 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
4874 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
4875 { "new_wxPaletteChangedEvent", (PyCFunction) _wrap_new_wxPaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
4876 { "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
4877 { "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
4878 { "new_wxNotifyEvent", (PyCFunction) _wrap_new_wxNotifyEvent, METH_VARARGS | METH_KEYWORDS },
4879 { "new_wxSysColourChangedEvent", (PyCFunction) _wrap_new_wxSysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
4880 { "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
4881 { "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
4882 { "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
4883 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
4884 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
4885 { "wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
4886 { "wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
4887 { "wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
4888 { "wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
4889 { "new_wxUpdateUIEvent", (PyCFunction) _wrap_new_wxUpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
4890 { "wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
4891 { "wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
4892 { "new_wxIdleEvent", (PyCFunction) _wrap_new_wxIdleEvent, METH_VARARGS | METH_KEYWORDS },
4893 { "wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
4894 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
4895 { "wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
4896 { "wxJoystickEvent_ButtonIsDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
4897 { "wxJoystickEvent_ButtonUp", (PyCFunction) _wrap_wxJoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
4898 { "wxJoystickEvent_ButtonDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
4899 { "wxJoystickEvent_IsZMove", (PyCFunction) _wrap_wxJoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
4900 { "wxJoystickEvent_IsMove", (PyCFunction) _wrap_wxJoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
4901 { "wxJoystickEvent_IsButton", (PyCFunction) _wrap_wxJoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
4902 { "wxJoystickEvent_SetZPosition", (PyCFunction) _wrap_wxJoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
4903 { "wxJoystickEvent_SetPosition", (PyCFunction) _wrap_wxJoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
4904 { "wxJoystickEvent_SetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
4905 { "wxJoystickEvent_SetButtonState", (PyCFunction) _wrap_wxJoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
4906 { "wxJoystickEvent_SetJoystick", (PyCFunction) _wrap_wxJoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
4907 { "wxJoystickEvent_GetJoystick", (PyCFunction) _wrap_wxJoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
4908 { "wxJoystickEvent_GetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
4909 { "wxJoystickEvent_GetButtonState", (PyCFunction) _wrap_wxJoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
4910 { "wxJoystickEvent_GetZPosition", (PyCFunction) _wrap_wxJoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
4911 { "wxJoystickEvent_GetPosition", (PyCFunction) _wrap_wxJoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
4912 { "new_wxJoystickEvent", (PyCFunction) _wrap_new_wxJoystickEvent, METH_VARARGS | METH_KEYWORDS },
4913 { "new_wxMaximizeEvent", (PyCFunction) _wrap_new_wxMaximizeEvent, METH_VARARGS | METH_KEYWORDS },
4914 { "new_wxIconizeEvent", (PyCFunction) _wrap_new_wxIconizeEvent, METH_VARARGS | METH_KEYWORDS },
4915 { "wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
4916 { "wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
4917 { "new_wxShowEvent", (PyCFunction) _wrap_new_wxShowEvent, METH_VARARGS | METH_KEYWORDS },
4918 { "wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
4919 { "new_wxMenuEvent", (PyCFunction) _wrap_new_wxMenuEvent, METH_VARARGS | METH_KEYWORDS },
4920 { "new_wxInitDialogEvent", (PyCFunction) _wrap_new_wxInitDialogEvent, METH_VARARGS | METH_KEYWORDS },
4921 { "wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
4922 { "new_wxActivateEvent", (PyCFunction) _wrap_new_wxActivateEvent, METH_VARARGS | METH_KEYWORDS },
4923 { "new_wxFocusEvent", (PyCFunction) _wrap_new_wxFocusEvent, METH_VARARGS | METH_KEYWORDS },
4924 { "wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
4925 { "new_wxEraseEvent", (PyCFunction) _wrap_new_wxEraseEvent, METH_VARARGS | METH_KEYWORDS },
4926 { "new_wxPaintEvent", (PyCFunction) _wrap_new_wxPaintEvent, METH_VARARGS | METH_KEYWORDS },
4927 { "wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
4928 { "new_wxMoveEvent", (PyCFunction) _wrap_new_wxMoveEvent, METH_VARARGS | METH_KEYWORDS },
4929 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
4930 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
4931 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
4932 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
4933 { "wxNavigationKeyEvent_SetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
4934 { "wxNavigationKeyEvent_GetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
4935 { "new_wxNavigationKeyEvent", (PyCFunction) _wrap_new_wxNavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
4936 { "wxKeyEvent_GetPositionTuple", (PyCFunction) _wrap_wxKeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
4937 { "wxKeyEvent_GetPosition", (PyCFunction) _wrap_wxKeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
4938 { "wxKeyEvent_GetY", (PyCFunction) _wrap_wxKeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
4939 { "wxKeyEvent_GetX", (PyCFunction) _wrap_wxKeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
4940 { "wxKeyEvent_KeyCode", (PyCFunction) _wrap_wxKeyEvent_KeyCode, METH_VARARGS | METH_KEYWORDS },
4941 { "wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
4942 { "wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
4943 { "wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
4944 { "wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
4945 { "new_wxKeyEvent", (PyCFunction) _wrap_new_wxKeyEvent, METH_VARARGS | METH_KEYWORDS },
4946 { "wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
4947 { "wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
4948 { "wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
4949 { "wxMouseEvent_GetPositionTuple", (PyCFunction) _wrap_wxMouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
4950 { "wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
4951 { "wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
4952 { "wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
4953 { "wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
4954 { "wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
4955 { "wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
4956 { "wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
4957 { "wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
4958 { "wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
4959 { "wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
4960 { "wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
4961 { "wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
4962 { "wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
4963 { "wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
4964 { "wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
4965 { "wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
4966 { "wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
4967 { "wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
4968 { "wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
4969 { "wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
4970 { "wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
4971 { "wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
4972 { "wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
4973 { "wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
4974 { "wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
4975 { "wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
4976 { "wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
4977 { "new_wxMouseEvent", (PyCFunction) _wrap_new_wxMouseEvent, METH_VARARGS | METH_KEYWORDS },
4978 { "new_wxSpinEvent", (PyCFunction) _wrap_new_wxSpinEvent, METH_VARARGS | METH_KEYWORDS },
4979 { "wxScrollWinEvent_GetPosition", (PyCFunction) _wrap_wxScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
4980 { "wxScrollWinEvent_GetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
4981 { "new_wxScrollWinEvent", (PyCFunction) _wrap_new_wxScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
4982 { "wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
4983 { "wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
4984 { "new_wxScrollEvent", (PyCFunction) _wrap_new_wxScrollEvent, METH_VARARGS | METH_KEYWORDS },
4985 { "wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
4986 { "wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
4987 { "wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
4988 { "wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
4989 { "wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
4990 { "wxCommandEvent_Checked", (PyCFunction) _wrap_wxCommandEvent_Checked, METH_VARARGS | METH_KEYWORDS },
4991 { "new_wxCommandEvent", (PyCFunction) _wrap_new_wxCommandEvent, METH_VARARGS | METH_KEYWORDS },
4992 { "wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
4993 { "wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
4994 { "wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
4995 { "wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
4996 { "wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
4997 { "wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
4998 { "new_wxCloseEvent", (PyCFunction) _wrap_new_wxCloseEvent, METH_VARARGS | METH_KEYWORDS },
4999 { "wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
5000 { "new_wxSizeEvent", (PyCFunction) _wrap_new_wxSizeEvent, METH_VARARGS | METH_KEYWORDS },
5001 { "wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS },
5002 { "wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
5003 { "wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS },
5004 { "wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS },
5005 { "wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS },
5006 { "wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
5007 { "wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS },
5008 { "wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS },
5009 { "wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS },
5010 { "wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS },
5011 { "delete_wxEvent", (PyCFunction) _wrap_delete_wxEvent, METH_VARARGS | METH_KEYWORDS },
5012 { "new_wxEvent", (PyCFunction) _wrap_new_wxEvent, METH_VARARGS | METH_KEYWORDS },
5013 { NULL, NULL }
5014 };
5015 #ifdef __cplusplus
5016 }
5017 #endif
5018 /*
5019 * This table is used by the pointer type-checker
5020 */
5021 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5022 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5023 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
5024 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
5025 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
5026 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
5027 { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
5028 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
5029 { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
5030 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
5031 { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
5032 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
5033 { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
5034 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
5035 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
5036 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
5037 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
5038 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
5039 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
5040 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
5041 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
5042 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
5043 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
5044 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
5045 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
5046 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
5047 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
5048 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
5049 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
5050 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
5051 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
5052 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
5053 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
5054 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
5055 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
5056 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
5057 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
5058 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
5059 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
5060 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
5061 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
5062 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
5063 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
5064 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
5065 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
5066 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
5067 { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
5068 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
5069 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
5070 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
5071 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
5072 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
5073 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
5074 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
5075 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
5076 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
5077 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
5078 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
5079 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
5080 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
5081 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
5082 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
5083 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
5084 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
5085 { "_wxEvent","_class_wxEvent",0},
5086 { "_class_wxActivateEvent","_wxActivateEvent",0},
5087 { "_signed_long","_long",0},
5088 { "_wxMenuEvent","_class_wxMenuEvent",0},
5089 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5090 { "_wxPrintQuality","_wxCoord",0},
5091 { "_wxPrintQuality","_int",0},
5092 { "_wxPrintQuality","_signed_int",0},
5093 { "_wxPrintQuality","_unsigned_int",0},
5094 { "_wxPrintQuality","_wxWindowID",0},
5095 { "_wxPrintQuality","_uint",0},
5096 { "_wxPrintQuality","_EBool",0},
5097 { "_wxPrintQuality","_size_t",0},
5098 { "_class_wxRegionIterator","_wxRegionIterator",0},
5099 { "_wxPaintEvent","_class_wxPaintEvent",0},
5100 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5101 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5102 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5103 { "_byte","_unsigned_char",0},
5104 { "_long","_unsigned_long",0},
5105 { "_long","_signed_long",0},
5106 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5107 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5108 { "_wxSpinEvent","_class_wxSpinEvent",0},
5109 { "_size_t","_wxCoord",0},
5110 { "_size_t","_wxPrintQuality",0},
5111 { "_size_t","_unsigned_int",0},
5112 { "_size_t","_int",0},
5113 { "_size_t","_wxWindowID",0},
5114 { "_size_t","_uint",0},
5115 { "_class_wxRealPoint","_wxRealPoint",0},
5116 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5117 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5118 { "_class_wxPaintEvent","_wxPaintEvent",0},
5119 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5120 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5121 { "_wxPyEvent","_class_wxPyEvent",0},
5122 { "_class_wxKeyEvent","_wxKeyEvent",0},
5123 { "_wxIdleEvent","_class_wxIdleEvent",0},
5124 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5125 { "_wxShowEvent","_class_wxShowEvent",0},
5126 { "_uint","_wxCoord",0},
5127 { "_uint","_wxPrintQuality",0},
5128 { "_uint","_size_t",0},
5129 { "_uint","_unsigned_int",0},
5130 { "_uint","_int",0},
5131 { "_uint","_wxWindowID",0},
5132 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
5133 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
5134 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
5135 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
5136 { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
5137 { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent},
5138 { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
5139 { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent},
5140 { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
5141 { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent},
5142 { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
5143 { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent},
5144 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
5145 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
5146 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
5147 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
5148 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
5149 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
5150 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
5151 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
5152 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
5153 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
5154 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
5155 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
5156 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
5157 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
5158 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
5159 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
5160 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
5161 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
5162 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
5163 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
5164 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
5165 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
5166 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
5167 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
5168 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
5169 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
5170 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
5171 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
5172 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
5173 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
5174 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
5175 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
5176 { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
5177 { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent},
5178 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
5179 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
5180 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
5181 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
5182 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
5183 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
5184 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
5185 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
5186 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
5187 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
5188 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
5189 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
5190 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
5191 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
5192 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
5193 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
5194 { "_class_wxEvent","_wxEvent",0},
5195 { "_wxRect","_class_wxRect",0},
5196 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
5197 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
5198 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
5199 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
5200 { "_wxCommandEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent},
5201 { "_wxCommandEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent},
5202 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
5203 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
5204 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
5205 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
5206 { "_wxCommandEvent","_class_wxCommandEvent",0},
5207 { "_wxSizeEvent","_class_wxSizeEvent",0},
5208 { "_wxPoint","_class_wxPoint",0},
5209 { "_wxPyTimer","_class_wxPyTimer",0},
5210 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5211 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5212 { "_class_wxPyEvent","_wxPyEvent",0},
5213 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5214 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
5215 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
5216 { "_wxScrollEvent","_class_wxScrollEvent",0},
5217 { "_EBool","_wxCoord",0},
5218 { "_EBool","_wxPrintQuality",0},
5219 { "_EBool","_signed_int",0},
5220 { "_EBool","_int",0},
5221 { "_EBool","_wxWindowID",0},
5222 { "_class_wxRegion","_wxRegion",0},
5223 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5224 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5225 { "_wxCloseEvent","_class_wxCloseEvent",0},
5226 { "_unsigned_long","_long",0},
5227 { "_class_wxRect","_wxRect",0},
5228 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5229 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5230 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5231 { "_class_wxPyTimer","_wxPyTimer",0},
5232 { "_wxFocusEvent","_class_wxFocusEvent",0},
5233 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5234 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5235 { "_signed_int","_wxCoord",0},
5236 { "_signed_int","_wxPrintQuality",0},
5237 { "_signed_int","_EBool",0},
5238 { "_signed_int","_wxWindowID",0},
5239 { "_signed_int","_int",0},
5240 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5241 { "_class_wxMoveEvent","_wxMoveEvent",0},
5242 { "_WXTYPE","_short",0},
5243 { "_WXTYPE","_signed_short",0},
5244 { "_WXTYPE","_unsigned_short",0},
5245 { "_unsigned_short","_WXTYPE",0},
5246 { "_unsigned_short","_short",0},
5247 { "_class_wxCloseEvent","_wxCloseEvent",0},
5248 { "_wxBusyInfo","_class_wxBusyInfo",0},
5249 { "_class_wxMenuEvent","_wxMenuEvent",0},
5250 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5251 { "_wxMouseEvent","_class_wxMouseEvent",0},
5252 { "_class_wxPoint","_wxPoint",0},
5253 { "_wxRealPoint","_class_wxRealPoint",0},
5254 { "_signed_short","_WXTYPE",0},
5255 { "_signed_short","_short",0},
5256 { "_class_wxFocusEvent","_wxFocusEvent",0},
5257 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5258 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5259 { "_unsigned_char","_byte",0},
5260 { "_unsigned_int","_wxCoord",0},
5261 { "_unsigned_int","_wxPrintQuality",0},
5262 { "_unsigned_int","_size_t",0},
5263 { "_unsigned_int","_uint",0},
5264 { "_unsigned_int","_wxWindowID",0},
5265 { "_unsigned_int","_int",0},
5266 { "_short","_WXTYPE",0},
5267 { "_short","_unsigned_short",0},
5268 { "_short","_signed_short",0},
5269 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
5270 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
5271 { "_class_wxScrollEvent","_wxScrollEvent",0},
5272 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5273 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5274 { "_wxWindowID","_wxCoord",0},
5275 { "_wxWindowID","_wxPrintQuality",0},
5276 { "_wxWindowID","_size_t",0},
5277 { "_wxWindowID","_EBool",0},
5278 { "_wxWindowID","_uint",0},
5279 { "_wxWindowID","_int",0},
5280 { "_wxWindowID","_signed_int",0},
5281 { "_wxWindowID","_unsigned_int",0},
5282 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5283 { "_int","_wxCoord",0},
5284 { "_int","_wxPrintQuality",0},
5285 { "_int","_size_t",0},
5286 { "_int","_EBool",0},
5287 { "_int","_uint",0},
5288 { "_int","_wxWindowID",0},
5289 { "_int","_unsigned_int",0},
5290 { "_int","_signed_int",0},
5291 { "_class_wxMouseEvent","_wxMouseEvent",0},
5292 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5293 { "_class_wxSpinEvent","_wxSpinEvent",0},
5294 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5295 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5296 { "_wxSize","_class_wxSize",0},
5297 { "_wxRegionIterator","_class_wxRegionIterator",0},
5298 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5299 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5300 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5301 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5302 { "_class_wxIdleEvent","_wxIdleEvent",0},
5303 { "_wxCoord","_int",0},
5304 { "_wxCoord","_signed_int",0},
5305 { "_wxCoord","_unsigned_int",0},
5306 { "_wxCoord","_wxWindowID",0},
5307 { "_wxCoord","_uint",0},
5308 { "_wxCoord","_EBool",0},
5309 { "_wxCoord","_size_t",0},
5310 { "_wxCoord","_wxPrintQuality",0},
5311 { "_wxEraseEvent","_class_wxEraseEvent",0},
5312 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5313 { "_wxRegion","_class_wxRegion",0},
5314 { "_class_wxShowEvent","_wxShowEvent",0},
5315 { "_wxActivateEvent","_class_wxActivateEvent",0},
5316 { "_class_wxBusyInfo","_wxBusyInfo",0},
5317 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
5318 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
5319 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
5320 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
5321 { "_class_wxCommandEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent},
5322 { "_class_wxCommandEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent},
5323 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
5324 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
5325 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
5326 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
5327 { "_class_wxCommandEvent","_wxCommandEvent",0},
5328 { "_class_wxSizeEvent","_wxSizeEvent",0},
5329 { "_class_wxSize","_wxSize",0},
5330 { "_wxKeyEvent","_class_wxKeyEvent",0},
5331 { "_wxMoveEvent","_class_wxMoveEvent",0},
5332 { "_class_wxEraseEvent","_wxEraseEvent",0},
5333 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5334 {0,0,0}};
5335
5336 static PyObject *SWIG_globals;
5337 #ifdef __cplusplus
5338 extern "C"
5339 #endif
5340 SWIGEXPORT(void) initeventsc() {
5341 PyObject *m, *d;
5342 SWIG_globals = SWIG_newvarlink();
5343 m = Py_InitModule("eventsc", eventscMethods);
5344 d = PyModule_GetDict(m);
5345 {
5346 int i;
5347 for (i = 0; _swig_mapping[i].n1; i++)
5348 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5349 }
5350 }