]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
1 | /* |
2 | * FILE : gtk/events.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2d091820 | 6 | * Version 1.1 (Patch 6) |
70551f47 RD |
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) | |
2d091820 | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
70551f47 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
2d091820 | 30 | # define SWIGEXPORT(a) a _export |
70551f47 | 31 | # else |
2d091820 | 32 | # define SWIGEXPORT(a) a |
70551f47 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
2d091820 | 36 | # define SWIGEXPORT(a) a |
70551f47 RD |
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 *); | |
2d091820 | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
70551f47 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
70551f47 RD |
52 | #define SWIG_init initeventsc |
53 | ||
54 | #define SWIG_name "eventsc" | |
55 | ||
56 | #include "helpers.h" | |
62bd0874 | 57 | #include <wx/spinbutt.h> |
70551f47 RD |
58 | |
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
61 | PyObject* o3; | |
62 | if (!target) { | |
63 | target = o; | |
64 | } else if (target == Py_None) { | |
65 | Py_DECREF(Py_None); | |
66 | target = o; | |
67 | } else { | |
68 | if (!PyList_Check(target)) { | |
69 | o2 = target; | |
70 | target = PyList_New(0); | |
71 | PyList_Append(target, o2); | |
72 | Py_XDECREF(o2); | |
73 | } | |
74 | PyList_Append(target,o); | |
75 | Py_XDECREF(o); | |
76 | } | |
77 | return target; | |
78 | } | |
79 | ||
80 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
81 | PyObject* o2; | |
82 | PyObject* o3; | |
83 | ||
84 | if (!target) { | |
85 | target = o; | |
86 | } else if (target == Py_None) { | |
87 | Py_DECREF(Py_None); | |
88 | target = o; | |
89 | } else { | |
90 | if (!PyTuple_Check(target)) { | |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
95 | o3 = PyTuple_New(1); | |
96 | PyTuple_SetItem(o3, 0, o); | |
97 | ||
98 | o2 = target; | |
99 | target = PySequence_Concat(o2, o3); | |
100 | Py_DECREF(o2); | |
101 | Py_DECREF(o3); | |
102 | } | |
103 | return target; | |
104 | } | |
105 | ||
106 | ||
105e45b9 | 107 | extern byte* byte_LIST_helper(PyObject* source); |
70551f47 RD |
108 | extern int* int_LIST_helper(PyObject* source); |
109 | extern long* long_LIST_helper(PyObject* source); | |
110 | extern char** string_LIST_helper(PyObject* source); | |
111 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
112 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
113 | extern wxString* wxString_LIST_helper(PyObject* source); | |
70551f47 | 114 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); |
70551f47 RD |
115 | |
116 | ||
117 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
2d091820 RD |
118 | #ifdef __cplusplus |
119 | extern "C" { | |
120 | #endif | |
70551f47 | 121 | #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject()) |
107e4716 | 122 | static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
123 | PyObject * _resultobj; |
124 | wxObject * _result; | |
125 | wxEvent * _arg0; | |
2d091820 | 126 | PyObject * _argo0 = 0; |
107e4716 | 127 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
128 | char _ptemp[128]; |
129 | ||
130 | self = self; | |
107e4716 | 131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventObject",_kwnames,&_argo0)) |
70551f47 | 132 | return NULL; |
2d091820 RD |
133 | if (_argo0) { |
134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p."); |
137 | return NULL; | |
138 | } | |
139 | } | |
ab9bc19b RD |
140 | { |
141 | wxPy_BEGIN_ALLOW_THREADS; | |
142 | _result = (wxObject *)wxEvent_GetEventObject(_arg0); | |
143 | ||
144 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
145 | } if (_result) { |
146 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p"); | |
147 | _resultobj = Py_BuildValue("s",_ptemp); | |
148 | } else { | |
149 | Py_INCREF(Py_None); | |
150 | _resultobj = Py_None; | |
151 | } | |
70551f47 RD |
152 | return _resultobj; |
153 | } | |
154 | ||
155 | #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType()) | |
107e4716 | 156 | static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
157 | PyObject * _resultobj; |
158 | wxEventType _result; | |
159 | wxEvent * _arg0; | |
2d091820 | 160 | PyObject * _argo0 = 0; |
107e4716 | 161 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
162 | |
163 | self = self; | |
107e4716 | 164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventType",_kwnames,&_argo0)) |
70551f47 | 165 | return NULL; |
2d091820 RD |
166 | if (_argo0) { |
167 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
168 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
169 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p."); |
170 | return NULL; | |
171 | } | |
172 | } | |
ab9bc19b RD |
173 | { |
174 | wxPy_BEGIN_ALLOW_THREADS; | |
175 | _result = (wxEventType )wxEvent_GetEventType(_arg0); | |
176 | ||
177 | wxPy_END_ALLOW_THREADS; | |
178 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
179 | return _resultobj; |
180 | } | |
181 | ||
182 | #define wxEvent_GetId(_swigobj) (_swigobj->GetId()) | |
107e4716 | 183 | static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
184 | PyObject * _resultobj; |
185 | int _result; | |
186 | wxEvent * _arg0; | |
2d091820 | 187 | PyObject * _argo0 = 0; |
107e4716 | 188 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
189 | |
190 | self = self; | |
107e4716 | 191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetId",_kwnames,&_argo0)) |
70551f47 | 192 | return NULL; |
2d091820 RD |
193 | if (_argo0) { |
194 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
195 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
196 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p."); |
197 | return NULL; | |
198 | } | |
199 | } | |
ab9bc19b RD |
200 | { |
201 | wxPy_BEGIN_ALLOW_THREADS; | |
202 | _result = (int )wxEvent_GetId(_arg0); | |
203 | ||
204 | wxPy_END_ALLOW_THREADS; | |
205 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
206 | return _resultobj; |
207 | } | |
208 | ||
209 | #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped()) | |
107e4716 | 210 | static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
211 | PyObject * _resultobj; |
212 | bool _result; | |
213 | wxEvent * _arg0; | |
2d091820 | 214 | PyObject * _argo0 = 0; |
107e4716 | 215 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
216 | |
217 | self = self; | |
107e4716 | 218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetSkipped",_kwnames,&_argo0)) |
70551f47 | 219 | return NULL; |
2d091820 RD |
220 | if (_argo0) { |
221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p."); |
224 | return NULL; | |
225 | } | |
226 | } | |
ab9bc19b RD |
227 | { |
228 | wxPy_BEGIN_ALLOW_THREADS; | |
229 | _result = (bool )wxEvent_GetSkipped(_arg0); | |
230 | ||
231 | wxPy_END_ALLOW_THREADS; | |
232 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
233 | return _resultobj; |
234 | } | |
235 | ||
236 | #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp()) | |
107e4716 | 237 | static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
238 | PyObject * _resultobj; |
239 | long _result; | |
240 | wxEvent * _arg0; | |
2d091820 | 241 | PyObject * _argo0 = 0; |
107e4716 | 242 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
243 | |
244 | self = self; | |
107e4716 | 245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetTimestamp",_kwnames,&_argo0)) |
70551f47 | 246 | return NULL; |
2d091820 RD |
247 | if (_argo0) { |
248 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
249 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
250 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p."); |
251 | return NULL; | |
252 | } | |
253 | } | |
ab9bc19b RD |
254 | { |
255 | wxPy_BEGIN_ALLOW_THREADS; | |
256 | _result = (long )wxEvent_GetTimestamp(_arg0); | |
257 | ||
258 | wxPy_END_ALLOW_THREADS; | |
259 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
260 | return _resultobj; |
261 | } | |
262 | ||
263 | #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0)) | |
107e4716 | 264 | static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
265 | PyObject * _resultobj; |
266 | wxEvent * _arg0; | |
267 | wxObject * _arg1; | |
2d091820 RD |
268 | PyObject * _argo0 = 0; |
269 | PyObject * _argo1 = 0; | |
107e4716 | 270 | char *_kwnames[] = { "self","object", NULL }; |
70551f47 RD |
271 | |
272 | self = self; | |
107e4716 | 273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvent_SetEventObject",_kwnames,&_argo0,&_argo1)) |
70551f47 | 274 | return NULL; |
2d091820 RD |
275 | if (_argo0) { |
276 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
277 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p."); |
279 | return NULL; | |
280 | } | |
281 | } | |
2d091820 RD |
282 | if (_argo1) { |
283 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
284 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) { | |
70551f47 RD |
285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p."); |
286 | return NULL; | |
287 | } | |
288 | } | |
ab9bc19b RD |
289 | { |
290 | wxPy_BEGIN_ALLOW_THREADS; | |
291 | wxEvent_SetEventObject(_arg0,_arg1); | |
292 | ||
293 | wxPy_END_ALLOW_THREADS; | |
294 | } Py_INCREF(Py_None); | |
70551f47 RD |
295 | _resultobj = Py_None; |
296 | return _resultobj; | |
297 | } | |
298 | ||
299 | #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0)) | |
107e4716 | 300 | static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
301 | PyObject * _resultobj; |
302 | wxEvent * _arg0; | |
303 | wxEventType _arg1; | |
2d091820 | 304 | PyObject * _argo0 = 0; |
107e4716 | 305 | char *_kwnames[] = { "self","typ", NULL }; |
70551f47 RD |
306 | |
307 | self = self; | |
107e4716 | 308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetEventType",_kwnames,&_argo0,&_arg1)) |
70551f47 | 309 | return NULL; |
2d091820 RD |
310 | if (_argo0) { |
311 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
312 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p."); |
314 | return NULL; | |
315 | } | |
316 | } | |
ab9bc19b RD |
317 | { |
318 | wxPy_BEGIN_ALLOW_THREADS; | |
319 | wxEvent_SetEventType(_arg0,_arg1); | |
320 | ||
321 | wxPy_END_ALLOW_THREADS; | |
322 | } Py_INCREF(Py_None); | |
70551f47 RD |
323 | _resultobj = Py_None; |
324 | return _resultobj; | |
325 | } | |
326 | ||
327 | #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
107e4716 | 328 | static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
329 | PyObject * _resultobj; |
330 | wxEvent * _arg0; | |
331 | int _arg1; | |
2d091820 | 332 | PyObject * _argo0 = 0; |
107e4716 | 333 | char *_kwnames[] = { "self","id", NULL }; |
70551f47 RD |
334 | |
335 | self = self; | |
107e4716 | 336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetId",_kwnames,&_argo0,&_arg1)) |
70551f47 | 337 | return NULL; |
2d091820 RD |
338 | if (_argo0) { |
339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p."); |
342 | return NULL; | |
343 | } | |
344 | } | |
ab9bc19b RD |
345 | { |
346 | wxPy_BEGIN_ALLOW_THREADS; | |
347 | wxEvent_SetId(_arg0,_arg1); | |
348 | ||
349 | wxPy_END_ALLOW_THREADS; | |
350 | } Py_INCREF(Py_None); | |
70551f47 RD |
351 | _resultobj = Py_None; |
352 | return _resultobj; | |
353 | } | |
354 | ||
355 | #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0)) | |
107e4716 | 356 | static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
357 | PyObject * _resultobj; |
358 | wxEvent * _arg0; | |
359 | long _arg1; | |
2d091820 | 360 | PyObject * _argo0 = 0; |
107e4716 | 361 | char *_kwnames[] = { "self","timeStamp", NULL }; |
70551f47 RD |
362 | |
363 | self = self; | |
107e4716 | 364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxEvent_SetTimestamp",_kwnames,&_argo0,&_arg1)) |
70551f47 | 365 | return NULL; |
2d091820 RD |
366 | if (_argo0) { |
367 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
368 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p."); |
370 | return NULL; | |
371 | } | |
372 | } | |
ab9bc19b RD |
373 | { |
374 | wxPy_BEGIN_ALLOW_THREADS; | |
375 | wxEvent_SetTimestamp(_arg0,_arg1); | |
376 | ||
377 | wxPy_END_ALLOW_THREADS; | |
378 | } Py_INCREF(Py_None); | |
70551f47 RD |
379 | _resultobj = Py_None; |
380 | return _resultobj; | |
381 | } | |
382 | ||
383 | #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0)) | |
107e4716 | 384 | static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
385 | PyObject * _resultobj; |
386 | wxEvent * _arg0; | |
2d091820 RD |
387 | bool _arg1 = (bool ) TRUE; |
388 | PyObject * _argo0 = 0; | |
389 | int tempbool1 = (int) TRUE; | |
107e4716 | 390 | char *_kwnames[] = { "self","skip", NULL }; |
70551f47 RD |
391 | |
392 | self = self; | |
107e4716 | 393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxEvent_Skip",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 394 | return NULL; |
2d091820 RD |
395 | if (_argo0) { |
396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p."); |
399 | return NULL; | |
400 | } | |
401 | } | |
402 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
403 | { |
404 | wxPy_BEGIN_ALLOW_THREADS; | |
405 | wxEvent_Skip(_arg0,_arg1); | |
406 | ||
407 | wxPy_END_ALLOW_THREADS; | |
408 | } Py_INCREF(Py_None); | |
70551f47 RD |
409 | _resultobj = Py_None; |
410 | return _resultobj; | |
411 | } | |
412 | ||
413 | static void *SwigwxSizeEventTowxEvent(void *ptr) { | |
414 | wxSizeEvent *src; | |
415 | wxEvent *dest; | |
416 | src = (wxSizeEvent *) ptr; | |
417 | dest = (wxEvent *) src; | |
418 | return (void *) dest; | |
419 | } | |
420 | ||
421 | #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize()) | |
107e4716 | 422 | static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
423 | PyObject * _resultobj; |
424 | wxSize * _result; | |
425 | wxSizeEvent * _arg0; | |
2d091820 | 426 | PyObject * _argo0 = 0; |
107e4716 | 427 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
428 | char _ptemp[128]; |
429 | ||
430 | self = self; | |
107e4716 | 431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizeEvent_GetSize",_kwnames,&_argo0)) |
70551f47 | 432 | return NULL; |
2d091820 RD |
433 | if (_argo0) { |
434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizeEvent_p")) { | |
70551f47 RD |
436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p."); |
437 | return NULL; | |
438 | } | |
439 | } | |
ab9bc19b RD |
440 | { |
441 | wxPy_BEGIN_ALLOW_THREADS; | |
442 | _result = new wxSize (wxSizeEvent_GetSize(_arg0)); | |
443 | ||
444 | wxPy_END_ALLOW_THREADS; | |
445 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
70551f47 RD |
446 | _resultobj = Py_BuildValue("s",_ptemp); |
447 | return _resultobj; | |
448 | } | |
449 | ||
450 | static void *SwigwxCloseEventTowxEvent(void *ptr) { | |
451 | wxCloseEvent *src; | |
452 | wxEvent *dest; | |
453 | src = (wxCloseEvent *) ptr; | |
454 | dest = (wxEvent *) src; | |
455 | return (void *) dest; | |
456 | } | |
457 | ||
d1e586e4 | 458 | #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0)) |
107e4716 | 459 | static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 | 460 | PyObject * _resultobj; |
105e45b9 | 461 | wxCloseEvent * _arg0; |
d1e586e4 | 462 | bool _arg1; |
2d091820 | 463 | PyObject * _argo0 = 0; |
d1e586e4 | 464 | int tempbool1; |
107e4716 | 465 | char *_kwnames[] = { "self","loggingOff", NULL }; |
105e45b9 RD |
466 | |
467 | self = self; | |
107e4716 | 468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetLoggingOff",_kwnames,&_argo0,&tempbool1)) |
105e45b9 | 469 | return NULL; |
2d091820 RD |
470 | if (_argo0) { |
471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
d1e586e4 | 473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p."); |
105e45b9 RD |
474 | return NULL; |
475 | } | |
476 | } | |
d1e586e4 | 477 | _arg1 = (bool ) tempbool1; |
ab9bc19b RD |
478 | { |
479 | wxPy_BEGIN_ALLOW_THREADS; | |
480 | wxCloseEvent_SetLoggingOff(_arg0,_arg1); | |
481 | ||
482 | wxPy_END_ALLOW_THREADS; | |
483 | } Py_INCREF(Py_None); | |
d1e586e4 | 484 | _resultobj = Py_None; |
105e45b9 RD |
485 | return _resultobj; |
486 | } | |
487 | ||
70551f47 | 488 | #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff()) |
107e4716 | 489 | static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
490 | PyObject * _resultobj; |
491 | bool _result; | |
492 | wxCloseEvent * _arg0; | |
2d091820 | 493 | PyObject * _argo0 = 0; |
107e4716 | 494 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
495 | |
496 | self = self; | |
107e4716 | 497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetLoggingOff",_kwnames,&_argo0)) |
70551f47 | 498 | return NULL; |
2d091820 RD |
499 | if (_argo0) { |
500 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
501 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
70551f47 RD |
502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p."); |
503 | return NULL; | |
504 | } | |
505 | } | |
ab9bc19b RD |
506 | { |
507 | wxPy_BEGIN_ALLOW_THREADS; | |
508 | _result = (bool )wxCloseEvent_GetLoggingOff(_arg0); | |
509 | ||
510 | wxPy_END_ALLOW_THREADS; | |
511 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
512 | return _resultobj; |
513 | } | |
514 | ||
515 | #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0)) | |
107e4716 | 516 | static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
517 | PyObject * _resultobj; |
518 | wxCloseEvent * _arg0; | |
2d091820 RD |
519 | bool _arg1 = (bool ) TRUE; |
520 | PyObject * _argo0 = 0; | |
521 | int tempbool1 = (int) TRUE; | |
107e4716 | 522 | char *_kwnames[] = { "self","veto", NULL }; |
70551f47 RD |
523 | |
524 | self = self; | |
107e4716 | 525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCloseEvent_Veto",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 526 | return NULL; |
2d091820 RD |
527 | if (_argo0) { |
528 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
529 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
70551f47 RD |
530 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p."); |
531 | return NULL; | |
532 | } | |
533 | } | |
534 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
535 | { |
536 | wxPy_BEGIN_ALLOW_THREADS; | |
537 | wxCloseEvent_Veto(_arg0,_arg1); | |
538 | ||
539 | wxPy_END_ALLOW_THREADS; | |
540 | } Py_INCREF(Py_None); | |
70551f47 RD |
541 | _resultobj = Py_None; |
542 | return _resultobj; | |
543 | } | |
544 | ||
d1e586e4 | 545 | #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto()) |
107e4716 | 546 | static PyObject *_wrap_wxCloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
547 | PyObject * _resultobj; |
548 | bool _result; | |
549 | wxCloseEvent * _arg0; | |
2d091820 | 550 | PyObject * _argo0 = 0; |
107e4716 | 551 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
552 | |
553 | self = self; | |
107e4716 | 554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_CanVeto",_kwnames,&_argo0)) |
70551f47 | 555 | return NULL; |
2d091820 RD |
556 | if (_argo0) { |
557 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
558 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
d1e586e4 | 559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p."); |
70551f47 RD |
560 | return NULL; |
561 | } | |
562 | } | |
ab9bc19b RD |
563 | { |
564 | wxPy_BEGIN_ALLOW_THREADS; | |
565 | _result = (bool )wxCloseEvent_CanVeto(_arg0); | |
566 | ||
567 | wxPy_END_ALLOW_THREADS; | |
568 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
569 | return _resultobj; |
570 | } | |
571 | ||
d1e586e4 | 572 | #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto()) |
107e4716 | 573 | static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 | 574 | PyObject * _resultobj; |
d1e586e4 | 575 | bool _result; |
70551f47 | 576 | wxCloseEvent * _arg0; |
2d091820 | 577 | PyObject * _argo0 = 0; |
107e4716 | 578 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
579 | |
580 | self = self; | |
107e4716 | 581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetVeto",_kwnames,&_argo0)) |
70551f47 | 582 | return NULL; |
2d091820 RD |
583 | if (_argo0) { |
584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
d1e586e4 | 586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p."); |
70551f47 RD |
587 | return NULL; |
588 | } | |
589 | } | |
ab9bc19b RD |
590 | { |
591 | wxPy_BEGIN_ALLOW_THREADS; | |
592 | _result = (bool )wxCloseEvent_GetVeto(_arg0); | |
593 | ||
594 | wxPy_END_ALLOW_THREADS; | |
595 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
596 | return _resultobj; |
597 | } | |
598 | ||
105e45b9 | 599 | #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0)) |
107e4716 | 600 | static PyObject *_wrap_wxCloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
601 | PyObject * _resultobj; |
602 | wxCloseEvent * _arg0; | |
603 | bool _arg1; | |
2d091820 | 604 | PyObject * _argo0 = 0; |
105e45b9 | 605 | int tempbool1; |
107e4716 | 606 | char *_kwnames[] = { "self","canVeto", NULL }; |
105e45b9 RD |
607 | |
608 | self = self; | |
107e4716 | 609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetCanVeto",_kwnames,&_argo0,&tempbool1)) |
105e45b9 | 610 | return NULL; |
2d091820 RD |
611 | if (_argo0) { |
612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
105e45b9 RD |
614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p."); |
615 | return NULL; | |
616 | } | |
617 | } | |
618 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
619 | { |
620 | wxPy_BEGIN_ALLOW_THREADS; | |
621 | wxCloseEvent_SetCanVeto(_arg0,_arg1); | |
622 | ||
623 | wxPy_END_ALLOW_THREADS; | |
624 | } Py_INCREF(Py_None); | |
105e45b9 RD |
625 | _resultobj = Py_None; |
626 | return _resultobj; | |
627 | } | |
628 | ||
70551f47 RD |
629 | static void *SwigwxCommandEventTowxEvent(void *ptr) { |
630 | wxCommandEvent *src; | |
631 | wxEvent *dest; | |
632 | src = (wxCommandEvent *) ptr; | |
633 | dest = (wxEvent *) src; | |
634 | return (void *) dest; | |
635 | } | |
636 | ||
637 | #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked()) | |
107e4716 | 638 | static PyObject *_wrap_wxCommandEvent_Checked(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
639 | PyObject * _resultobj; |
640 | bool _result; | |
641 | wxCommandEvent * _arg0; | |
2d091820 | 642 | PyObject * _argo0 = 0; |
107e4716 | 643 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
644 | |
645 | self = self; | |
107e4716 | 646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_Checked",_kwnames,&_argo0)) |
70551f47 | 647 | return NULL; |
2d091820 RD |
648 | if (_argo0) { |
649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p."); |
652 | return NULL; | |
653 | } | |
654 | } | |
ab9bc19b RD |
655 | { |
656 | wxPy_BEGIN_ALLOW_THREADS; | |
657 | _result = (bool )wxCommandEvent_Checked(_arg0); | |
658 | ||
659 | wxPy_END_ALLOW_THREADS; | |
660 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
661 | return _resultobj; |
662 | } | |
663 | ||
664 | #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong()) | |
107e4716 | 665 | static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
666 | PyObject * _resultobj; |
667 | long _result; | |
668 | wxCommandEvent * _arg0; | |
2d091820 | 669 | PyObject * _argo0 = 0; |
107e4716 | 670 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
671 | |
672 | self = self; | |
107e4716 | 673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetExtraLong",_kwnames,&_argo0)) |
70551f47 | 674 | return NULL; |
2d091820 RD |
675 | if (_argo0) { |
676 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
677 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
678 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p."); |
679 | return NULL; | |
680 | } | |
681 | } | |
ab9bc19b RD |
682 | { |
683 | wxPy_BEGIN_ALLOW_THREADS; | |
684 | _result = (long )wxCommandEvent_GetExtraLong(_arg0); | |
685 | ||
686 | wxPy_END_ALLOW_THREADS; | |
687 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
688 | return _resultobj; |
689 | } | |
690 | ||
691 | #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt()) | |
107e4716 | 692 | static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
693 | PyObject * _resultobj; |
694 | int _result; | |
695 | wxCommandEvent * _arg0; | |
2d091820 | 696 | PyObject * _argo0 = 0; |
107e4716 | 697 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
698 | |
699 | self = self; | |
107e4716 | 700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetInt",_kwnames,&_argo0)) |
70551f47 | 701 | return NULL; |
2d091820 RD |
702 | if (_argo0) { |
703 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
704 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p."); |
706 | return NULL; | |
707 | } | |
708 | } | |
ab9bc19b RD |
709 | { |
710 | wxPy_BEGIN_ALLOW_THREADS; | |
711 | _result = (int )wxCommandEvent_GetInt(_arg0); | |
712 | ||
713 | wxPy_END_ALLOW_THREADS; | |
714 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
715 | return _resultobj; |
716 | } | |
717 | ||
718 | #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
107e4716 | 719 | static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
720 | PyObject * _resultobj; |
721 | int _result; | |
722 | wxCommandEvent * _arg0; | |
2d091820 | 723 | PyObject * _argo0 = 0; |
107e4716 | 724 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
725 | |
726 | self = self; | |
107e4716 | 727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetSelection",_kwnames,&_argo0)) |
70551f47 | 728 | return NULL; |
2d091820 RD |
729 | if (_argo0) { |
730 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
731 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
732 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p."); |
733 | return NULL; | |
734 | } | |
735 | } | |
ab9bc19b RD |
736 | { |
737 | wxPy_BEGIN_ALLOW_THREADS; | |
738 | _result = (int )wxCommandEvent_GetSelection(_arg0); | |
739 | ||
740 | wxPy_END_ALLOW_THREADS; | |
741 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
742 | return _resultobj; |
743 | } | |
744 | ||
745 | #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString()) | |
107e4716 | 746 | static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 | 747 | PyObject * _resultobj; |
ab9bc19b | 748 | wxString * _result; |
70551f47 | 749 | wxCommandEvent * _arg0; |
2d091820 | 750 | PyObject * _argo0 = 0; |
107e4716 | 751 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
752 | |
753 | self = self; | |
107e4716 | 754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetString",_kwnames,&_argo0)) |
70551f47 | 755 | return NULL; |
2d091820 RD |
756 | if (_argo0) { |
757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p."); |
760 | return NULL; | |
761 | } | |
762 | } | |
ab9bc19b RD |
763 | { |
764 | wxPy_BEGIN_ALLOW_THREADS; | |
765 | _result = new wxString (wxCommandEvent_GetString(_arg0)); | |
766 | ||
767 | wxPy_END_ALLOW_THREADS; | |
768 | }{ | |
769 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
770 | } | |
771 | { | |
772 | delete _result; | |
773 | } | |
70551f47 RD |
774 | return _resultobj; |
775 | } | |
776 | ||
777 | #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection()) | |
107e4716 | 778 | static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
779 | PyObject * _resultobj; |
780 | bool _result; | |
781 | wxCommandEvent * _arg0; | |
2d091820 | 782 | PyObject * _argo0 = 0; |
107e4716 | 783 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
784 | |
785 | self = self; | |
107e4716 | 786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_IsSelection",_kwnames,&_argo0)) |
70551f47 | 787 | return NULL; |
2d091820 RD |
788 | if (_argo0) { |
789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p."); |
792 | return NULL; | |
793 | } | |
794 | } | |
ab9bc19b RD |
795 | { |
796 | wxPy_BEGIN_ALLOW_THREADS; | |
797 | _result = (bool )wxCommandEvent_IsSelection(_arg0); | |
798 | ||
799 | wxPy_END_ALLOW_THREADS; | |
800 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
801 | return _resultobj; |
802 | } | |
803 | ||
804 | static void *SwigwxScrollEventTowxCommandEvent(void *ptr) { | |
805 | wxScrollEvent *src; | |
806 | wxCommandEvent *dest; | |
807 | src = (wxScrollEvent *) ptr; | |
808 | dest = (wxCommandEvent *) src; | |
809 | return (void *) dest; | |
810 | } | |
811 | ||
812 | static void *SwigwxScrollEventTowxEvent(void *ptr) { | |
813 | wxScrollEvent *src; | |
814 | wxEvent *dest; | |
815 | src = (wxScrollEvent *) ptr; | |
816 | dest = (wxEvent *) src; | |
817 | return (void *) dest; | |
818 | } | |
819 | ||
820 | #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation()) | |
107e4716 | 821 | static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
822 | PyObject * _resultobj; |
823 | int _result; | |
824 | wxScrollEvent * _arg0; | |
2d091820 | 825 | PyObject * _argo0 = 0; |
107e4716 | 826 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
827 | |
828 | self = self; | |
107e4716 | 829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetOrientation",_kwnames,&_argo0)) |
70551f47 | 830 | return NULL; |
2d091820 RD |
831 | if (_argo0) { |
832 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
833 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) { | |
70551f47 RD |
834 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p."); |
835 | return NULL; | |
836 | } | |
837 | } | |
ab9bc19b RD |
838 | { |
839 | wxPy_BEGIN_ALLOW_THREADS; | |
840 | _result = (int )wxScrollEvent_GetOrientation(_arg0); | |
841 | ||
842 | wxPy_END_ALLOW_THREADS; | |
843 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
844 | return _resultobj; |
845 | } | |
846 | ||
847 | #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 848 | static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
849 | PyObject * _resultobj; |
850 | int _result; | |
851 | wxScrollEvent * _arg0; | |
2d091820 | 852 | PyObject * _argo0 = 0; |
107e4716 | 853 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
854 | |
855 | self = self; | |
107e4716 | 856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 857 | return NULL; |
2d091820 RD |
858 | if (_argo0) { |
859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) { | |
70551f47 RD |
861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p."); |
862 | return NULL; | |
863 | } | |
864 | } | |
ab9bc19b RD |
865 | { |
866 | wxPy_BEGIN_ALLOW_THREADS; | |
867 | _result = (int )wxScrollEvent_GetPosition(_arg0); | |
868 | ||
869 | wxPy_END_ALLOW_THREADS; | |
870 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
871 | return _resultobj; |
872 | } | |
873 | ||
62bd0874 RD |
874 | static void *SwigwxSpinEventTowxScrollEvent(void *ptr) { |
875 | wxSpinEvent *src; | |
876 | wxScrollEvent *dest; | |
877 | src = (wxSpinEvent *) ptr; | |
878 | dest = (wxScrollEvent *) src; | |
879 | return (void *) dest; | |
880 | } | |
881 | ||
882 | static void *SwigwxSpinEventTowxCommandEvent(void *ptr) { | |
883 | wxSpinEvent *src; | |
884 | wxCommandEvent *dest; | |
885 | src = (wxSpinEvent *) ptr; | |
886 | dest = (wxCommandEvent *) src; | |
887 | return (void *) dest; | |
888 | } | |
889 | ||
890 | static void *SwigwxSpinEventTowxEvent(void *ptr) { | |
891 | wxSpinEvent *src; | |
892 | wxEvent *dest; | |
893 | src = (wxSpinEvent *) ptr; | |
894 | dest = (wxEvent *) src; | |
895 | return (void *) dest; | |
896 | } | |
897 | ||
70551f47 RD |
898 | static void *SwigwxMouseEventTowxEvent(void *ptr) { |
899 | wxMouseEvent *src; | |
900 | wxEvent *dest; | |
901 | src = (wxMouseEvent *) ptr; | |
902 | dest = (wxEvent *) src; | |
903 | return (void *) dest; | |
904 | } | |
905 | ||
906 | #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton()) | |
107e4716 | 907 | static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
908 | PyObject * _resultobj; |
909 | bool _result; | |
910 | wxMouseEvent * _arg0; | |
2d091820 | 911 | PyObject * _argo0 = 0; |
107e4716 | 912 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
913 | |
914 | self = self; | |
107e4716 | 915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_IsButton",_kwnames,&_argo0)) |
70551f47 | 916 | return NULL; |
2d091820 RD |
917 | if (_argo0) { |
918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p."); |
921 | return NULL; | |
922 | } | |
923 | } | |
ab9bc19b RD |
924 | { |
925 | wxPy_BEGIN_ALLOW_THREADS; | |
926 | _result = (bool )wxMouseEvent_IsButton(_arg0); | |
927 | ||
928 | wxPy_END_ALLOW_THREADS; | |
929 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
930 | return _resultobj; |
931 | } | |
932 | ||
933 | #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0)) | |
107e4716 | 934 | static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
935 | PyObject * _resultobj; |
936 | bool _result; | |
937 | wxMouseEvent * _arg0; | |
2d091820 RD |
938 | int _arg1 = (int ) -1; |
939 | PyObject * _argo0 = 0; | |
107e4716 | 940 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
941 | |
942 | self = self; | |
107e4716 | 943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDown",_kwnames,&_argo0,&_arg1)) |
70551f47 | 944 | return NULL; |
2d091820 RD |
945 | if (_argo0) { |
946 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
947 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p."); |
949 | return NULL; | |
950 | } | |
951 | } | |
ab9bc19b RD |
952 | { |
953 | wxPy_BEGIN_ALLOW_THREADS; | |
954 | _result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1); | |
955 | ||
956 | wxPy_END_ALLOW_THREADS; | |
957 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
958 | return _resultobj; |
959 | } | |
960 | ||
961 | #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0)) | |
107e4716 | 962 | static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
963 | PyObject * _resultobj; |
964 | bool _result; | |
965 | wxMouseEvent * _arg0; | |
2d091820 RD |
966 | int _arg1 = (int ) -1; |
967 | PyObject * _argo0 = 0; | |
107e4716 | 968 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
969 | |
970 | self = self; | |
107e4716 | 971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDClick",_kwnames,&_argo0,&_arg1)) |
70551f47 | 972 | return NULL; |
2d091820 RD |
973 | if (_argo0) { |
974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p."); |
977 | return NULL; | |
978 | } | |
979 | } | |
ab9bc19b RD |
980 | { |
981 | wxPy_BEGIN_ALLOW_THREADS; | |
982 | _result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1); | |
983 | ||
984 | wxPy_END_ALLOW_THREADS; | |
985 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
986 | return _resultobj; |
987 | } | |
988 | ||
989 | #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0)) | |
107e4716 | 990 | static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
991 | PyObject * _resultobj; |
992 | bool _result; | |
993 | wxMouseEvent * _arg0; | |
2d091820 RD |
994 | int _arg1 = (int ) -1; |
995 | PyObject * _argo0 = 0; | |
107e4716 | 996 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
997 | |
998 | self = self; | |
107e4716 | 999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonUp",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1000 | return NULL; |
2d091820 RD |
1001 | if (_argo0) { |
1002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p."); |
1005 | return NULL; | |
1006 | } | |
1007 | } | |
ab9bc19b RD |
1008 | { |
1009 | wxPy_BEGIN_ALLOW_THREADS; | |
1010 | _result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1); | |
1011 | ||
1012 | wxPy_END_ALLOW_THREADS; | |
1013 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1014 | return _resultobj; |
1015 | } | |
1016 | ||
1017 | #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0)) | |
107e4716 | 1018 | static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1019 | PyObject * _resultobj; |
1020 | bool _result; | |
1021 | wxMouseEvent * _arg0; | |
1022 | int _arg1; | |
2d091820 | 1023 | PyObject * _argo0 = 0; |
107e4716 | 1024 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
1025 | |
1026 | self = self; | |
107e4716 | 1027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_Button",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1028 | return NULL; |
2d091820 RD |
1029 | if (_argo0) { |
1030 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1031 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p."); |
1033 | return NULL; | |
1034 | } | |
1035 | } | |
ab9bc19b RD |
1036 | { |
1037 | wxPy_BEGIN_ALLOW_THREADS; | |
1038 | _result = (bool )wxMouseEvent_Button(_arg0,_arg1); | |
1039 | ||
1040 | wxPy_END_ALLOW_THREADS; | |
1041 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1042 | return _resultobj; |
1043 | } | |
1044 | ||
1045 | #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0)) | |
107e4716 | 1046 | static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1047 | PyObject * _resultobj; |
1048 | bool _result; | |
1049 | wxMouseEvent * _arg0; | |
1050 | int _arg1; | |
2d091820 | 1051 | PyObject * _argo0 = 0; |
107e4716 | 1052 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
1053 | |
1054 | self = self; | |
107e4716 | 1055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1056 | return NULL; |
2d091820 RD |
1057 | if (_argo0) { |
1058 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1059 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p."); |
1061 | return NULL; | |
1062 | } | |
1063 | } | |
ab9bc19b RD |
1064 | { |
1065 | wxPy_BEGIN_ALLOW_THREADS; | |
1066 | _result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1); | |
1067 | ||
1068 | wxPy_END_ALLOW_THREADS; | |
1069 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1070 | return _resultobj; |
1071 | } | |
1072 | ||
1073 | #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
107e4716 | 1074 | static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1075 | PyObject * _resultobj; |
1076 | bool _result; | |
1077 | wxMouseEvent * _arg0; | |
2d091820 | 1078 | PyObject * _argo0 = 0; |
107e4716 | 1079 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1080 | |
1081 | self = self; | |
107e4716 | 1082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ControlDown",_kwnames,&_argo0)) |
70551f47 | 1083 | return NULL; |
2d091820 RD |
1084 | if (_argo0) { |
1085 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1086 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p."); |
1088 | return NULL; | |
1089 | } | |
1090 | } | |
ab9bc19b RD |
1091 | { |
1092 | wxPy_BEGIN_ALLOW_THREADS; | |
1093 | _result = (bool )wxMouseEvent_ControlDown(_arg0); | |
1094 | ||
1095 | wxPy_END_ALLOW_THREADS; | |
1096 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1097 | return _resultobj; |
1098 | } | |
1099 | ||
1100 | #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
107e4716 | 1101 | static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1102 | PyObject * _resultobj; |
1103 | bool _result; | |
1104 | wxMouseEvent * _arg0; | |
2d091820 | 1105 | PyObject * _argo0 = 0; |
107e4716 | 1106 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1107 | |
1108 | self = self; | |
107e4716 | 1109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MetaDown",_kwnames,&_argo0)) |
70551f47 | 1110 | return NULL; |
2d091820 RD |
1111 | if (_argo0) { |
1112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p."); |
1115 | return NULL; | |
1116 | } | |
1117 | } | |
ab9bc19b RD |
1118 | { |
1119 | wxPy_BEGIN_ALLOW_THREADS; | |
1120 | _result = (bool )wxMouseEvent_MetaDown(_arg0); | |
1121 | ||
1122 | wxPy_END_ALLOW_THREADS; | |
1123 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1124 | return _resultobj; |
1125 | } | |
1126 | ||
1127 | #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
107e4716 | 1128 | static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1129 | PyObject * _resultobj; |
1130 | bool _result; | |
1131 | wxMouseEvent * _arg0; | |
2d091820 | 1132 | PyObject * _argo0 = 0; |
107e4716 | 1133 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1134 | |
1135 | self = self; | |
107e4716 | 1136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_AltDown",_kwnames,&_argo0)) |
70551f47 | 1137 | return NULL; |
2d091820 RD |
1138 | if (_argo0) { |
1139 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1140 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p."); |
1142 | return NULL; | |
1143 | } | |
1144 | } | |
ab9bc19b RD |
1145 | { |
1146 | wxPy_BEGIN_ALLOW_THREADS; | |
1147 | _result = (bool )wxMouseEvent_AltDown(_arg0); | |
1148 | ||
1149 | wxPy_END_ALLOW_THREADS; | |
1150 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1151 | return _resultobj; |
1152 | } | |
1153 | ||
1154 | #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
107e4716 | 1155 | static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1156 | PyObject * _resultobj; |
1157 | bool _result; | |
1158 | wxMouseEvent * _arg0; | |
2d091820 | 1159 | PyObject * _argo0 = 0; |
107e4716 | 1160 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1161 | |
1162 | self = self; | |
107e4716 | 1163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ShiftDown",_kwnames,&_argo0)) |
70551f47 | 1164 | return NULL; |
2d091820 RD |
1165 | if (_argo0) { |
1166 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1167 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p."); |
1169 | return NULL; | |
1170 | } | |
1171 | } | |
ab9bc19b RD |
1172 | { |
1173 | wxPy_BEGIN_ALLOW_THREADS; | |
1174 | _result = (bool )wxMouseEvent_ShiftDown(_arg0); | |
1175 | ||
1176 | wxPy_END_ALLOW_THREADS; | |
1177 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1178 | return _resultobj; |
1179 | } | |
1180 | ||
1181 | #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown()) | |
107e4716 | 1182 | static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1183 | PyObject * _resultobj; |
1184 | bool _result; | |
1185 | wxMouseEvent * _arg0; | |
2d091820 | 1186 | PyObject * _argo0 = 0; |
107e4716 | 1187 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1188 | |
1189 | self = self; | |
107e4716 | 1190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDown",_kwnames,&_argo0)) |
70551f47 | 1191 | return NULL; |
2d091820 RD |
1192 | if (_argo0) { |
1193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p."); |
1196 | return NULL; | |
1197 | } | |
1198 | } | |
ab9bc19b RD |
1199 | { |
1200 | wxPy_BEGIN_ALLOW_THREADS; | |
1201 | _result = (bool )wxMouseEvent_LeftDown(_arg0); | |
1202 | ||
1203 | wxPy_END_ALLOW_THREADS; | |
1204 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1205 | return _resultobj; |
1206 | } | |
1207 | ||
1208 | #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown()) | |
107e4716 | 1209 | static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1210 | PyObject * _resultobj; |
1211 | bool _result; | |
1212 | wxMouseEvent * _arg0; | |
2d091820 | 1213 | PyObject * _argo0 = 0; |
107e4716 | 1214 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1215 | |
1216 | self = self; | |
107e4716 | 1217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDown",_kwnames,&_argo0)) |
70551f47 | 1218 | return NULL; |
2d091820 RD |
1219 | if (_argo0) { |
1220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p."); |
1223 | return NULL; | |
1224 | } | |
1225 | } | |
ab9bc19b RD |
1226 | { |
1227 | wxPy_BEGIN_ALLOW_THREADS; | |
1228 | _result = (bool )wxMouseEvent_MiddleDown(_arg0); | |
1229 | ||
1230 | wxPy_END_ALLOW_THREADS; | |
1231 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1232 | return _resultobj; |
1233 | } | |
1234 | ||
1235 | #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown()) | |
107e4716 | 1236 | static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1237 | PyObject * _resultobj; |
1238 | bool _result; | |
1239 | wxMouseEvent * _arg0; | |
2d091820 | 1240 | PyObject * _argo0 = 0; |
107e4716 | 1241 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1242 | |
1243 | self = self; | |
107e4716 | 1244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDown",_kwnames,&_argo0)) |
70551f47 | 1245 | return NULL; |
2d091820 RD |
1246 | if (_argo0) { |
1247 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1248 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p."); |
1250 | return NULL; | |
1251 | } | |
1252 | } | |
ab9bc19b RD |
1253 | { |
1254 | wxPy_BEGIN_ALLOW_THREADS; | |
1255 | _result = (bool )wxMouseEvent_RightDown(_arg0); | |
1256 | ||
1257 | wxPy_END_ALLOW_THREADS; | |
1258 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1259 | return _resultobj; |
1260 | } | |
1261 | ||
1262 | #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp()) | |
107e4716 | 1263 | static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1264 | PyObject * _resultobj; |
1265 | bool _result; | |
1266 | wxMouseEvent * _arg0; | |
2d091820 | 1267 | PyObject * _argo0 = 0; |
107e4716 | 1268 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1269 | |
1270 | self = self; | |
107e4716 | 1271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftUp",_kwnames,&_argo0)) |
70551f47 | 1272 | return NULL; |
2d091820 RD |
1273 | if (_argo0) { |
1274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p."); |
1277 | return NULL; | |
1278 | } | |
1279 | } | |
ab9bc19b RD |
1280 | { |
1281 | wxPy_BEGIN_ALLOW_THREADS; | |
1282 | _result = (bool )wxMouseEvent_LeftUp(_arg0); | |
1283 | ||
1284 | wxPy_END_ALLOW_THREADS; | |
1285 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1286 | return _resultobj; |
1287 | } | |
1288 | ||
1289 | #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp()) | |
107e4716 | 1290 | static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1291 | PyObject * _resultobj; |
1292 | bool _result; | |
1293 | wxMouseEvent * _arg0; | |
2d091820 | 1294 | PyObject * _argo0 = 0; |
107e4716 | 1295 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1296 | |
1297 | self = self; | |
107e4716 | 1298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleUp",_kwnames,&_argo0)) |
70551f47 | 1299 | return NULL; |
2d091820 RD |
1300 | if (_argo0) { |
1301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p."); |
1304 | return NULL; | |
1305 | } | |
1306 | } | |
ab9bc19b RD |
1307 | { |
1308 | wxPy_BEGIN_ALLOW_THREADS; | |
1309 | _result = (bool )wxMouseEvent_MiddleUp(_arg0); | |
1310 | ||
1311 | wxPy_END_ALLOW_THREADS; | |
1312 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1313 | return _resultobj; |
1314 | } | |
1315 | ||
1316 | #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp()) | |
107e4716 | 1317 | static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1318 | PyObject * _resultobj; |
1319 | bool _result; | |
1320 | wxMouseEvent * _arg0; | |
2d091820 | 1321 | PyObject * _argo0 = 0; |
107e4716 | 1322 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1323 | |
1324 | self = self; | |
107e4716 | 1325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightUp",_kwnames,&_argo0)) |
70551f47 | 1326 | return NULL; |
2d091820 RD |
1327 | if (_argo0) { |
1328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p."); |
1331 | return NULL; | |
1332 | } | |
1333 | } | |
ab9bc19b RD |
1334 | { |
1335 | wxPy_BEGIN_ALLOW_THREADS; | |
1336 | _result = (bool )wxMouseEvent_RightUp(_arg0); | |
1337 | ||
1338 | wxPy_END_ALLOW_THREADS; | |
1339 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1340 | return _resultobj; |
1341 | } | |
1342 | ||
1343 | #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick()) | |
107e4716 | 1344 | static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1345 | PyObject * _resultobj; |
1346 | bool _result; | |
1347 | wxMouseEvent * _arg0; | |
2d091820 | 1348 | PyObject * _argo0 = 0; |
107e4716 | 1349 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1350 | |
1351 | self = self; | |
107e4716 | 1352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDClick",_kwnames,&_argo0)) |
70551f47 | 1353 | return NULL; |
2d091820 RD |
1354 | if (_argo0) { |
1355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p."); |
1358 | return NULL; | |
1359 | } | |
1360 | } | |
ab9bc19b RD |
1361 | { |
1362 | wxPy_BEGIN_ALLOW_THREADS; | |
1363 | _result = (bool )wxMouseEvent_LeftDClick(_arg0); | |
1364 | ||
1365 | wxPy_END_ALLOW_THREADS; | |
1366 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1367 | return _resultobj; |
1368 | } | |
1369 | ||
1370 | #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick()) | |
107e4716 | 1371 | static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1372 | PyObject * _resultobj; |
1373 | bool _result; | |
1374 | wxMouseEvent * _arg0; | |
2d091820 | 1375 | PyObject * _argo0 = 0; |
107e4716 | 1376 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1377 | |
1378 | self = self; | |
107e4716 | 1379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDClick",_kwnames,&_argo0)) |
70551f47 | 1380 | return NULL; |
2d091820 RD |
1381 | if (_argo0) { |
1382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p."); |
1385 | return NULL; | |
1386 | } | |
1387 | } | |
ab9bc19b RD |
1388 | { |
1389 | wxPy_BEGIN_ALLOW_THREADS; | |
1390 | _result = (bool )wxMouseEvent_MiddleDClick(_arg0); | |
1391 | ||
1392 | wxPy_END_ALLOW_THREADS; | |
1393 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1394 | return _resultobj; |
1395 | } | |
1396 | ||
1397 | #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick()) | |
107e4716 | 1398 | static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1399 | PyObject * _resultobj; |
1400 | bool _result; | |
1401 | wxMouseEvent * _arg0; | |
2d091820 | 1402 | PyObject * _argo0 = 0; |
107e4716 | 1403 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1404 | |
1405 | self = self; | |
107e4716 | 1406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDClick",_kwnames,&_argo0)) |
70551f47 | 1407 | return NULL; |
2d091820 RD |
1408 | if (_argo0) { |
1409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p."); |
1412 | return NULL; | |
1413 | } | |
1414 | } | |
ab9bc19b RD |
1415 | { |
1416 | wxPy_BEGIN_ALLOW_THREADS; | |
1417 | _result = (bool )wxMouseEvent_RightDClick(_arg0); | |
1418 | ||
1419 | wxPy_END_ALLOW_THREADS; | |
1420 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1421 | return _resultobj; |
1422 | } | |
1423 | ||
1424 | #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown()) | |
107e4716 | 1425 | static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1426 | PyObject * _resultobj; |
1427 | bool _result; | |
1428 | wxMouseEvent * _arg0; | |
2d091820 | 1429 | PyObject * _argo0 = 0; |
107e4716 | 1430 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1431 | |
1432 | self = self; | |
107e4716 | 1433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftIsDown",_kwnames,&_argo0)) |
70551f47 | 1434 | return NULL; |
2d091820 RD |
1435 | if (_argo0) { |
1436 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1437 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p."); |
1439 | return NULL; | |
1440 | } | |
1441 | } | |
ab9bc19b RD |
1442 | { |
1443 | wxPy_BEGIN_ALLOW_THREADS; | |
1444 | _result = (bool )wxMouseEvent_LeftIsDown(_arg0); | |
1445 | ||
1446 | wxPy_END_ALLOW_THREADS; | |
1447 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1448 | return _resultobj; |
1449 | } | |
1450 | ||
1451 | #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown()) | |
107e4716 | 1452 | static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1453 | PyObject * _resultobj; |
1454 | bool _result; | |
1455 | wxMouseEvent * _arg0; | |
2d091820 | 1456 | PyObject * _argo0 = 0; |
107e4716 | 1457 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1458 | |
1459 | self = self; | |
107e4716 | 1460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleIsDown",_kwnames,&_argo0)) |
70551f47 | 1461 | return NULL; |
2d091820 RD |
1462 | if (_argo0) { |
1463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p."); |
1466 | return NULL; | |
1467 | } | |
1468 | } | |
ab9bc19b RD |
1469 | { |
1470 | wxPy_BEGIN_ALLOW_THREADS; | |
1471 | _result = (bool )wxMouseEvent_MiddleIsDown(_arg0); | |
1472 | ||
1473 | wxPy_END_ALLOW_THREADS; | |
1474 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1475 | return _resultobj; |
1476 | } | |
1477 | ||
1478 | #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown()) | |
107e4716 | 1479 | static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1480 | PyObject * _resultobj; |
1481 | bool _result; | |
1482 | wxMouseEvent * _arg0; | |
2d091820 | 1483 | PyObject * _argo0 = 0; |
107e4716 | 1484 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1485 | |
1486 | self = self; | |
107e4716 | 1487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightIsDown",_kwnames,&_argo0)) |
70551f47 | 1488 | return NULL; |
2d091820 RD |
1489 | if (_argo0) { |
1490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p."); |
1493 | return NULL; | |
1494 | } | |
1495 | } | |
ab9bc19b RD |
1496 | { |
1497 | wxPy_BEGIN_ALLOW_THREADS; | |
1498 | _result = (bool )wxMouseEvent_RightIsDown(_arg0); | |
1499 | ||
1500 | wxPy_END_ALLOW_THREADS; | |
1501 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1502 | return _resultobj; |
1503 | } | |
1504 | ||
1505 | #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging()) | |
107e4716 | 1506 | static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1507 | PyObject * _resultobj; |
1508 | bool _result; | |
1509 | wxMouseEvent * _arg0; | |
2d091820 | 1510 | PyObject * _argo0 = 0; |
107e4716 | 1511 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1512 | |
1513 | self = self; | |
107e4716 | 1514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Dragging",_kwnames,&_argo0)) |
70551f47 | 1515 | return NULL; |
2d091820 RD |
1516 | if (_argo0) { |
1517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p."); |
1520 | return NULL; | |
1521 | } | |
1522 | } | |
ab9bc19b RD |
1523 | { |
1524 | wxPy_BEGIN_ALLOW_THREADS; | |
1525 | _result = (bool )wxMouseEvent_Dragging(_arg0); | |
1526 | ||
1527 | wxPy_END_ALLOW_THREADS; | |
1528 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1529 | return _resultobj; |
1530 | } | |
1531 | ||
1532 | #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving()) | |
107e4716 | 1533 | static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1534 | PyObject * _resultobj; |
1535 | bool _result; | |
1536 | wxMouseEvent * _arg0; | |
2d091820 | 1537 | PyObject * _argo0 = 0; |
107e4716 | 1538 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1539 | |
1540 | self = self; | |
107e4716 | 1541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Moving",_kwnames,&_argo0)) |
70551f47 | 1542 | return NULL; |
2d091820 RD |
1543 | if (_argo0) { |
1544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p."); |
1547 | return NULL; | |
1548 | } | |
1549 | } | |
ab9bc19b RD |
1550 | { |
1551 | wxPy_BEGIN_ALLOW_THREADS; | |
1552 | _result = (bool )wxMouseEvent_Moving(_arg0); | |
1553 | ||
1554 | wxPy_END_ALLOW_THREADS; | |
1555 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1556 | return _resultobj; |
1557 | } | |
1558 | ||
1559 | #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering()) | |
107e4716 | 1560 | static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1561 | PyObject * _resultobj; |
1562 | bool _result; | |
1563 | wxMouseEvent * _arg0; | |
2d091820 | 1564 | PyObject * _argo0 = 0; |
107e4716 | 1565 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1566 | |
1567 | self = self; | |
107e4716 | 1568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Entering",_kwnames,&_argo0)) |
70551f47 | 1569 | return NULL; |
2d091820 RD |
1570 | if (_argo0) { |
1571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p."); |
1574 | return NULL; | |
1575 | } | |
1576 | } | |
ab9bc19b RD |
1577 | { |
1578 | wxPy_BEGIN_ALLOW_THREADS; | |
1579 | _result = (bool )wxMouseEvent_Entering(_arg0); | |
1580 | ||
1581 | wxPy_END_ALLOW_THREADS; | |
1582 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1583 | return _resultobj; |
1584 | } | |
1585 | ||
1586 | #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving()) | |
107e4716 | 1587 | static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1588 | PyObject * _resultobj; |
1589 | bool _result; | |
1590 | wxMouseEvent * _arg0; | |
2d091820 | 1591 | PyObject * _argo0 = 0; |
107e4716 | 1592 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1593 | |
1594 | self = self; | |
107e4716 | 1595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Leaving",_kwnames,&_argo0)) |
70551f47 | 1596 | return NULL; |
2d091820 RD |
1597 | if (_argo0) { |
1598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p."); |
1601 | return NULL; | |
1602 | } | |
1603 | } | |
ab9bc19b RD |
1604 | { |
1605 | wxPy_BEGIN_ALLOW_THREADS; | |
1606 | _result = (bool )wxMouseEvent_Leaving(_arg0); | |
1607 | ||
1608 | wxPy_END_ALLOW_THREADS; | |
1609 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1610 | return _resultobj; |
1611 | } | |
1612 | ||
1613 | #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1)) | |
107e4716 | 1614 | static PyObject *_wrap_wxMouseEvent_Position(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1615 | PyObject * _resultobj; |
1616 | wxMouseEvent * _arg0; | |
1617 | long * _arg1; | |
1618 | long temp; | |
1619 | long * _arg2; | |
1620 | long temp0; | |
2d091820 | 1621 | PyObject * _argo0 = 0; |
107e4716 | 1622 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1623 | |
1624 | self = self; | |
1625 | { | |
1626 | _arg1 = &temp; | |
1627 | } | |
1628 | { | |
1629 | _arg2 = &temp0; | |
1630 | } | |
107e4716 | 1631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Position",_kwnames,&_argo0)) |
70551f47 | 1632 | return NULL; |
2d091820 RD |
1633 | if (_argo0) { |
1634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p."); |
1637 | return NULL; | |
1638 | } | |
1639 | } | |
ab9bc19b RD |
1640 | { |
1641 | wxPy_BEGIN_ALLOW_THREADS; | |
1642 | wxMouseEvent_Position(_arg0,_arg1,_arg2); | |
1643 | ||
1644 | wxPy_END_ALLOW_THREADS; | |
1645 | } Py_INCREF(Py_None); | |
70551f47 RD |
1646 | _resultobj = Py_None; |
1647 | { | |
1648 | PyObject *o; | |
1649 | o = PyInt_FromLong((long) (*_arg1)); | |
1650 | _resultobj = t_output_helper(_resultobj, o); | |
1651 | } | |
1652 | { | |
1653 | PyObject *o; | |
1654 | o = PyInt_FromLong((long) (*_arg2)); | |
1655 | _resultobj = t_output_helper(_resultobj, o); | |
1656 | } | |
1657 | return _resultobj; | |
1658 | } | |
1659 | ||
1660 | #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 1661 | static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1662 | PyObject * _resultobj; |
1663 | wxPoint * _result; | |
1664 | wxMouseEvent * _arg0; | |
2d091820 | 1665 | PyObject * _argo0 = 0; |
107e4716 | 1666 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1667 | char _ptemp[128]; |
1668 | ||
1669 | self = self; | |
107e4716 | 1670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 1671 | return NULL; |
2d091820 RD |
1672 | if (_argo0) { |
1673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p."); |
1676 | return NULL; | |
1677 | } | |
1678 | } | |
ab9bc19b RD |
1679 | { |
1680 | wxPy_BEGIN_ALLOW_THREADS; | |
1681 | _result = new wxPoint (wxMouseEvent_GetPosition(_arg0)); | |
1682 | ||
1683 | wxPy_END_ALLOW_THREADS; | |
1684 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
1685 | _resultobj = Py_BuildValue("s",_ptemp); |
1686 | return _resultobj; | |
1687 | } | |
1688 | ||
1689 | #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0)) | |
107e4716 | 1690 | static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1691 | PyObject * _resultobj; |
1692 | wxPoint * _result; | |
1693 | wxMouseEvent * _arg0; | |
1694 | wxDC * _arg1; | |
2d091820 RD |
1695 | PyObject * _argo0 = 0; |
1696 | PyObject * _argo1 = 0; | |
107e4716 | 1697 | char *_kwnames[] = { "self","dc", NULL }; |
70551f47 RD |
1698 | char _ptemp[128]; |
1699 | ||
1700 | self = self; | |
107e4716 | 1701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMouseEvent_GetLogicalPosition",_kwnames,&_argo0,&_argo1)) |
70551f47 | 1702 | return NULL; |
2d091820 RD |
1703 | if (_argo0) { |
1704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p."); |
1707 | return NULL; | |
1708 | } | |
1709 | } | |
2d091820 RD |
1710 | if (_argo1) { |
1711 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1712 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
70551f47 RD |
1713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p."); |
1714 | return NULL; | |
1715 | } | |
1716 | } | |
ab9bc19b RD |
1717 | { |
1718 | wxPy_BEGIN_ALLOW_THREADS; | |
1719 | _result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1)); | |
1720 | ||
1721 | wxPy_END_ALLOW_THREADS; | |
1722 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
1723 | _resultobj = Py_BuildValue("s",_ptemp); |
1724 | return _resultobj; | |
1725 | } | |
1726 | ||
1727 | #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX()) | |
107e4716 | 1728 | static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1729 | PyObject * _resultobj; |
1730 | long _result; | |
1731 | wxMouseEvent * _arg0; | |
2d091820 | 1732 | PyObject * _argo0 = 0; |
107e4716 | 1733 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1734 | |
1735 | self = self; | |
107e4716 | 1736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetX",_kwnames,&_argo0)) |
70551f47 | 1737 | return NULL; |
2d091820 RD |
1738 | if (_argo0) { |
1739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p."); |
1742 | return NULL; | |
1743 | } | |
1744 | } | |
ab9bc19b RD |
1745 | { |
1746 | wxPy_BEGIN_ALLOW_THREADS; | |
1747 | _result = (long )wxMouseEvent_GetX(_arg0); | |
1748 | ||
1749 | wxPy_END_ALLOW_THREADS; | |
1750 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
1751 | return _resultobj; |
1752 | } | |
1753 | ||
1754 | #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY()) | |
107e4716 | 1755 | static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1756 | PyObject * _resultobj; |
1757 | long _result; | |
1758 | wxMouseEvent * _arg0; | |
2d091820 | 1759 | PyObject * _argo0 = 0; |
107e4716 | 1760 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1761 | |
1762 | self = self; | |
107e4716 | 1763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetY",_kwnames,&_argo0)) |
70551f47 | 1764 | return NULL; |
2d091820 RD |
1765 | if (_argo0) { |
1766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p."); |
1769 | return NULL; | |
1770 | } | |
1771 | } | |
ab9bc19b RD |
1772 | { |
1773 | wxPy_BEGIN_ALLOW_THREADS; | |
1774 | _result = (long )wxMouseEvent_GetY(_arg0); | |
1775 | ||
1776 | wxPy_END_ALLOW_THREADS; | |
1777 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
1778 | return _resultobj; |
1779 | } | |
1780 | ||
1781 | static void *SwigwxKeyEventTowxEvent(void *ptr) { | |
1782 | wxKeyEvent *src; | |
1783 | wxEvent *dest; | |
1784 | src = (wxKeyEvent *) ptr; | |
1785 | dest = (wxEvent *) src; | |
1786 | return (void *) dest; | |
1787 | } | |
1788 | ||
1789 | #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
107e4716 | 1790 | static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1791 | PyObject * _resultobj; |
1792 | bool _result; | |
1793 | wxKeyEvent * _arg0; | |
2d091820 | 1794 | PyObject * _argo0 = 0; |
107e4716 | 1795 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1796 | |
1797 | self = self; | |
107e4716 | 1798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ControlDown",_kwnames,&_argo0)) |
70551f47 | 1799 | return NULL; |
2d091820 RD |
1800 | if (_argo0) { |
1801 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1802 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
1803 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p."); |
1804 | return NULL; | |
1805 | } | |
1806 | } | |
ab9bc19b RD |
1807 | { |
1808 | wxPy_BEGIN_ALLOW_THREADS; | |
1809 | _result = (bool )wxKeyEvent_ControlDown(_arg0); | |
1810 | ||
1811 | wxPy_END_ALLOW_THREADS; | |
1812 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1813 | return _resultobj; |
1814 | } | |
1815 | ||
1816 | #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
107e4716 | 1817 | static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1818 | PyObject * _resultobj; |
1819 | bool _result; | |
1820 | wxKeyEvent * _arg0; | |
2d091820 | 1821 | PyObject * _argo0 = 0; |
107e4716 | 1822 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1823 | |
1824 | self = self; | |
107e4716 | 1825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_MetaDown",_kwnames,&_argo0)) |
70551f47 | 1826 | return NULL; |
2d091820 RD |
1827 | if (_argo0) { |
1828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
1830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p."); |
1831 | return NULL; | |
1832 | } | |
1833 | } | |
ab9bc19b RD |
1834 | { |
1835 | wxPy_BEGIN_ALLOW_THREADS; | |
1836 | _result = (bool )wxKeyEvent_MetaDown(_arg0); | |
1837 | ||
1838 | wxPy_END_ALLOW_THREADS; | |
1839 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1840 | return _resultobj; |
1841 | } | |
1842 | ||
1843 | #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
107e4716 | 1844 | static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1845 | PyObject * _resultobj; |
1846 | bool _result; | |
1847 | wxKeyEvent * _arg0; | |
2d091820 | 1848 | PyObject * _argo0 = 0; |
107e4716 | 1849 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1850 | |
1851 | self = self; | |
107e4716 | 1852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_AltDown",_kwnames,&_argo0)) |
70551f47 | 1853 | return NULL; |
2d091820 RD |
1854 | if (_argo0) { |
1855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
1857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p."); |
1858 | return NULL; | |
1859 | } | |
1860 | } | |
ab9bc19b RD |
1861 | { |
1862 | wxPy_BEGIN_ALLOW_THREADS; | |
1863 | _result = (bool )wxKeyEvent_AltDown(_arg0); | |
1864 | ||
1865 | wxPy_END_ALLOW_THREADS; | |
1866 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1867 | return _resultobj; |
1868 | } | |
1869 | ||
1870 | #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
107e4716 | 1871 | static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1872 | PyObject * _resultobj; |
1873 | bool _result; | |
1874 | wxKeyEvent * _arg0; | |
2d091820 | 1875 | PyObject * _argo0 = 0; |
107e4716 | 1876 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1877 | |
1878 | self = self; | |
107e4716 | 1879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ShiftDown",_kwnames,&_argo0)) |
70551f47 | 1880 | return NULL; |
2d091820 RD |
1881 | if (_argo0) { |
1882 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1883 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
1884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p."); |
1885 | return NULL; | |
1886 | } | |
1887 | } | |
ab9bc19b RD |
1888 | { |
1889 | wxPy_BEGIN_ALLOW_THREADS; | |
1890 | _result = (bool )wxKeyEvent_ShiftDown(_arg0); | |
1891 | ||
1892 | wxPy_END_ALLOW_THREADS; | |
1893 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1894 | return _resultobj; |
1895 | } | |
1896 | ||
1897 | #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode()) | |
107e4716 | 1898 | static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1899 | PyObject * _resultobj; |
1900 | long _result; | |
1901 | wxKeyEvent * _arg0; | |
2d091820 | 1902 | PyObject * _argo0 = 0; |
107e4716 | 1903 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1904 | |
1905 | self = self; | |
107e4716 | 1906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_KeyCode",_kwnames,&_argo0)) |
70551f47 | 1907 | return NULL; |
2d091820 RD |
1908 | if (_argo0) { |
1909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
1911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p."); |
1912 | return NULL; | |
1913 | } | |
1914 | } | |
ab9bc19b RD |
1915 | { |
1916 | wxPy_BEGIN_ALLOW_THREADS; | |
1917 | _result = (long )wxKeyEvent_KeyCode(_arg0); | |
1918 | ||
1919 | wxPy_END_ALLOW_THREADS; | |
1920 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
1921 | return _resultobj; |
1922 | } | |
1923 | ||
70551f47 RD |
1924 | static void *SwigwxMoveEventTowxEvent(void *ptr) { |
1925 | wxMoveEvent *src; | |
1926 | wxEvent *dest; | |
1927 | src = (wxMoveEvent *) ptr; | |
1928 | dest = (wxEvent *) src; | |
1929 | return (void *) dest; | |
1930 | } | |
1931 | ||
1932 | #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 1933 | static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1934 | PyObject * _resultobj; |
1935 | wxPoint * _result; | |
1936 | wxMoveEvent * _arg0; | |
2d091820 | 1937 | PyObject * _argo0 = 0; |
107e4716 | 1938 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1939 | char _ptemp[128]; |
1940 | ||
1941 | self = self; | |
107e4716 | 1942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMoveEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 1943 | return NULL; |
2d091820 RD |
1944 | if (_argo0) { |
1945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMoveEvent_p")) { | |
70551f47 RD |
1947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p."); |
1948 | return NULL; | |
1949 | } | |
1950 | } | |
ab9bc19b RD |
1951 | { |
1952 | wxPy_BEGIN_ALLOW_THREADS; | |
1953 | _result = new wxPoint (wxMoveEvent_GetPosition(_arg0)); | |
1954 | ||
1955 | wxPy_END_ALLOW_THREADS; | |
1956 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
1957 | _resultobj = Py_BuildValue("s",_ptemp); |
1958 | return _resultobj; | |
1959 | } | |
1960 | ||
1961 | static void *SwigwxPaintEventTowxEvent(void *ptr) { | |
1962 | wxPaintEvent *src; | |
1963 | wxEvent *dest; | |
1964 | src = (wxPaintEvent *) ptr; | |
1965 | dest = (wxEvent *) src; | |
1966 | return (void *) dest; | |
1967 | } | |
1968 | ||
1969 | static void *SwigwxEraseEventTowxEvent(void *ptr) { | |
1970 | wxEraseEvent *src; | |
1971 | wxEvent *dest; | |
1972 | src = (wxEraseEvent *) ptr; | |
1973 | dest = (wxEvent *) src; | |
1974 | return (void *) dest; | |
1975 | } | |
1976 | ||
1977 | #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC()) | |
107e4716 | 1978 | static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1979 | PyObject * _resultobj; |
1980 | wxDC * _result; | |
1981 | wxEraseEvent * _arg0; | |
2d091820 | 1982 | PyObject * _argo0 = 0; |
107e4716 | 1983 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1984 | char _ptemp[128]; |
1985 | ||
1986 | self = self; | |
107e4716 | 1987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEraseEvent_GetDC",_kwnames,&_argo0)) |
70551f47 | 1988 | return NULL; |
2d091820 RD |
1989 | if (_argo0) { |
1990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEraseEvent_p")) { | |
70551f47 RD |
1992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p."); |
1993 | return NULL; | |
1994 | } | |
1995 | } | |
ab9bc19b RD |
1996 | { |
1997 | wxPy_BEGIN_ALLOW_THREADS; | |
1998 | _result = (wxDC *)wxEraseEvent_GetDC(_arg0); | |
1999 | ||
2000 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2001 | } if (_result) { |
2002 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p"); | |
2003 | _resultobj = Py_BuildValue("s",_ptemp); | |
2004 | } else { | |
2005 | Py_INCREF(Py_None); | |
2006 | _resultobj = Py_None; | |
2007 | } | |
70551f47 RD |
2008 | return _resultobj; |
2009 | } | |
2010 | ||
2011 | static void *SwigwxFocusEventTowxEvent(void *ptr) { | |
2012 | wxFocusEvent *src; | |
2013 | wxEvent *dest; | |
2014 | src = (wxFocusEvent *) ptr; | |
2015 | dest = (wxEvent *) src; | |
2016 | return (void *) dest; | |
2017 | } | |
2018 | ||
2019 | static void *SwigwxActivateEventTowxEvent(void *ptr) { | |
2020 | wxActivateEvent *src; | |
2021 | wxEvent *dest; | |
2022 | src = (wxActivateEvent *) ptr; | |
2023 | dest = (wxEvent *) src; | |
2024 | return (void *) dest; | |
2025 | } | |
2026 | ||
2027 | #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive()) | |
107e4716 | 2028 | static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2029 | PyObject * _resultobj; |
2030 | bool _result; | |
2031 | wxActivateEvent * _arg0; | |
2d091820 | 2032 | PyObject * _argo0 = 0; |
107e4716 | 2033 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2034 | |
2035 | self = self; | |
107e4716 | 2036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxActivateEvent_GetActive",_kwnames,&_argo0)) |
70551f47 | 2037 | return NULL; |
2d091820 RD |
2038 | if (_argo0) { |
2039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxActivateEvent_p")) { | |
70551f47 RD |
2041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p."); |
2042 | return NULL; | |
2043 | } | |
2044 | } | |
ab9bc19b RD |
2045 | { |
2046 | wxPy_BEGIN_ALLOW_THREADS; | |
2047 | _result = (bool )wxActivateEvent_GetActive(_arg0); | |
2048 | ||
2049 | wxPy_END_ALLOW_THREADS; | |
2050 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2051 | return _resultobj; |
2052 | } | |
2053 | ||
2054 | static void *SwigwxInitDialogEventTowxEvent(void *ptr) { | |
2055 | wxInitDialogEvent *src; | |
2056 | wxEvent *dest; | |
2057 | src = (wxInitDialogEvent *) ptr; | |
2058 | dest = (wxEvent *) src; | |
2059 | return (void *) dest; | |
2060 | } | |
2061 | ||
2062 | static void *SwigwxMenuEventTowxEvent(void *ptr) { | |
2063 | wxMenuEvent *src; | |
2064 | wxEvent *dest; | |
2065 | src = (wxMenuEvent *) ptr; | |
2066 | dest = (wxEvent *) src; | |
2067 | return (void *) dest; | |
2068 | } | |
2069 | ||
2070 | #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId()) | |
107e4716 | 2071 | static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2072 | PyObject * _resultobj; |
2073 | int _result; | |
2074 | wxMenuEvent * _arg0; | |
2d091820 | 2075 | PyObject * _argo0 = 0; |
107e4716 | 2076 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2077 | |
2078 | self = self; | |
107e4716 | 2079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_GetMenuId",_kwnames,&_argo0)) |
70551f47 | 2080 | return NULL; |
2d091820 RD |
2081 | if (_argo0) { |
2082 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2083 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) { | |
70551f47 RD |
2084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p."); |
2085 | return NULL; | |
2086 | } | |
2087 | } | |
ab9bc19b RD |
2088 | { |
2089 | wxPy_BEGIN_ALLOW_THREADS; | |
2090 | _result = (int )wxMenuEvent_GetMenuId(_arg0); | |
2091 | ||
2092 | wxPy_END_ALLOW_THREADS; | |
2093 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2094 | return _resultobj; |
2095 | } | |
2096 | ||
2097 | static void *SwigwxShowEventTowxEvent(void *ptr) { | |
2098 | wxShowEvent *src; | |
2099 | wxEvent *dest; | |
2100 | src = (wxShowEvent *) ptr; | |
2101 | dest = (wxEvent *) src; | |
2102 | return (void *) dest; | |
2103 | } | |
2104 | ||
2105 | #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0)) | |
107e4716 | 2106 | static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2107 | PyObject * _resultobj; |
2108 | wxShowEvent * _arg0; | |
2109 | bool _arg1; | |
2d091820 | 2110 | PyObject * _argo0 = 0; |
70551f47 | 2111 | int tempbool1; |
107e4716 | 2112 | char *_kwnames[] = { "self","show", NULL }; |
70551f47 RD |
2113 | |
2114 | self = self; | |
107e4716 | 2115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShowEvent_SetShow",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 2116 | return NULL; |
2d091820 RD |
2117 | if (_argo0) { |
2118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) { | |
70551f47 RD |
2120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p."); |
2121 | return NULL; | |
2122 | } | |
2123 | } | |
2124 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
2125 | { |
2126 | wxPy_BEGIN_ALLOW_THREADS; | |
2127 | wxShowEvent_SetShow(_arg0,_arg1); | |
2128 | ||
2129 | wxPy_END_ALLOW_THREADS; | |
2130 | } Py_INCREF(Py_None); | |
70551f47 RD |
2131 | _resultobj = Py_None; |
2132 | return _resultobj; | |
2133 | } | |
2134 | ||
2135 | #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow()) | |
107e4716 | 2136 | static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2137 | PyObject * _resultobj; |
2138 | bool _result; | |
2139 | wxShowEvent * _arg0; | |
2d091820 | 2140 | PyObject * _argo0 = 0; |
107e4716 | 2141 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2142 | |
2143 | self = self; | |
107e4716 | 2144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShowEvent_GetShow",_kwnames,&_argo0)) |
70551f47 | 2145 | return NULL; |
2d091820 RD |
2146 | if (_argo0) { |
2147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) { | |
70551f47 RD |
2149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p."); |
2150 | return NULL; | |
2151 | } | |
2152 | } | |
ab9bc19b RD |
2153 | { |
2154 | wxPy_BEGIN_ALLOW_THREADS; | |
2155 | _result = (bool )wxShowEvent_GetShow(_arg0); | |
2156 | ||
2157 | wxPy_END_ALLOW_THREADS; | |
2158 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2159 | return _resultobj; |
2160 | } | |
2161 | ||
2162 | static void *SwigwxIconizeEventTowxEvent(void *ptr) { | |
2163 | wxIconizeEvent *src; | |
2164 | wxEvent *dest; | |
2165 | src = (wxIconizeEvent *) ptr; | |
2166 | dest = (wxEvent *) src; | |
2167 | return (void *) dest; | |
2168 | } | |
2169 | ||
2170 | static void *SwigwxMaximizeEventTowxEvent(void *ptr) { | |
2171 | wxMaximizeEvent *src; | |
2172 | wxEvent *dest; | |
2173 | src = (wxMaximizeEvent *) ptr; | |
2174 | dest = (wxEvent *) src; | |
2175 | return (void *) dest; | |
2176 | } | |
2177 | ||
2178 | static void *SwigwxJoystickEventTowxEvent(void *ptr) { | |
2179 | wxJoystickEvent *src; | |
2180 | wxEvent *dest; | |
2181 | src = (wxJoystickEvent *) ptr; | |
2182 | dest = (wxEvent *) src; | |
2183 | return (void *) dest; | |
2184 | } | |
2185 | ||
2186 | #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 2187 | static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2188 | PyObject * _resultobj; |
2189 | wxPoint * _result; | |
2190 | wxJoystickEvent * _arg0; | |
2d091820 | 2191 | PyObject * _argo0 = 0; |
107e4716 | 2192 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2193 | char _ptemp[128]; |
2194 | ||
2195 | self = self; | |
107e4716 | 2196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 2197 | return NULL; |
2d091820 RD |
2198 | if (_argo0) { |
2199 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2200 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p."); |
2202 | return NULL; | |
2203 | } | |
2204 | } | |
ab9bc19b RD |
2205 | { |
2206 | wxPy_BEGIN_ALLOW_THREADS; | |
2207 | _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0)); | |
2208 | ||
2209 | wxPy_END_ALLOW_THREADS; | |
2210 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
2211 | _resultobj = Py_BuildValue("s",_ptemp); |
2212 | return _resultobj; | |
2213 | } | |
2214 | ||
2215 | #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition()) | |
107e4716 | 2216 | static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2217 | PyObject * _resultobj; |
2218 | int _result; | |
2219 | wxJoystickEvent * _arg0; | |
2d091820 | 2220 | PyObject * _argo0 = 0; |
107e4716 | 2221 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2222 | |
2223 | self = self; | |
107e4716 | 2224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetZPosition",_kwnames,&_argo0)) |
70551f47 | 2225 | return NULL; |
2d091820 RD |
2226 | if (_argo0) { |
2227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p."); |
2230 | return NULL; | |
2231 | } | |
2232 | } | |
ab9bc19b RD |
2233 | { |
2234 | wxPy_BEGIN_ALLOW_THREADS; | |
2235 | _result = (int )wxJoystickEvent_GetZPosition(_arg0); | |
2236 | ||
2237 | wxPy_END_ALLOW_THREADS; | |
2238 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2239 | return _resultobj; |
2240 | } | |
2241 | ||
2242 | #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState()) | |
107e4716 | 2243 | static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2244 | PyObject * _resultobj; |
2245 | int _result; | |
2246 | wxJoystickEvent * _arg0; | |
2d091820 | 2247 | PyObject * _argo0 = 0; |
107e4716 | 2248 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2249 | |
2250 | self = self; | |
107e4716 | 2251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonState",_kwnames,&_argo0)) |
70551f47 | 2252 | return NULL; |
2d091820 RD |
2253 | if (_argo0) { |
2254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p."); |
2257 | return NULL; | |
2258 | } | |
2259 | } | |
ab9bc19b RD |
2260 | { |
2261 | wxPy_BEGIN_ALLOW_THREADS; | |
2262 | _result = (int )wxJoystickEvent_GetButtonState(_arg0); | |
2263 | ||
2264 | wxPy_END_ALLOW_THREADS; | |
2265 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2266 | return _resultobj; |
2267 | } | |
2268 | ||
2269 | #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange()) | |
107e4716 | 2270 | static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2271 | PyObject * _resultobj; |
2272 | int _result; | |
2273 | wxJoystickEvent * _arg0; | |
2d091820 | 2274 | PyObject * _argo0 = 0; |
107e4716 | 2275 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2276 | |
2277 | self = self; | |
107e4716 | 2278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonChange",_kwnames,&_argo0)) |
70551f47 | 2279 | return NULL; |
2d091820 RD |
2280 | if (_argo0) { |
2281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p."); |
2284 | return NULL; | |
2285 | } | |
2286 | } | |
ab9bc19b RD |
2287 | { |
2288 | wxPy_BEGIN_ALLOW_THREADS; | |
2289 | _result = (int )wxJoystickEvent_GetButtonChange(_arg0); | |
2290 | ||
2291 | wxPy_END_ALLOW_THREADS; | |
2292 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2293 | return _resultobj; |
2294 | } | |
2295 | ||
2296 | #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick()) | |
107e4716 | 2297 | static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2298 | PyObject * _resultobj; |
2299 | int _result; | |
2300 | wxJoystickEvent * _arg0; | |
2d091820 | 2301 | PyObject * _argo0 = 0; |
107e4716 | 2302 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2303 | |
2304 | self = self; | |
107e4716 | 2305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetJoystick",_kwnames,&_argo0)) |
70551f47 | 2306 | return NULL; |
2d091820 RD |
2307 | if (_argo0) { |
2308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p."); |
2311 | return NULL; | |
2312 | } | |
2313 | } | |
ab9bc19b RD |
2314 | { |
2315 | wxPy_BEGIN_ALLOW_THREADS; | |
2316 | _result = (int )wxJoystickEvent_GetJoystick(_arg0); | |
2317 | ||
2318 | wxPy_END_ALLOW_THREADS; | |
2319 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2320 | return _resultobj; |
2321 | } | |
2322 | ||
2323 | #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0)) | |
107e4716 | 2324 | static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2325 | PyObject * _resultobj; |
2326 | wxJoystickEvent * _arg0; | |
2327 | int _arg1; | |
2d091820 | 2328 | PyObject * _argo0 = 0; |
107e4716 | 2329 | char *_kwnames[] = { "self","stick", NULL }; |
70551f47 RD |
2330 | |
2331 | self = self; | |
107e4716 | 2332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetJoystick",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2333 | return NULL; |
2d091820 RD |
2334 | if (_argo0) { |
2335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p."); |
2338 | return NULL; | |
2339 | } | |
2340 | } | |
ab9bc19b RD |
2341 | { |
2342 | wxPy_BEGIN_ALLOW_THREADS; | |
2343 | wxJoystickEvent_SetJoystick(_arg0,_arg1); | |
2344 | ||
2345 | wxPy_END_ALLOW_THREADS; | |
2346 | } Py_INCREF(Py_None); | |
70551f47 RD |
2347 | _resultobj = Py_None; |
2348 | return _resultobj; | |
2349 | } | |
2350 | ||
2351 | #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0)) | |
107e4716 | 2352 | static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2353 | PyObject * _resultobj; |
2354 | wxJoystickEvent * _arg0; | |
2355 | int _arg1; | |
2d091820 | 2356 | PyObject * _argo0 = 0; |
107e4716 | 2357 | char *_kwnames[] = { "self","state", NULL }; |
70551f47 RD |
2358 | |
2359 | self = self; | |
107e4716 | 2360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonState",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2361 | return NULL; |
2d091820 RD |
2362 | if (_argo0) { |
2363 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2364 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2365 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p."); |
2366 | return NULL; | |
2367 | } | |
2368 | } | |
ab9bc19b RD |
2369 | { |
2370 | wxPy_BEGIN_ALLOW_THREADS; | |
2371 | wxJoystickEvent_SetButtonState(_arg0,_arg1); | |
2372 | ||
2373 | wxPy_END_ALLOW_THREADS; | |
2374 | } Py_INCREF(Py_None); | |
70551f47 RD |
2375 | _resultobj = Py_None; |
2376 | return _resultobj; | |
2377 | } | |
2378 | ||
2379 | #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0)) | |
107e4716 | 2380 | static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2381 | PyObject * _resultobj; |
2382 | wxJoystickEvent * _arg0; | |
2383 | int _arg1; | |
2d091820 | 2384 | PyObject * _argo0 = 0; |
107e4716 | 2385 | char *_kwnames[] = { "self","change", NULL }; |
70551f47 RD |
2386 | |
2387 | self = self; | |
107e4716 | 2388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonChange",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2389 | return NULL; |
2d091820 RD |
2390 | if (_argo0) { |
2391 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2392 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2393 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p."); |
2394 | return NULL; | |
2395 | } | |
2396 | } | |
ab9bc19b RD |
2397 | { |
2398 | wxPy_BEGIN_ALLOW_THREADS; | |
2399 | wxJoystickEvent_SetButtonChange(_arg0,_arg1); | |
2400 | ||
2401 | wxPy_END_ALLOW_THREADS; | |
2402 | } Py_INCREF(Py_None); | |
70551f47 RD |
2403 | _resultobj = Py_None; |
2404 | return _resultobj; | |
2405 | } | |
2406 | ||
2407 | #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
107e4716 | 2408 | static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2409 | PyObject * _resultobj; |
2410 | wxJoystickEvent * _arg0; | |
2411 | wxPoint * _arg1; | |
2d091820 RD |
2412 | PyObject * _argo0 = 0; |
2413 | PyObject * _argo1 = 0; | |
107e4716 | 2414 | char *_kwnames[] = { "self","pos", NULL }; |
70551f47 RD |
2415 | |
2416 | self = self; | |
107e4716 | 2417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_argo1)) |
70551f47 | 2418 | return NULL; |
2d091820 RD |
2419 | if (_argo0) { |
2420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p."); |
2423 | return NULL; | |
2424 | } | |
2425 | } | |
2d091820 RD |
2426 | if (_argo1) { |
2427 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2428 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) { | |
70551f47 RD |
2429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p."); |
2430 | return NULL; | |
2431 | } | |
2432 | } | |
ab9bc19b RD |
2433 | { |
2434 | wxPy_BEGIN_ALLOW_THREADS; | |
2435 | wxJoystickEvent_SetPosition(_arg0,*_arg1); | |
2436 | ||
2437 | wxPy_END_ALLOW_THREADS; | |
2438 | } Py_INCREF(Py_None); | |
70551f47 RD |
2439 | _resultobj = Py_None; |
2440 | return _resultobj; | |
2441 | } | |
2442 | ||
2443 | #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0)) | |
107e4716 | 2444 | static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2445 | PyObject * _resultobj; |
2446 | wxJoystickEvent * _arg0; | |
2447 | int _arg1; | |
2d091820 | 2448 | PyObject * _argo0 = 0; |
107e4716 | 2449 | char *_kwnames[] = { "self","zPos", NULL }; |
70551f47 RD |
2450 | |
2451 | self = self; | |
107e4716 | 2452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetZPosition",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2453 | return NULL; |
2d091820 RD |
2454 | if (_argo0) { |
2455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p."); |
2458 | return NULL; | |
2459 | } | |
2460 | } | |
ab9bc19b RD |
2461 | { |
2462 | wxPy_BEGIN_ALLOW_THREADS; | |
2463 | wxJoystickEvent_SetZPosition(_arg0,_arg1); | |
2464 | ||
2465 | wxPy_END_ALLOW_THREADS; | |
2466 | } Py_INCREF(Py_None); | |
70551f47 RD |
2467 | _resultobj = Py_None; |
2468 | return _resultobj; | |
2469 | } | |
2470 | ||
2471 | #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton()) | |
107e4716 | 2472 | static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2473 | PyObject * _resultobj; |
2474 | bool _result; | |
2475 | wxJoystickEvent * _arg0; | |
2d091820 | 2476 | PyObject * _argo0 = 0; |
107e4716 | 2477 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2478 | |
2479 | self = self; | |
107e4716 | 2480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsButton",_kwnames,&_argo0)) |
70551f47 | 2481 | return NULL; |
2d091820 RD |
2482 | if (_argo0) { |
2483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p."); |
2486 | return NULL; | |
2487 | } | |
2488 | } | |
ab9bc19b RD |
2489 | { |
2490 | wxPy_BEGIN_ALLOW_THREADS; | |
2491 | _result = (bool )wxJoystickEvent_IsButton(_arg0); | |
2492 | ||
2493 | wxPy_END_ALLOW_THREADS; | |
2494 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2495 | return _resultobj; |
2496 | } | |
2497 | ||
2498 | #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove()) | |
107e4716 | 2499 | static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2500 | PyObject * _resultobj; |
2501 | bool _result; | |
2502 | wxJoystickEvent * _arg0; | |
2d091820 | 2503 | PyObject * _argo0 = 0; |
107e4716 | 2504 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2505 | |
2506 | self = self; | |
107e4716 | 2507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsMove",_kwnames,&_argo0)) |
70551f47 | 2508 | return NULL; |
2d091820 RD |
2509 | if (_argo0) { |
2510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p."); |
2513 | return NULL; | |
2514 | } | |
2515 | } | |
ab9bc19b RD |
2516 | { |
2517 | wxPy_BEGIN_ALLOW_THREADS; | |
2518 | _result = (bool )wxJoystickEvent_IsMove(_arg0); | |
2519 | ||
2520 | wxPy_END_ALLOW_THREADS; | |
2521 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2522 | return _resultobj; |
2523 | } | |
2524 | ||
2525 | #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove()) | |
107e4716 | 2526 | static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2527 | PyObject * _resultobj; |
2528 | bool _result; | |
2529 | wxJoystickEvent * _arg0; | |
2d091820 | 2530 | PyObject * _argo0 = 0; |
107e4716 | 2531 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2532 | |
2533 | self = self; | |
107e4716 | 2534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsZMove",_kwnames,&_argo0)) |
70551f47 | 2535 | return NULL; |
2d091820 RD |
2536 | if (_argo0) { |
2537 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2538 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2539 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p."); |
2540 | return NULL; | |
2541 | } | |
2542 | } | |
ab9bc19b RD |
2543 | { |
2544 | wxPy_BEGIN_ALLOW_THREADS; | |
2545 | _result = (bool )wxJoystickEvent_IsZMove(_arg0); | |
2546 | ||
2547 | wxPy_END_ALLOW_THREADS; | |
2548 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2549 | return _resultobj; |
2550 | } | |
2551 | ||
2552 | #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0)) | |
107e4716 | 2553 | static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2554 | PyObject * _resultobj; |
2555 | bool _result; | |
2556 | wxJoystickEvent * _arg0; | |
2d091820 RD |
2557 | int _arg1 = (int ) wxJOY_BUTTON_ANY; |
2558 | PyObject * _argo0 = 0; | |
107e4716 | 2559 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
2560 | |
2561 | self = self; | |
107e4716 | 2562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonDown",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2563 | return NULL; |
2d091820 RD |
2564 | if (_argo0) { |
2565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p."); |
2568 | return NULL; | |
2569 | } | |
2570 | } | |
ab9bc19b RD |
2571 | { |
2572 | wxPy_BEGIN_ALLOW_THREADS; | |
2573 | _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1); | |
2574 | ||
2575 | wxPy_END_ALLOW_THREADS; | |
2576 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2577 | return _resultobj; |
2578 | } | |
2579 | ||
2580 | #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0)) | |
107e4716 | 2581 | static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2582 | PyObject * _resultobj; |
2583 | bool _result; | |
2584 | wxJoystickEvent * _arg0; | |
2d091820 RD |
2585 | int _arg1 = (int ) wxJOY_BUTTON_ANY; |
2586 | PyObject * _argo0 = 0; | |
107e4716 | 2587 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
2588 | |
2589 | self = self; | |
107e4716 | 2590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonUp",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2591 | return NULL; |
2d091820 RD |
2592 | if (_argo0) { |
2593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p."); |
2596 | return NULL; | |
2597 | } | |
2598 | } | |
ab9bc19b RD |
2599 | { |
2600 | wxPy_BEGIN_ALLOW_THREADS; | |
2601 | _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1); | |
2602 | ||
2603 | wxPy_END_ALLOW_THREADS; | |
2604 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2605 | return _resultobj; |
2606 | } | |
2607 | ||
2608 | #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0)) | |
107e4716 | 2609 | static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2610 | PyObject * _resultobj; |
2611 | bool _result; | |
2612 | wxJoystickEvent * _arg0; | |
2d091820 RD |
2613 | int _arg1 = (int ) wxJOY_BUTTON_ANY; |
2614 | PyObject * _argo0 = 0; | |
107e4716 | 2615 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
2616 | |
2617 | self = self; | |
107e4716 | 2618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2619 | return NULL; |
2d091820 RD |
2620 | if (_argo0) { |
2621 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2622 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p."); |
2624 | return NULL; | |
2625 | } | |
2626 | } | |
ab9bc19b RD |
2627 | { |
2628 | wxPy_BEGIN_ALLOW_THREADS; | |
2629 | _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1); | |
2630 | ||
2631 | wxPy_END_ALLOW_THREADS; | |
2632 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2633 | return _resultobj; |
2634 | } | |
2635 | ||
2636 | static void *SwigwxDropFilesEventTowxEvent(void *ptr) { | |
2637 | wxDropFilesEvent *src; | |
2638 | wxEvent *dest; | |
2639 | src = (wxDropFilesEvent *) ptr; | |
2640 | dest = (wxEvent *) src; | |
2641 | return (void *) dest; | |
2642 | } | |
2643 | ||
2644 | #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 2645 | static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2646 | PyObject * _resultobj; |
2647 | wxPoint * _result; | |
2648 | wxDropFilesEvent * _arg0; | |
2d091820 | 2649 | PyObject * _argo0 = 0; |
107e4716 | 2650 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2651 | char _ptemp[128]; |
2652 | ||
2653 | self = self; | |
107e4716 | 2654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 2655 | return NULL; |
2d091820 RD |
2656 | if (_argo0) { |
2657 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2658 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { | |
70551f47 RD |
2659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p."); |
2660 | return NULL; | |
2661 | } | |
2662 | } | |
ab9bc19b RD |
2663 | { |
2664 | wxPy_BEGIN_ALLOW_THREADS; | |
2665 | _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0)); | |
2666 | ||
2667 | wxPy_END_ALLOW_THREADS; | |
2668 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
2669 | _resultobj = Py_BuildValue("s",_ptemp); |
2670 | return _resultobj; | |
2671 | } | |
2672 | ||
2673 | #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles()) | |
107e4716 | 2674 | static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2675 | PyObject * _resultobj; |
2676 | int _result; | |
2677 | wxDropFilesEvent * _arg0; | |
2d091820 | 2678 | PyObject * _argo0 = 0; |
107e4716 | 2679 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2680 | |
2681 | self = self; | |
107e4716 | 2682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames,&_argo0)) |
70551f47 | 2683 | return NULL; |
2d091820 RD |
2684 | if (_argo0) { |
2685 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2686 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { | |
70551f47 RD |
2687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p."); |
2688 | return NULL; | |
2689 | } | |
2690 | } | |
ab9bc19b RD |
2691 | { |
2692 | wxPy_BEGIN_ALLOW_THREADS; | |
2693 | _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0); | |
2694 | ||
2695 | wxPy_END_ALLOW_THREADS; | |
2696 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2697 | return _resultobj; |
2698 | } | |
2699 | ||
2700 | static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) { | |
2701 | int count = self->GetNumberOfFiles(); | |
2702 | wxString* files = self->GetFiles(); | |
2703 | PyObject* list = PyList_New(count); | |
2704 | ||
2705 | if (!list) { | |
2706 | PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!"); | |
2707 | return NULL; | |
2708 | } | |
2709 | ||
2710 | for (int i=0; i<count; i++) { | |
2711 | PyList_SetItem(list, i, PyString_FromString((const char*)files[i])); | |
2712 | } | |
2713 | return list; | |
2714 | } | |
107e4716 | 2715 | static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2716 | PyObject * _resultobj; |
2717 | PyObject * _result; | |
2718 | wxDropFilesEvent * _arg0; | |
2d091820 | 2719 | PyObject * _argo0 = 0; |
107e4716 | 2720 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2721 | |
2722 | self = self; | |
107e4716 | 2723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetFiles",_kwnames,&_argo0)) |
70551f47 | 2724 | return NULL; |
2d091820 RD |
2725 | if (_argo0) { |
2726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { | |
70551f47 RD |
2728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p."); |
2729 | return NULL; | |
2730 | } | |
2731 | } | |
70551f47 | 2732 | { |
ab9bc19b RD |
2733 | wxPy_BEGIN_ALLOW_THREADS; |
2734 | _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0); | |
2735 | ||
2736 | wxPy_END_ALLOW_THREADS; | |
2737 | }{ | |
70551f47 RD |
2738 | _resultobj = _result; |
2739 | } | |
2740 | return _resultobj; | |
2741 | } | |
2742 | ||
2743 | static void *SwigwxIdleEventTowxEvent(void *ptr) { | |
2744 | wxIdleEvent *src; | |
2745 | wxEvent *dest; | |
2746 | src = (wxIdleEvent *) ptr; | |
2747 | dest = (wxEvent *) src; | |
2748 | return (void *) dest; | |
2749 | } | |
2750 | ||
2751 | #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0)) | |
107e4716 | 2752 | static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2753 | PyObject * _resultobj; |
2754 | wxIdleEvent * _arg0; | |
2d091820 RD |
2755 | bool _arg1 = (bool ) TRUE; |
2756 | PyObject * _argo0 = 0; | |
2757 | int tempbool1 = (int) TRUE; | |
107e4716 | 2758 | char *_kwnames[] = { "self","needMore", NULL }; |
70551f47 RD |
2759 | |
2760 | self = self; | |
107e4716 | 2761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIdleEvent_RequestMore",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 2762 | return NULL; |
2d091820 RD |
2763 | if (_argo0) { |
2764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) { | |
70551f47 RD |
2766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p."); |
2767 | return NULL; | |
2768 | } | |
2769 | } | |
2770 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
2771 | { |
2772 | wxPy_BEGIN_ALLOW_THREADS; | |
2773 | wxIdleEvent_RequestMore(_arg0,_arg1); | |
2774 | ||
2775 | wxPy_END_ALLOW_THREADS; | |
2776 | } Py_INCREF(Py_None); | |
70551f47 RD |
2777 | _resultobj = Py_None; |
2778 | return _resultobj; | |
2779 | } | |
2780 | ||
2781 | #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested()) | |
107e4716 | 2782 | static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2783 | PyObject * _resultobj; |
2784 | bool _result; | |
2785 | wxIdleEvent * _arg0; | |
2d091820 | 2786 | PyObject * _argo0 = 0; |
107e4716 | 2787 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2788 | |
2789 | self = self; | |
107e4716 | 2790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIdleEvent_MoreRequested",_kwnames,&_argo0)) |
70551f47 | 2791 | return NULL; |
2d091820 RD |
2792 | if (_argo0) { |
2793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) { | |
70551f47 RD |
2795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p."); |
2796 | return NULL; | |
2797 | } | |
2798 | } | |
ab9bc19b RD |
2799 | { |
2800 | wxPy_BEGIN_ALLOW_THREADS; | |
2801 | _result = (bool )wxIdleEvent_MoreRequested(_arg0); | |
2802 | ||
2803 | wxPy_END_ALLOW_THREADS; | |
2804 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2805 | return _resultobj; |
2806 | } | |
2807 | ||
2808 | static void *SwigwxUpdateUIEventTowxEvent(void *ptr) { | |
2809 | wxUpdateUIEvent *src; | |
2810 | wxEvent *dest; | |
2811 | src = (wxUpdateUIEvent *) ptr; | |
2812 | dest = (wxEvent *) src; | |
2813 | return (void *) dest; | |
2814 | } | |
2815 | ||
2816 | #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked()) | |
107e4716 | 2817 | static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2818 | PyObject * _resultobj; |
2819 | bool _result; | |
2820 | wxUpdateUIEvent * _arg0; | |
2d091820 | 2821 | PyObject * _argo0 = 0; |
107e4716 | 2822 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2823 | |
2824 | self = self; | |
107e4716 | 2825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetChecked",_kwnames,&_argo0)) |
70551f47 | 2826 | return NULL; |
2d091820 RD |
2827 | if (_argo0) { |
2828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
2830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p."); |
2831 | return NULL; | |
2832 | } | |
2833 | } | |
ab9bc19b RD |
2834 | { |
2835 | wxPy_BEGIN_ALLOW_THREADS; | |
2836 | _result = (bool )wxUpdateUIEvent_GetChecked(_arg0); | |
2837 | ||
2838 | wxPy_END_ALLOW_THREADS; | |
2839 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2840 | return _resultobj; |
2841 | } | |
2842 | ||
2843 | #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled()) | |
107e4716 | 2844 | static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2845 | PyObject * _resultobj; |
2846 | bool _result; | |
2847 | wxUpdateUIEvent * _arg0; | |
2d091820 | 2848 | PyObject * _argo0 = 0; |
107e4716 | 2849 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2850 | |
2851 | self = self; | |
107e4716 | 2852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetEnabled",_kwnames,&_argo0)) |
70551f47 | 2853 | return NULL; |
2d091820 RD |
2854 | if (_argo0) { |
2855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
2857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p."); |
2858 | return NULL; | |
2859 | } | |
2860 | } | |
ab9bc19b RD |
2861 | { |
2862 | wxPy_BEGIN_ALLOW_THREADS; | |
2863 | _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0); | |
2864 | ||
2865 | wxPy_END_ALLOW_THREADS; | |
2866 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2867 | return _resultobj; |
2868 | } | |
2869 | ||
2870 | #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText()) | |
107e4716 | 2871 | static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2872 | PyObject * _resultobj; |
2873 | wxString * _result; | |
2874 | wxUpdateUIEvent * _arg0; | |
2d091820 | 2875 | PyObject * _argo0 = 0; |
107e4716 | 2876 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2877 | |
2878 | self = self; | |
107e4716 | 2879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetText",_kwnames,&_argo0)) |
70551f47 | 2880 | return NULL; |
2d091820 RD |
2881 | if (_argo0) { |
2882 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2883 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
2884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p."); |
2885 | return NULL; | |
2886 | } | |
2887 | } | |
70551f47 | 2888 | { |
ab9bc19b RD |
2889 | wxPy_BEGIN_ALLOW_THREADS; |
2890 | _result = new wxString (wxUpdateUIEvent_GetText(_arg0)); | |
2891 | ||
2892 | wxPy_END_ALLOW_THREADS; | |
2893 | }{ | |
70551f47 RD |
2894 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
2895 | } | |
2896 | { | |
2897 | delete _result; | |
2898 | } | |
2899 | return _resultobj; | |
2900 | } | |
2901 | ||
2902 | #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText()) | |
107e4716 | 2903 | static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2904 | PyObject * _resultobj; |
2905 | bool _result; | |
2906 | wxUpdateUIEvent * _arg0; | |
2d091820 | 2907 | PyObject * _argo0 = 0; |
107e4716 | 2908 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2909 | |
2910 | self = self; | |
107e4716 | 2911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetText",_kwnames,&_argo0)) |
70551f47 | 2912 | return NULL; |
2d091820 RD |
2913 | if (_argo0) { |
2914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
2916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p."); |
2917 | return NULL; | |
2918 | } | |
2919 | } | |
ab9bc19b RD |
2920 | { |
2921 | wxPy_BEGIN_ALLOW_THREADS; | |
2922 | _result = (bool )wxUpdateUIEvent_GetSetText(_arg0); | |
2923 | ||
2924 | wxPy_END_ALLOW_THREADS; | |
2925 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2926 | return _resultobj; |
2927 | } | |
2928 | ||
2929 | #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked()) | |
107e4716 | 2930 | static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2931 | PyObject * _resultobj; |
2932 | bool _result; | |
2933 | wxUpdateUIEvent * _arg0; | |
2d091820 | 2934 | PyObject * _argo0 = 0; |
107e4716 | 2935 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2936 | |
2937 | self = self; | |
107e4716 | 2938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetChecked",_kwnames,&_argo0)) |
70551f47 | 2939 | return NULL; |
2d091820 RD |
2940 | if (_argo0) { |
2941 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2942 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
2943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p."); |
2944 | return NULL; | |
2945 | } | |
2946 | } | |
ab9bc19b RD |
2947 | { |
2948 | wxPy_BEGIN_ALLOW_THREADS; | |
2949 | _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0); | |
2950 | ||
2951 | wxPy_END_ALLOW_THREADS; | |
2952 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2953 | return _resultobj; |
2954 | } | |
2955 | ||
2956 | #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled()) | |
107e4716 | 2957 | static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2958 | PyObject * _resultobj; |
2959 | bool _result; | |
2960 | wxUpdateUIEvent * _arg0; | |
2d091820 | 2961 | PyObject * _argo0 = 0; |
107e4716 | 2962 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2963 | |
2964 | self = self; | |
107e4716 | 2965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames,&_argo0)) |
70551f47 | 2966 | return NULL; |
2d091820 RD |
2967 | if (_argo0) { |
2968 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2969 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
2970 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p."); |
2971 | return NULL; | |
2972 | } | |
2973 | } | |
ab9bc19b RD |
2974 | { |
2975 | wxPy_BEGIN_ALLOW_THREADS; | |
2976 | _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0); | |
2977 | ||
2978 | wxPy_END_ALLOW_THREADS; | |
2979 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2980 | return _resultobj; |
2981 | } | |
2982 | ||
2983 | #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0)) | |
107e4716 | 2984 | static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2985 | PyObject * _resultobj; |
2986 | wxUpdateUIEvent * _arg0; | |
2987 | bool _arg1; | |
2d091820 | 2988 | PyObject * _argo0 = 0; |
70551f47 | 2989 | int tempbool1; |
107e4716 | 2990 | char *_kwnames[] = { "self","check", NULL }; |
70551f47 RD |
2991 | |
2992 | self = self; | |
107e4716 | 2993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Check",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 2994 | return NULL; |
2d091820 RD |
2995 | if (_argo0) { |
2996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
2998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p."); |
2999 | return NULL; | |
3000 | } | |
3001 | } | |
3002 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
3003 | { |
3004 | wxPy_BEGIN_ALLOW_THREADS; | |
3005 | wxUpdateUIEvent_Check(_arg0,_arg1); | |
3006 | ||
3007 | wxPy_END_ALLOW_THREADS; | |
3008 | } Py_INCREF(Py_None); | |
70551f47 RD |
3009 | _resultobj = Py_None; |
3010 | return _resultobj; | |
3011 | } | |
3012 | ||
3013 | #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) | |
107e4716 | 3014 | static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3015 | PyObject * _resultobj; |
3016 | wxUpdateUIEvent * _arg0; | |
3017 | bool _arg1; | |
2d091820 | 3018 | PyObject * _argo0 = 0; |
70551f47 | 3019 | int tempbool1; |
107e4716 | 3020 | char *_kwnames[] = { "self","enable", NULL }; |
70551f47 RD |
3021 | |
3022 | self = self; | |
107e4716 | 3023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Enable",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 3024 | return NULL; |
2d091820 RD |
3025 | if (_argo0) { |
3026 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3027 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
3028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p."); |
3029 | return NULL; | |
3030 | } | |
3031 | } | |
3032 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
3033 | { |
3034 | wxPy_BEGIN_ALLOW_THREADS; | |
3035 | wxUpdateUIEvent_Enable(_arg0,_arg1); | |
3036 | ||
3037 | wxPy_END_ALLOW_THREADS; | |
3038 | } Py_INCREF(Py_None); | |
70551f47 RD |
3039 | _resultobj = Py_None; |
3040 | return _resultobj; | |
3041 | } | |
3042 | ||
3043 | #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
107e4716 | 3044 | static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3045 | PyObject * _resultobj; |
3046 | wxUpdateUIEvent * _arg0; | |
3047 | wxString * _arg1; | |
2d091820 | 3048 | PyObject * _argo0 = 0; |
70551f47 | 3049 | PyObject * _obj1 = 0; |
107e4716 | 3050 | char *_kwnames[] = { "self","text", NULL }; |
70551f47 RD |
3051 | |
3052 | self = self; | |
107e4716 | 3053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxUpdateUIEvent_SetText",_kwnames,&_argo0,&_obj1)) |
70551f47 | 3054 | return NULL; |
2d091820 RD |
3055 | if (_argo0) { |
3056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
3058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p."); |
3059 | return NULL; | |
3060 | } | |
3061 | } | |
3062 | { | |
3063 | if (!PyString_Check(_obj1)) { | |
3064 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3065 | return NULL; | |
3066 | } | |
ab9bc19b | 3067 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 3068 | } |
ab9bc19b RD |
3069 | { |
3070 | wxPy_BEGIN_ALLOW_THREADS; | |
3071 | wxUpdateUIEvent_SetText(_arg0,*_arg1); | |
3072 | ||
3073 | wxPy_END_ALLOW_THREADS; | |
3074 | } Py_INCREF(Py_None); | |
70551f47 RD |
3075 | _resultobj = Py_None; |
3076 | { | |
3077 | if (_obj1) | |
3078 | delete _arg1; | |
3079 | } | |
3080 | return _resultobj; | |
3081 | } | |
3082 | ||
3083 | static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) { | |
3084 | wxSysColourChangedEvent *src; | |
3085 | wxEvent *dest; | |
3086 | src = (wxSysColourChangedEvent *) ptr; | |
3087 | dest = (wxEvent *) src; | |
3088 | return (void *) dest; | |
3089 | } | |
3090 | ||
ab9bc19b RD |
3091 | static void *SwigwxPyEventTowxCommandEvent(void *ptr) { |
3092 | wxPyEvent *src; | |
3093 | wxCommandEvent *dest; | |
3094 | src = (wxPyEvent *) ptr; | |
3095 | dest = (wxCommandEvent *) src; | |
3096 | return (void *) dest; | |
3097 | } | |
3098 | ||
3099 | static void *SwigwxPyEventTowxEvent(void *ptr) { | |
3100 | wxPyEvent *src; | |
3101 | wxEvent *dest; | |
3102 | src = (wxPyEvent *) ptr; | |
3103 | dest = (wxEvent *) src; | |
3104 | return (void *) dest; | |
3105 | } | |
3106 | ||
3107 | #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1)) | |
107e4716 | 3108 | static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
3109 | PyObject * _resultobj; |
3110 | wxPyEvent * _result; | |
2d091820 RD |
3111 | wxEventType _arg0 = (wxEventType ) wxEVT_NULL; |
3112 | PyObject * _arg1 = (PyObject *) Py_None; | |
ab9bc19b | 3113 | PyObject * _obj1 = 0; |
107e4716 | 3114 | char *_kwnames[] = { "commandType","userData", NULL }; |
ab9bc19b RD |
3115 | char _ptemp[128]; |
3116 | ||
3117 | self = self; | |
107e4716 | 3118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxPyEvent",_kwnames,&_arg0,&_obj1)) |
ab9bc19b RD |
3119 | return NULL; |
3120 | if (_obj1) | |
3121 | { | |
3122 | _arg1 = _obj1; | |
3123 | } | |
3124 | { | |
3125 | wxPy_BEGIN_ALLOW_THREADS; | |
3126 | _result = (wxPyEvent *)new_wxPyEvent(_arg0,_arg1); | |
3127 | ||
3128 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3129 | } if (_result) { |
3130 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p"); | |
3131 | _resultobj = Py_BuildValue("s",_ptemp); | |
3132 | } else { | |
3133 | Py_INCREF(Py_None); | |
3134 | _resultobj = Py_None; | |
3135 | } | |
ab9bc19b RD |
3136 | return _resultobj; |
3137 | } | |
3138 | ||
3139 | #define delete_wxPyEvent(_swigobj) (delete _swigobj) | |
107e4716 | 3140 | static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
3141 | PyObject * _resultobj; |
3142 | wxPyEvent * _arg0; | |
2d091820 | 3143 | PyObject * _argo0 = 0; |
107e4716 | 3144 | char *_kwnames[] = { "self", NULL }; |
ab9bc19b RD |
3145 | |
3146 | self = self; | |
107e4716 | 3147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0)) |
ab9bc19b | 3148 | return NULL; |
2d091820 RD |
3149 | if (_argo0) { |
3150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
ab9bc19b RD |
3152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p."); |
3153 | return NULL; | |
3154 | } | |
3155 | } | |
3156 | { | |
3157 | wxPy_BEGIN_ALLOW_THREADS; | |
3158 | delete_wxPyEvent(_arg0); | |
3159 | ||
3160 | wxPy_END_ALLOW_THREADS; | |
3161 | } Py_INCREF(Py_None); | |
3162 | _resultobj = Py_None; | |
3163 | return _resultobj; | |
3164 | } | |
3165 | ||
3166 | #define wxPyEvent_SetUserData(_swigobj,_swigarg0) (_swigobj->SetUserData(_swigarg0)) | |
107e4716 | 3167 | static PyObject *_wrap_wxPyEvent_SetUserData(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
3168 | PyObject * _resultobj; |
3169 | wxPyEvent * _arg0; | |
3170 | PyObject * _arg1; | |
2d091820 | 3171 | PyObject * _argo0 = 0; |
ab9bc19b | 3172 | PyObject * _obj1 = 0; |
107e4716 | 3173 | char *_kwnames[] = { "self","userData", NULL }; |
ab9bc19b RD |
3174 | |
3175 | self = self; | |
107e4716 | 3176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetUserData",_kwnames,&_argo0,&_obj1)) |
ab9bc19b | 3177 | return NULL; |
2d091820 RD |
3178 | if (_argo0) { |
3179 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3180 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
ab9bc19b RD |
3181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetUserData. Expected _wxPyEvent_p."); |
3182 | return NULL; | |
3183 | } | |
3184 | } | |
3185 | { | |
3186 | _arg1 = _obj1; | |
3187 | } | |
3188 | { | |
3189 | wxPy_BEGIN_ALLOW_THREADS; | |
3190 | wxPyEvent_SetUserData(_arg0,_arg1); | |
3191 | ||
3192 | wxPy_END_ALLOW_THREADS; | |
3193 | } Py_INCREF(Py_None); | |
3194 | _resultobj = Py_None; | |
3195 | return _resultobj; | |
3196 | } | |
3197 | ||
3198 | #define wxPyEvent_GetUserData(_swigobj) (_swigobj->GetUserData()) | |
107e4716 | 3199 | static PyObject *_wrap_wxPyEvent_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
3200 | PyObject * _resultobj; |
3201 | PyObject * _result; | |
3202 | wxPyEvent * _arg0; | |
2d091820 | 3203 | PyObject * _argo0 = 0; |
107e4716 | 3204 | char *_kwnames[] = { "self", NULL }; |
ab9bc19b RD |
3205 | |
3206 | self = self; | |
107e4716 | 3207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetUserData",_kwnames,&_argo0)) |
ab9bc19b | 3208 | return NULL; |
2d091820 RD |
3209 | if (_argo0) { |
3210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
ab9bc19b RD |
3212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetUserData. Expected _wxPyEvent_p."); |
3213 | return NULL; | |
3214 | } | |
3215 | } | |
3216 | { | |
3217 | wxPy_BEGIN_ALLOW_THREADS; | |
3218 | _result = (PyObject *)wxPyEvent_GetUserData(_arg0); | |
3219 | ||
3220 | wxPy_END_ALLOW_THREADS; | |
3221 | }{ | |
3222 | _resultobj = _result; | |
3223 | } | |
3224 | return _resultobj; | |
3225 | } | |
3226 | ||
d24a34bb RD |
3227 | static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) { |
3228 | wxNotifyEvent *src; | |
3229 | wxCommandEvent *dest; | |
3230 | src = (wxNotifyEvent *) ptr; | |
3231 | dest = (wxCommandEvent *) src; | |
3232 | return (void *) dest; | |
3233 | } | |
3234 | ||
3235 | static void *SwigwxNotifyEventTowxEvent(void *ptr) { | |
3236 | wxNotifyEvent *src; | |
3237 | wxEvent *dest; | |
3238 | src = (wxNotifyEvent *) ptr; | |
3239 | dest = (wxEvent *) src; | |
3240 | return (void *) dest; | |
3241 | } | |
3242 | ||
3243 | #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed()) | |
107e4716 | 3244 | static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3245 | PyObject * _resultobj; |
3246 | bool _result; | |
3247 | wxNotifyEvent * _arg0; | |
2d091820 | 3248 | PyObject * _argo0 = 0; |
107e4716 | 3249 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3250 | |
3251 | self = self; | |
107e4716 | 3252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_IsAllowed",_kwnames,&_argo0)) |
d24a34bb | 3253 | return NULL; |
2d091820 RD |
3254 | if (_argo0) { |
3255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) { | |
d24a34bb RD |
3257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p."); |
3258 | return NULL; | |
3259 | } | |
3260 | } | |
3261 | { | |
3262 | wxPy_BEGIN_ALLOW_THREADS; | |
3263 | _result = (bool )wxNotifyEvent_IsAllowed(_arg0); | |
3264 | ||
3265 | wxPy_END_ALLOW_THREADS; | |
3266 | } _resultobj = Py_BuildValue("i",_result); | |
3267 | return _resultobj; | |
3268 | } | |
3269 | ||
3270 | #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto()) | |
107e4716 | 3271 | static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3272 | PyObject * _resultobj; |
3273 | wxNotifyEvent * _arg0; | |
2d091820 | 3274 | PyObject * _argo0 = 0; |
107e4716 | 3275 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3276 | |
3277 | self = self; | |
107e4716 | 3278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Veto",_kwnames,&_argo0)) |
d24a34bb | 3279 | return NULL; |
2d091820 RD |
3280 | if (_argo0) { |
3281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) { | |
d24a34bb RD |
3283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p."); |
3284 | return NULL; | |
3285 | } | |
3286 | } | |
3287 | { | |
3288 | wxPy_BEGIN_ALLOW_THREADS; | |
3289 | wxNotifyEvent_Veto(_arg0); | |
3290 | ||
3291 | wxPy_END_ALLOW_THREADS; | |
3292 | } Py_INCREF(Py_None); | |
3293 | _resultobj = Py_None; | |
3294 | return _resultobj; | |
3295 | } | |
3296 | ||
70551f47 | 3297 | static PyMethodDef eventscMethods[] = { |
107e4716 RD |
3298 | { "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS }, |
3299 | { "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS }, | |
3300 | { "wxPyEvent_GetUserData", (PyCFunction) _wrap_wxPyEvent_GetUserData, METH_VARARGS | METH_KEYWORDS }, | |
3301 | { "wxPyEvent_SetUserData", (PyCFunction) _wrap_wxPyEvent_SetUserData, METH_VARARGS | METH_KEYWORDS }, | |
3302 | { "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS }, | |
3303 | { "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS }, | |
3304 | { "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
3305 | { "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS }, | |
3306 | { "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS }, | |
3307 | { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS }, | |
3308 | { "wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS }, | |
3309 | { "wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS }, | |
3310 | { "wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
3311 | { "wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS }, | |
3312 | { "wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS }, | |
3313 | { "wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS }, | |
3314 | { "wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS }, | |
3315 | { "wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS }, | |
3316 | { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS }, | |
3317 | { "wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3318 | { "wxJoystickEvent_ButtonIsDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3319 | { "wxJoystickEvent_ButtonUp", (PyCFunction) _wrap_wxJoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS }, | |
3320 | { "wxJoystickEvent_ButtonDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS }, | |
3321 | { "wxJoystickEvent_IsZMove", (PyCFunction) _wrap_wxJoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS }, | |
3322 | { "wxJoystickEvent_IsMove", (PyCFunction) _wrap_wxJoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS }, | |
3323 | { "wxJoystickEvent_IsButton", (PyCFunction) _wrap_wxJoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS }, | |
3324 | { "wxJoystickEvent_SetZPosition", (PyCFunction) _wrap_wxJoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS }, | |
3325 | { "wxJoystickEvent_SetPosition", (PyCFunction) _wrap_wxJoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3326 | { "wxJoystickEvent_SetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS }, | |
3327 | { "wxJoystickEvent_SetButtonState", (PyCFunction) _wrap_wxJoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS }, | |
3328 | { "wxJoystickEvent_SetJoystick", (PyCFunction) _wrap_wxJoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS }, | |
3329 | { "wxJoystickEvent_GetJoystick", (PyCFunction) _wrap_wxJoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS }, | |
3330 | { "wxJoystickEvent_GetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS }, | |
3331 | { "wxJoystickEvent_GetButtonState", (PyCFunction) _wrap_wxJoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS }, | |
3332 | { "wxJoystickEvent_GetZPosition", (PyCFunction) _wrap_wxJoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS }, | |
3333 | { "wxJoystickEvent_GetPosition", (PyCFunction) _wrap_wxJoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3334 | { "wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS }, | |
3335 | { "wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS }, | |
3336 | { "wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS }, | |
3337 | { "wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS }, | |
3338 | { "wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
3339 | { "wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3340 | { "wxKeyEvent_KeyCode", (PyCFunction) _wrap_wxKeyEvent_KeyCode, METH_VARARGS | METH_KEYWORDS }, | |
3341 | { "wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
3342 | { "wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
3343 | { "wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
3344 | { "wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
3345 | { "wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
3346 | { "wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
3347 | { "wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS }, | |
3348 | { "wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3349 | { "wxMouseEvent_Position", (PyCFunction) _wrap_wxMouseEvent_Position, METH_VARARGS | METH_KEYWORDS }, | |
3350 | { "wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS }, | |
3351 | { "wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS }, | |
3352 | { "wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS }, | |
3353 | { "wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS }, | |
3354 | { "wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3355 | { "wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3356 | { "wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3357 | { "wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS }, | |
3358 | { "wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS }, | |
3359 | { "wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS }, | |
3360 | { "wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS }, | |
3361 | { "wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS }, | |
3362 | { "wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS }, | |
3363 | { "wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS }, | |
3364 | { "wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS }, | |
3365 | { "wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS }, | |
3366 | { "wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
3367 | { "wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
3368 | { "wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
3369 | { "wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
3370 | { "wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3371 | { "wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS }, | |
3372 | { "wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS }, | |
3373 | { "wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS }, | |
3374 | { "wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS }, | |
3375 | { "wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS }, | |
3376 | { "wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3377 | { "wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
3378 | { "wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS }, | |
3379 | { "wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS }, | |
3380 | { "wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
3381 | { "wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS }, | |
3382 | { "wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS }, | |
3383 | { "wxCommandEvent_Checked", (PyCFunction) _wrap_wxCommandEvent_Checked, METH_VARARGS | METH_KEYWORDS }, | |
3384 | { "wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS }, | |
3385 | { "wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS }, | |
3386 | { "wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS }, | |
3387 | { "wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS }, | |
3388 | { "wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS }, | |
3389 | { "wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS }, | |
3390 | { "wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
3391 | { "wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS }, | |
3392 | { "wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS }, | |
3393 | { "wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS }, | |
3394 | { "wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS }, | |
3395 | { "wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS }, | |
3396 | { "wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS }, | |
3397 | { "wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS }, | |
3398 | { "wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS }, | |
3399 | { "wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS }, | |
3400 | { "wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS }, | |
70551f47 RD |
3401 | { NULL, NULL } |
3402 | }; | |
2d091820 RD |
3403 | #ifdef __cplusplus |
3404 | } | |
3405 | #endif | |
3406 | /* | |
3407 | * This table is used by the pointer type-checker | |
3408 | */ | |
3409 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
3410 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
3411 | { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, | |
3412 | { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, | |
3413 | { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent}, | |
3414 | { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent}, | |
3415 | { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, | |
3416 | { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, | |
3417 | { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
3418 | { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
3419 | { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
3420 | { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
3421 | { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
3422 | { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
3423 | { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
3424 | { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
3425 | { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
3426 | { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
3427 | { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
3428 | { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
3429 | { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent}, | |
3430 | { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent}, | |
3431 | { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
3432 | { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
3433 | { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
3434 | { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
3435 | { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
3436 | { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
3437 | { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
3438 | { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
3439 | { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
3440 | { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
3441 | { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
3442 | { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
3443 | { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
3444 | { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
3445 | { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
3446 | { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
3447 | { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
3448 | { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
3449 | { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
3450 | { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
3451 | { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent}, | |
3452 | { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent}, | |
3453 | { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
3454 | { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
3455 | { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
3456 | { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
3457 | { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
3458 | { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
3459 | { "_wxEvent","_class_wxEvent",0}, | |
3460 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
3461 | { "_signed_long","_long",0}, | |
3462 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
3463 | { "_wxPrintQuality","_int",0}, | |
3464 | { "_wxPrintQuality","_signed_int",0}, | |
3465 | { "_wxPrintQuality","_unsigned_int",0}, | |
3466 | { "_wxPrintQuality","_wxWindowID",0}, | |
3467 | { "_wxPrintQuality","_uint",0}, | |
3468 | { "_wxPrintQuality","_EBool",0}, | |
3469 | { "_wxPrintQuality","_size_t",0}, | |
3470 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
3471 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
3472 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
3473 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
3474 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
3475 | { "_byte","_unsigned_char",0}, | |
3476 | { "_long","_unsigned_long",0}, | |
3477 | { "_long","_signed_long",0}, | |
3478 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
3479 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
3480 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
3481 | { "_size_t","_wxPrintQuality",0}, | |
3482 | { "_size_t","_unsigned_int",0}, | |
3483 | { "_size_t","_int",0}, | |
3484 | { "_size_t","_wxWindowID",0}, | |
3485 | { "_size_t","_uint",0}, | |
3486 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
3487 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
3488 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
3489 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
3490 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
3491 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
3492 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
3493 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
3494 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
3495 | { "_uint","_wxPrintQuality",0}, | |
3496 | { "_uint","_size_t",0}, | |
3497 | { "_uint","_unsigned_int",0}, | |
3498 | { "_uint","_int",0}, | |
3499 | { "_uint","_wxWindowID",0}, | |
3500 | { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, | |
3501 | { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, | |
3502 | { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent}, | |
3503 | { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent}, | |
3504 | { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, | |
3505 | { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, | |
3506 | { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
3507 | { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
3508 | { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
3509 | { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
3510 | { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
3511 | { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
3512 | { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
3513 | { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
3514 | { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
3515 | { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
3516 | { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
3517 | { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
3518 | { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent}, | |
3519 | { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent}, | |
3520 | { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
3521 | { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
3522 | { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
3523 | { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
3524 | { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
3525 | { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
3526 | { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
3527 | { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
3528 | { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
3529 | { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
3530 | { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
3531 | { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
3532 | { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
3533 | { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
3534 | { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
3535 | { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
3536 | { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
3537 | { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
3538 | { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
3539 | { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
3540 | { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent}, | |
3541 | { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent}, | |
3542 | { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
3543 | { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
3544 | { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
3545 | { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
3546 | { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
3547 | { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
3548 | { "_class_wxEvent","_wxEvent",0}, | |
3549 | { "_wxRect","_class_wxRect",0}, | |
3550 | { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, | |
3551 | { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, | |
3552 | { "_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent}, | |
3553 | { "_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent}, | |
3554 | { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, | |
3555 | { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, | |
3556 | { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
3557 | { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
3558 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
3559 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
3560 | { "_wxPoint","_class_wxPoint",0}, | |
3561 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
3562 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
3563 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
3564 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
3565 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
3566 | { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
3567 | { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
3568 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
3569 | { "_EBool","_wxPrintQuality",0}, | |
3570 | { "_EBool","_signed_int",0}, | |
3571 | { "_EBool","_int",0}, | |
3572 | { "_EBool","_wxWindowID",0}, | |
3573 | { "_class_wxRegion","_wxRegion",0}, | |
3574 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
3575 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
3576 | { "_unsigned_long","_long",0}, | |
3577 | { "_class_wxRect","_wxRect",0}, | |
3578 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
3579 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
3580 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
3581 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
3582 | { "_signed_int","_wxPrintQuality",0}, | |
3583 | { "_signed_int","_EBool",0}, | |
3584 | { "_signed_int","_wxWindowID",0}, | |
3585 | { "_signed_int","_int",0}, | |
3586 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
3587 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
3588 | { "_WXTYPE","_short",0}, | |
3589 | { "_WXTYPE","_signed_short",0}, | |
3590 | { "_WXTYPE","_unsigned_short",0}, | |
3591 | { "_unsigned_short","_WXTYPE",0}, | |
3592 | { "_unsigned_short","_short",0}, | |
3593 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
3594 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
3595 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
3596 | { "_class_wxPoint","_wxPoint",0}, | |
3597 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
3598 | { "_signed_short","_WXTYPE",0}, | |
3599 | { "_signed_short","_short",0}, | |
3600 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
3601 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
3602 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
3603 | { "_unsigned_char","_byte",0}, | |
3604 | { "_unsigned_int","_wxPrintQuality",0}, | |
3605 | { "_unsigned_int","_size_t",0}, | |
3606 | { "_unsigned_int","_uint",0}, | |
3607 | { "_unsigned_int","_wxWindowID",0}, | |
3608 | { "_unsigned_int","_int",0}, | |
3609 | { "_short","_WXTYPE",0}, | |
3610 | { "_short","_unsigned_short",0}, | |
3611 | { "_short","_signed_short",0}, | |
3612 | { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
3613 | { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
3614 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
3615 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
3616 | { "_wxWindowID","_wxPrintQuality",0}, | |
3617 | { "_wxWindowID","_size_t",0}, | |
3618 | { "_wxWindowID","_EBool",0}, | |
3619 | { "_wxWindowID","_uint",0}, | |
3620 | { "_wxWindowID","_int",0}, | |
3621 | { "_wxWindowID","_signed_int",0}, | |
3622 | { "_wxWindowID","_unsigned_int",0}, | |
3623 | { "_int","_wxPrintQuality",0}, | |
3624 | { "_int","_size_t",0}, | |
3625 | { "_int","_EBool",0}, | |
3626 | { "_int","_uint",0}, | |
3627 | { "_int","_wxWindowID",0}, | |
3628 | { "_int","_unsigned_int",0}, | |
3629 | { "_int","_signed_int",0}, | |
3630 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
3631 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
3632 | { "_wxSize","_class_wxSize",0}, | |
3633 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
3634 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
3635 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
3636 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
3637 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
3638 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
3639 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
3640 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
3641 | { "_wxRegion","_class_wxRegion",0}, | |
3642 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
3643 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
3644 | { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, | |
3645 | { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, | |
3646 | { "_class_wxCommandEvent","_class_wxPyEvent",SwigwxPyEventTowxCommandEvent}, | |
3647 | { "_class_wxCommandEvent","_wxPyEvent",SwigwxPyEventTowxCommandEvent}, | |
3648 | { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, | |
3649 | { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, | |
3650 | { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
3651 | { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
3652 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
3653 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
3654 | { "_class_wxSize","_wxSize",0}, | |
3655 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
3656 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
3657 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
3658 | {0,0,0}}; | |
3659 | ||
70551f47 RD |
3660 | static PyObject *SWIG_globals; |
3661 | #ifdef __cplusplus | |
3662 | extern "C" | |
3663 | #endif | |
2d091820 | 3664 | SWIGEXPORT(void) initeventsc() { |
70551f47 RD |
3665 | PyObject *m, *d; |
3666 | SWIG_globals = SWIG_newvarlink(); | |
3667 | m = Py_InitModule("eventsc", eventscMethods); | |
3668 | d = PyModule_GetDict(m); | |
2d091820 RD |
3669 | { |
3670 | int i; | |
3671 | for (i = 0; _swig_mapping[i].n1; i++) | |
3672 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
3673 | } | |
70551f47 | 3674 | } |