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