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