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