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