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