]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/events.cpp
1. wxHtmlHelpController and related classes
[wxWidgets.git] / utils / wxPython / src / msw / events.cpp
1 /*
2 * FILE : msw/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
108 class wxPyEvent : public wxEvent {
109 DECLARE_DYNAMIC_CLASS(wxPyEvent)
110 public:
111 wxPyEvent(int id=0, PyObject* userData = Py_None)
112 : wxEvent(id) {
113 m_userData = userData;
114 Py_INCREF(m_userData);
115 }
116
117 ~wxPyEvent() {
118 bool doSave = wxPyRestoreThread();
119 Py_DECREF(m_userData);
120 wxPySaveThread(doSave);
121 }
122
123 void SetPyData(PyObject* userData) {
124 bool doSave = wxPyRestoreThread();
125 Py_DECREF(m_userData);
126 m_userData = userData;
127 Py_INCREF(m_userData);
128 wxPySaveThread(doSave);
129 }
130
131 PyObject* GetPyData() const {
132 Py_INCREF(m_userData);
133 return m_userData;
134 }
135
136 // This one is so the event object can be Cloned...
137 void CopyObject(wxObject& dest) const {
138 wxEvent::CopyObject(dest);
139 ((wxPyEvent*)&dest)->SetPyData(m_userData);
140 }
141
142 private:
143 PyObject* m_userData;
144 };
145
146 IMPLEMENT_DYNAMIC_CLASS(wxPyEvent, wxEvent)
147
148
149 class wxPyCommandEvent : public wxCommandEvent {
150 DECLARE_DYNAMIC_CLASS(wxPyCommandEvent)
151 public:
152 wxPyCommandEvent(wxEventType commandType = wxEVT_NULL, int id=0, PyObject* userData = Py_None)
153 : wxCommandEvent(commandType, id) {
154 m_userData = userData;
155 Py_INCREF(m_userData);
156 }
157
158 ~wxPyCommandEvent() {
159 bool doSave = wxPyRestoreThread();
160 Py_DECREF(m_userData);
161 wxPySaveThread(doSave);
162 }
163
164 void SetPyData(PyObject* userData) {
165 bool doSave = wxPyRestoreThread();
166 Py_DECREF(m_userData);
167 m_userData = userData;
168 Py_INCREF(m_userData);
169 wxPySaveThread(doSave);
170 }
171
172 PyObject* GetPyData() const {
173 Py_INCREF(m_userData);
174 return m_userData;
175 }
176
177 // This one is so the event object can be Cloned...
178 void CopyObject(wxObject& dest) const {
179 wxCommandEvent::CopyObject(dest);
180 ((wxPyCommandEvent*)&dest)->SetPyData(m_userData);
181 }
182
183 private:
184 PyObject* m_userData;
185 };
186
187 IMPLEMENT_DYNAMIC_CLASS(wxPyCommandEvent, wxCommandEvent)
188
189 #ifdef __cplusplus
190 extern "C" {
191 #endif
192 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
193 static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
194 PyObject * _resultobj;
195 wxObject * _result;
196 wxEvent * _arg0;
197 PyObject * _argo0 = 0;
198 char *_kwnames[] = { "self", NULL };
199 char _ptemp[128];
200
201 self = self;
202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventObject",_kwnames,&_argo0))
203 return NULL;
204 if (_argo0) {
205 if (_argo0 == Py_None) { _arg0 = NULL; }
206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
208 return NULL;
209 }
210 }
211 {
212 wxPy_BEGIN_ALLOW_THREADS;
213 _result = (wxObject *)wxEvent_GetEventObject(_arg0);
214
215 wxPy_END_ALLOW_THREADS;
216 } if (_result) {
217 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
218 _resultobj = Py_BuildValue("s",_ptemp);
219 } else {
220 Py_INCREF(Py_None);
221 _resultobj = Py_None;
222 }
223 return _resultobj;
224 }
225
226 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
227 static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
228 PyObject * _resultobj;
229 wxEventType _result;
230 wxEvent * _arg0;
231 PyObject * _argo0 = 0;
232 char *_kwnames[] = { "self", NULL };
233
234 self = self;
235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventType",_kwnames,&_argo0))
236 return NULL;
237 if (_argo0) {
238 if (_argo0 == Py_None) { _arg0 = NULL; }
239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
241 return NULL;
242 }
243 }
244 {
245 wxPy_BEGIN_ALLOW_THREADS;
246 _result = (wxEventType )wxEvent_GetEventType(_arg0);
247
248 wxPy_END_ALLOW_THREADS;
249 } _resultobj = Py_BuildValue("i",_result);
250 return _resultobj;
251 }
252
253 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
254 static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
255 PyObject * _resultobj;
256 int _result;
257 wxEvent * _arg0;
258 PyObject * _argo0 = 0;
259 char *_kwnames[] = { "self", NULL };
260
261 self = self;
262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetId",_kwnames,&_argo0))
263 return NULL;
264 if (_argo0) {
265 if (_argo0 == Py_None) { _arg0 = NULL; }
266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
268 return NULL;
269 }
270 }
271 {
272 wxPy_BEGIN_ALLOW_THREADS;
273 _result = (int )wxEvent_GetId(_arg0);
274
275 wxPy_END_ALLOW_THREADS;
276 } _resultobj = Py_BuildValue("i",_result);
277 return _resultobj;
278 }
279
280 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
281 static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
282 PyObject * _resultobj;
283 bool _result;
284 wxEvent * _arg0;
285 PyObject * _argo0 = 0;
286 char *_kwnames[] = { "self", NULL };
287
288 self = self;
289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetSkipped",_kwnames,&_argo0))
290 return NULL;
291 if (_argo0) {
292 if (_argo0 == Py_None) { _arg0 = NULL; }
293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
295 return NULL;
296 }
297 }
298 {
299 wxPy_BEGIN_ALLOW_THREADS;
300 _result = (bool )wxEvent_GetSkipped(_arg0);
301
302 wxPy_END_ALLOW_THREADS;
303 } _resultobj = Py_BuildValue("i",_result);
304 return _resultobj;
305 }
306
307 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
308 static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
309 PyObject * _resultobj;
310 long _result;
311 wxEvent * _arg0;
312 PyObject * _argo0 = 0;
313 char *_kwnames[] = { "self", NULL };
314
315 self = self;
316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetTimestamp",_kwnames,&_argo0))
317 return NULL;
318 if (_argo0) {
319 if (_argo0 == Py_None) { _arg0 = NULL; }
320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
322 return NULL;
323 }
324 }
325 {
326 wxPy_BEGIN_ALLOW_THREADS;
327 _result = (long )wxEvent_GetTimestamp(_arg0);
328
329 wxPy_END_ALLOW_THREADS;
330 } _resultobj = Py_BuildValue("l",_result);
331 return _resultobj;
332 }
333
334 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
335 static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
336 PyObject * _resultobj;
337 wxEvent * _arg0;
338 wxObject * _arg1;
339 PyObject * _argo0 = 0;
340 PyObject * _argo1 = 0;
341 char *_kwnames[] = { "self","object", NULL };
342
343 self = self;
344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvent_SetEventObject",_kwnames,&_argo0,&_argo1))
345 return NULL;
346 if (_argo0) {
347 if (_argo0 == Py_None) { _arg0 = NULL; }
348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
350 return NULL;
351 }
352 }
353 if (_argo1) {
354 if (_argo1 == Py_None) { _arg1 = NULL; }
355 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
356 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
357 return NULL;
358 }
359 }
360 {
361 wxPy_BEGIN_ALLOW_THREADS;
362 wxEvent_SetEventObject(_arg0,_arg1);
363
364 wxPy_END_ALLOW_THREADS;
365 } Py_INCREF(Py_None);
366 _resultobj = Py_None;
367 return _resultobj;
368 }
369
370 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
371 static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
372 PyObject * _resultobj;
373 wxEvent * _arg0;
374 wxEventType _arg1;
375 PyObject * _argo0 = 0;
376 char *_kwnames[] = { "self","typ", NULL };
377
378 self = self;
379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetEventType",_kwnames,&_argo0,&_arg1))
380 return NULL;
381 if (_argo0) {
382 if (_argo0 == Py_None) { _arg0 = NULL; }
383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
385 return NULL;
386 }
387 }
388 {
389 wxPy_BEGIN_ALLOW_THREADS;
390 wxEvent_SetEventType(_arg0,_arg1);
391
392 wxPy_END_ALLOW_THREADS;
393 } Py_INCREF(Py_None);
394 _resultobj = Py_None;
395 return _resultobj;
396 }
397
398 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
399 static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
400 PyObject * _resultobj;
401 wxEvent * _arg0;
402 int _arg1;
403 PyObject * _argo0 = 0;
404 char *_kwnames[] = { "self","id", NULL };
405
406 self = self;
407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetId",_kwnames,&_argo0,&_arg1))
408 return NULL;
409 if (_argo0) {
410 if (_argo0 == Py_None) { _arg0 = NULL; }
411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
413 return NULL;
414 }
415 }
416 {
417 wxPy_BEGIN_ALLOW_THREADS;
418 wxEvent_SetId(_arg0,_arg1);
419
420 wxPy_END_ALLOW_THREADS;
421 } Py_INCREF(Py_None);
422 _resultobj = Py_None;
423 return _resultobj;
424 }
425
426 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
427 static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
428 PyObject * _resultobj;
429 wxEvent * _arg0;
430 long _arg1;
431 PyObject * _argo0 = 0;
432 char *_kwnames[] = { "self","timeStamp", NULL };
433
434 self = self;
435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxEvent_SetTimestamp",_kwnames,&_argo0,&_arg1))
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_SetTimestamp. Expected _wxEvent_p.");
441 return NULL;
442 }
443 }
444 {
445 wxPy_BEGIN_ALLOW_THREADS;
446 wxEvent_SetTimestamp(_arg0,_arg1);
447
448 wxPy_END_ALLOW_THREADS;
449 } Py_INCREF(Py_None);
450 _resultobj = Py_None;
451 return _resultobj;
452 }
453
454 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
455 static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
456 PyObject * _resultobj;
457 wxEvent * _arg0;
458 bool _arg1 = (bool ) TRUE;
459 PyObject * _argo0 = 0;
460 int tempbool1 = (int) TRUE;
461 char *_kwnames[] = { "self","skip", NULL };
462
463 self = self;
464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxEvent_Skip",_kwnames,&_argo0,&tempbool1))
465 return NULL;
466 if (_argo0) {
467 if (_argo0 == Py_None) { _arg0 = NULL; }
468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) {
469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
470 return NULL;
471 }
472 }
473 _arg1 = (bool ) tempbool1;
474 {
475 wxPy_BEGIN_ALLOW_THREADS;
476 wxEvent_Skip(_arg0,_arg1);
477
478 wxPy_END_ALLOW_THREADS;
479 } Py_INCREF(Py_None);
480 _resultobj = Py_None;
481 return _resultobj;
482 }
483
484 static void *SwigwxSizeEventTowxEvent(void *ptr) {
485 wxSizeEvent *src;
486 wxEvent *dest;
487 src = (wxSizeEvent *) ptr;
488 dest = (wxEvent *) src;
489 return (void *) dest;
490 }
491
492 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
493 static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
494 PyObject * _resultobj;
495 wxSize * _result;
496 wxSizeEvent * _arg0;
497 PyObject * _argo0 = 0;
498 char *_kwnames[] = { "self", NULL };
499 char _ptemp[128];
500
501 self = self;
502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizeEvent_GetSize",_kwnames,&_argo0))
503 return NULL;
504 if (_argo0) {
505 if (_argo0 == Py_None) { _arg0 = NULL; }
506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizeEvent_p")) {
507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
508 return NULL;
509 }
510 }
511 {
512 wxPy_BEGIN_ALLOW_THREADS;
513 _result = new wxSize (wxSizeEvent_GetSize(_arg0));
514
515 wxPy_END_ALLOW_THREADS;
516 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
517 _resultobj = Py_BuildValue("s",_ptemp);
518 return _resultobj;
519 }
520
521 static void *SwigwxCloseEventTowxEvent(void *ptr) {
522 wxCloseEvent *src;
523 wxEvent *dest;
524 src = (wxCloseEvent *) ptr;
525 dest = (wxEvent *) src;
526 return (void *) dest;
527 }
528
529 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
530 static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
531 PyObject * _resultobj;
532 wxCloseEvent * _arg0;
533 bool _arg1;
534 PyObject * _argo0 = 0;
535 int tempbool1;
536 char *_kwnames[] = { "self","loggingOff", NULL };
537
538 self = self;
539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetLoggingOff",_kwnames,&_argo0,&tempbool1))
540 return NULL;
541 if (_argo0) {
542 if (_argo0 == Py_None) { _arg0 = NULL; }
543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
545 return NULL;
546 }
547 }
548 _arg1 = (bool ) tempbool1;
549 {
550 wxPy_BEGIN_ALLOW_THREADS;
551 wxCloseEvent_SetLoggingOff(_arg0,_arg1);
552
553 wxPy_END_ALLOW_THREADS;
554 } Py_INCREF(Py_None);
555 _resultobj = Py_None;
556 return _resultobj;
557 }
558
559 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
560 static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
561 PyObject * _resultobj;
562 bool _result;
563 wxCloseEvent * _arg0;
564 PyObject * _argo0 = 0;
565 char *_kwnames[] = { "self", NULL };
566
567 self = self;
568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetLoggingOff",_kwnames,&_argo0))
569 return NULL;
570 if (_argo0) {
571 if (_argo0 == Py_None) { _arg0 = NULL; }
572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
574 return NULL;
575 }
576 }
577 {
578 wxPy_BEGIN_ALLOW_THREADS;
579 _result = (bool )wxCloseEvent_GetLoggingOff(_arg0);
580
581 wxPy_END_ALLOW_THREADS;
582 } _resultobj = Py_BuildValue("i",_result);
583 return _resultobj;
584 }
585
586 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
587 static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
588 PyObject * _resultobj;
589 wxCloseEvent * _arg0;
590 bool _arg1 = (bool ) TRUE;
591 PyObject * _argo0 = 0;
592 int tempbool1 = (int) TRUE;
593 char *_kwnames[] = { "self","veto", NULL };
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCloseEvent_Veto",_kwnames,&_argo0,&tempbool1))
597 return NULL;
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
602 return NULL;
603 }
604 }
605 _arg1 = (bool ) tempbool1;
606 {
607 wxPy_BEGIN_ALLOW_THREADS;
608 wxCloseEvent_Veto(_arg0,_arg1);
609
610 wxPy_END_ALLOW_THREADS;
611 } Py_INCREF(Py_None);
612 _resultobj = Py_None;
613 return _resultobj;
614 }
615
616 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
617 static PyObject *_wrap_wxCloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
618 PyObject * _resultobj;
619 bool _result;
620 wxCloseEvent * _arg0;
621 PyObject * _argo0 = 0;
622 char *_kwnames[] = { "self", NULL };
623
624 self = self;
625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_CanVeto",_kwnames,&_argo0))
626 return NULL;
627 if (_argo0) {
628 if (_argo0 == Py_None) { _arg0 = NULL; }
629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
631 return NULL;
632 }
633 }
634 {
635 wxPy_BEGIN_ALLOW_THREADS;
636 _result = (bool )wxCloseEvent_CanVeto(_arg0);
637
638 wxPy_END_ALLOW_THREADS;
639 } _resultobj = Py_BuildValue("i",_result);
640 return _resultobj;
641 }
642
643 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
644 static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
645 PyObject * _resultobj;
646 bool _result;
647 wxCloseEvent * _arg0;
648 PyObject * _argo0 = 0;
649 char *_kwnames[] = { "self", NULL };
650
651 self = self;
652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetVeto",_kwnames,&_argo0))
653 return NULL;
654 if (_argo0) {
655 if (_argo0 == Py_None) { _arg0 = NULL; }
656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
658 return NULL;
659 }
660 }
661 {
662 wxPy_BEGIN_ALLOW_THREADS;
663 _result = (bool )wxCloseEvent_GetVeto(_arg0);
664
665 wxPy_END_ALLOW_THREADS;
666 } _resultobj = Py_BuildValue("i",_result);
667 return _resultobj;
668 }
669
670 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
671 static PyObject *_wrap_wxCloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
672 PyObject * _resultobj;
673 wxCloseEvent * _arg0;
674 bool _arg1;
675 PyObject * _argo0 = 0;
676 int tempbool1;
677 char *_kwnames[] = { "self","canVeto", NULL };
678
679 self = self;
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetCanVeto",_kwnames,&_argo0,&tempbool1))
681 return NULL;
682 if (_argo0) {
683 if (_argo0 == Py_None) { _arg0 = NULL; }
684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) {
685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
686 return NULL;
687 }
688 }
689 _arg1 = (bool ) tempbool1;
690 {
691 wxPy_BEGIN_ALLOW_THREADS;
692 wxCloseEvent_SetCanVeto(_arg0,_arg1);
693
694 wxPy_END_ALLOW_THREADS;
695 } Py_INCREF(Py_None);
696 _resultobj = Py_None;
697 return _resultobj;
698 }
699
700 static void *SwigwxCommandEventTowxEvent(void *ptr) {
701 wxCommandEvent *src;
702 wxEvent *dest;
703 src = (wxCommandEvent *) ptr;
704 dest = (wxEvent *) src;
705 return (void *) dest;
706 }
707
708 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
709 static PyObject *_wrap_wxCommandEvent_Checked(PyObject *self, PyObject *args, PyObject *kwargs) {
710 PyObject * _resultobj;
711 bool _result;
712 wxCommandEvent * _arg0;
713 PyObject * _argo0 = 0;
714 char *_kwnames[] = { "self", NULL };
715
716 self = self;
717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_Checked",_kwnames,&_argo0))
718 return NULL;
719 if (_argo0) {
720 if (_argo0 == Py_None) { _arg0 = NULL; }
721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
723 return NULL;
724 }
725 }
726 {
727 wxPy_BEGIN_ALLOW_THREADS;
728 _result = (bool )wxCommandEvent_Checked(_arg0);
729
730 wxPy_END_ALLOW_THREADS;
731 } _resultobj = Py_BuildValue("i",_result);
732 return _resultobj;
733 }
734
735 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
736 static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
737 PyObject * _resultobj;
738 long _result;
739 wxCommandEvent * _arg0;
740 PyObject * _argo0 = 0;
741 char *_kwnames[] = { "self", NULL };
742
743 self = self;
744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetExtraLong",_kwnames,&_argo0))
745 return NULL;
746 if (_argo0) {
747 if (_argo0 == Py_None) { _arg0 = NULL; }
748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
750 return NULL;
751 }
752 }
753 {
754 wxPy_BEGIN_ALLOW_THREADS;
755 _result = (long )wxCommandEvent_GetExtraLong(_arg0);
756
757 wxPy_END_ALLOW_THREADS;
758 } _resultobj = Py_BuildValue("l",_result);
759 return _resultobj;
760 }
761
762 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
763 static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
764 PyObject * _resultobj;
765 int _result;
766 wxCommandEvent * _arg0;
767 PyObject * _argo0 = 0;
768 char *_kwnames[] = { "self", NULL };
769
770 self = self;
771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetInt",_kwnames,&_argo0))
772 return NULL;
773 if (_argo0) {
774 if (_argo0 == Py_None) { _arg0 = NULL; }
775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
777 return NULL;
778 }
779 }
780 {
781 wxPy_BEGIN_ALLOW_THREADS;
782 _result = (int )wxCommandEvent_GetInt(_arg0);
783
784 wxPy_END_ALLOW_THREADS;
785 } _resultobj = Py_BuildValue("i",_result);
786 return _resultobj;
787 }
788
789 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
790 static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
791 PyObject * _resultobj;
792 int _result;
793 wxCommandEvent * _arg0;
794 PyObject * _argo0 = 0;
795 char *_kwnames[] = { "self", NULL };
796
797 self = self;
798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetSelection",_kwnames,&_argo0))
799 return NULL;
800 if (_argo0) {
801 if (_argo0 == Py_None) { _arg0 = NULL; }
802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
804 return NULL;
805 }
806 }
807 {
808 wxPy_BEGIN_ALLOW_THREADS;
809 _result = (int )wxCommandEvent_GetSelection(_arg0);
810
811 wxPy_END_ALLOW_THREADS;
812 } _resultobj = Py_BuildValue("i",_result);
813 return _resultobj;
814 }
815
816 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
817 static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
818 PyObject * _resultobj;
819 wxString * _result;
820 wxCommandEvent * _arg0;
821 PyObject * _argo0 = 0;
822 char *_kwnames[] = { "self", NULL };
823
824 self = self;
825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetString",_kwnames,&_argo0))
826 return NULL;
827 if (_argo0) {
828 if (_argo0 == Py_None) { _arg0 = NULL; }
829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) {
830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
831 return NULL;
832 }
833 }
834 {
835 wxPy_BEGIN_ALLOW_THREADS;
836 _result = new wxString (wxCommandEvent_GetString(_arg0));
837
838 wxPy_END_ALLOW_THREADS;
839 }{
840 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
841 }
842 {
843 delete _result;
844 }
845 return _resultobj;
846 }
847
848 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
849 static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
850 PyObject * _resultobj;
851 bool _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_IsSelection",_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_IsSelection. Expected _wxCommandEvent_p.");
863 return NULL;
864 }
865 }
866 {
867 wxPy_BEGIN_ALLOW_THREADS;
868 _result = (bool )wxCommandEvent_IsSelection(_arg0);
869
870 wxPy_END_ALLOW_THREADS;
871 } _resultobj = Py_BuildValue("i",_result);
872 return _resultobj;
873 }
874
875 static void *SwigwxScrollEventTowxCommandEvent(void *ptr) {
876 wxScrollEvent *src;
877 wxCommandEvent *dest;
878 src = (wxScrollEvent *) ptr;
879 dest = (wxCommandEvent *) src;
880 return (void *) dest;
881 }
882
883 static void *SwigwxScrollEventTowxEvent(void *ptr) {
884 wxScrollEvent *src;
885 wxEvent *dest;
886 src = (wxScrollEvent *) ptr;
887 dest = (wxEvent *) src;
888 return (void *) dest;
889 }
890
891 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
892 static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
893 PyObject * _resultobj;
894 int _result;
895 wxScrollEvent * _arg0;
896 PyObject * _argo0 = 0;
897 char *_kwnames[] = { "self", NULL };
898
899 self = self;
900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetOrientation",_kwnames,&_argo0))
901 return NULL;
902 if (_argo0) {
903 if (_argo0 == Py_None) { _arg0 = NULL; }
904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
906 return NULL;
907 }
908 }
909 {
910 wxPy_BEGIN_ALLOW_THREADS;
911 _result = (int )wxScrollEvent_GetOrientation(_arg0);
912
913 wxPy_END_ALLOW_THREADS;
914 } _resultobj = Py_BuildValue("i",_result);
915 return _resultobj;
916 }
917
918 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
919 static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
920 PyObject * _resultobj;
921 int _result;
922 wxScrollEvent * _arg0;
923 PyObject * _argo0 = 0;
924 char *_kwnames[] = { "self", NULL };
925
926 self = self;
927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetPosition",_kwnames,&_argo0))
928 return NULL;
929 if (_argo0) {
930 if (_argo0 == Py_None) { _arg0 = NULL; }
931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) {
932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
933 return NULL;
934 }
935 }
936 {
937 wxPy_BEGIN_ALLOW_THREADS;
938 _result = (int )wxScrollEvent_GetPosition(_arg0);
939
940 wxPy_END_ALLOW_THREADS;
941 } _resultobj = Py_BuildValue("i",_result);
942 return _resultobj;
943 }
944
945 static void *SwigwxScrollWinEventTowxEvent(void *ptr) {
946 wxScrollWinEvent *src;
947 wxEvent *dest;
948 src = (wxScrollWinEvent *) ptr;
949 dest = (wxEvent *) src;
950 return (void *) dest;
951 }
952
953 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
954 static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
955 PyObject * _resultobj;
956 int _result;
957 wxScrollWinEvent * _arg0;
958 PyObject * _argo0 = 0;
959 char *_kwnames[] = { "self", NULL };
960
961 self = self;
962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetOrientation",_kwnames,&_argo0))
963 return NULL;
964 if (_argo0) {
965 if (_argo0 == Py_None) { _arg0 = NULL; }
966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
968 return NULL;
969 }
970 }
971 {
972 wxPy_BEGIN_ALLOW_THREADS;
973 _result = (int )wxScrollWinEvent_GetOrientation(_arg0);
974
975 wxPy_END_ALLOW_THREADS;
976 } _resultobj = Py_BuildValue("i",_result);
977 return _resultobj;
978 }
979
980 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
981 static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
982 PyObject * _resultobj;
983 int _result;
984 wxScrollWinEvent * _arg0;
985 PyObject * _argo0 = 0;
986 char *_kwnames[] = { "self", NULL };
987
988 self = self;
989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetPosition",_kwnames,&_argo0))
990 return NULL;
991 if (_argo0) {
992 if (_argo0 == Py_None) { _arg0 = NULL; }
993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) {
994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
995 return NULL;
996 }
997 }
998 {
999 wxPy_BEGIN_ALLOW_THREADS;
1000 _result = (int )wxScrollWinEvent_GetPosition(_arg0);
1001
1002 wxPy_END_ALLOW_THREADS;
1003 } _resultobj = Py_BuildValue("i",_result);
1004 return _resultobj;
1005 }
1006
1007 static void *SwigwxSpinEventTowxScrollEvent(void *ptr) {
1008 wxSpinEvent *src;
1009 wxScrollEvent *dest;
1010 src = (wxSpinEvent *) ptr;
1011 dest = (wxScrollEvent *) src;
1012 return (void *) dest;
1013 }
1014
1015 static void *SwigwxSpinEventTowxCommandEvent(void *ptr) {
1016 wxSpinEvent *src;
1017 wxCommandEvent *dest;
1018 src = (wxSpinEvent *) ptr;
1019 dest = (wxCommandEvent *) src;
1020 return (void *) dest;
1021 }
1022
1023 static void *SwigwxSpinEventTowxEvent(void *ptr) {
1024 wxSpinEvent *src;
1025 wxEvent *dest;
1026 src = (wxSpinEvent *) ptr;
1027 dest = (wxEvent *) src;
1028 return (void *) dest;
1029 }
1030
1031 static void *SwigwxMouseEventTowxEvent(void *ptr) {
1032 wxMouseEvent *src;
1033 wxEvent *dest;
1034 src = (wxMouseEvent *) ptr;
1035 dest = (wxEvent *) src;
1036 return (void *) dest;
1037 }
1038
1039 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1040 static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject * _resultobj;
1042 bool _result;
1043 wxMouseEvent * _arg0;
1044 PyObject * _argo0 = 0;
1045 char *_kwnames[] = { "self", NULL };
1046
1047 self = self;
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_IsButton",_kwnames,&_argo0))
1049 return NULL;
1050 if (_argo0) {
1051 if (_argo0 == Py_None) { _arg0 = NULL; }
1052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1054 return NULL;
1055 }
1056 }
1057 {
1058 wxPy_BEGIN_ALLOW_THREADS;
1059 _result = (bool )wxMouseEvent_IsButton(_arg0);
1060
1061 wxPy_END_ALLOW_THREADS;
1062 } _resultobj = Py_BuildValue("i",_result);
1063 return _resultobj;
1064 }
1065
1066 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1067 static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1068 PyObject * _resultobj;
1069 bool _result;
1070 wxMouseEvent * _arg0;
1071 int _arg1 = (int ) -1;
1072 PyObject * _argo0 = 0;
1073 char *_kwnames[] = { "self","but", NULL };
1074
1075 self = self;
1076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
1077 return NULL;
1078 if (_argo0) {
1079 if (_argo0 == Py_None) { _arg0 = NULL; }
1080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1082 return NULL;
1083 }
1084 }
1085 {
1086 wxPy_BEGIN_ALLOW_THREADS;
1087 _result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1);
1088
1089 wxPy_END_ALLOW_THREADS;
1090 } _resultobj = Py_BuildValue("i",_result);
1091 return _resultobj;
1092 }
1093
1094 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1095 static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1096 PyObject * _resultobj;
1097 bool _result;
1098 wxMouseEvent * _arg0;
1099 int _arg1 = (int ) -1;
1100 PyObject * _argo0 = 0;
1101 char *_kwnames[] = { "self","but", NULL };
1102
1103 self = self;
1104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDClick",_kwnames,&_argo0,&_arg1))
1105 return NULL;
1106 if (_argo0) {
1107 if (_argo0 == Py_None) { _arg0 = NULL; }
1108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1110 return NULL;
1111 }
1112 }
1113 {
1114 wxPy_BEGIN_ALLOW_THREADS;
1115 _result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1);
1116
1117 wxPy_END_ALLOW_THREADS;
1118 } _resultobj = Py_BuildValue("i",_result);
1119 return _resultobj;
1120 }
1121
1122 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1123 static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1124 PyObject * _resultobj;
1125 bool _result;
1126 wxMouseEvent * _arg0;
1127 int _arg1 = (int ) -1;
1128 PyObject * _argo0 = 0;
1129 char *_kwnames[] = { "self","but", NULL };
1130
1131 self = self;
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
1133 return NULL;
1134 if (_argo0) {
1135 if (_argo0 == Py_None) { _arg0 = NULL; }
1136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1138 return NULL;
1139 }
1140 }
1141 {
1142 wxPy_BEGIN_ALLOW_THREADS;
1143 _result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1);
1144
1145 wxPy_END_ALLOW_THREADS;
1146 } _resultobj = Py_BuildValue("i",_result);
1147 return _resultobj;
1148 }
1149
1150 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1151 static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject * _resultobj;
1153 bool _result;
1154 wxMouseEvent * _arg0;
1155 int _arg1;
1156 PyObject * _argo0 = 0;
1157 char *_kwnames[] = { "self","but", NULL };
1158
1159 self = self;
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_Button",_kwnames,&_argo0,&_arg1))
1161 return NULL;
1162 if (_argo0) {
1163 if (_argo0 == Py_None) { _arg0 = NULL; }
1164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1166 return NULL;
1167 }
1168 }
1169 {
1170 wxPy_BEGIN_ALLOW_THREADS;
1171 _result = (bool )wxMouseEvent_Button(_arg0,_arg1);
1172
1173 wxPy_END_ALLOW_THREADS;
1174 } _resultobj = Py_BuildValue("i",_result);
1175 return _resultobj;
1176 }
1177
1178 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1179 static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1180 PyObject * _resultobj;
1181 bool _result;
1182 wxMouseEvent * _arg0;
1183 int _arg1;
1184 PyObject * _argo0 = 0;
1185 char *_kwnames[] = { "self","but", NULL };
1186
1187 self = self;
1188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
1189 return NULL;
1190 if (_argo0) {
1191 if (_argo0 == Py_None) { _arg0 = NULL; }
1192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1194 return NULL;
1195 }
1196 }
1197 {
1198 wxPy_BEGIN_ALLOW_THREADS;
1199 _result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1);
1200
1201 wxPy_END_ALLOW_THREADS;
1202 } _resultobj = Py_BuildValue("i",_result);
1203 return _resultobj;
1204 }
1205
1206 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1207 static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1208 PyObject * _resultobj;
1209 bool _result;
1210 wxMouseEvent * _arg0;
1211 PyObject * _argo0 = 0;
1212 char *_kwnames[] = { "self", NULL };
1213
1214 self = self;
1215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ControlDown",_kwnames,&_argo0))
1216 return NULL;
1217 if (_argo0) {
1218 if (_argo0 == Py_None) { _arg0 = NULL; }
1219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1221 return NULL;
1222 }
1223 }
1224 {
1225 wxPy_BEGIN_ALLOW_THREADS;
1226 _result = (bool )wxMouseEvent_ControlDown(_arg0);
1227
1228 wxPy_END_ALLOW_THREADS;
1229 } _resultobj = Py_BuildValue("i",_result);
1230 return _resultobj;
1231 }
1232
1233 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1234 static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1235 PyObject * _resultobj;
1236 bool _result;
1237 wxMouseEvent * _arg0;
1238 PyObject * _argo0 = 0;
1239 char *_kwnames[] = { "self", NULL };
1240
1241 self = self;
1242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MetaDown",_kwnames,&_argo0))
1243 return NULL;
1244 if (_argo0) {
1245 if (_argo0 == Py_None) { _arg0 = NULL; }
1246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1248 return NULL;
1249 }
1250 }
1251 {
1252 wxPy_BEGIN_ALLOW_THREADS;
1253 _result = (bool )wxMouseEvent_MetaDown(_arg0);
1254
1255 wxPy_END_ALLOW_THREADS;
1256 } _resultobj = Py_BuildValue("i",_result);
1257 return _resultobj;
1258 }
1259
1260 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1261 static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1262 PyObject * _resultobj;
1263 bool _result;
1264 wxMouseEvent * _arg0;
1265 PyObject * _argo0 = 0;
1266 char *_kwnames[] = { "self", NULL };
1267
1268 self = self;
1269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_AltDown",_kwnames,&_argo0))
1270 return NULL;
1271 if (_argo0) {
1272 if (_argo0 == Py_None) { _arg0 = NULL; }
1273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1275 return NULL;
1276 }
1277 }
1278 {
1279 wxPy_BEGIN_ALLOW_THREADS;
1280 _result = (bool )wxMouseEvent_AltDown(_arg0);
1281
1282 wxPy_END_ALLOW_THREADS;
1283 } _resultobj = Py_BuildValue("i",_result);
1284 return _resultobj;
1285 }
1286
1287 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1288 static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1289 PyObject * _resultobj;
1290 bool _result;
1291 wxMouseEvent * _arg0;
1292 PyObject * _argo0 = 0;
1293 char *_kwnames[] = { "self", NULL };
1294
1295 self = self;
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ShiftDown",_kwnames,&_argo0))
1297 return NULL;
1298 if (_argo0) {
1299 if (_argo0 == Py_None) { _arg0 = NULL; }
1300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1302 return NULL;
1303 }
1304 }
1305 {
1306 wxPy_BEGIN_ALLOW_THREADS;
1307 _result = (bool )wxMouseEvent_ShiftDown(_arg0);
1308
1309 wxPy_END_ALLOW_THREADS;
1310 } _resultobj = Py_BuildValue("i",_result);
1311 return _resultobj;
1312 }
1313
1314 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1315 static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1316 PyObject * _resultobj;
1317 bool _result;
1318 wxMouseEvent * _arg0;
1319 PyObject * _argo0 = 0;
1320 char *_kwnames[] = { "self", NULL };
1321
1322 self = self;
1323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDown",_kwnames,&_argo0))
1324 return NULL;
1325 if (_argo0) {
1326 if (_argo0 == Py_None) { _arg0 = NULL; }
1327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1329 return NULL;
1330 }
1331 }
1332 {
1333 wxPy_BEGIN_ALLOW_THREADS;
1334 _result = (bool )wxMouseEvent_LeftDown(_arg0);
1335
1336 wxPy_END_ALLOW_THREADS;
1337 } _resultobj = Py_BuildValue("i",_result);
1338 return _resultobj;
1339 }
1340
1341 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1342 static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1343 PyObject * _resultobj;
1344 bool _result;
1345 wxMouseEvent * _arg0;
1346 PyObject * _argo0 = 0;
1347 char *_kwnames[] = { "self", NULL };
1348
1349 self = self;
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDown",_kwnames,&_argo0))
1351 return NULL;
1352 if (_argo0) {
1353 if (_argo0 == Py_None) { _arg0 = NULL; }
1354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1356 return NULL;
1357 }
1358 }
1359 {
1360 wxPy_BEGIN_ALLOW_THREADS;
1361 _result = (bool )wxMouseEvent_MiddleDown(_arg0);
1362
1363 wxPy_END_ALLOW_THREADS;
1364 } _resultobj = Py_BuildValue("i",_result);
1365 return _resultobj;
1366 }
1367
1368 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1369 static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1370 PyObject * _resultobj;
1371 bool _result;
1372 wxMouseEvent * _arg0;
1373 PyObject * _argo0 = 0;
1374 char *_kwnames[] = { "self", NULL };
1375
1376 self = self;
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDown",_kwnames,&_argo0))
1378 return NULL;
1379 if (_argo0) {
1380 if (_argo0 == Py_None) { _arg0 = NULL; }
1381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1383 return NULL;
1384 }
1385 }
1386 {
1387 wxPy_BEGIN_ALLOW_THREADS;
1388 _result = (bool )wxMouseEvent_RightDown(_arg0);
1389
1390 wxPy_END_ALLOW_THREADS;
1391 } _resultobj = Py_BuildValue("i",_result);
1392 return _resultobj;
1393 }
1394
1395 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1396 static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1397 PyObject * _resultobj;
1398 bool _result;
1399 wxMouseEvent * _arg0;
1400 PyObject * _argo0 = 0;
1401 char *_kwnames[] = { "self", NULL };
1402
1403 self = self;
1404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftUp",_kwnames,&_argo0))
1405 return NULL;
1406 if (_argo0) {
1407 if (_argo0 == Py_None) { _arg0 = NULL; }
1408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1410 return NULL;
1411 }
1412 }
1413 {
1414 wxPy_BEGIN_ALLOW_THREADS;
1415 _result = (bool )wxMouseEvent_LeftUp(_arg0);
1416
1417 wxPy_END_ALLOW_THREADS;
1418 } _resultobj = Py_BuildValue("i",_result);
1419 return _resultobj;
1420 }
1421
1422 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1423 static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1424 PyObject * _resultobj;
1425 bool _result;
1426 wxMouseEvent * _arg0;
1427 PyObject * _argo0 = 0;
1428 char *_kwnames[] = { "self", NULL };
1429
1430 self = self;
1431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleUp",_kwnames,&_argo0))
1432 return NULL;
1433 if (_argo0) {
1434 if (_argo0 == Py_None) { _arg0 = NULL; }
1435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1437 return NULL;
1438 }
1439 }
1440 {
1441 wxPy_BEGIN_ALLOW_THREADS;
1442 _result = (bool )wxMouseEvent_MiddleUp(_arg0);
1443
1444 wxPy_END_ALLOW_THREADS;
1445 } _resultobj = Py_BuildValue("i",_result);
1446 return _resultobj;
1447 }
1448
1449 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1450 static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
1451 PyObject * _resultobj;
1452 bool _result;
1453 wxMouseEvent * _arg0;
1454 PyObject * _argo0 = 0;
1455 char *_kwnames[] = { "self", NULL };
1456
1457 self = self;
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightUp",_kwnames,&_argo0))
1459 return NULL;
1460 if (_argo0) {
1461 if (_argo0 == Py_None) { _arg0 = NULL; }
1462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1464 return NULL;
1465 }
1466 }
1467 {
1468 wxPy_BEGIN_ALLOW_THREADS;
1469 _result = (bool )wxMouseEvent_RightUp(_arg0);
1470
1471 wxPy_END_ALLOW_THREADS;
1472 } _resultobj = Py_BuildValue("i",_result);
1473 return _resultobj;
1474 }
1475
1476 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1477 static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject * _resultobj;
1479 bool _result;
1480 wxMouseEvent * _arg0;
1481 PyObject * _argo0 = 0;
1482 char *_kwnames[] = { "self", NULL };
1483
1484 self = self;
1485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDClick",_kwnames,&_argo0))
1486 return NULL;
1487 if (_argo0) {
1488 if (_argo0 == Py_None) { _arg0 = NULL; }
1489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1491 return NULL;
1492 }
1493 }
1494 {
1495 wxPy_BEGIN_ALLOW_THREADS;
1496 _result = (bool )wxMouseEvent_LeftDClick(_arg0);
1497
1498 wxPy_END_ALLOW_THREADS;
1499 } _resultobj = Py_BuildValue("i",_result);
1500 return _resultobj;
1501 }
1502
1503 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1504 static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1505 PyObject * _resultobj;
1506 bool _result;
1507 wxMouseEvent * _arg0;
1508 PyObject * _argo0 = 0;
1509 char *_kwnames[] = { "self", NULL };
1510
1511 self = self;
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDClick",_kwnames,&_argo0))
1513 return NULL;
1514 if (_argo0) {
1515 if (_argo0 == Py_None) { _arg0 = NULL; }
1516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1518 return NULL;
1519 }
1520 }
1521 {
1522 wxPy_BEGIN_ALLOW_THREADS;
1523 _result = (bool )wxMouseEvent_MiddleDClick(_arg0);
1524
1525 wxPy_END_ALLOW_THREADS;
1526 } _resultobj = Py_BuildValue("i",_result);
1527 return _resultobj;
1528 }
1529
1530 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1531 static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1532 PyObject * _resultobj;
1533 bool _result;
1534 wxMouseEvent * _arg0;
1535 PyObject * _argo0 = 0;
1536 char *_kwnames[] = { "self", NULL };
1537
1538 self = self;
1539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDClick",_kwnames,&_argo0))
1540 return NULL;
1541 if (_argo0) {
1542 if (_argo0 == Py_None) { _arg0 = NULL; }
1543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1545 return NULL;
1546 }
1547 }
1548 {
1549 wxPy_BEGIN_ALLOW_THREADS;
1550 _result = (bool )wxMouseEvent_RightDClick(_arg0);
1551
1552 wxPy_END_ALLOW_THREADS;
1553 } _resultobj = Py_BuildValue("i",_result);
1554 return _resultobj;
1555 }
1556
1557 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1558 static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject * _resultobj;
1560 bool _result;
1561 wxMouseEvent * _arg0;
1562 PyObject * _argo0 = 0;
1563 char *_kwnames[] = { "self", NULL };
1564
1565 self = self;
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftIsDown",_kwnames,&_argo0))
1567 return NULL;
1568 if (_argo0) {
1569 if (_argo0 == Py_None) { _arg0 = NULL; }
1570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1572 return NULL;
1573 }
1574 }
1575 {
1576 wxPy_BEGIN_ALLOW_THREADS;
1577 _result = (bool )wxMouseEvent_LeftIsDown(_arg0);
1578
1579 wxPy_END_ALLOW_THREADS;
1580 } _resultobj = Py_BuildValue("i",_result);
1581 return _resultobj;
1582 }
1583
1584 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1585 static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject * _resultobj;
1587 bool _result;
1588 wxMouseEvent * _arg0;
1589 PyObject * _argo0 = 0;
1590 char *_kwnames[] = { "self", NULL };
1591
1592 self = self;
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleIsDown",_kwnames,&_argo0))
1594 return NULL;
1595 if (_argo0) {
1596 if (_argo0 == Py_None) { _arg0 = NULL; }
1597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1599 return NULL;
1600 }
1601 }
1602 {
1603 wxPy_BEGIN_ALLOW_THREADS;
1604 _result = (bool )wxMouseEvent_MiddleIsDown(_arg0);
1605
1606 wxPy_END_ALLOW_THREADS;
1607 } _resultobj = Py_BuildValue("i",_result);
1608 return _resultobj;
1609 }
1610
1611 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1612 static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1613 PyObject * _resultobj;
1614 bool _result;
1615 wxMouseEvent * _arg0;
1616 PyObject * _argo0 = 0;
1617 char *_kwnames[] = { "self", NULL };
1618
1619 self = self;
1620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightIsDown",_kwnames,&_argo0))
1621 return NULL;
1622 if (_argo0) {
1623 if (_argo0 == Py_None) { _arg0 = NULL; }
1624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1626 return NULL;
1627 }
1628 }
1629 {
1630 wxPy_BEGIN_ALLOW_THREADS;
1631 _result = (bool )wxMouseEvent_RightIsDown(_arg0);
1632
1633 wxPy_END_ALLOW_THREADS;
1634 } _resultobj = Py_BuildValue("i",_result);
1635 return _resultobj;
1636 }
1637
1638 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1639 static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject * _resultobj;
1641 bool _result;
1642 wxMouseEvent * _arg0;
1643 PyObject * _argo0 = 0;
1644 char *_kwnames[] = { "self", NULL };
1645
1646 self = self;
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Dragging",_kwnames,&_argo0))
1648 return NULL;
1649 if (_argo0) {
1650 if (_argo0 == Py_None) { _arg0 = NULL; }
1651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1653 return NULL;
1654 }
1655 }
1656 {
1657 wxPy_BEGIN_ALLOW_THREADS;
1658 _result = (bool )wxMouseEvent_Dragging(_arg0);
1659
1660 wxPy_END_ALLOW_THREADS;
1661 } _resultobj = Py_BuildValue("i",_result);
1662 return _resultobj;
1663 }
1664
1665 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1666 static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
1667 PyObject * _resultobj;
1668 bool _result;
1669 wxMouseEvent * _arg0;
1670 PyObject * _argo0 = 0;
1671 char *_kwnames[] = { "self", NULL };
1672
1673 self = self;
1674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Moving",_kwnames,&_argo0))
1675 return NULL;
1676 if (_argo0) {
1677 if (_argo0 == Py_None) { _arg0 = NULL; }
1678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1680 return NULL;
1681 }
1682 }
1683 {
1684 wxPy_BEGIN_ALLOW_THREADS;
1685 _result = (bool )wxMouseEvent_Moving(_arg0);
1686
1687 wxPy_END_ALLOW_THREADS;
1688 } _resultobj = Py_BuildValue("i",_result);
1689 return _resultobj;
1690 }
1691
1692 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1693 static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
1694 PyObject * _resultobj;
1695 bool _result;
1696 wxMouseEvent * _arg0;
1697 PyObject * _argo0 = 0;
1698 char *_kwnames[] = { "self", NULL };
1699
1700 self = self;
1701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Entering",_kwnames,&_argo0))
1702 return NULL;
1703 if (_argo0) {
1704 if (_argo0 == Py_None) { _arg0 = NULL; }
1705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1707 return NULL;
1708 }
1709 }
1710 {
1711 wxPy_BEGIN_ALLOW_THREADS;
1712 _result = (bool )wxMouseEvent_Entering(_arg0);
1713
1714 wxPy_END_ALLOW_THREADS;
1715 } _resultobj = Py_BuildValue("i",_result);
1716 return _resultobj;
1717 }
1718
1719 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1720 static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
1721 PyObject * _resultobj;
1722 bool _result;
1723 wxMouseEvent * _arg0;
1724 PyObject * _argo0 = 0;
1725 char *_kwnames[] = { "self", NULL };
1726
1727 self = self;
1728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Leaving",_kwnames,&_argo0))
1729 return NULL;
1730 if (_argo0) {
1731 if (_argo0 == Py_None) { _arg0 = NULL; }
1732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1734 return NULL;
1735 }
1736 }
1737 {
1738 wxPy_BEGIN_ALLOW_THREADS;
1739 _result = (bool )wxMouseEvent_Leaving(_arg0);
1740
1741 wxPy_END_ALLOW_THREADS;
1742 } _resultobj = Py_BuildValue("i",_result);
1743 return _resultobj;
1744 }
1745
1746 #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1747 static PyObject *_wrap_wxMouseEvent_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
1748 PyObject * _resultobj;
1749 wxMouseEvent * _arg0;
1750 long * _arg1;
1751 long temp;
1752 long * _arg2;
1753 long temp0;
1754 PyObject * _argo0 = 0;
1755 char *_kwnames[] = { "self", NULL };
1756
1757 self = self;
1758 {
1759 _arg1 = &temp;
1760 }
1761 {
1762 _arg2 = &temp0;
1763 }
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Position",_kwnames,&_argo0))
1765 return NULL;
1766 if (_argo0) {
1767 if (_argo0 == Py_None) { _arg0 = NULL; }
1768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
1770 return NULL;
1771 }
1772 }
1773 {
1774 wxPy_BEGIN_ALLOW_THREADS;
1775 wxMouseEvent_Position(_arg0,_arg1,_arg2);
1776
1777 wxPy_END_ALLOW_THREADS;
1778 } Py_INCREF(Py_None);
1779 _resultobj = Py_None;
1780 {
1781 PyObject *o;
1782 o = PyInt_FromLong((long) (*_arg1));
1783 _resultobj = t_output_helper(_resultobj, o);
1784 }
1785 {
1786 PyObject *o;
1787 o = PyInt_FromLong((long) (*_arg2));
1788 _resultobj = t_output_helper(_resultobj, o);
1789 }
1790 return _resultobj;
1791 }
1792
1793 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1794 static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject * _resultobj;
1796 wxPoint * _result;
1797 wxMouseEvent * _arg0;
1798 PyObject * _argo0 = 0;
1799 char *_kwnames[] = { "self", NULL };
1800 char _ptemp[128];
1801
1802 self = self;
1803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPosition",_kwnames,&_argo0))
1804 return NULL;
1805 if (_argo0) {
1806 if (_argo0 == Py_None) { _arg0 = NULL; }
1807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1809 return NULL;
1810 }
1811 }
1812 {
1813 wxPy_BEGIN_ALLOW_THREADS;
1814 _result = new wxPoint (wxMouseEvent_GetPosition(_arg0));
1815
1816 wxPy_END_ALLOW_THREADS;
1817 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1818 _resultobj = Py_BuildValue("s",_ptemp);
1819 return _resultobj;
1820 }
1821
1822 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1823 static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1824 PyObject * _resultobj;
1825 wxPoint * _result;
1826 wxMouseEvent * _arg0;
1827 wxDC * _arg1;
1828 PyObject * _argo0 = 0;
1829 PyObject * _argo1 = 0;
1830 char *_kwnames[] = { "self","dc", NULL };
1831 char _ptemp[128];
1832
1833 self = self;
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMouseEvent_GetLogicalPosition",_kwnames,&_argo0,&_argo1))
1835 return NULL;
1836 if (_argo0) {
1837 if (_argo0 == Py_None) { _arg0 = NULL; }
1838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
1840 return NULL;
1841 }
1842 }
1843 if (_argo1) {
1844 if (_argo1 == Py_None) { _arg1 = NULL; }
1845 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1846 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
1847 return NULL;
1848 }
1849 }
1850 {
1851 wxPy_BEGIN_ALLOW_THREADS;
1852 _result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1));
1853
1854 wxPy_END_ALLOW_THREADS;
1855 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1856 _resultobj = Py_BuildValue("s",_ptemp);
1857 return _resultobj;
1858 }
1859
1860 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
1861 static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
1862 PyObject * _resultobj;
1863 long _result;
1864 wxMouseEvent * _arg0;
1865 PyObject * _argo0 = 0;
1866 char *_kwnames[] = { "self", NULL };
1867
1868 self = self;
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetX",_kwnames,&_argo0))
1870 return NULL;
1871 if (_argo0) {
1872 if (_argo0 == Py_None) { _arg0 = NULL; }
1873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
1875 return NULL;
1876 }
1877 }
1878 {
1879 wxPy_BEGIN_ALLOW_THREADS;
1880 _result = (long )wxMouseEvent_GetX(_arg0);
1881
1882 wxPy_END_ALLOW_THREADS;
1883 } _resultobj = Py_BuildValue("l",_result);
1884 return _resultobj;
1885 }
1886
1887 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
1888 static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
1889 PyObject * _resultobj;
1890 long _result;
1891 wxMouseEvent * _arg0;
1892 PyObject * _argo0 = 0;
1893 char *_kwnames[] = { "self", NULL };
1894
1895 self = self;
1896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetY",_kwnames,&_argo0))
1897 return NULL;
1898 if (_argo0) {
1899 if (_argo0 == Py_None) { _arg0 = NULL; }
1900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) {
1901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
1902 return NULL;
1903 }
1904 }
1905 {
1906 wxPy_BEGIN_ALLOW_THREADS;
1907 _result = (long )wxMouseEvent_GetY(_arg0);
1908
1909 wxPy_END_ALLOW_THREADS;
1910 } _resultobj = Py_BuildValue("l",_result);
1911 return _resultobj;
1912 }
1913
1914 static void *SwigwxKeyEventTowxEvent(void *ptr) {
1915 wxKeyEvent *src;
1916 wxEvent *dest;
1917 src = (wxKeyEvent *) ptr;
1918 dest = (wxEvent *) src;
1919 return (void *) dest;
1920 }
1921
1922 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1923 static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject * _resultobj;
1925 bool _result;
1926 wxKeyEvent * _arg0;
1927 PyObject * _argo0 = 0;
1928 char *_kwnames[] = { "self", NULL };
1929
1930 self = self;
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ControlDown",_kwnames,&_argo0))
1932 return NULL;
1933 if (_argo0) {
1934 if (_argo0 == Py_None) { _arg0 = NULL; }
1935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
1937 return NULL;
1938 }
1939 }
1940 {
1941 wxPy_BEGIN_ALLOW_THREADS;
1942 _result = (bool )wxKeyEvent_ControlDown(_arg0);
1943
1944 wxPy_END_ALLOW_THREADS;
1945 } _resultobj = Py_BuildValue("i",_result);
1946 return _resultobj;
1947 }
1948
1949 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1950 static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject * _resultobj;
1952 bool _result;
1953 wxKeyEvent * _arg0;
1954 PyObject * _argo0 = 0;
1955 char *_kwnames[] = { "self", NULL };
1956
1957 self = self;
1958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_MetaDown",_kwnames,&_argo0))
1959 return NULL;
1960 if (_argo0) {
1961 if (_argo0 == Py_None) { _arg0 = NULL; }
1962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
1963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
1964 return NULL;
1965 }
1966 }
1967 {
1968 wxPy_BEGIN_ALLOW_THREADS;
1969 _result = (bool )wxKeyEvent_MetaDown(_arg0);
1970
1971 wxPy_END_ALLOW_THREADS;
1972 } _resultobj = Py_BuildValue("i",_result);
1973 return _resultobj;
1974 }
1975
1976 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
1977 static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject * _resultobj;
1979 bool _result;
1980 wxKeyEvent * _arg0;
1981 PyObject * _argo0 = 0;
1982 char *_kwnames[] = { "self", NULL };
1983
1984 self = self;
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_AltDown",_kwnames,&_argo0))
1986 return NULL;
1987 if (_argo0) {
1988 if (_argo0 == Py_None) { _arg0 = NULL; }
1989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
1990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
1991 return NULL;
1992 }
1993 }
1994 {
1995 wxPy_BEGIN_ALLOW_THREADS;
1996 _result = (bool )wxKeyEvent_AltDown(_arg0);
1997
1998 wxPy_END_ALLOW_THREADS;
1999 } _resultobj = Py_BuildValue("i",_result);
2000 return _resultobj;
2001 }
2002
2003 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
2004 static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2005 PyObject * _resultobj;
2006 bool _result;
2007 wxKeyEvent * _arg0;
2008 PyObject * _argo0 = 0;
2009 char *_kwnames[] = { "self", NULL };
2010
2011 self = self;
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ShiftDown",_kwnames,&_argo0))
2013 return NULL;
2014 if (_argo0) {
2015 if (_argo0 == Py_None) { _arg0 = NULL; }
2016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
2018 return NULL;
2019 }
2020 }
2021 {
2022 wxPy_BEGIN_ALLOW_THREADS;
2023 _result = (bool )wxKeyEvent_ShiftDown(_arg0);
2024
2025 wxPy_END_ALLOW_THREADS;
2026 } _resultobj = Py_BuildValue("i",_result);
2027 return _resultobj;
2028 }
2029
2030 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
2031 static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject * _resultobj;
2033 long _result;
2034 wxKeyEvent * _arg0;
2035 PyObject * _argo0 = 0;
2036 char *_kwnames[] = { "self", NULL };
2037
2038 self = self;
2039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_KeyCode",_kwnames,&_argo0))
2040 return NULL;
2041 if (_argo0) {
2042 if (_argo0 == Py_None) { _arg0 = NULL; }
2043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) {
2044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
2045 return NULL;
2046 }
2047 }
2048 {
2049 wxPy_BEGIN_ALLOW_THREADS;
2050 _result = (long )wxKeyEvent_KeyCode(_arg0);
2051
2052 wxPy_END_ALLOW_THREADS;
2053 } _resultobj = Py_BuildValue("l",_result);
2054 return _resultobj;
2055 }
2056
2057 static void *SwigwxMoveEventTowxEvent(void *ptr) {
2058 wxMoveEvent *src;
2059 wxEvent *dest;
2060 src = (wxMoveEvent *) ptr;
2061 dest = (wxEvent *) src;
2062 return (void *) dest;
2063 }
2064
2065 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2066 static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2067 PyObject * _resultobj;
2068 wxPoint * _result;
2069 wxMoveEvent * _arg0;
2070 PyObject * _argo0 = 0;
2071 char *_kwnames[] = { "self", NULL };
2072 char _ptemp[128];
2073
2074 self = self;
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMoveEvent_GetPosition",_kwnames,&_argo0))
2076 return NULL;
2077 if (_argo0) {
2078 if (_argo0 == Py_None) { _arg0 = NULL; }
2079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMoveEvent_p")) {
2080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
2081 return NULL;
2082 }
2083 }
2084 {
2085 wxPy_BEGIN_ALLOW_THREADS;
2086 _result = new wxPoint (wxMoveEvent_GetPosition(_arg0));
2087
2088 wxPy_END_ALLOW_THREADS;
2089 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2090 _resultobj = Py_BuildValue("s",_ptemp);
2091 return _resultobj;
2092 }
2093
2094 static void *SwigwxPaintEventTowxEvent(void *ptr) {
2095 wxPaintEvent *src;
2096 wxEvent *dest;
2097 src = (wxPaintEvent *) ptr;
2098 dest = (wxEvent *) src;
2099 return (void *) dest;
2100 }
2101
2102 static void *SwigwxEraseEventTowxEvent(void *ptr) {
2103 wxEraseEvent *src;
2104 wxEvent *dest;
2105 src = (wxEraseEvent *) ptr;
2106 dest = (wxEvent *) src;
2107 return (void *) dest;
2108 }
2109
2110 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
2111 static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject * _resultobj;
2113 wxDC * _result;
2114 wxEraseEvent * _arg0;
2115 PyObject * _argo0 = 0;
2116 char *_kwnames[] = { "self", NULL };
2117 char _ptemp[128];
2118
2119 self = self;
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEraseEvent_GetDC",_kwnames,&_argo0))
2121 return NULL;
2122 if (_argo0) {
2123 if (_argo0 == Py_None) { _arg0 = NULL; }
2124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEraseEvent_p")) {
2125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
2126 return NULL;
2127 }
2128 }
2129 {
2130 wxPy_BEGIN_ALLOW_THREADS;
2131 _result = (wxDC *)wxEraseEvent_GetDC(_arg0);
2132
2133 wxPy_END_ALLOW_THREADS;
2134 } if (_result) {
2135 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
2136 _resultobj = Py_BuildValue("s",_ptemp);
2137 } else {
2138 Py_INCREF(Py_None);
2139 _resultobj = Py_None;
2140 }
2141 return _resultobj;
2142 }
2143
2144 static void *SwigwxFocusEventTowxEvent(void *ptr) {
2145 wxFocusEvent *src;
2146 wxEvent *dest;
2147 src = (wxFocusEvent *) ptr;
2148 dest = (wxEvent *) src;
2149 return (void *) dest;
2150 }
2151
2152 static void *SwigwxActivateEventTowxEvent(void *ptr) {
2153 wxActivateEvent *src;
2154 wxEvent *dest;
2155 src = (wxActivateEvent *) ptr;
2156 dest = (wxEvent *) src;
2157 return (void *) dest;
2158 }
2159
2160 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
2161 static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
2162 PyObject * _resultobj;
2163 bool _result;
2164 wxActivateEvent * _arg0;
2165 PyObject * _argo0 = 0;
2166 char *_kwnames[] = { "self", NULL };
2167
2168 self = self;
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxActivateEvent_GetActive",_kwnames,&_argo0))
2170 return NULL;
2171 if (_argo0) {
2172 if (_argo0 == Py_None) { _arg0 = NULL; }
2173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxActivateEvent_p")) {
2174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
2175 return NULL;
2176 }
2177 }
2178 {
2179 wxPy_BEGIN_ALLOW_THREADS;
2180 _result = (bool )wxActivateEvent_GetActive(_arg0);
2181
2182 wxPy_END_ALLOW_THREADS;
2183 } _resultobj = Py_BuildValue("i",_result);
2184 return _resultobj;
2185 }
2186
2187 static void *SwigwxInitDialogEventTowxEvent(void *ptr) {
2188 wxInitDialogEvent *src;
2189 wxEvent *dest;
2190 src = (wxInitDialogEvent *) ptr;
2191 dest = (wxEvent *) src;
2192 return (void *) dest;
2193 }
2194
2195 static void *SwigwxMenuEventTowxEvent(void *ptr) {
2196 wxMenuEvent *src;
2197 wxEvent *dest;
2198 src = (wxMenuEvent *) ptr;
2199 dest = (wxEvent *) src;
2200 return (void *) dest;
2201 }
2202
2203 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
2204 static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
2205 PyObject * _resultobj;
2206 int _result;
2207 wxMenuEvent * _arg0;
2208 PyObject * _argo0 = 0;
2209 char *_kwnames[] = { "self", NULL };
2210
2211 self = self;
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_GetMenuId",_kwnames,&_argo0))
2213 return NULL;
2214 if (_argo0) {
2215 if (_argo0 == Py_None) { _arg0 = NULL; }
2216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) {
2217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
2218 return NULL;
2219 }
2220 }
2221 {
2222 wxPy_BEGIN_ALLOW_THREADS;
2223 _result = (int )wxMenuEvent_GetMenuId(_arg0);
2224
2225 wxPy_END_ALLOW_THREADS;
2226 } _resultobj = Py_BuildValue("i",_result);
2227 return _resultobj;
2228 }
2229
2230 static void *SwigwxShowEventTowxEvent(void *ptr) {
2231 wxShowEvent *src;
2232 wxEvent *dest;
2233 src = (wxShowEvent *) ptr;
2234 dest = (wxEvent *) src;
2235 return (void *) dest;
2236 }
2237
2238 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
2239 static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject * _resultobj;
2241 wxShowEvent * _arg0;
2242 bool _arg1;
2243 PyObject * _argo0 = 0;
2244 int tempbool1;
2245 char *_kwnames[] = { "self","show", NULL };
2246
2247 self = self;
2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShowEvent_SetShow",_kwnames,&_argo0,&tempbool1))
2249 return NULL;
2250 if (_argo0) {
2251 if (_argo0 == Py_None) { _arg0 = NULL; }
2252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
2253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
2254 return NULL;
2255 }
2256 }
2257 _arg1 = (bool ) tempbool1;
2258 {
2259 wxPy_BEGIN_ALLOW_THREADS;
2260 wxShowEvent_SetShow(_arg0,_arg1);
2261
2262 wxPy_END_ALLOW_THREADS;
2263 } Py_INCREF(Py_None);
2264 _resultobj = Py_None;
2265 return _resultobj;
2266 }
2267
2268 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
2269 static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject * _resultobj;
2271 bool _result;
2272 wxShowEvent * _arg0;
2273 PyObject * _argo0 = 0;
2274 char *_kwnames[] = { "self", NULL };
2275
2276 self = self;
2277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShowEvent_GetShow",_kwnames,&_argo0))
2278 return NULL;
2279 if (_argo0) {
2280 if (_argo0 == Py_None) { _arg0 = NULL; }
2281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) {
2282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
2283 return NULL;
2284 }
2285 }
2286 {
2287 wxPy_BEGIN_ALLOW_THREADS;
2288 _result = (bool )wxShowEvent_GetShow(_arg0);
2289
2290 wxPy_END_ALLOW_THREADS;
2291 } _resultobj = Py_BuildValue("i",_result);
2292 return _resultobj;
2293 }
2294
2295 static void *SwigwxIconizeEventTowxEvent(void *ptr) {
2296 wxIconizeEvent *src;
2297 wxEvent *dest;
2298 src = (wxIconizeEvent *) ptr;
2299 dest = (wxEvent *) src;
2300 return (void *) dest;
2301 }
2302
2303 static void *SwigwxMaximizeEventTowxEvent(void *ptr) {
2304 wxMaximizeEvent *src;
2305 wxEvent *dest;
2306 src = (wxMaximizeEvent *) ptr;
2307 dest = (wxEvent *) src;
2308 return (void *) dest;
2309 }
2310
2311 static void *SwigwxJoystickEventTowxEvent(void *ptr) {
2312 wxJoystickEvent *src;
2313 wxEvent *dest;
2314 src = (wxJoystickEvent *) ptr;
2315 dest = (wxEvent *) src;
2316 return (void *) dest;
2317 }
2318
2319 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2320 static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2321 PyObject * _resultobj;
2322 wxPoint * _result;
2323 wxJoystickEvent * _arg0;
2324 PyObject * _argo0 = 0;
2325 char *_kwnames[] = { "self", NULL };
2326 char _ptemp[128];
2327
2328 self = self;
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetPosition",_kwnames,&_argo0))
2330 return NULL;
2331 if (_argo0) {
2332 if (_argo0 == Py_None) { _arg0 = NULL; }
2333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
2335 return NULL;
2336 }
2337 }
2338 {
2339 wxPy_BEGIN_ALLOW_THREADS;
2340 _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0));
2341
2342 wxPy_END_ALLOW_THREADS;
2343 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2344 _resultobj = Py_BuildValue("s",_ptemp);
2345 return _resultobj;
2346 }
2347
2348 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
2349 static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2350 PyObject * _resultobj;
2351 int _result;
2352 wxJoystickEvent * _arg0;
2353 PyObject * _argo0 = 0;
2354 char *_kwnames[] = { "self", NULL };
2355
2356 self = self;
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetZPosition",_kwnames,&_argo0))
2358 return NULL;
2359 if (_argo0) {
2360 if (_argo0 == Py_None) { _arg0 = NULL; }
2361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
2363 return NULL;
2364 }
2365 }
2366 {
2367 wxPy_BEGIN_ALLOW_THREADS;
2368 _result = (int )wxJoystickEvent_GetZPosition(_arg0);
2369
2370 wxPy_END_ALLOW_THREADS;
2371 } _resultobj = Py_BuildValue("i",_result);
2372 return _resultobj;
2373 }
2374
2375 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
2376 static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject * _resultobj;
2378 int _result;
2379 wxJoystickEvent * _arg0;
2380 PyObject * _argo0 = 0;
2381 char *_kwnames[] = { "self", NULL };
2382
2383 self = self;
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonState",_kwnames,&_argo0))
2385 return NULL;
2386 if (_argo0) {
2387 if (_argo0 == Py_None) { _arg0 = NULL; }
2388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
2390 return NULL;
2391 }
2392 }
2393 {
2394 wxPy_BEGIN_ALLOW_THREADS;
2395 _result = (int )wxJoystickEvent_GetButtonState(_arg0);
2396
2397 wxPy_END_ALLOW_THREADS;
2398 } _resultobj = Py_BuildValue("i",_result);
2399 return _resultobj;
2400 }
2401
2402 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
2403 static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
2404 PyObject * _resultobj;
2405 int _result;
2406 wxJoystickEvent * _arg0;
2407 PyObject * _argo0 = 0;
2408 char *_kwnames[] = { "self", NULL };
2409
2410 self = self;
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonChange",_kwnames,&_argo0))
2412 return NULL;
2413 if (_argo0) {
2414 if (_argo0 == Py_None) { _arg0 = NULL; }
2415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
2417 return NULL;
2418 }
2419 }
2420 {
2421 wxPy_BEGIN_ALLOW_THREADS;
2422 _result = (int )wxJoystickEvent_GetButtonChange(_arg0);
2423
2424 wxPy_END_ALLOW_THREADS;
2425 } _resultobj = Py_BuildValue("i",_result);
2426 return _resultobj;
2427 }
2428
2429 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
2430 static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject * _resultobj;
2432 int _result;
2433 wxJoystickEvent * _arg0;
2434 PyObject * _argo0 = 0;
2435 char *_kwnames[] = { "self", NULL };
2436
2437 self = self;
2438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetJoystick",_kwnames,&_argo0))
2439 return NULL;
2440 if (_argo0) {
2441 if (_argo0 == Py_None) { _arg0 = NULL; }
2442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
2444 return NULL;
2445 }
2446 }
2447 {
2448 wxPy_BEGIN_ALLOW_THREADS;
2449 _result = (int )wxJoystickEvent_GetJoystick(_arg0);
2450
2451 wxPy_END_ALLOW_THREADS;
2452 } _resultobj = Py_BuildValue("i",_result);
2453 return _resultobj;
2454 }
2455
2456 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
2457 static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
2458 PyObject * _resultobj;
2459 wxJoystickEvent * _arg0;
2460 int _arg1;
2461 PyObject * _argo0 = 0;
2462 char *_kwnames[] = { "self","stick", NULL };
2463
2464 self = self;
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetJoystick",_kwnames,&_argo0,&_arg1))
2466 return NULL;
2467 if (_argo0) {
2468 if (_argo0 == Py_None) { _arg0 = NULL; }
2469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
2471 return NULL;
2472 }
2473 }
2474 {
2475 wxPy_BEGIN_ALLOW_THREADS;
2476 wxJoystickEvent_SetJoystick(_arg0,_arg1);
2477
2478 wxPy_END_ALLOW_THREADS;
2479 } Py_INCREF(Py_None);
2480 _resultobj = Py_None;
2481 return _resultobj;
2482 }
2483
2484 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
2485 static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject * _resultobj;
2487 wxJoystickEvent * _arg0;
2488 int _arg1;
2489 PyObject * _argo0 = 0;
2490 char *_kwnames[] = { "self","state", NULL };
2491
2492 self = self;
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonState",_kwnames,&_argo0,&_arg1))
2494 return NULL;
2495 if (_argo0) {
2496 if (_argo0 == Py_None) { _arg0 = NULL; }
2497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
2499 return NULL;
2500 }
2501 }
2502 {
2503 wxPy_BEGIN_ALLOW_THREADS;
2504 wxJoystickEvent_SetButtonState(_arg0,_arg1);
2505
2506 wxPy_END_ALLOW_THREADS;
2507 } Py_INCREF(Py_None);
2508 _resultobj = Py_None;
2509 return _resultobj;
2510 }
2511
2512 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
2513 static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
2514 PyObject * _resultobj;
2515 wxJoystickEvent * _arg0;
2516 int _arg1;
2517 PyObject * _argo0 = 0;
2518 char *_kwnames[] = { "self","change", NULL };
2519
2520 self = self;
2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonChange",_kwnames,&_argo0,&_arg1))
2522 return NULL;
2523 if (_argo0) {
2524 if (_argo0 == Py_None) { _arg0 = NULL; }
2525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
2527 return NULL;
2528 }
2529 }
2530 {
2531 wxPy_BEGIN_ALLOW_THREADS;
2532 wxJoystickEvent_SetButtonChange(_arg0,_arg1);
2533
2534 wxPy_END_ALLOW_THREADS;
2535 } Py_INCREF(Py_None);
2536 _resultobj = Py_None;
2537 return _resultobj;
2538 }
2539
2540 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2541 static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2542 PyObject * _resultobj;
2543 wxJoystickEvent * _arg0;
2544 wxPoint * _arg1;
2545 PyObject * _argo0 = 0;
2546 wxPoint temp;
2547 PyObject * _obj1 = 0;
2548 char *_kwnames[] = { "self","pos", NULL };
2549
2550 self = self;
2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_obj1))
2552 return NULL;
2553 if (_argo0) {
2554 if (_argo0 == Py_None) { _arg0 = NULL; }
2555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
2557 return NULL;
2558 }
2559 }
2560 {
2561 _arg1 = &temp;
2562 if (! wxPoint_helper(_obj1, &_arg1))
2563 return NULL;
2564 }
2565 {
2566 wxPy_BEGIN_ALLOW_THREADS;
2567 wxJoystickEvent_SetPosition(_arg0,*_arg1);
2568
2569 wxPy_END_ALLOW_THREADS;
2570 } Py_INCREF(Py_None);
2571 _resultobj = Py_None;
2572 return _resultobj;
2573 }
2574
2575 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
2576 static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject * _resultobj;
2578 wxJoystickEvent * _arg0;
2579 int _arg1;
2580 PyObject * _argo0 = 0;
2581 char *_kwnames[] = { "self","zPos", NULL };
2582
2583 self = self;
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetZPosition",_kwnames,&_argo0,&_arg1))
2585 return NULL;
2586 if (_argo0) {
2587 if (_argo0 == Py_None) { _arg0 = NULL; }
2588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
2590 return NULL;
2591 }
2592 }
2593 {
2594 wxPy_BEGIN_ALLOW_THREADS;
2595 wxJoystickEvent_SetZPosition(_arg0,_arg1);
2596
2597 wxPy_END_ALLOW_THREADS;
2598 } Py_INCREF(Py_None);
2599 _resultobj = Py_None;
2600 return _resultobj;
2601 }
2602
2603 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
2604 static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject * _resultobj;
2606 bool _result;
2607 wxJoystickEvent * _arg0;
2608 PyObject * _argo0 = 0;
2609 char *_kwnames[] = { "self", NULL };
2610
2611 self = self;
2612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsButton",_kwnames,&_argo0))
2613 return NULL;
2614 if (_argo0) {
2615 if (_argo0 == Py_None) { _arg0 = NULL; }
2616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
2618 return NULL;
2619 }
2620 }
2621 {
2622 wxPy_BEGIN_ALLOW_THREADS;
2623 _result = (bool )wxJoystickEvent_IsButton(_arg0);
2624
2625 wxPy_END_ALLOW_THREADS;
2626 } _resultobj = Py_BuildValue("i",_result);
2627 return _resultobj;
2628 }
2629
2630 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
2631 static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
2632 PyObject * _resultobj;
2633 bool _result;
2634 wxJoystickEvent * _arg0;
2635 PyObject * _argo0 = 0;
2636 char *_kwnames[] = { "self", NULL };
2637
2638 self = self;
2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsMove",_kwnames,&_argo0))
2640 return NULL;
2641 if (_argo0) {
2642 if (_argo0 == Py_None) { _arg0 = NULL; }
2643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
2645 return NULL;
2646 }
2647 }
2648 {
2649 wxPy_BEGIN_ALLOW_THREADS;
2650 _result = (bool )wxJoystickEvent_IsMove(_arg0);
2651
2652 wxPy_END_ALLOW_THREADS;
2653 } _resultobj = Py_BuildValue("i",_result);
2654 return _resultobj;
2655 }
2656
2657 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
2658 static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
2659 PyObject * _resultobj;
2660 bool _result;
2661 wxJoystickEvent * _arg0;
2662 PyObject * _argo0 = 0;
2663 char *_kwnames[] = { "self", NULL };
2664
2665 self = self;
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsZMove",_kwnames,&_argo0))
2667 return NULL;
2668 if (_argo0) {
2669 if (_argo0 == Py_None) { _arg0 = NULL; }
2670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
2672 return NULL;
2673 }
2674 }
2675 {
2676 wxPy_BEGIN_ALLOW_THREADS;
2677 _result = (bool )wxJoystickEvent_IsZMove(_arg0);
2678
2679 wxPy_END_ALLOW_THREADS;
2680 } _resultobj = Py_BuildValue("i",_result);
2681 return _resultobj;
2682 }
2683
2684 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
2685 static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2686 PyObject * _resultobj;
2687 bool _result;
2688 wxJoystickEvent * _arg0;
2689 int _arg1 = (int ) wxJOY_BUTTON_ANY;
2690 PyObject * _argo0 = 0;
2691 char *_kwnames[] = { "self","but", NULL };
2692
2693 self = self;
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonDown",_kwnames,&_argo0,&_arg1))
2695 return NULL;
2696 if (_argo0) {
2697 if (_argo0 == Py_None) { _arg0 = NULL; }
2698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
2700 return NULL;
2701 }
2702 }
2703 {
2704 wxPy_BEGIN_ALLOW_THREADS;
2705 _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1);
2706
2707 wxPy_END_ALLOW_THREADS;
2708 } _resultobj = Py_BuildValue("i",_result);
2709 return _resultobj;
2710 }
2711
2712 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
2713 static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
2714 PyObject * _resultobj;
2715 bool _result;
2716 wxJoystickEvent * _arg0;
2717 int _arg1 = (int ) wxJOY_BUTTON_ANY;
2718 PyObject * _argo0 = 0;
2719 char *_kwnames[] = { "self","but", NULL };
2720
2721 self = self;
2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonUp",_kwnames,&_argo0,&_arg1))
2723 return NULL;
2724 if (_argo0) {
2725 if (_argo0 == Py_None) { _arg0 = NULL; }
2726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
2728 return NULL;
2729 }
2730 }
2731 {
2732 wxPy_BEGIN_ALLOW_THREADS;
2733 _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1);
2734
2735 wxPy_END_ALLOW_THREADS;
2736 } _resultobj = Py_BuildValue("i",_result);
2737 return _resultobj;
2738 }
2739
2740 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
2741 static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
2742 PyObject * _resultobj;
2743 bool _result;
2744 wxJoystickEvent * _arg0;
2745 int _arg1 = (int ) wxJOY_BUTTON_ANY;
2746 PyObject * _argo0 = 0;
2747 char *_kwnames[] = { "self","but", NULL };
2748
2749 self = self;
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1))
2751 return NULL;
2752 if (_argo0) {
2753 if (_argo0 == Py_None) { _arg0 = NULL; }
2754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
2756 return NULL;
2757 }
2758 }
2759 {
2760 wxPy_BEGIN_ALLOW_THREADS;
2761 _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1);
2762
2763 wxPy_END_ALLOW_THREADS;
2764 } _resultobj = Py_BuildValue("i",_result);
2765 return _resultobj;
2766 }
2767
2768 static void *SwigwxDropFilesEventTowxEvent(void *ptr) {
2769 wxDropFilesEvent *src;
2770 wxEvent *dest;
2771 src = (wxDropFilesEvent *) ptr;
2772 dest = (wxEvent *) src;
2773 return (void *) dest;
2774 }
2775
2776 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2777 static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2778 PyObject * _resultobj;
2779 wxPoint * _result;
2780 wxDropFilesEvent * _arg0;
2781 PyObject * _argo0 = 0;
2782 char *_kwnames[] = { "self", NULL };
2783 char _ptemp[128];
2784
2785 self = self;
2786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetPosition",_kwnames,&_argo0))
2787 return NULL;
2788 if (_argo0) {
2789 if (_argo0 == Py_None) { _arg0 = NULL; }
2790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
2792 return NULL;
2793 }
2794 }
2795 {
2796 wxPy_BEGIN_ALLOW_THREADS;
2797 _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0));
2798
2799 wxPy_END_ALLOW_THREADS;
2800 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2801 _resultobj = Py_BuildValue("s",_ptemp);
2802 return _resultobj;
2803 }
2804
2805 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
2806 static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject * _resultobj;
2808 int _result;
2809 wxDropFilesEvent * _arg0;
2810 PyObject * _argo0 = 0;
2811 char *_kwnames[] = { "self", NULL };
2812
2813 self = self;
2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames,&_argo0))
2815 return NULL;
2816 if (_argo0) {
2817 if (_argo0 == Py_None) { _arg0 = NULL; }
2818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
2820 return NULL;
2821 }
2822 }
2823 {
2824 wxPy_BEGIN_ALLOW_THREADS;
2825 _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0);
2826
2827 wxPy_END_ALLOW_THREADS;
2828 } _resultobj = Py_BuildValue("i",_result);
2829 return _resultobj;
2830 }
2831
2832 static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) {
2833 int count = self->GetNumberOfFiles();
2834 wxString* files = self->GetFiles();
2835 PyObject* list = PyList_New(count);
2836
2837 if (!list) {
2838 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
2839 return NULL;
2840 }
2841
2842 for (int i=0; i<count; i++) {
2843 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
2844 }
2845 return list;
2846 }
2847 static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
2848 PyObject * _resultobj;
2849 PyObject * _result;
2850 wxDropFilesEvent * _arg0;
2851 PyObject * _argo0 = 0;
2852 char *_kwnames[] = { "self", NULL };
2853
2854 self = self;
2855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetFiles",_kwnames,&_argo0))
2856 return NULL;
2857 if (_argo0) {
2858 if (_argo0 == Py_None) { _arg0 = NULL; }
2859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
2861 return NULL;
2862 }
2863 }
2864 {
2865 wxPy_BEGIN_ALLOW_THREADS;
2866 _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0);
2867
2868 wxPy_END_ALLOW_THREADS;
2869 }{
2870 _resultobj = _result;
2871 }
2872 return _resultobj;
2873 }
2874
2875 static void *SwigwxIdleEventTowxEvent(void *ptr) {
2876 wxIdleEvent *src;
2877 wxEvent *dest;
2878 src = (wxIdleEvent *) ptr;
2879 dest = (wxEvent *) src;
2880 return (void *) dest;
2881 }
2882
2883 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
2884 static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
2885 PyObject * _resultobj;
2886 wxIdleEvent * _arg0;
2887 bool _arg1 = (bool ) TRUE;
2888 PyObject * _argo0 = 0;
2889 int tempbool1 = (int) TRUE;
2890 char *_kwnames[] = { "self","needMore", NULL };
2891
2892 self = self;
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIdleEvent_RequestMore",_kwnames,&_argo0,&tempbool1))
2894 return NULL;
2895 if (_argo0) {
2896 if (_argo0 == Py_None) { _arg0 = NULL; }
2897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
2898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
2899 return NULL;
2900 }
2901 }
2902 _arg1 = (bool ) tempbool1;
2903 {
2904 wxPy_BEGIN_ALLOW_THREADS;
2905 wxIdleEvent_RequestMore(_arg0,_arg1);
2906
2907 wxPy_END_ALLOW_THREADS;
2908 } Py_INCREF(Py_None);
2909 _resultobj = Py_None;
2910 return _resultobj;
2911 }
2912
2913 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
2914 static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
2915 PyObject * _resultobj;
2916 bool _result;
2917 wxIdleEvent * _arg0;
2918 PyObject * _argo0 = 0;
2919 char *_kwnames[] = { "self", NULL };
2920
2921 self = self;
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIdleEvent_MoreRequested",_kwnames,&_argo0))
2923 return NULL;
2924 if (_argo0) {
2925 if (_argo0 == Py_None) { _arg0 = NULL; }
2926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) {
2927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
2928 return NULL;
2929 }
2930 }
2931 {
2932 wxPy_BEGIN_ALLOW_THREADS;
2933 _result = (bool )wxIdleEvent_MoreRequested(_arg0);
2934
2935 wxPy_END_ALLOW_THREADS;
2936 } _resultobj = Py_BuildValue("i",_result);
2937 return _resultobj;
2938 }
2939
2940 static void *SwigwxUpdateUIEventTowxEvent(void *ptr) {
2941 wxUpdateUIEvent *src;
2942 wxEvent *dest;
2943 src = (wxUpdateUIEvent *) ptr;
2944 dest = (wxEvent *) src;
2945 return (void *) dest;
2946 }
2947
2948 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
2949 static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject * _resultobj;
2951 bool _result;
2952 wxUpdateUIEvent * _arg0;
2953 PyObject * _argo0 = 0;
2954 char *_kwnames[] = { "self", NULL };
2955
2956 self = self;
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetChecked",_kwnames,&_argo0))
2958 return NULL;
2959 if (_argo0) {
2960 if (_argo0 == Py_None) { _arg0 = NULL; }
2961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
2963 return NULL;
2964 }
2965 }
2966 {
2967 wxPy_BEGIN_ALLOW_THREADS;
2968 _result = (bool )wxUpdateUIEvent_GetChecked(_arg0);
2969
2970 wxPy_END_ALLOW_THREADS;
2971 } _resultobj = Py_BuildValue("i",_result);
2972 return _resultobj;
2973 }
2974
2975 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
2976 static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject * _resultobj;
2978 bool _result;
2979 wxUpdateUIEvent * _arg0;
2980 PyObject * _argo0 = 0;
2981 char *_kwnames[] = { "self", NULL };
2982
2983 self = self;
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetEnabled",_kwnames,&_argo0))
2985 return NULL;
2986 if (_argo0) {
2987 if (_argo0 == Py_None) { _arg0 = NULL; }
2988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
2990 return NULL;
2991 }
2992 }
2993 {
2994 wxPy_BEGIN_ALLOW_THREADS;
2995 _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0);
2996
2997 wxPy_END_ALLOW_THREADS;
2998 } _resultobj = Py_BuildValue("i",_result);
2999 return _resultobj;
3000 }
3001
3002 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
3003 static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
3004 PyObject * _resultobj;
3005 wxString * _result;
3006 wxUpdateUIEvent * _arg0;
3007 PyObject * _argo0 = 0;
3008 char *_kwnames[] = { "self", NULL };
3009
3010 self = self;
3011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetText",_kwnames,&_argo0))
3012 return NULL;
3013 if (_argo0) {
3014 if (_argo0 == Py_None) { _arg0 = NULL; }
3015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
3017 return NULL;
3018 }
3019 }
3020 {
3021 wxPy_BEGIN_ALLOW_THREADS;
3022 _result = new wxString (wxUpdateUIEvent_GetText(_arg0));
3023
3024 wxPy_END_ALLOW_THREADS;
3025 }{
3026 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3027 }
3028 {
3029 delete _result;
3030 }
3031 return _resultobj;
3032 }
3033
3034 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
3035 static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject * _resultobj;
3037 bool _result;
3038 wxUpdateUIEvent * _arg0;
3039 PyObject * _argo0 = 0;
3040 char *_kwnames[] = { "self", NULL };
3041
3042 self = self;
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetText",_kwnames,&_argo0))
3044 return NULL;
3045 if (_argo0) {
3046 if (_argo0 == Py_None) { _arg0 = NULL; }
3047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
3049 return NULL;
3050 }
3051 }
3052 {
3053 wxPy_BEGIN_ALLOW_THREADS;
3054 _result = (bool )wxUpdateUIEvent_GetSetText(_arg0);
3055
3056 wxPy_END_ALLOW_THREADS;
3057 } _resultobj = Py_BuildValue("i",_result);
3058 return _resultobj;
3059 }
3060
3061 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
3062 static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
3063 PyObject * _resultobj;
3064 bool _result;
3065 wxUpdateUIEvent * _arg0;
3066 PyObject * _argo0 = 0;
3067 char *_kwnames[] = { "self", NULL };
3068
3069 self = self;
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetChecked",_kwnames,&_argo0))
3071 return NULL;
3072 if (_argo0) {
3073 if (_argo0 == Py_None) { _arg0 = NULL; }
3074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
3076 return NULL;
3077 }
3078 }
3079 {
3080 wxPy_BEGIN_ALLOW_THREADS;
3081 _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0);
3082
3083 wxPy_END_ALLOW_THREADS;
3084 } _resultobj = Py_BuildValue("i",_result);
3085 return _resultobj;
3086 }
3087
3088 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
3089 static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
3090 PyObject * _resultobj;
3091 bool _result;
3092 wxUpdateUIEvent * _arg0;
3093 PyObject * _argo0 = 0;
3094 char *_kwnames[] = { "self", NULL };
3095
3096 self = self;
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames,&_argo0))
3098 return NULL;
3099 if (_argo0) {
3100 if (_argo0 == Py_None) { _arg0 = NULL; }
3101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
3103 return NULL;
3104 }
3105 }
3106 {
3107 wxPy_BEGIN_ALLOW_THREADS;
3108 _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0);
3109
3110 wxPy_END_ALLOW_THREADS;
3111 } _resultobj = Py_BuildValue("i",_result);
3112 return _resultobj;
3113 }
3114
3115 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
3116 static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
3117 PyObject * _resultobj;
3118 wxUpdateUIEvent * _arg0;
3119 bool _arg1;
3120 PyObject * _argo0 = 0;
3121 int tempbool1;
3122 char *_kwnames[] = { "self","check", NULL };
3123
3124 self = self;
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Check",_kwnames,&_argo0,&tempbool1))
3126 return NULL;
3127 if (_argo0) {
3128 if (_argo0 == Py_None) { _arg0 = NULL; }
3129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
3131 return NULL;
3132 }
3133 }
3134 _arg1 = (bool ) tempbool1;
3135 {
3136 wxPy_BEGIN_ALLOW_THREADS;
3137 wxUpdateUIEvent_Check(_arg0,_arg1);
3138
3139 wxPy_END_ALLOW_THREADS;
3140 } Py_INCREF(Py_None);
3141 _resultobj = Py_None;
3142 return _resultobj;
3143 }
3144
3145 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
3146 static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject * _resultobj;
3148 wxUpdateUIEvent * _arg0;
3149 bool _arg1;
3150 PyObject * _argo0 = 0;
3151 int tempbool1;
3152 char *_kwnames[] = { "self","enable", NULL };
3153
3154 self = self;
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Enable",_kwnames,&_argo0,&tempbool1))
3156 return NULL;
3157 if (_argo0) {
3158 if (_argo0 == Py_None) { _arg0 = NULL; }
3159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
3161 return NULL;
3162 }
3163 }
3164 _arg1 = (bool ) tempbool1;
3165 {
3166 wxPy_BEGIN_ALLOW_THREADS;
3167 wxUpdateUIEvent_Enable(_arg0,_arg1);
3168
3169 wxPy_END_ALLOW_THREADS;
3170 } Py_INCREF(Py_None);
3171 _resultobj = Py_None;
3172 return _resultobj;
3173 }
3174
3175 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
3176 static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
3177 PyObject * _resultobj;
3178 wxUpdateUIEvent * _arg0;
3179 wxString * _arg1;
3180 PyObject * _argo0 = 0;
3181 PyObject * _obj1 = 0;
3182 char *_kwnames[] = { "self","text", NULL };
3183
3184 self = self;
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxUpdateUIEvent_SetText",_kwnames,&_argo0,&_obj1))
3186 return NULL;
3187 if (_argo0) {
3188 if (_argo0 == Py_None) { _arg0 = NULL; }
3189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
3190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
3191 return NULL;
3192 }
3193 }
3194 {
3195 if (!PyString_Check(_obj1)) {
3196 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3197 return NULL;
3198 }
3199 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3200 }
3201 {
3202 wxPy_BEGIN_ALLOW_THREADS;
3203 wxUpdateUIEvent_SetText(_arg0,*_arg1);
3204
3205 wxPy_END_ALLOW_THREADS;
3206 } Py_INCREF(Py_None);
3207 _resultobj = Py_None;
3208 {
3209 if (_obj1)
3210 delete _arg1;
3211 }
3212 return _resultobj;
3213 }
3214
3215 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) {
3216 wxSysColourChangedEvent *src;
3217 wxEvent *dest;
3218 src = (wxSysColourChangedEvent *) ptr;
3219 dest = (wxEvent *) src;
3220 return (void *) dest;
3221 }
3222
3223 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) {
3224 wxNotifyEvent *src;
3225 wxCommandEvent *dest;
3226 src = (wxNotifyEvent *) ptr;
3227 dest = (wxCommandEvent *) src;
3228 return (void *) dest;
3229 }
3230
3231 static void *SwigwxNotifyEventTowxEvent(void *ptr) {
3232 wxNotifyEvent *src;
3233 wxEvent *dest;
3234 src = (wxNotifyEvent *) ptr;
3235 dest = (wxEvent *) src;
3236 return (void *) dest;
3237 }
3238
3239 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
3240 static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
3241 PyObject * _resultobj;
3242 bool _result;
3243 wxNotifyEvent * _arg0;
3244 PyObject * _argo0 = 0;
3245 char *_kwnames[] = { "self", NULL };
3246
3247 self = self;
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_IsAllowed",_kwnames,&_argo0))
3249 return NULL;
3250 if (_argo0) {
3251 if (_argo0 == Py_None) { _arg0 = NULL; }
3252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
3253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
3254 return NULL;
3255 }
3256 }
3257 {
3258 wxPy_BEGIN_ALLOW_THREADS;
3259 _result = (bool )wxNotifyEvent_IsAllowed(_arg0);
3260
3261 wxPy_END_ALLOW_THREADS;
3262 } _resultobj = Py_BuildValue("i",_result);
3263 return _resultobj;
3264 }
3265
3266 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
3267 static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
3268 PyObject * _resultobj;
3269 wxNotifyEvent * _arg0;
3270 PyObject * _argo0 = 0;
3271 char *_kwnames[] = { "self", NULL };
3272
3273 self = self;
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Veto",_kwnames,&_argo0))
3275 return NULL;
3276 if (_argo0) {
3277 if (_argo0 == Py_None) { _arg0 = NULL; }
3278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) {
3279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
3280 return NULL;
3281 }
3282 }
3283 {
3284 wxPy_BEGIN_ALLOW_THREADS;
3285 wxNotifyEvent_Veto(_arg0);
3286
3287 wxPy_END_ALLOW_THREADS;
3288 } Py_INCREF(Py_None);
3289 _resultobj = Py_None;
3290 return _resultobj;
3291 }
3292
3293 static void *SwigwxPyEventTowxEvent(void *ptr) {
3294 wxPyEvent *src;
3295 wxEvent *dest;
3296 src = (wxPyEvent *) ptr;
3297 dest = (wxEvent *) src;
3298 return (void *) dest;
3299 }
3300
3301 #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
3302 static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3303 PyObject * _resultobj;
3304 wxPyEvent * _result;
3305 int _arg0 = (int ) 0;
3306 PyObject * _arg1 = (PyObject *) Py_None;
3307 PyObject * _obj1 = 0;
3308 char *_kwnames[] = { "id","userData", NULL };
3309 char _ptemp[128];
3310
3311 self = self;
3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxPyEvent",_kwnames,&_arg0,&_obj1))
3313 return NULL;
3314 if (_obj1)
3315 {
3316 _arg1 = _obj1;
3317 }
3318 {
3319 wxPy_BEGIN_ALLOW_THREADS;
3320 _result = (wxPyEvent *)new_wxPyEvent(_arg0,_arg1);
3321
3322 wxPy_END_ALLOW_THREADS;
3323 } if (_result) {
3324 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p");
3325 _resultobj = Py_BuildValue("s",_ptemp);
3326 } else {
3327 Py_INCREF(Py_None);
3328 _resultobj = Py_None;
3329 }
3330 return _resultobj;
3331 }
3332
3333 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
3334 static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3335 PyObject * _resultobj;
3336 wxPyEvent * _arg0;
3337 PyObject * _argo0 = 0;
3338 char *_kwnames[] = { "self", NULL };
3339
3340 self = self;
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0))
3342 return NULL;
3343 if (_argo0) {
3344 if (_argo0 == Py_None) { _arg0 = NULL; }
3345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
3346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
3347 return NULL;
3348 }
3349 }
3350 {
3351 wxPy_BEGIN_ALLOW_THREADS;
3352 delete_wxPyEvent(_arg0);
3353
3354 wxPy_END_ALLOW_THREADS;
3355 } Py_INCREF(Py_None);
3356 _resultobj = Py_None;
3357 return _resultobj;
3358 }
3359
3360 #define wxPyEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0))
3361 static PyObject *_wrap_wxPyEvent_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3362 PyObject * _resultobj;
3363 wxPyEvent * _arg0;
3364 PyObject * _arg1;
3365 PyObject * _argo0 = 0;
3366 PyObject * _obj1 = 0;
3367 char *_kwnames[] = { "self","userData", NULL };
3368
3369 self = self;
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetPyData",_kwnames,&_argo0,&_obj1))
3371 return NULL;
3372 if (_argo0) {
3373 if (_argo0 == Py_None) { _arg0 = NULL; }
3374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
3375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetPyData. Expected _wxPyEvent_p.");
3376 return NULL;
3377 }
3378 }
3379 {
3380 _arg1 = _obj1;
3381 }
3382 {
3383 wxPy_BEGIN_ALLOW_THREADS;
3384 wxPyEvent_SetPyData(_arg0,_arg1);
3385
3386 wxPy_END_ALLOW_THREADS;
3387 } Py_INCREF(Py_None);
3388 _resultobj = Py_None;
3389 return _resultobj;
3390 }
3391
3392 #define wxPyEvent_GetPyData(_swigobj) (_swigobj->GetPyData())
3393 static PyObject *_wrap_wxPyEvent_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3394 PyObject * _resultobj;
3395 PyObject * _result;
3396 wxPyEvent * _arg0;
3397 PyObject * _argo0 = 0;
3398 char *_kwnames[] = { "self", NULL };
3399
3400 self = self;
3401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetPyData",_kwnames,&_argo0))
3402 return NULL;
3403 if (_argo0) {
3404 if (_argo0 == Py_None) { _arg0 = NULL; }
3405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) {
3406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetPyData. Expected _wxPyEvent_p.");
3407 return NULL;
3408 }
3409 }
3410 {
3411 wxPy_BEGIN_ALLOW_THREADS;
3412 _result = (PyObject *)wxPyEvent_GetPyData(_arg0);
3413
3414 wxPy_END_ALLOW_THREADS;
3415 }{
3416 _resultobj = _result;
3417 }
3418 return _resultobj;
3419 }
3420
3421 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr) {
3422 wxPyCommandEvent *src;
3423 wxCommandEvent *dest;
3424 src = (wxPyCommandEvent *) ptr;
3425 dest = (wxCommandEvent *) src;
3426 return (void *) dest;
3427 }
3428
3429 static void *SwigwxPyCommandEventTowxEvent(void *ptr) {
3430 wxPyCommandEvent *src;
3431 wxEvent *dest;
3432 src = (wxPyCommandEvent *) ptr;
3433 dest = (wxEvent *) src;
3434 return (void *) dest;
3435 }
3436
3437 #define new_wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2) (new wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2))
3438 static PyObject *_wrap_new_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3439 PyObject * _resultobj;
3440 wxPyCommandEvent * _result;
3441 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
3442 int _arg1 = (int ) 0;
3443 PyObject * _arg2 = (PyObject *) Py_None;
3444 PyObject * _obj2 = 0;
3445 char *_kwnames[] = { "commandType","id","userData", NULL };
3446 char _ptemp[128];
3447
3448 self = self;
3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiO:new_wxPyCommandEvent",_kwnames,&_arg0,&_arg1,&_obj2))
3450 return NULL;
3451 if (_obj2)
3452 {
3453 _arg2 = _obj2;
3454 }
3455 {
3456 wxPy_BEGIN_ALLOW_THREADS;
3457 _result = (wxPyCommandEvent *)new_wxPyCommandEvent(_arg0,_arg1,_arg2);
3458
3459 wxPy_END_ALLOW_THREADS;
3460 } if (_result) {
3461 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCommandEvent_p");
3462 _resultobj = Py_BuildValue("s",_ptemp);
3463 } else {
3464 Py_INCREF(Py_None);
3465 _resultobj = Py_None;
3466 }
3467 return _resultobj;
3468 }
3469
3470 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
3471 static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3472 PyObject * _resultobj;
3473 wxPyCommandEvent * _arg0;
3474 PyObject * _argo0 = 0;
3475 char *_kwnames[] = { "self", NULL };
3476
3477 self = self;
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyCommandEvent",_kwnames,&_argo0))
3479 return NULL;
3480 if (_argo0) {
3481 if (_argo0 == Py_None) { _arg0 = NULL; }
3482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
3483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
3484 return NULL;
3485 }
3486 }
3487 {
3488 wxPy_BEGIN_ALLOW_THREADS;
3489 delete_wxPyCommandEvent(_arg0);
3490
3491 wxPy_END_ALLOW_THREADS;
3492 } Py_INCREF(Py_None);
3493 _resultobj = Py_None;
3494 return _resultobj;
3495 }
3496
3497 #define wxPyCommandEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0))
3498 static PyObject *_wrap_wxPyCommandEvent_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3499 PyObject * _resultobj;
3500 wxPyCommandEvent * _arg0;
3501 PyObject * _arg1;
3502 PyObject * _argo0 = 0;
3503 PyObject * _obj1 = 0;
3504 char *_kwnames[] = { "self","userData", NULL };
3505
3506 self = self;
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCommandEvent_SetPyData",_kwnames,&_argo0,&_obj1))
3508 return NULL;
3509 if (_argo0) {
3510 if (_argo0 == Py_None) { _arg0 = NULL; }
3511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
3512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_SetPyData. Expected _wxPyCommandEvent_p.");
3513 return NULL;
3514 }
3515 }
3516 {
3517 _arg1 = _obj1;
3518 }
3519 {
3520 wxPy_BEGIN_ALLOW_THREADS;
3521 wxPyCommandEvent_SetPyData(_arg0,_arg1);
3522
3523 wxPy_END_ALLOW_THREADS;
3524 } Py_INCREF(Py_None);
3525 _resultobj = Py_None;
3526 return _resultobj;
3527 }
3528
3529 #define wxPyCommandEvent_GetPyData(_swigobj) (_swigobj->GetPyData())
3530 static PyObject *_wrap_wxPyCommandEvent_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
3531 PyObject * _resultobj;
3532 PyObject * _result;
3533 wxPyCommandEvent * _arg0;
3534 PyObject * _argo0 = 0;
3535 char *_kwnames[] = { "self", NULL };
3536
3537 self = self;
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCommandEvent_GetPyData",_kwnames,&_argo0))
3539 return NULL;
3540 if (_argo0) {
3541 if (_argo0 == Py_None) { _arg0 = NULL; }
3542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) {
3543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_GetPyData. Expected _wxPyCommandEvent_p.");
3544 return NULL;
3545 }
3546 }
3547 {
3548 wxPy_BEGIN_ALLOW_THREADS;
3549 _result = (PyObject *)wxPyCommandEvent_GetPyData(_arg0);
3550
3551 wxPy_END_ALLOW_THREADS;
3552 }{
3553 _resultobj = _result;
3554 }
3555 return _resultobj;
3556 }
3557
3558 static PyMethodDef eventscMethods[] = {
3559 { "wxPyCommandEvent_GetPyData", (PyCFunction) _wrap_wxPyCommandEvent_GetPyData, METH_VARARGS | METH_KEYWORDS },
3560 { "wxPyCommandEvent_SetPyData", (PyCFunction) _wrap_wxPyCommandEvent_SetPyData, METH_VARARGS | METH_KEYWORDS },
3561 { "delete_wxPyCommandEvent", (PyCFunction) _wrap_delete_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
3562 { "new_wxPyCommandEvent", (PyCFunction) _wrap_new_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS },
3563 { "wxPyEvent_GetPyData", (PyCFunction) _wrap_wxPyEvent_GetPyData, METH_VARARGS | METH_KEYWORDS },
3564 { "wxPyEvent_SetPyData", (PyCFunction) _wrap_wxPyEvent_SetPyData, METH_VARARGS | METH_KEYWORDS },
3565 { "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
3566 { "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS },
3567 { "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
3568 { "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
3569 { "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
3570 { "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
3571 { "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
3572 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
3573 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
3574 { "wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
3575 { "wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
3576 { "wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
3577 { "wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
3578 { "wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
3579 { "wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
3580 { "wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
3581 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
3582 { "wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3583 { "wxJoystickEvent_ButtonIsDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
3584 { "wxJoystickEvent_ButtonUp", (PyCFunction) _wrap_wxJoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
3585 { "wxJoystickEvent_ButtonDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
3586 { "wxJoystickEvent_IsZMove", (PyCFunction) _wrap_wxJoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
3587 { "wxJoystickEvent_IsMove", (PyCFunction) _wrap_wxJoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
3588 { "wxJoystickEvent_IsButton", (PyCFunction) _wrap_wxJoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
3589 { "wxJoystickEvent_SetZPosition", (PyCFunction) _wrap_wxJoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
3590 { "wxJoystickEvent_SetPosition", (PyCFunction) _wrap_wxJoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
3591 { "wxJoystickEvent_SetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
3592 { "wxJoystickEvent_SetButtonState", (PyCFunction) _wrap_wxJoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
3593 { "wxJoystickEvent_SetJoystick", (PyCFunction) _wrap_wxJoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
3594 { "wxJoystickEvent_GetJoystick", (PyCFunction) _wrap_wxJoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
3595 { "wxJoystickEvent_GetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
3596 { "wxJoystickEvent_GetButtonState", (PyCFunction) _wrap_wxJoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
3597 { "wxJoystickEvent_GetZPosition", (PyCFunction) _wrap_wxJoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
3598 { "wxJoystickEvent_GetPosition", (PyCFunction) _wrap_wxJoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3599 { "wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
3600 { "wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
3601 { "wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
3602 { "wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
3603 { "wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
3604 { "wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3605 { "wxKeyEvent_KeyCode", (PyCFunction) _wrap_wxKeyEvent_KeyCode, METH_VARARGS | METH_KEYWORDS },
3606 { "wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
3607 { "wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
3608 { "wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
3609 { "wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
3610 { "wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
3611 { "wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
3612 { "wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
3613 { "wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3614 { "wxMouseEvent_Position", (PyCFunction) _wrap_wxMouseEvent_Position, METH_VARARGS | METH_KEYWORDS },
3615 { "wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
3616 { "wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
3617 { "wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
3618 { "wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
3619 { "wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
3620 { "wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
3621 { "wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
3622 { "wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
3623 { "wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
3624 { "wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
3625 { "wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
3626 { "wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
3627 { "wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
3628 { "wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
3629 { "wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
3630 { "wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
3631 { "wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
3632 { "wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
3633 { "wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
3634 { "wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
3635 { "wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
3636 { "wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
3637 { "wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
3638 { "wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
3639 { "wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
3640 { "wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
3641 { "wxScrollWinEvent_GetPosition", (PyCFunction) _wrap_wxScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3642 { "wxScrollWinEvent_GetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
3643 { "wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
3644 { "wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
3645 { "wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
3646 { "wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
3647 { "wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
3648 { "wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
3649 { "wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
3650 { "wxCommandEvent_Checked", (PyCFunction) _wrap_wxCommandEvent_Checked, METH_VARARGS | METH_KEYWORDS },
3651 { "wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
3652 { "wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
3653 { "wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
3654 { "wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
3655 { "wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
3656 { "wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
3657 { "wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
3658 { "wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS },
3659 { "wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
3660 { "wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS },
3661 { "wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS },
3662 { "wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS },
3663 { "wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
3664 { "wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS },
3665 { "wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS },
3666 { "wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS },
3667 { "wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS },
3668 { NULL, NULL }
3669 };
3670 #ifdef __cplusplus
3671 }
3672 #endif
3673 /*
3674 * This table is used by the pointer type-checker
3675 */
3676 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
3677 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3678 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
3679 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
3680 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
3681 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
3682 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
3683 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
3684 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
3685 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
3686 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
3687 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
3688 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
3689 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
3690 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
3691 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
3692 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
3693 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
3694 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
3695 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
3696 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
3697 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
3698 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
3699 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
3700 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
3701 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
3702 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
3703 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
3704 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
3705 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
3706 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
3707 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
3708 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
3709 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
3710 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
3711 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
3712 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
3713 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
3714 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
3715 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
3716 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
3717 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
3718 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
3719 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
3720 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
3721 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
3722 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
3723 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
3724 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
3725 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
3726 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
3727 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
3728 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
3729 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
3730 { "_wxEvent","_class_wxEvent",0},
3731 { "_class_wxActivateEvent","_wxActivateEvent",0},
3732 { "_signed_long","_long",0},
3733 { "_wxMenuEvent","_class_wxMenuEvent",0},
3734 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
3735 { "_wxPrintQuality","_int",0},
3736 { "_wxPrintQuality","_signed_int",0},
3737 { "_wxPrintQuality","_unsigned_int",0},
3738 { "_wxPrintQuality","_wxWindowID",0},
3739 { "_wxPrintQuality","_uint",0},
3740 { "_wxPrintQuality","_EBool",0},
3741 { "_wxPrintQuality","_size_t",0},
3742 { "_class_wxRegionIterator","_wxRegionIterator",0},
3743 { "_wxPaintEvent","_class_wxPaintEvent",0},
3744 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3745 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3746 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3747 { "_byte","_unsigned_char",0},
3748 { "_long","_unsigned_long",0},
3749 { "_long","_signed_long",0},
3750 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3751 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3752 { "_wxSpinEvent","_class_wxSpinEvent",0},
3753 { "_size_t","_wxPrintQuality",0},
3754 { "_size_t","_unsigned_int",0},
3755 { "_size_t","_int",0},
3756 { "_size_t","_wxWindowID",0},
3757 { "_size_t","_uint",0},
3758 { "_class_wxRealPoint","_wxRealPoint",0},
3759 { "_class_wxPaintEvent","_wxPaintEvent",0},
3760 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3761 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3762 { "_wxPyEvent","_class_wxPyEvent",0},
3763 { "_class_wxKeyEvent","_wxKeyEvent",0},
3764 { "_wxIdleEvent","_class_wxIdleEvent",0},
3765 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3766 { "_wxShowEvent","_class_wxShowEvent",0},
3767 { "_uint","_wxPrintQuality",0},
3768 { "_uint","_size_t",0},
3769 { "_uint","_unsigned_int",0},
3770 { "_uint","_int",0},
3771 { "_uint","_wxWindowID",0},
3772 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
3773 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent},
3774 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent},
3775 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent},
3776 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
3777 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent},
3778 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
3779 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent},
3780 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
3781 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent},
3782 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent},
3783 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent},
3784 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
3785 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent},
3786 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
3787 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent},
3788 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
3789 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent},
3790 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
3791 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent},
3792 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent},
3793 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent},
3794 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent},
3795 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent},
3796 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
3797 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent},
3798 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent},
3799 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent},
3800 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent},
3801 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent},
3802 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent},
3803 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent},
3804 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent},
3805 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent},
3806 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent},
3807 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent},
3808 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent},
3809 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent},
3810 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent},
3811 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent},
3812 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent},
3813 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent},
3814 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
3815 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent},
3816 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent},
3817 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent},
3818 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent},
3819 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent},
3820 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent},
3821 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent},
3822 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent},
3823 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent},
3824 { "_class_wxEvent","_wxEvent",0},
3825 { "_wxRect","_class_wxRect",0},
3826 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
3827 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
3828 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
3829 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
3830 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
3831 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
3832 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
3833 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
3834 { "_wxCommandEvent","_class_wxCommandEvent",0},
3835 { "_wxSizeEvent","_class_wxSizeEvent",0},
3836 { "_wxPoint","_class_wxPoint",0},
3837 { "_wxPyTimer","_class_wxPyTimer",0},
3838 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3839 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3840 { "_class_wxPyEvent","_wxPyEvent",0},
3841 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3842 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
3843 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
3844 { "_wxScrollEvent","_class_wxScrollEvent",0},
3845 { "_EBool","_wxPrintQuality",0},
3846 { "_EBool","_signed_int",0},
3847 { "_EBool","_int",0},
3848 { "_EBool","_wxWindowID",0},
3849 { "_class_wxRegion","_wxRegion",0},
3850 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3851 { "_wxCloseEvent","_class_wxCloseEvent",0},
3852 { "_unsigned_long","_long",0},
3853 { "_class_wxRect","_wxRect",0},
3854 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3855 { "_class_wxPyTimer","_wxPyTimer",0},
3856 { "_wxFocusEvent","_class_wxFocusEvent",0},
3857 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3858 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3859 { "_signed_int","_wxPrintQuality",0},
3860 { "_signed_int","_EBool",0},
3861 { "_signed_int","_wxWindowID",0},
3862 { "_signed_int","_int",0},
3863 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3864 { "_class_wxMoveEvent","_wxMoveEvent",0},
3865 { "_WXTYPE","_short",0},
3866 { "_WXTYPE","_signed_short",0},
3867 { "_WXTYPE","_unsigned_short",0},
3868 { "_unsigned_short","_WXTYPE",0},
3869 { "_unsigned_short","_short",0},
3870 { "_class_wxCloseEvent","_wxCloseEvent",0},
3871 { "_class_wxMenuEvent","_wxMenuEvent",0},
3872 { "_wxMouseEvent","_class_wxMouseEvent",0},
3873 { "_class_wxPoint","_wxPoint",0},
3874 { "_wxRealPoint","_class_wxRealPoint",0},
3875 { "_signed_short","_WXTYPE",0},
3876 { "_signed_short","_short",0},
3877 { "_class_wxFocusEvent","_wxFocusEvent",0},
3878 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3879 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3880 { "_unsigned_char","_byte",0},
3881 { "_unsigned_int","_wxPrintQuality",0},
3882 { "_unsigned_int","_size_t",0},
3883 { "_unsigned_int","_uint",0},
3884 { "_unsigned_int","_wxWindowID",0},
3885 { "_unsigned_int","_int",0},
3886 { "_short","_WXTYPE",0},
3887 { "_short","_unsigned_short",0},
3888 { "_short","_signed_short",0},
3889 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
3890 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent},
3891 { "_class_wxScrollEvent","_wxScrollEvent",0},
3892 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3893 { "_wxWindowID","_wxPrintQuality",0},
3894 { "_wxWindowID","_size_t",0},
3895 { "_wxWindowID","_EBool",0},
3896 { "_wxWindowID","_uint",0},
3897 { "_wxWindowID","_int",0},
3898 { "_wxWindowID","_signed_int",0},
3899 { "_wxWindowID","_unsigned_int",0},
3900 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3901 { "_int","_wxPrintQuality",0},
3902 { "_int","_size_t",0},
3903 { "_int","_EBool",0},
3904 { "_int","_uint",0},
3905 { "_int","_wxWindowID",0},
3906 { "_int","_unsigned_int",0},
3907 { "_int","_signed_int",0},
3908 { "_class_wxMouseEvent","_wxMouseEvent",0},
3909 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3910 { "_class_wxSpinEvent","_wxSpinEvent",0},
3911 { "_wxSize","_class_wxSize",0},
3912 { "_wxRegionIterator","_class_wxRegionIterator",0},
3913 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3914 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3915 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3916 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3917 { "_class_wxIdleEvent","_wxIdleEvent",0},
3918 { "_wxEraseEvent","_class_wxEraseEvent",0},
3919 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3920 { "_wxRegion","_class_wxRegion",0},
3921 { "_class_wxShowEvent","_wxShowEvent",0},
3922 { "_wxActivateEvent","_class_wxActivateEvent",0},
3923 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
3924 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent},
3925 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
3926 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent},
3927 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
3928 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent},
3929 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
3930 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent},
3931 { "_class_wxCommandEvent","_wxCommandEvent",0},
3932 { "_class_wxSizeEvent","_wxSizeEvent",0},
3933 { "_class_wxSize","_wxSize",0},
3934 { "_wxKeyEvent","_class_wxKeyEvent",0},
3935 { "_wxMoveEvent","_class_wxMoveEvent",0},
3936 { "_class_wxEraseEvent","_wxEraseEvent",0},
3937 {0,0,0}};
3938
3939 static PyObject *SWIG_globals;
3940 #ifdef __cplusplus
3941 extern "C"
3942 #endif
3943 SWIGEXPORT(void) initeventsc() {
3944 PyObject *m, *d;
3945 SWIG_globals = SWIG_newvarlink();
3946 m = Py_InitModule("eventsc", eventscMethods);
3947 d = PyModule_GetDict(m);
3948 {
3949 int i;
3950 for (i = 0; _swig_mapping[i].n1; i++)
3951 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3952 }
3953 }