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