]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/events.cpp
newly generated files from SWIG
[wxWidgets.git] / utils / wxPython / src / gtk / events.cpp
CommitLineData
70551f47
RD
1/*
2 * FILE : gtk/events.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28# else
29# if defined(__BORLANDC__)
30# define SWIGEXPORT(a,b) a _export b
31# else
32# define SWIGEXPORT(a,b) a b
33# endif
34# endif
35#else
36# define SWIGEXPORT(a,b) a b
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
46extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47extern PyObject *SWIG_newvarlink(void);
48#ifdef __cplusplus
49}
50#endif
51
52#define SWIG_init initeventsc
53
54#define SWIG_name "eventsc"
55
56#include "helpers.h"
57
58static PyObject* l_output_helper(PyObject* target, PyObject* o) {
59 PyObject* o2;
60 PyObject* o3;
61 if (!target) {
62 target = o;
63 } else if (target == Py_None) {
64 Py_DECREF(Py_None);
65 target = o;
66 } else {
67 if (!PyList_Check(target)) {
68 o2 = target;
69 target = PyList_New(0);
70 PyList_Append(target, o2);
71 Py_XDECREF(o2);
72 }
73 PyList_Append(target,o);
74 Py_XDECREF(o);
75 }
76 return target;
77}
78
79static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
83 if (!target) {
84 target = o;
85 } else if (target == Py_None) {
86 Py_DECREF(Py_None);
87 target = o;
88 } else {
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
96
97 o2 = target;
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
100 Py_DECREF(o3);
101 }
102 return target;
103}
104
105
106extern int* int_LIST_helper(PyObject* source);
107extern long* long_LIST_helper(PyObject* source);
108extern char** string_LIST_helper(PyObject* source);
109extern wxPoint* wxPoint_LIST_helper(PyObject* source);
110extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
111extern wxString* wxString_LIST_helper(PyObject* source);
112#ifdef __WXMSW__
113extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
114#endif
115
116
117static char* wxStringErrorMsg = "string type is required for parameter";
118#define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
119static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args) {
120 PyObject * _resultobj;
121 wxObject * _result;
122 wxEvent * _arg0;
123 char * _argc0 = 0;
124 char _ptemp[128];
125
126 self = self;
127 if(!PyArg_ParseTuple(args,"s:wxEvent_GetEventObject",&_argc0))
128 return NULL;
129 if (_argc0) {
130 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
132 return NULL;
133 }
134 }
135 _result = (wxObject *)wxEvent_GetEventObject(_arg0);
136 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
137 _resultobj = Py_BuildValue("s",_ptemp);
138 return _resultobj;
139}
140
141#define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
142static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args) {
143 PyObject * _resultobj;
144 wxEventType _result;
145 wxEvent * _arg0;
146 char * _argc0 = 0;
147
148 self = self;
149 if(!PyArg_ParseTuple(args,"s:wxEvent_GetEventType",&_argc0))
150 return NULL;
151 if (_argc0) {
152 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
154 return NULL;
155 }
156 }
157 _result = (wxEventType )wxEvent_GetEventType(_arg0);
158 _resultobj = Py_BuildValue("i",_result);
159 return _resultobj;
160}
161
162#define wxEvent_GetId(_swigobj) (_swigobj->GetId())
163static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args) {
164 PyObject * _resultobj;
165 int _result;
166 wxEvent * _arg0;
167 char * _argc0 = 0;
168
169 self = self;
170 if(!PyArg_ParseTuple(args,"s:wxEvent_GetId",&_argc0))
171 return NULL;
172 if (_argc0) {
173 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
175 return NULL;
176 }
177 }
178 _result = (int )wxEvent_GetId(_arg0);
179 _resultobj = Py_BuildValue("i",_result);
180 return _resultobj;
181}
182
183#define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
184static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args) {
185 PyObject * _resultobj;
186 bool _result;
187 wxEvent * _arg0;
188 char * _argc0 = 0;
189
190 self = self;
191 if(!PyArg_ParseTuple(args,"s:wxEvent_GetSkipped",&_argc0))
192 return NULL;
193 if (_argc0) {
194 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
196 return NULL;
197 }
198 }
199 _result = (bool )wxEvent_GetSkipped(_arg0);
200 _resultobj = Py_BuildValue("i",_result);
201 return _resultobj;
202}
203
204#define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
205static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args) {
206 PyObject * _resultobj;
207 long _result;
208 wxEvent * _arg0;
209 char * _argc0 = 0;
210
211 self = self;
212 if(!PyArg_ParseTuple(args,"s:wxEvent_GetTimestamp",&_argc0))
213 return NULL;
214 if (_argc0) {
215 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
217 return NULL;
218 }
219 }
220 _result = (long )wxEvent_GetTimestamp(_arg0);
221 _resultobj = Py_BuildValue("l",_result);
222 return _resultobj;
223}
224
225#define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
226static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args) {
227 PyObject * _resultobj;
228 wxEvent * _arg0;
229 wxObject * _arg1;
230 char * _argc0 = 0;
231 char * _argc1 = 0;
232
233 self = self;
234 if(!PyArg_ParseTuple(args,"ss:wxEvent_SetEventObject",&_argc0,&_argc1))
235 return NULL;
236 if (_argc0) {
237 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
239 return NULL;
240 }
241 }
242 if (_argc1) {
243 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxObject_p")) {
244 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
245 return NULL;
246 }
247 }
248 wxEvent_SetEventObject(_arg0,_arg1);
249 Py_INCREF(Py_None);
250 _resultobj = Py_None;
251 return _resultobj;
252}
253
254#define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
255static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args) {
256 PyObject * _resultobj;
257 wxEvent * _arg0;
258 wxEventType _arg1;
259 char * _argc0 = 0;
260
261 self = self;
262 if(!PyArg_ParseTuple(args,"si:wxEvent_SetEventType",&_argc0,&_arg1))
263 return NULL;
264 if (_argc0) {
265 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
267 return NULL;
268 }
269 }
270 wxEvent_SetEventType(_arg0,_arg1);
271 Py_INCREF(Py_None);
272 _resultobj = Py_None;
273 return _resultobj;
274}
275
276#define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
277static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args) {
278 PyObject * _resultobj;
279 wxEvent * _arg0;
280 int _arg1;
281 char * _argc0 = 0;
282
283 self = self;
284 if(!PyArg_ParseTuple(args,"si:wxEvent_SetId",&_argc0,&_arg1))
285 return NULL;
286 if (_argc0) {
287 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
289 return NULL;
290 }
291 }
292 wxEvent_SetId(_arg0,_arg1);
293 Py_INCREF(Py_None);
294 _resultobj = Py_None;
295 return _resultobj;
296}
297
298#define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
299static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args) {
300 PyObject * _resultobj;
301 wxEvent * _arg0;
302 long _arg1;
303 char * _argc0 = 0;
304
305 self = self;
306 if(!PyArg_ParseTuple(args,"sl:wxEvent_SetTimestamp",&_argc0,&_arg1))
307 return NULL;
308 if (_argc0) {
309 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
311 return NULL;
312 }
313 }
314 wxEvent_SetTimestamp(_arg0,_arg1);
315 Py_INCREF(Py_None);
316 _resultobj = Py_None;
317 return _resultobj;
318}
319
320#define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
321static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args) {
322 PyObject * _resultobj;
323 wxEvent * _arg0;
324 bool _arg1 = (1);
325 char * _argc0 = 0;
326 int tempbool1;
327
328 self = self;
329 if(!PyArg_ParseTuple(args,"s|i:wxEvent_Skip",&_argc0,&tempbool1))
330 return NULL;
331 if (_argc0) {
332 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
334 return NULL;
335 }
336 }
337 _arg1 = (bool ) tempbool1;
338 wxEvent_Skip(_arg0,_arg1);
339 Py_INCREF(Py_None);
340 _resultobj = Py_None;
341 return _resultobj;
342}
343
344static void *SwigwxSizeEventTowxEvent(void *ptr) {
345 wxSizeEvent *src;
346 wxEvent *dest;
347 src = (wxSizeEvent *) ptr;
348 dest = (wxEvent *) src;
349 return (void *) dest;
350}
351
352#define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
353static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args) {
354 PyObject * _resultobj;
355 wxSize * _result;
356 wxSizeEvent * _arg0;
357 char * _argc0 = 0;
358 char _ptemp[128];
359
360 self = self;
361 if(!PyArg_ParseTuple(args,"s:wxSizeEvent_GetSize",&_argc0))
362 return NULL;
363 if (_argc0) {
364 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSizeEvent_p")) {
365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
366 return NULL;
367 }
368 }
369 _result = new wxSize (wxSizeEvent_GetSize(_arg0));
370 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
371 _resultobj = Py_BuildValue("s",_ptemp);
372 return _resultobj;
373}
374
375static void *SwigwxCloseEventTowxEvent(void *ptr) {
376 wxCloseEvent *src;
377 wxEvent *dest;
378 src = (wxCloseEvent *) ptr;
379 dest = (wxEvent *) src;
380 return (void *) dest;
381}
382
70551f47
RD
383#define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
384static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args) {
385 PyObject * _resultobj;
386 bool _result;
387 wxCloseEvent * _arg0;
388 char * _argc0 = 0;
389
390 self = self;
391 if(!PyArg_ParseTuple(args,"s:wxCloseEvent_GetLoggingOff",&_argc0))
392 return NULL;
393 if (_argc0) {
394 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
396 return NULL;
397 }
398 }
399 _result = (bool )wxCloseEvent_GetLoggingOff(_arg0);
400 _resultobj = Py_BuildValue("i",_result);
401 return _resultobj;
402}
403
404#define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
405static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args) {
406 PyObject * _resultobj;
407 wxCloseEvent * _arg0;
408 bool _arg1 = (1);
409 char * _argc0 = 0;
410 int tempbool1;
411
412 self = self;
413 if(!PyArg_ParseTuple(args,"s|i:wxCloseEvent_Veto",&_argc0,&tempbool1))
414 return NULL;
415 if (_argc0) {
416 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
418 return NULL;
419 }
420 }
421 _arg1 = (bool ) tempbool1;
422 wxCloseEvent_Veto(_arg0,_arg1);
423 Py_INCREF(Py_None);
424 _resultobj = Py_None;
425 return _resultobj;
426}
427
428#define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
429static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args) {
430 PyObject * _resultobj;
431 bool _result;
432 wxCloseEvent * _arg0;
433 char * _argc0 = 0;
434
435 self = self;
436 if(!PyArg_ParseTuple(args,"s:wxCloseEvent_GetVeto",&_argc0))
437 return NULL;
438 if (_argc0) {
439 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
441 return NULL;
442 }
443 }
444 _result = (bool )wxCloseEvent_GetVeto(_arg0);
445 _resultobj = Py_BuildValue("i",_result);
446 return _resultobj;
447}
448
449#define wxCloseEvent_SetForce(_swigobj,_swigarg0) (_swigobj->SetForce(_swigarg0))
450static PyObject *_wrap_wxCloseEvent_SetForce(PyObject *self, PyObject *args) {
451 PyObject * _resultobj;
452 wxCloseEvent * _arg0;
453 bool _arg1;
454 char * _argc0 = 0;
455 int tempbool1;
456
457 self = self;
458 if(!PyArg_ParseTuple(args,"si:wxCloseEvent_SetForce",&_argc0,&tempbool1))
459 return NULL;
460 if (_argc0) {
461 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetForce. Expected _wxCloseEvent_p.");
463 return NULL;
464 }
465 }
466 _arg1 = (bool ) tempbool1;
467 wxCloseEvent_SetForce(_arg0,_arg1);
468 Py_INCREF(Py_None);
469 _resultobj = Py_None;
470 return _resultobj;
471}
472
473#define wxCloseEvent_GetForce(_swigobj) (_swigobj->GetForce())
474static PyObject *_wrap_wxCloseEvent_GetForce(PyObject *self, PyObject *args) {
475 PyObject * _resultobj;
476 bool _result;
477 wxCloseEvent * _arg0;
478 char * _argc0 = 0;
479
480 self = self;
481 if(!PyArg_ParseTuple(args,"s:wxCloseEvent_GetForce",&_argc0))
482 return NULL;
483 if (_argc0) {
484 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetForce. Expected _wxCloseEvent_p.");
486 return NULL;
487 }
488 }
489 _result = (bool )wxCloseEvent_GetForce(_arg0);
490 _resultobj = Py_BuildValue("i",_result);
491 return _resultobj;
492}
493
494static void *SwigwxCommandEventTowxEvent(void *ptr) {
495 wxCommandEvent *src;
496 wxEvent *dest;
497 src = (wxCommandEvent *) ptr;
498 dest = (wxEvent *) src;
499 return (void *) dest;
500}
501
502#define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
503static PyObject *_wrap_wxCommandEvent_Checked(PyObject *self, PyObject *args) {
504 PyObject * _resultobj;
505 bool _result;
506 wxCommandEvent * _arg0;
507 char * _argc0 = 0;
508
509 self = self;
510 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_Checked",&_argc0))
511 return NULL;
512 if (_argc0) {
513 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
515 return NULL;
516 }
517 }
518 _result = (bool )wxCommandEvent_Checked(_arg0);
519 _resultobj = Py_BuildValue("i",_result);
520 return _resultobj;
521}
522
523#define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
524static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args) {
525 PyObject * _resultobj;
526 long _result;
527 wxCommandEvent * _arg0;
528 char * _argc0 = 0;
529
530 self = self;
531 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetExtraLong",&_argc0))
532 return NULL;
533 if (_argc0) {
534 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
536 return NULL;
537 }
538 }
539 _result = (long )wxCommandEvent_GetExtraLong(_arg0);
540 _resultobj = Py_BuildValue("l",_result);
541 return _resultobj;
542}
543
544#define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
545static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args) {
546 PyObject * _resultobj;
547 int _result;
548 wxCommandEvent * _arg0;
549 char * _argc0 = 0;
550
551 self = self;
552 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetInt",&_argc0))
553 return NULL;
554 if (_argc0) {
555 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
557 return NULL;
558 }
559 }
560 _result = (int )wxCommandEvent_GetInt(_arg0);
561 _resultobj = Py_BuildValue("i",_result);
562 return _resultobj;
563}
564
565#define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
566static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args) {
567 PyObject * _resultobj;
568 int _result;
569 wxCommandEvent * _arg0;
570 char * _argc0 = 0;
571
572 self = self;
573 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetSelection",&_argc0))
574 return NULL;
575 if (_argc0) {
576 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
578 return NULL;
579 }
580 }
581 _result = (int )wxCommandEvent_GetSelection(_arg0);
582 _resultobj = Py_BuildValue("i",_result);
583 return _resultobj;
584}
585
586#define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
587static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args) {
588 PyObject * _resultobj;
589 char * _result;
590 wxCommandEvent * _arg0;
591 char * _argc0 = 0;
592
593 self = self;
594 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetString",&_argc0))
595 return NULL;
596 if (_argc0) {
597 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
599 return NULL;
600 }
601 }
602 _result = (char *)wxCommandEvent_GetString(_arg0);
603 _resultobj = Py_BuildValue("s", _result);
604 return _resultobj;
605}
606
607#define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
608static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args) {
609 PyObject * _resultobj;
610 bool _result;
611 wxCommandEvent * _arg0;
612 char * _argc0 = 0;
613
614 self = self;
615 if(!PyArg_ParseTuple(args,"s:wxCommandEvent_IsSelection",&_argc0))
616 return NULL;
617 if (_argc0) {
618 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
620 return NULL;
621 }
622 }
623 _result = (bool )wxCommandEvent_IsSelection(_arg0);
624 _resultobj = Py_BuildValue("i",_result);
625 return _resultobj;
626}
627
628static void *SwigwxScrollEventTowxCommandEvent(void *ptr) {
629 wxScrollEvent *src;
630 wxCommandEvent *dest;
631 src = (wxScrollEvent *) ptr;
632 dest = (wxCommandEvent *) src;
633 return (void *) dest;
634}
635
636static void *SwigwxScrollEventTowxEvent(void *ptr) {
637 wxScrollEvent *src;
638 wxEvent *dest;
639 src = (wxScrollEvent *) ptr;
640 dest = (wxEvent *) src;
641 return (void *) dest;
642}
643
644#define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
645static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args) {
646 PyObject * _resultobj;
647 int _result;
648 wxScrollEvent * _arg0;
649 char * _argc0 = 0;
650
651 self = self;
652 if(!PyArg_ParseTuple(args,"s:wxScrollEvent_GetOrientation",&_argc0))
653 return NULL;
654 if (_argc0) {
655 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollEvent_p")) {
656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
657 return NULL;
658 }
659 }
660 _result = (int )wxScrollEvent_GetOrientation(_arg0);
661 _resultobj = Py_BuildValue("i",_result);
662 return _resultobj;
663}
664
665#define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
666static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args) {
667 PyObject * _resultobj;
668 int _result;
669 wxScrollEvent * _arg0;
670 char * _argc0 = 0;
671
672 self = self;
673 if(!PyArg_ParseTuple(args,"s:wxScrollEvent_GetPosition",&_argc0))
674 return NULL;
675 if (_argc0) {
676 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollEvent_p")) {
677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
678 return NULL;
679 }
680 }
681 _result = (int )wxScrollEvent_GetPosition(_arg0);
682 _resultobj = Py_BuildValue("i",_result);
683 return _resultobj;
684}
685
686static void *SwigwxMouseEventTowxEvent(void *ptr) {
687 wxMouseEvent *src;
688 wxEvent *dest;
689 src = (wxMouseEvent *) ptr;
690 dest = (wxEvent *) src;
691 return (void *) dest;
692}
693
694#define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
695static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args) {
696 PyObject * _resultobj;
697 bool _result;
698 wxMouseEvent * _arg0;
699 char * _argc0 = 0;
700
701 self = self;
702 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_IsButton",&_argc0))
703 return NULL;
704 if (_argc0) {
705 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
707 return NULL;
708 }
709 }
710 _result = (bool )wxMouseEvent_IsButton(_arg0);
711 _resultobj = Py_BuildValue("i",_result);
712 return _resultobj;
713}
714
715#define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
716static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args) {
717 PyObject * _resultobj;
718 bool _result;
719 wxMouseEvent * _arg0;
720 int _arg1 = -1;
721 char * _argc0 = 0;
722
723 self = self;
724 if(!PyArg_ParseTuple(args,"s|i:wxMouseEvent_ButtonDown",&_argc0,&_arg1))
725 return NULL;
726 if (_argc0) {
727 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
729 return NULL;
730 }
731 }
732 _result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1);
733 _resultobj = Py_BuildValue("i",_result);
734 return _resultobj;
735}
736
737#define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
738static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args) {
739 PyObject * _resultobj;
740 bool _result;
741 wxMouseEvent * _arg0;
742 int _arg1 = -1;
743 char * _argc0 = 0;
744
745 self = self;
746 if(!PyArg_ParseTuple(args,"s|i:wxMouseEvent_ButtonDClick",&_argc0,&_arg1))
747 return NULL;
748 if (_argc0) {
749 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
751 return NULL;
752 }
753 }
754 _result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1);
755 _resultobj = Py_BuildValue("i",_result);
756 return _resultobj;
757}
758
759#define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
760static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args) {
761 PyObject * _resultobj;
762 bool _result;
763 wxMouseEvent * _arg0;
764 int _arg1 = -1;
765 char * _argc0 = 0;
766
767 self = self;
768 if(!PyArg_ParseTuple(args,"s|i:wxMouseEvent_ButtonUp",&_argc0,&_arg1))
769 return NULL;
770 if (_argc0) {
771 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
773 return NULL;
774 }
775 }
776 _result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1);
777 _resultobj = Py_BuildValue("i",_result);
778 return _resultobj;
779}
780
781#define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
782static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args) {
783 PyObject * _resultobj;
784 bool _result;
785 wxMouseEvent * _arg0;
786 int _arg1;
787 char * _argc0 = 0;
788
789 self = self;
790 if(!PyArg_ParseTuple(args,"si:wxMouseEvent_Button",&_argc0,&_arg1))
791 return NULL;
792 if (_argc0) {
793 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
795 return NULL;
796 }
797 }
798 _result = (bool )wxMouseEvent_Button(_arg0,_arg1);
799 _resultobj = Py_BuildValue("i",_result);
800 return _resultobj;
801}
802
803#define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
804static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args) {
805 PyObject * _resultobj;
806 bool _result;
807 wxMouseEvent * _arg0;
808 int _arg1;
809 char * _argc0 = 0;
810
811 self = self;
812 if(!PyArg_ParseTuple(args,"si:wxMouseEvent_ButtonIsDown",&_argc0,&_arg1))
813 return NULL;
814 if (_argc0) {
815 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
817 return NULL;
818 }
819 }
820 _result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1);
821 _resultobj = Py_BuildValue("i",_result);
822 return _resultobj;
823}
824
825#define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
826static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args) {
827 PyObject * _resultobj;
828 bool _result;
829 wxMouseEvent * _arg0;
830 char * _argc0 = 0;
831
832 self = self;
833 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_ControlDown",&_argc0))
834 return NULL;
835 if (_argc0) {
836 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
838 return NULL;
839 }
840 }
841 _result = (bool )wxMouseEvent_ControlDown(_arg0);
842 _resultobj = Py_BuildValue("i",_result);
843 return _resultobj;
844}
845
846#define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
847static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args) {
848 PyObject * _resultobj;
849 bool _result;
850 wxMouseEvent * _arg0;
851 char * _argc0 = 0;
852
853 self = self;
854 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MetaDown",&_argc0))
855 return NULL;
856 if (_argc0) {
857 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
859 return NULL;
860 }
861 }
862 _result = (bool )wxMouseEvent_MetaDown(_arg0);
863 _resultobj = Py_BuildValue("i",_result);
864 return _resultobj;
865}
866
867#define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
868static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args) {
869 PyObject * _resultobj;
870 bool _result;
871 wxMouseEvent * _arg0;
872 char * _argc0 = 0;
873
874 self = self;
875 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_AltDown",&_argc0))
876 return NULL;
877 if (_argc0) {
878 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
880 return NULL;
881 }
882 }
883 _result = (bool )wxMouseEvent_AltDown(_arg0);
884 _resultobj = Py_BuildValue("i",_result);
885 return _resultobj;
886}
887
888#define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
889static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args) {
890 PyObject * _resultobj;
891 bool _result;
892 wxMouseEvent * _arg0;
893 char * _argc0 = 0;
894
895 self = self;
896 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_ShiftDown",&_argc0))
897 return NULL;
898 if (_argc0) {
899 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
901 return NULL;
902 }
903 }
904 _result = (bool )wxMouseEvent_ShiftDown(_arg0);
905 _resultobj = Py_BuildValue("i",_result);
906 return _resultobj;
907}
908
909#define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
910static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args) {
911 PyObject * _resultobj;
912 bool _result;
913 wxMouseEvent * _arg0;
914 char * _argc0 = 0;
915
916 self = self;
917 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftDown",&_argc0))
918 return NULL;
919 if (_argc0) {
920 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
922 return NULL;
923 }
924 }
925 _result = (bool )wxMouseEvent_LeftDown(_arg0);
926 _resultobj = Py_BuildValue("i",_result);
927 return _resultobj;
928}
929
930#define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
931static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args) {
932 PyObject * _resultobj;
933 bool _result;
934 wxMouseEvent * _arg0;
935 char * _argc0 = 0;
936
937 self = self;
938 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleDown",&_argc0))
939 return NULL;
940 if (_argc0) {
941 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
943 return NULL;
944 }
945 }
946 _result = (bool )wxMouseEvent_MiddleDown(_arg0);
947 _resultobj = Py_BuildValue("i",_result);
948 return _resultobj;
949}
950
951#define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
952static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args) {
953 PyObject * _resultobj;
954 bool _result;
955 wxMouseEvent * _arg0;
956 char * _argc0 = 0;
957
958 self = self;
959 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightDown",&_argc0))
960 return NULL;
961 if (_argc0) {
962 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
964 return NULL;
965 }
966 }
967 _result = (bool )wxMouseEvent_RightDown(_arg0);
968 _resultobj = Py_BuildValue("i",_result);
969 return _resultobj;
970}
971
972#define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
973static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args) {
974 PyObject * _resultobj;
975 bool _result;
976 wxMouseEvent * _arg0;
977 char * _argc0 = 0;
978
979 self = self;
980 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftUp",&_argc0))
981 return NULL;
982 if (_argc0) {
983 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
985 return NULL;
986 }
987 }
988 _result = (bool )wxMouseEvent_LeftUp(_arg0);
989 _resultobj = Py_BuildValue("i",_result);
990 return _resultobj;
991}
992
993#define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
994static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args) {
995 PyObject * _resultobj;
996 bool _result;
997 wxMouseEvent * _arg0;
998 char * _argc0 = 0;
999
1000 self = self;
1001 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleUp",&_argc0))
1002 return NULL;
1003 if (_argc0) {
1004 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1006 return NULL;
1007 }
1008 }
1009 _result = (bool )wxMouseEvent_MiddleUp(_arg0);
1010 _resultobj = Py_BuildValue("i",_result);
1011 return _resultobj;
1012}
1013
1014#define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1015static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args) {
1016 PyObject * _resultobj;
1017 bool _result;
1018 wxMouseEvent * _arg0;
1019 char * _argc0 = 0;
1020
1021 self = self;
1022 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightUp",&_argc0))
1023 return NULL;
1024 if (_argc0) {
1025 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1027 return NULL;
1028 }
1029 }
1030 _result = (bool )wxMouseEvent_RightUp(_arg0);
1031 _resultobj = Py_BuildValue("i",_result);
1032 return _resultobj;
1033}
1034
1035#define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1036static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args) {
1037 PyObject * _resultobj;
1038 bool _result;
1039 wxMouseEvent * _arg0;
1040 char * _argc0 = 0;
1041
1042 self = self;
1043 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftDClick",&_argc0))
1044 return NULL;
1045 if (_argc0) {
1046 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1048 return NULL;
1049 }
1050 }
1051 _result = (bool )wxMouseEvent_LeftDClick(_arg0);
1052 _resultobj = Py_BuildValue("i",_result);
1053 return _resultobj;
1054}
1055
1056#define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1057static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args) {
1058 PyObject * _resultobj;
1059 bool _result;
1060 wxMouseEvent * _arg0;
1061 char * _argc0 = 0;
1062
1063 self = self;
1064 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleDClick",&_argc0))
1065 return NULL;
1066 if (_argc0) {
1067 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1069 return NULL;
1070 }
1071 }
1072 _result = (bool )wxMouseEvent_MiddleDClick(_arg0);
1073 _resultobj = Py_BuildValue("i",_result);
1074 return _resultobj;
1075}
1076
1077#define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1078static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args) {
1079 PyObject * _resultobj;
1080 bool _result;
1081 wxMouseEvent * _arg0;
1082 char * _argc0 = 0;
1083
1084 self = self;
1085 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightDClick",&_argc0))
1086 return NULL;
1087 if (_argc0) {
1088 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1090 return NULL;
1091 }
1092 }
1093 _result = (bool )wxMouseEvent_RightDClick(_arg0);
1094 _resultobj = Py_BuildValue("i",_result);
1095 return _resultobj;
1096}
1097
1098#define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1099static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args) {
1100 PyObject * _resultobj;
1101 bool _result;
1102 wxMouseEvent * _arg0;
1103 char * _argc0 = 0;
1104
1105 self = self;
1106 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftIsDown",&_argc0))
1107 return NULL;
1108 if (_argc0) {
1109 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1111 return NULL;
1112 }
1113 }
1114 _result = (bool )wxMouseEvent_LeftIsDown(_arg0);
1115 _resultobj = Py_BuildValue("i",_result);
1116 return _resultobj;
1117}
1118
1119#define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1120static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args) {
1121 PyObject * _resultobj;
1122 bool _result;
1123 wxMouseEvent * _arg0;
1124 char * _argc0 = 0;
1125
1126 self = self;
1127 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleIsDown",&_argc0))
1128 return NULL;
1129 if (_argc0) {
1130 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1132 return NULL;
1133 }
1134 }
1135 _result = (bool )wxMouseEvent_MiddleIsDown(_arg0);
1136 _resultobj = Py_BuildValue("i",_result);
1137 return _resultobj;
1138}
1139
1140#define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1141static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args) {
1142 PyObject * _resultobj;
1143 bool _result;
1144 wxMouseEvent * _arg0;
1145 char * _argc0 = 0;
1146
1147 self = self;
1148 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightIsDown",&_argc0))
1149 return NULL;
1150 if (_argc0) {
1151 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1153 return NULL;
1154 }
1155 }
1156 _result = (bool )wxMouseEvent_RightIsDown(_arg0);
1157 _resultobj = Py_BuildValue("i",_result);
1158 return _resultobj;
1159}
1160
1161#define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1162static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args) {
1163 PyObject * _resultobj;
1164 bool _result;
1165 wxMouseEvent * _arg0;
1166 char * _argc0 = 0;
1167
1168 self = self;
1169 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Dragging",&_argc0))
1170 return NULL;
1171 if (_argc0) {
1172 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1174 return NULL;
1175 }
1176 }
1177 _result = (bool )wxMouseEvent_Dragging(_arg0);
1178 _resultobj = Py_BuildValue("i",_result);
1179 return _resultobj;
1180}
1181
1182#define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1183static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args) {
1184 PyObject * _resultobj;
1185 bool _result;
1186 wxMouseEvent * _arg0;
1187 char * _argc0 = 0;
1188
1189 self = self;
1190 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Moving",&_argc0))
1191 return NULL;
1192 if (_argc0) {
1193 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1195 return NULL;
1196 }
1197 }
1198 _result = (bool )wxMouseEvent_Moving(_arg0);
1199 _resultobj = Py_BuildValue("i",_result);
1200 return _resultobj;
1201}
1202
1203#define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1204static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args) {
1205 PyObject * _resultobj;
1206 bool _result;
1207 wxMouseEvent * _arg0;
1208 char * _argc0 = 0;
1209
1210 self = self;
1211 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Entering",&_argc0))
1212 return NULL;
1213 if (_argc0) {
1214 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1216 return NULL;
1217 }
1218 }
1219 _result = (bool )wxMouseEvent_Entering(_arg0);
1220 _resultobj = Py_BuildValue("i",_result);
1221 return _resultobj;
1222}
1223
1224#define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1225static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args) {
1226 PyObject * _resultobj;
1227 bool _result;
1228 wxMouseEvent * _arg0;
1229 char * _argc0 = 0;
1230
1231 self = self;
1232 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Leaving",&_argc0))
1233 return NULL;
1234 if (_argc0) {
1235 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1237 return NULL;
1238 }
1239 }
1240 _result = (bool )wxMouseEvent_Leaving(_arg0);
1241 _resultobj = Py_BuildValue("i",_result);
1242 return _resultobj;
1243}
1244
1245#define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1246static PyObject *_wrap_wxMouseEvent_Position(PyObject *self, PyObject *args) {
1247 PyObject * _resultobj;
1248 wxMouseEvent * _arg0;
1249 long * _arg1;
1250 long temp;
1251 long * _arg2;
1252 long temp0;
1253 char * _argc0 = 0;
1254
1255 self = self;
1256{
1257 _arg1 = &temp;
1258}
1259{
1260 _arg2 = &temp0;
1261}
1262 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Position",&_argc0))
1263 return NULL;
1264 if (_argc0) {
1265 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
1267 return NULL;
1268 }
1269 }
1270 wxMouseEvent_Position(_arg0,_arg1,_arg2);
1271 Py_INCREF(Py_None);
1272 _resultobj = Py_None;
1273{
1274 PyObject *o;
1275 o = PyInt_FromLong((long) (*_arg1));
1276 _resultobj = t_output_helper(_resultobj, o);
1277}
1278{
1279 PyObject *o;
1280 o = PyInt_FromLong((long) (*_arg2));
1281 _resultobj = t_output_helper(_resultobj, o);
1282}
1283 return _resultobj;
1284}
1285
1286#define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1287static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args) {
1288 PyObject * _resultobj;
1289 wxPoint * _result;
1290 wxMouseEvent * _arg0;
1291 char * _argc0 = 0;
1292 char _ptemp[128];
1293
1294 self = self;
1295 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_GetPosition",&_argc0))
1296 return NULL;
1297 if (_argc0) {
1298 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1300 return NULL;
1301 }
1302 }
1303 _result = new wxPoint (wxMouseEvent_GetPosition(_arg0));
1304 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1305 _resultobj = Py_BuildValue("s",_ptemp);
1306 return _resultobj;
1307}
1308
1309#define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1310static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args) {
1311 PyObject * _resultobj;
1312 wxPoint * _result;
1313 wxMouseEvent * _arg0;
1314 wxDC * _arg1;
1315 char * _argc0 = 0;
1316 char * _argc1 = 0;
1317 char _ptemp[128];
1318
1319 self = self;
1320 if(!PyArg_ParseTuple(args,"ss:wxMouseEvent_GetLogicalPosition",&_argc0,&_argc1))
1321 return NULL;
1322 if (_argc0) {
1323 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
1325 return NULL;
1326 }
1327 }
1328 if (_argc1) {
1329 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
1330 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
1331 return NULL;
1332 }
1333 }
1334 _result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1));
1335 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1336 _resultobj = Py_BuildValue("s",_ptemp);
1337 return _resultobj;
1338}
1339
1340#define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
1341static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args) {
1342 PyObject * _resultobj;
1343 long _result;
1344 wxMouseEvent * _arg0;
1345 char * _argc0 = 0;
1346
1347 self = self;
1348 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_GetX",&_argc0))
1349 return NULL;
1350 if (_argc0) {
1351 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
1353 return NULL;
1354 }
1355 }
1356 _result = (long )wxMouseEvent_GetX(_arg0);
1357 _resultobj = Py_BuildValue("l",_result);
1358 return _resultobj;
1359}
1360
1361#define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
1362static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args) {
1363 PyObject * _resultobj;
1364 long _result;
1365 wxMouseEvent * _arg0;
1366 char * _argc0 = 0;
1367
1368 self = self;
1369 if(!PyArg_ParseTuple(args,"s:wxMouseEvent_GetY",&_argc0))
1370 return NULL;
1371 if (_argc0) {
1372 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
1373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
1374 return NULL;
1375 }
1376 }
1377 _result = (long )wxMouseEvent_GetY(_arg0);
1378 _resultobj = Py_BuildValue("l",_result);
1379 return _resultobj;
1380}
1381
1382static void *SwigwxKeyEventTowxEvent(void *ptr) {
1383 wxKeyEvent *src;
1384 wxEvent *dest;
1385 src = (wxKeyEvent *) ptr;
1386 dest = (wxEvent *) src;
1387 return (void *) dest;
1388}
1389
1390#define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1391static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args) {
1392 PyObject * _resultobj;
1393 bool _result;
1394 wxKeyEvent * _arg0;
1395 char * _argc0 = 0;
1396
1397 self = self;
1398 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_ControlDown",&_argc0))
1399 return NULL;
1400 if (_argc0) {
1401 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
1403 return NULL;
1404 }
1405 }
1406 _result = (bool )wxKeyEvent_ControlDown(_arg0);
1407 _resultobj = Py_BuildValue("i",_result);
1408 return _resultobj;
1409}
1410
1411#define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1412static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args) {
1413 PyObject * _resultobj;
1414 bool _result;
1415 wxKeyEvent * _arg0;
1416 char * _argc0 = 0;
1417
1418 self = self;
1419 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_MetaDown",&_argc0))
1420 return NULL;
1421 if (_argc0) {
1422 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
1424 return NULL;
1425 }
1426 }
1427 _result = (bool )wxKeyEvent_MetaDown(_arg0);
1428 _resultobj = Py_BuildValue("i",_result);
1429 return _resultobj;
1430}
1431
1432#define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
1433static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args) {
1434 PyObject * _resultobj;
1435 bool _result;
1436 wxKeyEvent * _arg0;
1437 char * _argc0 = 0;
1438
1439 self = self;
1440 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_AltDown",&_argc0))
1441 return NULL;
1442 if (_argc0) {
1443 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
1445 return NULL;
1446 }
1447 }
1448 _result = (bool )wxKeyEvent_AltDown(_arg0);
1449 _resultobj = Py_BuildValue("i",_result);
1450 return _resultobj;
1451}
1452
1453#define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1454static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args) {
1455 PyObject * _resultobj;
1456 bool _result;
1457 wxKeyEvent * _arg0;
1458 char * _argc0 = 0;
1459
1460 self = self;
1461 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_ShiftDown",&_argc0))
1462 return NULL;
1463 if (_argc0) {
1464 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
1466 return NULL;
1467 }
1468 }
1469 _result = (bool )wxKeyEvent_ShiftDown(_arg0);
1470 _resultobj = Py_BuildValue("i",_result);
1471 return _resultobj;
1472}
1473
1474#define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
1475static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args) {
1476 PyObject * _resultobj;
1477 long _result;
1478 wxKeyEvent * _arg0;
1479 char * _argc0 = 0;
1480
1481 self = self;
1482 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_KeyCode",&_argc0))
1483 return NULL;
1484 if (_argc0) {
1485 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
1487 return NULL;
1488 }
1489 }
1490 _result = (long )wxKeyEvent_KeyCode(_arg0);
1491 _resultobj = Py_BuildValue("l",_result);
1492 return _resultobj;
1493}
1494
1495#define wxKeyEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1496static PyObject *_wrap_wxKeyEvent_Position(PyObject *self, PyObject *args) {
1497 PyObject * _resultobj;
1498 wxKeyEvent * _arg0;
1499 float * _arg1;
1500 float temp;
1501 float * _arg2;
1502 float temp0;
1503 char * _argc0 = 0;
1504
1505 self = self;
1506{
1507 _arg1 = &temp;
1508}
1509{
1510 _arg2 = &temp0;
1511}
1512 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_Position",&_argc0))
1513 return NULL;
1514 if (_argc0) {
1515 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_Position. Expected _wxKeyEvent_p.");
1517 return NULL;
1518 }
1519 }
1520 wxKeyEvent_Position(_arg0,_arg1,_arg2);
1521 Py_INCREF(Py_None);
1522 _resultobj = Py_None;
1523{
1524 PyObject *o;
1525 o = PyFloat_FromDouble((double) (*_arg1));
1526 _resultobj = t_output_helper(_resultobj, o);
1527}
1528{
1529 PyObject *o;
1530 o = PyFloat_FromDouble((double) (*_arg2));
1531 _resultobj = t_output_helper(_resultobj, o);
1532}
1533 return _resultobj;
1534}
1535
1536#define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
1537static PyObject *_wrap_wxKeyEvent_GetX(PyObject *self, PyObject *args) {
1538 PyObject * _resultobj;
1539 float _result;
1540 wxKeyEvent * _arg0;
1541 char * _argc0 = 0;
1542
1543 self = self;
1544 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_GetX",&_argc0))
1545 return NULL;
1546 if (_argc0) {
1547 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
1549 return NULL;
1550 }
1551 }
1552 _result = (float )wxKeyEvent_GetX(_arg0);
1553 _resultobj = Py_BuildValue("f",_result);
1554 return _resultobj;
1555}
1556
1557#define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
1558static PyObject *_wrap_wxKeyEvent_GetY(PyObject *self, PyObject *args) {
1559 PyObject * _resultobj;
1560 float _result;
1561 wxKeyEvent * _arg0;
1562 char * _argc0 = 0;
1563
1564 self = self;
1565 if(!PyArg_ParseTuple(args,"s:wxKeyEvent_GetY",&_argc0))
1566 return NULL;
1567 if (_argc0) {
1568 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
1570 return NULL;
1571 }
1572 }
1573 _result = (float )wxKeyEvent_GetY(_arg0);
1574 _resultobj = Py_BuildValue("f",_result);
1575 return _resultobj;
1576}
1577
1578static void *SwigwxMoveEventTowxEvent(void *ptr) {
1579 wxMoveEvent *src;
1580 wxEvent *dest;
1581 src = (wxMoveEvent *) ptr;
1582 dest = (wxEvent *) src;
1583 return (void *) dest;
1584}
1585
1586#define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1587static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args) {
1588 PyObject * _resultobj;
1589 wxPoint * _result;
1590 wxMoveEvent * _arg0;
1591 char * _argc0 = 0;
1592 char _ptemp[128];
1593
1594 self = self;
1595 if(!PyArg_ParseTuple(args,"s:wxMoveEvent_GetPosition",&_argc0))
1596 return NULL;
1597 if (_argc0) {
1598 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMoveEvent_p")) {
1599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
1600 return NULL;
1601 }
1602 }
1603 _result = new wxPoint (wxMoveEvent_GetPosition(_arg0));
1604 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1605 _resultobj = Py_BuildValue("s",_ptemp);
1606 return _resultobj;
1607}
1608
1609static void *SwigwxPaintEventTowxEvent(void *ptr) {
1610 wxPaintEvent *src;
1611 wxEvent *dest;
1612 src = (wxPaintEvent *) ptr;
1613 dest = (wxEvent *) src;
1614 return (void *) dest;
1615}
1616
1617static void *SwigwxEraseEventTowxEvent(void *ptr) {
1618 wxEraseEvent *src;
1619 wxEvent *dest;
1620 src = (wxEraseEvent *) ptr;
1621 dest = (wxEvent *) src;
1622 return (void *) dest;
1623}
1624
1625#define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
1626static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args) {
1627 PyObject * _resultobj;
1628 wxDC * _result;
1629 wxEraseEvent * _arg0;
1630 char * _argc0 = 0;
1631 char _ptemp[128];
1632
1633 self = self;
1634 if(!PyArg_ParseTuple(args,"s:wxEraseEvent_GetDC",&_argc0))
1635 return NULL;
1636 if (_argc0) {
1637 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEraseEvent_p")) {
1638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
1639 return NULL;
1640 }
1641 }
1642 _result = (wxDC *)wxEraseEvent_GetDC(_arg0);
1643 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
1644 _resultobj = Py_BuildValue("s",_ptemp);
1645 return _resultobj;
1646}
1647
1648static void *SwigwxFocusEventTowxEvent(void *ptr) {
1649 wxFocusEvent *src;
1650 wxEvent *dest;
1651 src = (wxFocusEvent *) ptr;
1652 dest = (wxEvent *) src;
1653 return (void *) dest;
1654}
1655
1656static void *SwigwxActivateEventTowxEvent(void *ptr) {
1657 wxActivateEvent *src;
1658 wxEvent *dest;
1659 src = (wxActivateEvent *) ptr;
1660 dest = (wxEvent *) src;
1661 return (void *) dest;
1662}
1663
1664#define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
1665static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args) {
1666 PyObject * _resultobj;
1667 bool _result;
1668 wxActivateEvent * _arg0;
1669 char * _argc0 = 0;
1670
1671 self = self;
1672 if(!PyArg_ParseTuple(args,"s:wxActivateEvent_GetActive",&_argc0))
1673 return NULL;
1674 if (_argc0) {
1675 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxActivateEvent_p")) {
1676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
1677 return NULL;
1678 }
1679 }
1680 _result = (bool )wxActivateEvent_GetActive(_arg0);
1681 _resultobj = Py_BuildValue("i",_result);
1682 return _resultobj;
1683}
1684
1685static void *SwigwxInitDialogEventTowxEvent(void *ptr) {
1686 wxInitDialogEvent *src;
1687 wxEvent *dest;
1688 src = (wxInitDialogEvent *) ptr;
1689 dest = (wxEvent *) src;
1690 return (void *) dest;
1691}
1692
1693static void *SwigwxMenuEventTowxEvent(void *ptr) {
1694 wxMenuEvent *src;
1695 wxEvent *dest;
1696 src = (wxMenuEvent *) ptr;
1697 dest = (wxEvent *) src;
1698 return (void *) dest;
1699}
1700
1701#define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
1702static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args) {
1703 PyObject * _resultobj;
1704 int _result;
1705 wxMenuEvent * _arg0;
1706 char * _argc0 = 0;
1707
1708 self = self;
1709 if(!PyArg_ParseTuple(args,"s:wxMenuEvent_GetMenuId",&_argc0))
1710 return NULL;
1711 if (_argc0) {
1712 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuEvent_p")) {
1713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
1714 return NULL;
1715 }
1716 }
1717 _result = (int )wxMenuEvent_GetMenuId(_arg0);
1718 _resultobj = Py_BuildValue("i",_result);
1719 return _resultobj;
1720}
1721
1722static void *SwigwxShowEventTowxEvent(void *ptr) {
1723 wxShowEvent *src;
1724 wxEvent *dest;
1725 src = (wxShowEvent *) ptr;
1726 dest = (wxEvent *) src;
1727 return (void *) dest;
1728}
1729
1730#define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
1731static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args) {
1732 PyObject * _resultobj;
1733 wxShowEvent * _arg0;
1734 bool _arg1;
1735 char * _argc0 = 0;
1736 int tempbool1;
1737
1738 self = self;
1739 if(!PyArg_ParseTuple(args,"si:wxShowEvent_SetShow",&_argc0,&tempbool1))
1740 return NULL;
1741 if (_argc0) {
1742 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxShowEvent_p")) {
1743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
1744 return NULL;
1745 }
1746 }
1747 _arg1 = (bool ) tempbool1;
1748 wxShowEvent_SetShow(_arg0,_arg1);
1749 Py_INCREF(Py_None);
1750 _resultobj = Py_None;
1751 return _resultobj;
1752}
1753
1754#define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
1755static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args) {
1756 PyObject * _resultobj;
1757 bool _result;
1758 wxShowEvent * _arg0;
1759 char * _argc0 = 0;
1760
1761 self = self;
1762 if(!PyArg_ParseTuple(args,"s:wxShowEvent_GetShow",&_argc0))
1763 return NULL;
1764 if (_argc0) {
1765 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxShowEvent_p")) {
1766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
1767 return NULL;
1768 }
1769 }
1770 _result = (bool )wxShowEvent_GetShow(_arg0);
1771 _resultobj = Py_BuildValue("i",_result);
1772 return _resultobj;
1773}
1774
1775static void *SwigwxIconizeEventTowxEvent(void *ptr) {
1776 wxIconizeEvent *src;
1777 wxEvent *dest;
1778 src = (wxIconizeEvent *) ptr;
1779 dest = (wxEvent *) src;
1780 return (void *) dest;
1781}
1782
1783static void *SwigwxMaximizeEventTowxEvent(void *ptr) {
1784 wxMaximizeEvent *src;
1785 wxEvent *dest;
1786 src = (wxMaximizeEvent *) ptr;
1787 dest = (wxEvent *) src;
1788 return (void *) dest;
1789}
1790
1791static void *SwigwxJoystickEventTowxEvent(void *ptr) {
1792 wxJoystickEvent *src;
1793 wxEvent *dest;
1794 src = (wxJoystickEvent *) ptr;
1795 dest = (wxEvent *) src;
1796 return (void *) dest;
1797}
1798
1799#define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1800static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args) {
1801 PyObject * _resultobj;
1802 wxPoint * _result;
1803 wxJoystickEvent * _arg0;
1804 char * _argc0 = 0;
1805 char _ptemp[128];
1806
1807 self = self;
1808 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetPosition",&_argc0))
1809 return NULL;
1810 if (_argc0) {
1811 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
1813 return NULL;
1814 }
1815 }
1816 _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0));
1817 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1818 _resultobj = Py_BuildValue("s",_ptemp);
1819 return _resultobj;
1820}
1821
1822#define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
1823static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args) {
1824 PyObject * _resultobj;
1825 int _result;
1826 wxJoystickEvent * _arg0;
1827 char * _argc0 = 0;
1828
1829 self = self;
1830 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetZPosition",&_argc0))
1831 return NULL;
1832 if (_argc0) {
1833 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
1835 return NULL;
1836 }
1837 }
1838 _result = (int )wxJoystickEvent_GetZPosition(_arg0);
1839 _resultobj = Py_BuildValue("i",_result);
1840 return _resultobj;
1841}
1842
1843#define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
1844static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args) {
1845 PyObject * _resultobj;
1846 int _result;
1847 wxJoystickEvent * _arg0;
1848 char * _argc0 = 0;
1849
1850 self = self;
1851 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetButtonState",&_argc0))
1852 return NULL;
1853 if (_argc0) {
1854 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
1856 return NULL;
1857 }
1858 }
1859 _result = (int )wxJoystickEvent_GetButtonState(_arg0);
1860 _resultobj = Py_BuildValue("i",_result);
1861 return _resultobj;
1862}
1863
1864#define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
1865static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args) {
1866 PyObject * _resultobj;
1867 int _result;
1868 wxJoystickEvent * _arg0;
1869 char * _argc0 = 0;
1870
1871 self = self;
1872 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetButtonChange",&_argc0))
1873 return NULL;
1874 if (_argc0) {
1875 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
1877 return NULL;
1878 }
1879 }
1880 _result = (int )wxJoystickEvent_GetButtonChange(_arg0);
1881 _resultobj = Py_BuildValue("i",_result);
1882 return _resultobj;
1883}
1884
1885#define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
1886static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args) {
1887 PyObject * _resultobj;
1888 int _result;
1889 wxJoystickEvent * _arg0;
1890 char * _argc0 = 0;
1891
1892 self = self;
1893 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetJoystick",&_argc0))
1894 return NULL;
1895 if (_argc0) {
1896 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
1898 return NULL;
1899 }
1900 }
1901 _result = (int )wxJoystickEvent_GetJoystick(_arg0);
1902 _resultobj = Py_BuildValue("i",_result);
1903 return _resultobj;
1904}
1905
1906#define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
1907static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args) {
1908 PyObject * _resultobj;
1909 wxJoystickEvent * _arg0;
1910 int _arg1;
1911 char * _argc0 = 0;
1912
1913 self = self;
1914 if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetJoystick",&_argc0,&_arg1))
1915 return NULL;
1916 if (_argc0) {
1917 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
1919 return NULL;
1920 }
1921 }
1922 wxJoystickEvent_SetJoystick(_arg0,_arg1);
1923 Py_INCREF(Py_None);
1924 _resultobj = Py_None;
1925 return _resultobj;
1926}
1927
1928#define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
1929static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args) {
1930 PyObject * _resultobj;
1931 wxJoystickEvent * _arg0;
1932 int _arg1;
1933 char * _argc0 = 0;
1934
1935 self = self;
1936 if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetButtonState",&_argc0,&_arg1))
1937 return NULL;
1938 if (_argc0) {
1939 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
1941 return NULL;
1942 }
1943 }
1944 wxJoystickEvent_SetButtonState(_arg0,_arg1);
1945 Py_INCREF(Py_None);
1946 _resultobj = Py_None;
1947 return _resultobj;
1948}
1949
1950#define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
1951static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args) {
1952 PyObject * _resultobj;
1953 wxJoystickEvent * _arg0;
1954 int _arg1;
1955 char * _argc0 = 0;
1956
1957 self = self;
1958 if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetButtonChange",&_argc0,&_arg1))
1959 return NULL;
1960 if (_argc0) {
1961 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
1963 return NULL;
1964 }
1965 }
1966 wxJoystickEvent_SetButtonChange(_arg0,_arg1);
1967 Py_INCREF(Py_None);
1968 _resultobj = Py_None;
1969 return _resultobj;
1970}
1971
1972#define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
1973static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args) {
1974 PyObject * _resultobj;
1975 wxJoystickEvent * _arg0;
1976 wxPoint * _arg1;
1977 char * _argc0 = 0;
1978 char * _argc1 = 0;
1979
1980 self = self;
1981 if(!PyArg_ParseTuple(args,"ss:wxJoystickEvent_SetPosition",&_argc0,&_argc1))
1982 return NULL;
1983 if (_argc0) {
1984 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
1985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
1986 return NULL;
1987 }
1988 }
1989 if (_argc1) {
1990 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
1991 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p.");
1992 return NULL;
1993 }
1994 }
1995 wxJoystickEvent_SetPosition(_arg0,*_arg1);
1996 Py_INCREF(Py_None);
1997 _resultobj = Py_None;
1998 return _resultobj;
1999}
2000
2001#define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
2002static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args) {
2003 PyObject * _resultobj;
2004 wxJoystickEvent * _arg0;
2005 int _arg1;
2006 char * _argc0 = 0;
2007
2008 self = self;
2009 if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetZPosition",&_argc0,&_arg1))
2010 return NULL;
2011 if (_argc0) {
2012 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
2014 return NULL;
2015 }
2016 }
2017 wxJoystickEvent_SetZPosition(_arg0,_arg1);
2018 Py_INCREF(Py_None);
2019 _resultobj = Py_None;
2020 return _resultobj;
2021}
2022
2023#define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
2024static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args) {
2025 PyObject * _resultobj;
2026 bool _result;
2027 wxJoystickEvent * _arg0;
2028 char * _argc0 = 0;
2029
2030 self = self;
2031 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_IsButton",&_argc0))
2032 return NULL;
2033 if (_argc0) {
2034 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
2036 return NULL;
2037 }
2038 }
2039 _result = (bool )wxJoystickEvent_IsButton(_arg0);
2040 _resultobj = Py_BuildValue("i",_result);
2041 return _resultobj;
2042}
2043
2044#define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
2045static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args) {
2046 PyObject * _resultobj;
2047 bool _result;
2048 wxJoystickEvent * _arg0;
2049 char * _argc0 = 0;
2050
2051 self = self;
2052 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_IsMove",&_argc0))
2053 return NULL;
2054 if (_argc0) {
2055 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
2057 return NULL;
2058 }
2059 }
2060 _result = (bool )wxJoystickEvent_IsMove(_arg0);
2061 _resultobj = Py_BuildValue("i",_result);
2062 return _resultobj;
2063}
2064
2065#define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
2066static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args) {
2067 PyObject * _resultobj;
2068 bool _result;
2069 wxJoystickEvent * _arg0;
2070 char * _argc0 = 0;
2071
2072 self = self;
2073 if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_IsZMove",&_argc0))
2074 return NULL;
2075 if (_argc0) {
2076 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
2078 return NULL;
2079 }
2080 }
2081 _result = (bool )wxJoystickEvent_IsZMove(_arg0);
2082 _resultobj = Py_BuildValue("i",_result);
2083 return _resultobj;
2084}
2085
2086#define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
2087static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args) {
2088 PyObject * _resultobj;
2089 bool _result;
2090 wxJoystickEvent * _arg0;
2091 int _arg1 = wxJOY_BUTTON_ANY;
2092 char * _argc0 = 0;
2093
2094 self = self;
2095 if(!PyArg_ParseTuple(args,"s|i:wxJoystickEvent_ButtonDown",&_argc0,&_arg1))
2096 return NULL;
2097 if (_argc0) {
2098 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
2100 return NULL;
2101 }
2102 }
2103 _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1);
2104 _resultobj = Py_BuildValue("i",_result);
2105 return _resultobj;
2106}
2107
2108#define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
2109static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args) {
2110 PyObject * _resultobj;
2111 bool _result;
2112 wxJoystickEvent * _arg0;
2113 int _arg1 = wxJOY_BUTTON_ANY;
2114 char * _argc0 = 0;
2115
2116 self = self;
2117 if(!PyArg_ParseTuple(args,"s|i:wxJoystickEvent_ButtonUp",&_argc0,&_arg1))
2118 return NULL;
2119 if (_argc0) {
2120 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
2122 return NULL;
2123 }
2124 }
2125 _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1);
2126 _resultobj = Py_BuildValue("i",_result);
2127 return _resultobj;
2128}
2129
2130#define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
2131static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args) {
2132 PyObject * _resultobj;
2133 bool _result;
2134 wxJoystickEvent * _arg0;
2135 int _arg1 = wxJOY_BUTTON_ANY;
2136 char * _argc0 = 0;
2137
2138 self = self;
2139 if(!PyArg_ParseTuple(args,"s|i:wxJoystickEvent_ButtonIsDown",&_argc0,&_arg1))
2140 return NULL;
2141 if (_argc0) {
2142 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
2143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
2144 return NULL;
2145 }
2146 }
2147 _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1);
2148 _resultobj = Py_BuildValue("i",_result);
2149 return _resultobj;
2150}
2151
2152static void *SwigwxDropFilesEventTowxEvent(void *ptr) {
2153 wxDropFilesEvent *src;
2154 wxEvent *dest;
2155 src = (wxDropFilesEvent *) ptr;
2156 dest = (wxEvent *) src;
2157 return (void *) dest;
2158}
2159
2160#define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2161static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args) {
2162 PyObject * _resultobj;
2163 wxPoint * _result;
2164 wxDropFilesEvent * _arg0;
2165 char * _argc0 = 0;
2166 char _ptemp[128];
2167
2168 self = self;
2169 if(!PyArg_ParseTuple(args,"s:wxDropFilesEvent_GetPosition",&_argc0))
2170 return NULL;
2171 if (_argc0) {
2172 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
2174 return NULL;
2175 }
2176 }
2177 _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0));
2178 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2179 _resultobj = Py_BuildValue("s",_ptemp);
2180 return _resultobj;
2181}
2182
2183#define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
2184static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args) {
2185 PyObject * _resultobj;
2186 int _result;
2187 wxDropFilesEvent * _arg0;
2188 char * _argc0 = 0;
2189
2190 self = self;
2191 if(!PyArg_ParseTuple(args,"s:wxDropFilesEvent_GetNumberOfFiles",&_argc0))
2192 return NULL;
2193 if (_argc0) {
2194 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
2196 return NULL;
2197 }
2198 }
2199 _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0);
2200 _resultobj = Py_BuildValue("i",_result);
2201 return _resultobj;
2202}
2203
2204static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) {
2205 int count = self->GetNumberOfFiles();
2206 wxString* files = self->GetFiles();
2207 PyObject* list = PyList_New(count);
2208
2209 if (!list) {
2210 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
2211 return NULL;
2212 }
2213
2214 for (int i=0; i<count; i++) {
2215 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
2216 }
2217 return list;
2218 }
2219static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args) {
2220 PyObject * _resultobj;
2221 PyObject * _result;
2222 wxDropFilesEvent * _arg0;
2223 char * _argc0 = 0;
2224
2225 self = self;
2226 if(!PyArg_ParseTuple(args,"s:wxDropFilesEvent_GetFiles",&_argc0))
2227 return NULL;
2228 if (_argc0) {
2229 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
2230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
2231 return NULL;
2232 }
2233 }
2234 _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0);
2235{
2236 _resultobj = _result;
2237}
2238 return _resultobj;
2239}
2240
2241static void *SwigwxIdleEventTowxEvent(void *ptr) {
2242 wxIdleEvent *src;
2243 wxEvent *dest;
2244 src = (wxIdleEvent *) ptr;
2245 dest = (wxEvent *) src;
2246 return (void *) dest;
2247}
2248
2249#define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
2250static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args) {
2251 PyObject * _resultobj;
2252 wxIdleEvent * _arg0;
2253 bool _arg1 = (1);
2254 char * _argc0 = 0;
2255 int tempbool1;
2256
2257 self = self;
2258 if(!PyArg_ParseTuple(args,"s|i:wxIdleEvent_RequestMore",&_argc0,&tempbool1))
2259 return NULL;
2260 if (_argc0) {
2261 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIdleEvent_p")) {
2262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
2263 return NULL;
2264 }
2265 }
2266 _arg1 = (bool ) tempbool1;
2267 wxIdleEvent_RequestMore(_arg0,_arg1);
2268 Py_INCREF(Py_None);
2269 _resultobj = Py_None;
2270 return _resultobj;
2271}
2272
2273#define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
2274static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args) {
2275 PyObject * _resultobj;
2276 bool _result;
2277 wxIdleEvent * _arg0;
2278 char * _argc0 = 0;
2279
2280 self = self;
2281 if(!PyArg_ParseTuple(args,"s:wxIdleEvent_MoreRequested",&_argc0))
2282 return NULL;
2283 if (_argc0) {
2284 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIdleEvent_p")) {
2285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
2286 return NULL;
2287 }
2288 }
2289 _result = (bool )wxIdleEvent_MoreRequested(_arg0);
2290 _resultobj = Py_BuildValue("i",_result);
2291 return _resultobj;
2292}
2293
2294static void *SwigwxUpdateUIEventTowxEvent(void *ptr) {
2295 wxUpdateUIEvent *src;
2296 wxEvent *dest;
2297 src = (wxUpdateUIEvent *) ptr;
2298 dest = (wxEvent *) src;
2299 return (void *) dest;
2300}
2301
2302#define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
2303static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args) {
2304 PyObject * _resultobj;
2305 bool _result;
2306 wxUpdateUIEvent * _arg0;
2307 char * _argc0 = 0;
2308
2309 self = self;
2310 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetChecked",&_argc0))
2311 return NULL;
2312 if (_argc0) {
2313 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
2315 return NULL;
2316 }
2317 }
2318 _result = (bool )wxUpdateUIEvent_GetChecked(_arg0);
2319 _resultobj = Py_BuildValue("i",_result);
2320 return _resultobj;
2321}
2322
2323#define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
2324static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args) {
2325 PyObject * _resultobj;
2326 bool _result;
2327 wxUpdateUIEvent * _arg0;
2328 char * _argc0 = 0;
2329
2330 self = self;
2331 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetEnabled",&_argc0))
2332 return NULL;
2333 if (_argc0) {
2334 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
2336 return NULL;
2337 }
2338 }
2339 _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0);
2340 _resultobj = Py_BuildValue("i",_result);
2341 return _resultobj;
2342}
2343
2344#define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
2345static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args) {
2346 PyObject * _resultobj;
2347 wxString * _result;
2348 wxUpdateUIEvent * _arg0;
2349 char * _argc0 = 0;
2350
2351 self = self;
2352 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetText",&_argc0))
2353 return NULL;
2354 if (_argc0) {
2355 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
2357 return NULL;
2358 }
2359 }
2360 _result = new wxString (wxUpdateUIEvent_GetText(_arg0));
2361{
2362 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2363}
2364{
2365 delete _result;
2366}
2367 return _resultobj;
2368}
2369
2370#define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
2371static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args) {
2372 PyObject * _resultobj;
2373 bool _result;
2374 wxUpdateUIEvent * _arg0;
2375 char * _argc0 = 0;
2376
2377 self = self;
2378 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetSetText",&_argc0))
2379 return NULL;
2380 if (_argc0) {
2381 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
2383 return NULL;
2384 }
2385 }
2386 _result = (bool )wxUpdateUIEvent_GetSetText(_arg0);
2387 _resultobj = Py_BuildValue("i",_result);
2388 return _resultobj;
2389}
2390
2391#define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
2392static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args) {
2393 PyObject * _resultobj;
2394 bool _result;
2395 wxUpdateUIEvent * _arg0;
2396 char * _argc0 = 0;
2397
2398 self = self;
2399 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetSetChecked",&_argc0))
2400 return NULL;
2401 if (_argc0) {
2402 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
2404 return NULL;
2405 }
2406 }
2407 _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0);
2408 _resultobj = Py_BuildValue("i",_result);
2409 return _resultobj;
2410}
2411
2412#define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
2413static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args) {
2414 PyObject * _resultobj;
2415 bool _result;
2416 wxUpdateUIEvent * _arg0;
2417 char * _argc0 = 0;
2418
2419 self = self;
2420 if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetSetEnabled",&_argc0))
2421 return NULL;
2422 if (_argc0) {
2423 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
2425 return NULL;
2426 }
2427 }
2428 _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0);
2429 _resultobj = Py_BuildValue("i",_result);
2430 return _resultobj;
2431}
2432
2433#define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
2434static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args) {
2435 PyObject * _resultobj;
2436 wxUpdateUIEvent * _arg0;
2437 bool _arg1;
2438 char * _argc0 = 0;
2439 int tempbool1;
2440
2441 self = self;
2442 if(!PyArg_ParseTuple(args,"si:wxUpdateUIEvent_Check",&_argc0,&tempbool1))
2443 return NULL;
2444 if (_argc0) {
2445 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
2447 return NULL;
2448 }
2449 }
2450 _arg1 = (bool ) tempbool1;
2451 wxUpdateUIEvent_Check(_arg0,_arg1);
2452 Py_INCREF(Py_None);
2453 _resultobj = Py_None;
2454 return _resultobj;
2455}
2456
2457#define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
2458static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args) {
2459 PyObject * _resultobj;
2460 wxUpdateUIEvent * _arg0;
2461 bool _arg1;
2462 char * _argc0 = 0;
2463 int tempbool1;
2464
2465 self = self;
2466 if(!PyArg_ParseTuple(args,"si:wxUpdateUIEvent_Enable",&_argc0,&tempbool1))
2467 return NULL;
2468 if (_argc0) {
2469 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
2471 return NULL;
2472 }
2473 }
2474 _arg1 = (bool ) tempbool1;
2475 wxUpdateUIEvent_Enable(_arg0,_arg1);
2476 Py_INCREF(Py_None);
2477 _resultobj = Py_None;
2478 return _resultobj;
2479}
2480
2481#define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
2482static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args) {
2483 PyObject * _resultobj;
2484 wxUpdateUIEvent * _arg0;
2485 wxString * _arg1;
2486 char * _argc0 = 0;
2487 PyObject * _obj1 = 0;
2488
2489 self = self;
2490 if(!PyArg_ParseTuple(args,"sO:wxUpdateUIEvent_SetText",&_argc0,&_obj1))
2491 return NULL;
2492 if (_argc0) {
2493 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
2494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
2495 return NULL;
2496 }
2497 }
2498{
2499 if (!PyString_Check(_obj1)) {
2500 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2501 return NULL;
2502 }
2503 _arg1 = new wxString(PyString_AsString(_obj1));
2504}
2505 wxUpdateUIEvent_SetText(_arg0,*_arg1);
2506 Py_INCREF(Py_None);
2507 _resultobj = Py_None;
2508{
2509 if (_obj1)
2510 delete _arg1;
2511}
2512 return _resultobj;
2513}
2514
2515static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) {
2516 wxSysColourChangedEvent *src;
2517 wxEvent *dest;
2518 src = (wxSysColourChangedEvent *) ptr;
2519 dest = (wxEvent *) src;
2520 return (void *) dest;
2521}
2522
2523static PyMethodDef eventscMethods[] = {
2524 { "wxUpdateUIEvent_SetText", _wrap_wxUpdateUIEvent_SetText, 1 },
2525 { "wxUpdateUIEvent_Enable", _wrap_wxUpdateUIEvent_Enable, 1 },
2526 { "wxUpdateUIEvent_Check", _wrap_wxUpdateUIEvent_Check, 1 },
2527 { "wxUpdateUIEvent_GetSetEnabled", _wrap_wxUpdateUIEvent_GetSetEnabled, 1 },
2528 { "wxUpdateUIEvent_GetSetChecked", _wrap_wxUpdateUIEvent_GetSetChecked, 1 },
2529 { "wxUpdateUIEvent_GetSetText", _wrap_wxUpdateUIEvent_GetSetText, 1 },
2530 { "wxUpdateUIEvent_GetText", _wrap_wxUpdateUIEvent_GetText, 1 },
2531 { "wxUpdateUIEvent_GetEnabled", _wrap_wxUpdateUIEvent_GetEnabled, 1 },
2532 { "wxUpdateUIEvent_GetChecked", _wrap_wxUpdateUIEvent_GetChecked, 1 },
2533 { "wxIdleEvent_MoreRequested", _wrap_wxIdleEvent_MoreRequested, 1 },
2534 { "wxIdleEvent_RequestMore", _wrap_wxIdleEvent_RequestMore, 1 },
2535 { "wxDropFilesEvent_GetFiles", _wrap_wxDropFilesEvent_GetFiles, 1 },
2536 { "wxDropFilesEvent_GetNumberOfFiles", _wrap_wxDropFilesEvent_GetNumberOfFiles, 1 },
2537 { "wxDropFilesEvent_GetPosition", _wrap_wxDropFilesEvent_GetPosition, 1 },
2538 { "wxJoystickEvent_ButtonIsDown", _wrap_wxJoystickEvent_ButtonIsDown, 1 },
2539 { "wxJoystickEvent_ButtonUp", _wrap_wxJoystickEvent_ButtonUp, 1 },
2540 { "wxJoystickEvent_ButtonDown", _wrap_wxJoystickEvent_ButtonDown, 1 },
2541 { "wxJoystickEvent_IsZMove", _wrap_wxJoystickEvent_IsZMove, 1 },
2542 { "wxJoystickEvent_IsMove", _wrap_wxJoystickEvent_IsMove, 1 },
2543 { "wxJoystickEvent_IsButton", _wrap_wxJoystickEvent_IsButton, 1 },
2544 { "wxJoystickEvent_SetZPosition", _wrap_wxJoystickEvent_SetZPosition, 1 },
2545 { "wxJoystickEvent_SetPosition", _wrap_wxJoystickEvent_SetPosition, 1 },
2546 { "wxJoystickEvent_SetButtonChange", _wrap_wxJoystickEvent_SetButtonChange, 1 },
2547 { "wxJoystickEvent_SetButtonState", _wrap_wxJoystickEvent_SetButtonState, 1 },
2548 { "wxJoystickEvent_SetJoystick", _wrap_wxJoystickEvent_SetJoystick, 1 },
2549 { "wxJoystickEvent_GetJoystick", _wrap_wxJoystickEvent_GetJoystick, 1 },
2550 { "wxJoystickEvent_GetButtonChange", _wrap_wxJoystickEvent_GetButtonChange, 1 },
2551 { "wxJoystickEvent_GetButtonState", _wrap_wxJoystickEvent_GetButtonState, 1 },
2552 { "wxJoystickEvent_GetZPosition", _wrap_wxJoystickEvent_GetZPosition, 1 },
2553 { "wxJoystickEvent_GetPosition", _wrap_wxJoystickEvent_GetPosition, 1 },
2554 { "wxShowEvent_GetShow", _wrap_wxShowEvent_GetShow, 1 },
2555 { "wxShowEvent_SetShow", _wrap_wxShowEvent_SetShow, 1 },
2556 { "wxMenuEvent_GetMenuId", _wrap_wxMenuEvent_GetMenuId, 1 },
2557 { "wxActivateEvent_GetActive", _wrap_wxActivateEvent_GetActive, 1 },
2558 { "wxEraseEvent_GetDC", _wrap_wxEraseEvent_GetDC, 1 },
2559 { "wxMoveEvent_GetPosition", _wrap_wxMoveEvent_GetPosition, 1 },
2560 { "wxKeyEvent_GetY", _wrap_wxKeyEvent_GetY, 1 },
2561 { "wxKeyEvent_GetX", _wrap_wxKeyEvent_GetX, 1 },
2562 { "wxKeyEvent_Position", _wrap_wxKeyEvent_Position, 1 },
2563 { "wxKeyEvent_KeyCode", _wrap_wxKeyEvent_KeyCode, 1 },
2564 { "wxKeyEvent_ShiftDown", _wrap_wxKeyEvent_ShiftDown, 1 },
2565 { "wxKeyEvent_AltDown", _wrap_wxKeyEvent_AltDown, 1 },
2566 { "wxKeyEvent_MetaDown", _wrap_wxKeyEvent_MetaDown, 1 },
2567 { "wxKeyEvent_ControlDown", _wrap_wxKeyEvent_ControlDown, 1 },
2568 { "wxMouseEvent_GetY", _wrap_wxMouseEvent_GetY, 1 },
2569 { "wxMouseEvent_GetX", _wrap_wxMouseEvent_GetX, 1 },
2570 { "wxMouseEvent_GetLogicalPosition", _wrap_wxMouseEvent_GetLogicalPosition, 1 },
2571 { "wxMouseEvent_GetPosition", _wrap_wxMouseEvent_GetPosition, 1 },
2572 { "wxMouseEvent_Position", _wrap_wxMouseEvent_Position, 1 },
2573 { "wxMouseEvent_Leaving", _wrap_wxMouseEvent_Leaving, 1 },
2574 { "wxMouseEvent_Entering", _wrap_wxMouseEvent_Entering, 1 },
2575 { "wxMouseEvent_Moving", _wrap_wxMouseEvent_Moving, 1 },
2576 { "wxMouseEvent_Dragging", _wrap_wxMouseEvent_Dragging, 1 },
2577 { "wxMouseEvent_RightIsDown", _wrap_wxMouseEvent_RightIsDown, 1 },
2578 { "wxMouseEvent_MiddleIsDown", _wrap_wxMouseEvent_MiddleIsDown, 1 },
2579 { "wxMouseEvent_LeftIsDown", _wrap_wxMouseEvent_LeftIsDown, 1 },
2580 { "wxMouseEvent_RightDClick", _wrap_wxMouseEvent_RightDClick, 1 },
2581 { "wxMouseEvent_MiddleDClick", _wrap_wxMouseEvent_MiddleDClick, 1 },
2582 { "wxMouseEvent_LeftDClick", _wrap_wxMouseEvent_LeftDClick, 1 },
2583 { "wxMouseEvent_RightUp", _wrap_wxMouseEvent_RightUp, 1 },
2584 { "wxMouseEvent_MiddleUp", _wrap_wxMouseEvent_MiddleUp, 1 },
2585 { "wxMouseEvent_LeftUp", _wrap_wxMouseEvent_LeftUp, 1 },
2586 { "wxMouseEvent_RightDown", _wrap_wxMouseEvent_RightDown, 1 },
2587 { "wxMouseEvent_MiddleDown", _wrap_wxMouseEvent_MiddleDown, 1 },
2588 { "wxMouseEvent_LeftDown", _wrap_wxMouseEvent_LeftDown, 1 },
2589 { "wxMouseEvent_ShiftDown", _wrap_wxMouseEvent_ShiftDown, 1 },
2590 { "wxMouseEvent_AltDown", _wrap_wxMouseEvent_AltDown, 1 },
2591 { "wxMouseEvent_MetaDown", _wrap_wxMouseEvent_MetaDown, 1 },
2592 { "wxMouseEvent_ControlDown", _wrap_wxMouseEvent_ControlDown, 1 },
2593 { "wxMouseEvent_ButtonIsDown", _wrap_wxMouseEvent_ButtonIsDown, 1 },
2594 { "wxMouseEvent_Button", _wrap_wxMouseEvent_Button, 1 },
2595 { "wxMouseEvent_ButtonUp", _wrap_wxMouseEvent_ButtonUp, 1 },
2596 { "wxMouseEvent_ButtonDClick", _wrap_wxMouseEvent_ButtonDClick, 1 },
2597 { "wxMouseEvent_ButtonDown", _wrap_wxMouseEvent_ButtonDown, 1 },
2598 { "wxMouseEvent_IsButton", _wrap_wxMouseEvent_IsButton, 1 },
2599 { "wxScrollEvent_GetPosition", _wrap_wxScrollEvent_GetPosition, 1 },
2600 { "wxScrollEvent_GetOrientation", _wrap_wxScrollEvent_GetOrientation, 1 },
2601 { "wxCommandEvent_IsSelection", _wrap_wxCommandEvent_IsSelection, 1 },
2602 { "wxCommandEvent_GetString", _wrap_wxCommandEvent_GetString, 1 },
2603 { "wxCommandEvent_GetSelection", _wrap_wxCommandEvent_GetSelection, 1 },
2604 { "wxCommandEvent_GetInt", _wrap_wxCommandEvent_GetInt, 1 },
2605 { "wxCommandEvent_GetExtraLong", _wrap_wxCommandEvent_GetExtraLong, 1 },
2606 { "wxCommandEvent_Checked", _wrap_wxCommandEvent_Checked, 1 },
2607 { "wxCloseEvent_GetForce", _wrap_wxCloseEvent_GetForce, 1 },
2608 { "wxCloseEvent_SetForce", _wrap_wxCloseEvent_SetForce, 1 },
2609 { "wxCloseEvent_GetVeto", _wrap_wxCloseEvent_GetVeto, 1 },
2610 { "wxCloseEvent_Veto", _wrap_wxCloseEvent_Veto, 1 },
2611 { "wxCloseEvent_GetLoggingOff", _wrap_wxCloseEvent_GetLoggingOff, 1 },
70551f47
RD
2612 { "wxSizeEvent_GetSize", _wrap_wxSizeEvent_GetSize, 1 },
2613 { "wxEvent_Skip", _wrap_wxEvent_Skip, 1 },
2614 { "wxEvent_SetTimestamp", _wrap_wxEvent_SetTimestamp, 1 },
2615 { "wxEvent_SetId", _wrap_wxEvent_SetId, 1 },
2616 { "wxEvent_SetEventType", _wrap_wxEvent_SetEventType, 1 },
2617 { "wxEvent_SetEventObject", _wrap_wxEvent_SetEventObject, 1 },
2618 { "wxEvent_GetTimestamp", _wrap_wxEvent_GetTimestamp, 1 },
2619 { "wxEvent_GetSkipped", _wrap_wxEvent_GetSkipped, 1 },
2620 { "wxEvent_GetId", _wrap_wxEvent_GetId, 1 },
2621 { "wxEvent_GetEventType", _wrap_wxEvent_GetEventType, 1 },
2622 { "wxEvent_GetEventObject", _wrap_wxEvent_GetEventObject, 1 },
2623 { NULL, NULL }
2624};
2625static PyObject *SWIG_globals;
2626#ifdef __cplusplus
2627extern "C"
2628#endif
2629SWIGEXPORT(void,initeventsc)() {
2630 PyObject *m, *d;
2631 SWIG_globals = SWIG_newvarlink();
2632 m = Py_InitModule("eventsc", eventscMethods);
2633 d = PyModule_GetDict(m);
2634/*
2635 * These are the pointer type-equivalency mappings.
2636 * (Used by the SWIG pointer type-checker).
2637 */
2638 SWIG_RegisterMapping("_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
2639 SWIG_RegisterMapping("_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
2640 SWIG_RegisterMapping("_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
2641 SWIG_RegisterMapping("_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
2642 SWIG_RegisterMapping("_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent);
2643 SWIG_RegisterMapping("_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent);
2644 SWIG_RegisterMapping("_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
2645 SWIG_RegisterMapping("_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
2646 SWIG_RegisterMapping("_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
2647 SWIG_RegisterMapping("_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
2648 SWIG_RegisterMapping("_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
2649 SWIG_RegisterMapping("_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
2650 SWIG_RegisterMapping("_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
2651 SWIG_RegisterMapping("_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
2652 SWIG_RegisterMapping("_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent);
2653 SWIG_RegisterMapping("_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent);
2654 SWIG_RegisterMapping("_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent);
2655 SWIG_RegisterMapping("_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent);
2656 SWIG_RegisterMapping("_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
2657 SWIG_RegisterMapping("_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
2658 SWIG_RegisterMapping("_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent);
2659 SWIG_RegisterMapping("_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent);
2660 SWIG_RegisterMapping("_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent);
2661 SWIG_RegisterMapping("_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent);
2662 SWIG_RegisterMapping("_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent);
2663 SWIG_RegisterMapping("_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent);
2664 SWIG_RegisterMapping("_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent);
2665 SWIG_RegisterMapping("_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent);
2666 SWIG_RegisterMapping("_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent);
2667 SWIG_RegisterMapping("_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent);
2668 SWIG_RegisterMapping("_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent);
2669 SWIG_RegisterMapping("_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent);
2670 SWIG_RegisterMapping("_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent);
2671 SWIG_RegisterMapping("_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent);
2672 SWIG_RegisterMapping("_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent);
2673 SWIG_RegisterMapping("_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent);
2674 SWIG_RegisterMapping("_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent);
2675 SWIG_RegisterMapping("_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent);
2676 SWIG_RegisterMapping("_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent);
2677 SWIG_RegisterMapping("_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent);
2678 SWIG_RegisterMapping("_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent);
2679 SWIG_RegisterMapping("_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent);
2680 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
2681 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
2682 SWIG_RegisterMapping("_signed_long","_long",0);
2683 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
2684 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
2685 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2686 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
2687 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2688 SWIG_RegisterMapping("_long","_unsigned_long",0);
2689 SWIG_RegisterMapping("_long","_signed_long",0);
2690 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
2691 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2692 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
2693 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
2694 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
2695 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
2696 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
2697 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
2698 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
2699 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2700 SWIG_RegisterMapping("_uint","_int",0);
2701 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2702 SWIG_RegisterMapping("_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
2703 SWIG_RegisterMapping("_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
2704 SWIG_RegisterMapping("_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
2705 SWIG_RegisterMapping("_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
2706 SWIG_RegisterMapping("_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent);
2707 SWIG_RegisterMapping("_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent);
2708 SWIG_RegisterMapping("_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
2709 SWIG_RegisterMapping("_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
2710 SWIG_RegisterMapping("_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
2711 SWIG_RegisterMapping("_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
2712 SWIG_RegisterMapping("_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
2713 SWIG_RegisterMapping("_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
2714 SWIG_RegisterMapping("_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
2715 SWIG_RegisterMapping("_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
2716 SWIG_RegisterMapping("_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent);
2717 SWIG_RegisterMapping("_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent);
2718 SWIG_RegisterMapping("_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent);
2719 SWIG_RegisterMapping("_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent);
2720 SWIG_RegisterMapping("_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
2721 SWIG_RegisterMapping("_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
2722 SWIG_RegisterMapping("_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent);
2723 SWIG_RegisterMapping("_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent);
2724 SWIG_RegisterMapping("_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent);
2725 SWIG_RegisterMapping("_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent);
2726 SWIG_RegisterMapping("_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent);
2727 SWIG_RegisterMapping("_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent);
2728 SWIG_RegisterMapping("_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent);
2729 SWIG_RegisterMapping("_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent);
2730 SWIG_RegisterMapping("_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent);
2731 SWIG_RegisterMapping("_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent);
2732 SWIG_RegisterMapping("_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent);
2733 SWIG_RegisterMapping("_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent);
2734 SWIG_RegisterMapping("_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent);
2735 SWIG_RegisterMapping("_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent);
2736 SWIG_RegisterMapping("_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent);
2737 SWIG_RegisterMapping("_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent);
2738 SWIG_RegisterMapping("_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent);
2739 SWIG_RegisterMapping("_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent);
2740 SWIG_RegisterMapping("_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent);
2741 SWIG_RegisterMapping("_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent);
2742 SWIG_RegisterMapping("_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent);
2743 SWIG_RegisterMapping("_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent);
2744 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
2745 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2746 SWIG_RegisterMapping("_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
2747 SWIG_RegisterMapping("_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
2748 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
2749 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
2750 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2751 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2752 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2753 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2754 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2755 SWIG_RegisterMapping("_EBool","_signed_int",0);
2756 SWIG_RegisterMapping("_EBool","_int",0);
2757 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2758 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2759 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2760 SWIG_RegisterMapping("_unsigned_long","_long",0);
2761 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2762 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2763 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2764 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2765 SWIG_RegisterMapping("_signed_int","_EBool",0);
2766 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2767 SWIG_RegisterMapping("_signed_int","_int",0);
2768 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2769 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
2770 SWIG_RegisterMapping("_WXTYPE","_short",0);
2771 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2772 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2773 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2774 SWIG_RegisterMapping("_unsigned_short","_short",0);
2775 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
2776 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
2777 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
2778 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2779 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2780 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2781 SWIG_RegisterMapping("_signed_short","_short",0);
2782 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
2783 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
2784 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2785 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2786 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2787 SWIG_RegisterMapping("_unsigned_int","_int",0);
2788 SWIG_RegisterMapping("_short","_WXTYPE",0);
2789 SWIG_RegisterMapping("_short","_unsigned_short",0);
2790 SWIG_RegisterMapping("_short","_signed_short",0);
2791 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
2792 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
2793 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2794 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2795 SWIG_RegisterMapping("_wxWindowID","_int",0);
2796 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2797 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2798 SWIG_RegisterMapping("_int","_EBool",0);
2799 SWIG_RegisterMapping("_int","_uint",0);
2800 SWIG_RegisterMapping("_int","_wxWindowID",0);
2801 SWIG_RegisterMapping("_int","_unsigned_int",0);
2802 SWIG_RegisterMapping("_int","_signed_int",0);
2803 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
2804 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2805 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
2806 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
2807 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2808 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
2809 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
2810 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
2811 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
2812 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
2813 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
2814 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
2815 SWIG_RegisterMapping("_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
2816 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
2817 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
2818 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2819 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
2820 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
2821 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
2822}