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