]>
Commit | Line | Data |
---|---|---|
8ab979d7 | 1 | /* |
9c039d08 | 2 | * FILE : msw/events.cpp |
8ab979d7 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
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__) | |
1d99702e | 30 | # define SWIGEXPORT(a) a _export |
8ab979d7 | 31 | # else |
1d99702e | 32 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1d99702e | 36 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
1d99702e | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
8ab979d7 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
8ab979d7 RD |
52 | #define SWIG_init initeventsc |
53 | ||
54 | #define SWIG_name "eventsc" | |
55 | ||
56 | #include "helpers.h" | |
b639c3c5 | 57 | #include <wx/spinbutt.h> |
8ab979d7 RD |
58 | |
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
1d99702e RD |
61 | PyObject* o3; |
62 | if (!target) { | |
8ab979d7 | 63 | target = o; |
1d99702e | 64 | } else if (target == Py_None) { |
8ab979d7 RD |
65 | Py_DECREF(Py_None); |
66 | target = o; | |
1d99702e | 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 | ||
1d99702e | 84 | if (!target) { |
8ab979d7 | 85 | target = o; |
1d99702e | 86 | } else if (target == Py_None) { |
8ab979d7 RD |
87 | Py_DECREF(Py_None); |
88 | target = o; | |
1d99702e | 89 | } else { |
8ab979d7 RD |
90 | if (!PyTuple_Check(target)) { |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
1d99702e RD |
95 | o3 = PyTuple_New(1); |
96 | PyTuple_SetItem(o3, 0, o); | |
8ab979d7 RD |
97 | |
98 | o2 = target; | |
1d99702e 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 | ||
8ab979d7 | 767 | #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked()) |
efc5f224 | 768 | static PyObject *_wrap_wxCommandEvent_Checked(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; | |
efc5f224 | 776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_Checked",_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")) { | |
8ab979d7 RD |
781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p."); |
782 | return NULL; | |
783 | } | |
784 | } | |
cf694132 RD |
785 | { |
786 | wxPy_BEGIN_ALLOW_THREADS; | |
787 | _result = (bool )wxCommandEvent_Checked(_arg0); | |
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 | ||
2179 | static void *SwigwxKeyEventTowxEvent(void *ptr) { | |
2180 | wxKeyEvent *src; | |
2181 | wxEvent *dest; | |
2182 | src = (wxKeyEvent *) ptr; | |
2183 | dest = (wxEvent *) src; | |
2184 | return (void *) dest; | |
2185 | } | |
2186 | ||
48115f4a RD |
2187 | #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0)) |
2188 | static PyObject *_wrap_new_wxKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2189 | PyObject * _resultobj; | |
2190 | wxKeyEvent * _result; | |
2191 | int _arg0; | |
2192 | char *_kwnames[] = { "keyEventType", NULL }; | |
2193 | char _ptemp[128]; | |
2194 | ||
2195 | self = self; | |
2196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxKeyEvent",_kwnames,&_arg0)) | |
2197 | return NULL; | |
2198 | { | |
2199 | wxPy_BEGIN_ALLOW_THREADS; | |
2200 | _result = (wxKeyEvent *)new_wxKeyEvent(_arg0); | |
2201 | ||
2202 | wxPy_END_ALLOW_THREADS; | |
2203 | } if (_result) { | |
2204 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p"); | |
2205 | _resultobj = Py_BuildValue("s",_ptemp); | |
2206 | } else { | |
2207 | Py_INCREF(Py_None); | |
2208 | _resultobj = Py_None; | |
2209 | } | |
2210 | return _resultobj; | |
2211 | } | |
2212 | ||
8ab979d7 | 2213 | #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) |
efc5f224 | 2214 | static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2215 | PyObject * _resultobj; |
2216 | bool _result; | |
2217 | wxKeyEvent * _arg0; | |
1d99702e | 2218 | PyObject * _argo0 = 0; |
efc5f224 | 2219 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2220 | |
2221 | self = self; | |
efc5f224 | 2222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ControlDown",_kwnames,&_argo0)) |
8ab979d7 | 2223 | return NULL; |
1d99702e RD |
2224 | if (_argo0) { |
2225 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2226 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
8ab979d7 RD |
2227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p."); |
2228 | return NULL; | |
2229 | } | |
2230 | } | |
cf694132 RD |
2231 | { |
2232 | wxPy_BEGIN_ALLOW_THREADS; | |
2233 | _result = (bool )wxKeyEvent_ControlDown(_arg0); | |
2234 | ||
2235 | wxPy_END_ALLOW_THREADS; | |
2236 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2237 | return _resultobj; |
2238 | } | |
2239 | ||
2240 | #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
efc5f224 | 2241 | static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2242 | PyObject * _resultobj; |
2243 | bool _result; | |
2244 | wxKeyEvent * _arg0; | |
1d99702e | 2245 | PyObject * _argo0 = 0; |
efc5f224 | 2246 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2247 | |
2248 | self = self; | |
efc5f224 | 2249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_MetaDown",_kwnames,&_argo0)) |
8ab979d7 | 2250 | return NULL; |
1d99702e RD |
2251 | if (_argo0) { |
2252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
8ab979d7 RD |
2254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p."); |
2255 | return NULL; | |
2256 | } | |
2257 | } | |
cf694132 RD |
2258 | { |
2259 | wxPy_BEGIN_ALLOW_THREADS; | |
2260 | _result = (bool )wxKeyEvent_MetaDown(_arg0); | |
2261 | ||
2262 | wxPy_END_ALLOW_THREADS; | |
2263 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2264 | return _resultobj; |
2265 | } | |
2266 | ||
2267 | #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
efc5f224 | 2268 | static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2269 | PyObject * _resultobj; |
2270 | bool _result; | |
2271 | wxKeyEvent * _arg0; | |
1d99702e | 2272 | PyObject * _argo0 = 0; |
efc5f224 | 2273 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2274 | |
2275 | self = self; | |
efc5f224 | 2276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_AltDown",_kwnames,&_argo0)) |
8ab979d7 | 2277 | return NULL; |
1d99702e RD |
2278 | if (_argo0) { |
2279 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2280 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
8ab979d7 RD |
2281 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p."); |
2282 | return NULL; | |
2283 | } | |
2284 | } | |
cf694132 RD |
2285 | { |
2286 | wxPy_BEGIN_ALLOW_THREADS; | |
2287 | _result = (bool )wxKeyEvent_AltDown(_arg0); | |
2288 | ||
2289 | wxPy_END_ALLOW_THREADS; | |
2290 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2291 | return _resultobj; |
2292 | } | |
2293 | ||
2294 | #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
efc5f224 | 2295 | static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2296 | PyObject * _resultobj; |
2297 | bool _result; | |
2298 | wxKeyEvent * _arg0; | |
1d99702e | 2299 | PyObject * _argo0 = 0; |
efc5f224 | 2300 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2301 | |
2302 | self = self; | |
efc5f224 | 2303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ShiftDown",_kwnames,&_argo0)) |
8ab979d7 | 2304 | return NULL; |
1d99702e RD |
2305 | if (_argo0) { |
2306 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2307 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
8ab979d7 RD |
2308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p."); |
2309 | return NULL; | |
2310 | } | |
2311 | } | |
cf694132 RD |
2312 | { |
2313 | wxPy_BEGIN_ALLOW_THREADS; | |
2314 | _result = (bool )wxKeyEvent_ShiftDown(_arg0); | |
2315 | ||
2316 | wxPy_END_ALLOW_THREADS; | |
2317 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2318 | return _resultobj; |
2319 | } | |
2320 | ||
2321 | #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode()) | |
efc5f224 | 2322 | static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2323 | PyObject * _resultobj; |
2324 | long _result; | |
2325 | wxKeyEvent * _arg0; | |
1d99702e | 2326 | PyObject * _argo0 = 0; |
efc5f224 | 2327 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2328 | |
2329 | self = self; | |
efc5f224 | 2330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_KeyCode",_kwnames,&_argo0)) |
8ab979d7 | 2331 | return NULL; |
1d99702e RD |
2332 | if (_argo0) { |
2333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
8ab979d7 RD |
2335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p."); |
2336 | return NULL; | |
2337 | } | |
2338 | } | |
cf694132 RD |
2339 | { |
2340 | wxPy_BEGIN_ALLOW_THREADS; | |
2341 | _result = (long )wxKeyEvent_KeyCode(_arg0); | |
2342 | ||
2343 | wxPy_END_ALLOW_THREADS; | |
2344 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2345 | return _resultobj; |
2346 | } | |
2347 | ||
f6bcfd97 BP |
2348 | #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode()) |
2349 | static PyObject *_wrap_wxKeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2350 | PyObject * _resultobj; | |
2351 | long _result; | |
2352 | wxKeyEvent * _arg0; | |
2353 | PyObject * _argo0 = 0; | |
2354 | char *_kwnames[] = { "self", NULL }; | |
2355 | ||
2356 | self = self; | |
2357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetKeyCode",_kwnames,&_argo0)) | |
2358 | return NULL; | |
2359 | if (_argo0) { | |
2360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
2362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p."); | |
2363 | return NULL; | |
2364 | } | |
2365 | } | |
2366 | { | |
2367 | wxPy_BEGIN_ALLOW_THREADS; | |
2368 | _result = (long )wxKeyEvent_GetKeyCode(_arg0); | |
2369 | ||
2370 | wxPy_END_ALLOW_THREADS; | |
2371 | } _resultobj = Py_BuildValue("l",_result); | |
2372 | return _resultobj; | |
2373 | } | |
2374 | ||
2375 | #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers()) | |
2376 | static PyObject *_wrap_wxKeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2377 | PyObject * _resultobj; | |
2378 | bool _result; | |
2379 | wxKeyEvent * _arg0; | |
2380 | PyObject * _argo0 = 0; | |
2381 | char *_kwnames[] = { "self", NULL }; | |
2382 | ||
2383 | self = self; | |
2384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_HasModifiers",_kwnames,&_argo0)) | |
2385 | return NULL; | |
2386 | if (_argo0) { | |
2387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
2389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p."); | |
2390 | return NULL; | |
2391 | } | |
2392 | } | |
2393 | { | |
2394 | wxPy_BEGIN_ALLOW_THREADS; | |
2395 | _result = (bool )wxKeyEvent_HasModifiers(_arg0); | |
2396 | ||
2397 | wxPy_END_ALLOW_THREADS; | |
2398 | } _resultobj = Py_BuildValue("i",_result); | |
2399 | return _resultobj; | |
2400 | } | |
2401 | ||
48115f4a RD |
2402 | #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX()) |
2403 | static PyObject *_wrap_wxKeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2404 | PyObject * _resultobj; |
48115f4a RD |
2405 | long _result; |
2406 | wxKeyEvent * _arg0; | |
1d99702e | 2407 | PyObject * _argo0 = 0; |
efc5f224 | 2408 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2409 | |
2410 | self = self; | |
48115f4a | 2411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetX",_kwnames,&_argo0)) |
8ab979d7 | 2412 | return NULL; |
1d99702e RD |
2413 | if (_argo0) { |
2414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { |
2416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p."); | |
8ab979d7 RD |
2417 | return NULL; |
2418 | } | |
2419 | } | |
cf694132 RD |
2420 | { |
2421 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2422 | _result = (long )wxKeyEvent_GetX(_arg0); |
cf694132 RD |
2423 | |
2424 | wxPy_END_ALLOW_THREADS; | |
48115f4a | 2425 | } _resultobj = Py_BuildValue("l",_result); |
8ab979d7 RD |
2426 | return _resultobj; |
2427 | } | |
2428 | ||
48115f4a RD |
2429 | #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY()) |
2430 | static PyObject *_wrap_wxKeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2431 | PyObject * _resultobj; |
48115f4a RD |
2432 | long _result; |
2433 | wxKeyEvent * _arg0; | |
1d99702e | 2434 | PyObject * _argo0 = 0; |
efc5f224 | 2435 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2436 | |
2437 | self = self; | |
48115f4a | 2438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetY",_kwnames,&_argo0)) |
8ab979d7 | 2439 | return NULL; |
1d99702e RD |
2440 | if (_argo0) { |
2441 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2442 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { |
2443 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p."); | |
8ab979d7 RD |
2444 | return NULL; |
2445 | } | |
2446 | } | |
cf694132 RD |
2447 | { |
2448 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2449 | _result = (long )wxKeyEvent_GetY(_arg0); |
cf694132 RD |
2450 | |
2451 | wxPy_END_ALLOW_THREADS; | |
48115f4a | 2452 | } _resultobj = Py_BuildValue("l",_result); |
8ab979d7 RD |
2453 | return _resultobj; |
2454 | } | |
2455 | ||
48115f4a RD |
2456 | #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) |
2457 | static PyObject *_wrap_wxKeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2458 | PyObject * _resultobj; |
48115f4a RD |
2459 | wxPoint * _result; |
2460 | wxKeyEvent * _arg0; | |
1d99702e | 2461 | PyObject * _argo0 = 0; |
efc5f224 | 2462 | char *_kwnames[] = { "self", NULL }; |
48115f4a | 2463 | char _ptemp[128]; |
8ab979d7 RD |
2464 | |
2465 | self = self; | |
48115f4a | 2466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPosition",_kwnames,&_argo0)) |
8ab979d7 | 2467 | return NULL; |
1d99702e RD |
2468 | if (_argo0) { |
2469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { |
2471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p."); | |
8ab979d7 RD |
2472 | return NULL; |
2473 | } | |
2474 | } | |
cf694132 RD |
2475 | { |
2476 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2477 | _result = new wxPoint (wxKeyEvent_GetPosition(_arg0)); |
cf694132 RD |
2478 | |
2479 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
2480 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
2481 | _resultobj = Py_BuildValue("s",_ptemp); | |
8ab979d7 RD |
2482 | return _resultobj; |
2483 | } | |
2484 | ||
48115f4a RD |
2485 | #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1)) |
2486 | static PyObject *_wrap_wxKeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2487 | PyObject * _resultobj; |
48115f4a RD |
2488 | wxKeyEvent * _arg0; |
2489 | long * _arg1; | |
2490 | long temp; | |
2491 | long * _arg2; | |
2492 | long temp0; | |
1d99702e | 2493 | PyObject * _argo0 = 0; |
efc5f224 | 2494 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2495 | |
2496 | self = self; | |
48115f4a RD |
2497 | { |
2498 | _arg1 = &temp; | |
2499 | } | |
2500 | { | |
2501 | _arg2 = &temp0; | |
2502 | } | |
2503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPositionTuple",_kwnames,&_argo0)) | |
8ab979d7 | 2504 | return NULL; |
1d99702e RD |
2505 | if (_argo0) { |
2506 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2507 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { |
2508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p."); | |
8ab979d7 RD |
2509 | return NULL; |
2510 | } | |
2511 | } | |
cf694132 RD |
2512 | { |
2513 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2514 | wxKeyEvent_GetPositionTuple(_arg0,_arg1,_arg2); |
cf694132 RD |
2515 | |
2516 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
2517 | } Py_INCREF(Py_None); |
2518 | _resultobj = Py_None; | |
2519 | { | |
2520 | PyObject *o; | |
2521 | o = PyInt_FromLong((long) (*_arg1)); | |
2522 | _resultobj = t_output_helper(_resultobj, o); | |
2523 | } | |
2524 | { | |
2525 | PyObject *o; | |
2526 | o = PyInt_FromLong((long) (*_arg2)); | |
2527 | _resultobj = t_output_helper(_resultobj, o); | |
2528 | } | |
8ab979d7 RD |
2529 | return _resultobj; |
2530 | } | |
2531 | ||
48115f4a RD |
2532 | static void *SwigwxNavigationKeyEventTowxEvent(void *ptr) { |
2533 | wxNavigationKeyEvent *src; | |
8ab979d7 | 2534 | wxEvent *dest; |
48115f4a | 2535 | src = (wxNavigationKeyEvent *) ptr; |
8ab979d7 RD |
2536 | dest = (wxEvent *) src; |
2537 | return (void *) dest; | |
2538 | } | |
2539 | ||
48115f4a RD |
2540 | #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent()) |
2541 | static PyObject *_wrap_new_wxNavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2542 | PyObject * _resultobj; |
48115f4a RD |
2543 | wxNavigationKeyEvent * _result; |
2544 | char *_kwnames[] = { NULL }; | |
2545 | char _ptemp[128]; | |
8ab979d7 RD |
2546 | |
2547 | self = self; | |
48115f4a | 2548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNavigationKeyEvent",_kwnames)) |
8ab979d7 | 2549 | return NULL; |
cf694132 RD |
2550 | { |
2551 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2552 | _result = (wxNavigationKeyEvent *)new_wxNavigationKeyEvent(); |
cf694132 RD |
2553 | |
2554 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
2555 | } if (_result) { |
2556 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNavigationKeyEvent_p"); | |
2557 | _resultobj = Py_BuildValue("s",_ptemp); | |
2558 | } else { | |
2559 | Py_INCREF(Py_None); | |
2560 | _resultobj = Py_None; | |
2561 | } | |
8ab979d7 RD |
2562 | return _resultobj; |
2563 | } | |
2564 | ||
48115f4a RD |
2565 | #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection()) |
2566 | static PyObject *_wrap_wxNavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
2567 | PyObject * _resultobj; |
2568 | bool _result; | |
48115f4a | 2569 | wxNavigationKeyEvent * _arg0; |
1d99702e | 2570 | PyObject * _argo0 = 0; |
efc5f224 | 2571 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2572 | |
2573 | self = self; | |
48115f4a | 2574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetDirection",_kwnames,&_argo0)) |
8ab979d7 | 2575 | return NULL; |
1d99702e RD |
2576 | if (_argo0) { |
2577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
2579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
2580 | return NULL; |
2581 | } | |
2582 | } | |
cf694132 RD |
2583 | { |
2584 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2585 | _result = (bool )wxNavigationKeyEvent_GetDirection(_arg0); |
cf694132 RD |
2586 | |
2587 | wxPy_END_ALLOW_THREADS; | |
2588 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2589 | return _resultobj; |
2590 | } | |
2591 | ||
48115f4a RD |
2592 | #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0)) |
2593 | static PyObject *_wrap_wxNavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2594 | PyObject * _resultobj; |
48115f4a RD |
2595 | wxNavigationKeyEvent * _arg0; |
2596 | bool _arg1; | |
1d99702e | 2597 | PyObject * _argo0 = 0; |
48115f4a RD |
2598 | int tempbool1; |
2599 | char *_kwnames[] = { "self","bForward", NULL }; | |
8ab979d7 RD |
2600 | |
2601 | self = self; | |
48115f4a | 2602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 2603 | return NULL; |
1d99702e RD |
2604 | if (_argo0) { |
2605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
2607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
2608 | return NULL; |
2609 | } | |
2610 | } | |
48115f4a | 2611 | _arg1 = (bool ) tempbool1; |
cf694132 RD |
2612 | { |
2613 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2614 | wxNavigationKeyEvent_SetDirection(_arg0,_arg1); |
cf694132 RD |
2615 | |
2616 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
2617 | } Py_INCREF(Py_None); |
2618 | _resultobj = Py_None; | |
8ab979d7 RD |
2619 | return _resultobj; |
2620 | } | |
2621 | ||
48115f4a RD |
2622 | #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange()) |
2623 | static PyObject *_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2624 | PyObject * _resultobj; |
48115f4a RD |
2625 | bool _result; |
2626 | wxNavigationKeyEvent * _arg0; | |
1d99702e | 2627 | PyObject * _argo0 = 0; |
efc5f224 | 2628 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2629 | |
2630 | self = self; | |
48115f4a | 2631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames,&_argo0)) |
8ab979d7 | 2632 | return NULL; |
1d99702e RD |
2633 | if (_argo0) { |
2634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
2636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
2637 | return NULL; |
2638 | } | |
2639 | } | |
cf694132 RD |
2640 | { |
2641 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2642 | _result = (bool )wxNavigationKeyEvent_IsWindowChange(_arg0); |
cf694132 RD |
2643 | |
2644 | wxPy_END_ALLOW_THREADS; | |
2645 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2646 | return _resultobj; |
2647 | } | |
2648 | ||
48115f4a RD |
2649 | #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0)) |
2650 | static PyObject *_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2651 | PyObject * _resultobj; |
48115f4a RD |
2652 | wxNavigationKeyEvent * _arg0; |
2653 | bool _arg1; | |
1d99702e | 2654 | PyObject * _argo0 = 0; |
48115f4a RD |
2655 | int tempbool1; |
2656 | char *_kwnames[] = { "self","bIs", NULL }; | |
8ab979d7 RD |
2657 | |
2658 | self = self; | |
48115f4a | 2659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 2660 | return NULL; |
1d99702e RD |
2661 | if (_argo0) { |
2662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
2664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
2665 | return NULL; |
2666 | } | |
2667 | } | |
48115f4a | 2668 | _arg1 = (bool ) tempbool1; |
cf694132 RD |
2669 | { |
2670 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2671 | wxNavigationKeyEvent_SetWindowChange(_arg0,_arg1); |
cf694132 RD |
2672 | |
2673 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
2674 | } Py_INCREF(Py_None); |
2675 | _resultobj = Py_None; | |
8ab979d7 RD |
2676 | return _resultobj; |
2677 | } | |
2678 | ||
48115f4a RD |
2679 | #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus()) |
2680 | static PyObject *_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2681 | PyObject * _resultobj; |
48115f4a RD |
2682 | wxWindow * _result; |
2683 | wxNavigationKeyEvent * _arg0; | |
1d99702e | 2684 | PyObject * _argo0 = 0; |
efc5f224 | 2685 | char *_kwnames[] = { "self", NULL }; |
48115f4a | 2686 | char _ptemp[128]; |
8ab979d7 RD |
2687 | |
2688 | self = self; | |
48115f4a | 2689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames,&_argo0)) |
8ab979d7 | 2690 | return NULL; |
1d99702e RD |
2691 | if (_argo0) { |
2692 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2693 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
2694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
2695 | return NULL; |
2696 | } | |
2697 | } | |
cf694132 RD |
2698 | { |
2699 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2700 | _result = (wxWindow *)wxNavigationKeyEvent_GetCurrentFocus(_arg0); |
cf694132 RD |
2701 | |
2702 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
2703 | } if (_result) { |
2704 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
2705 | _resultobj = Py_BuildValue("s",_ptemp); | |
2706 | } else { | |
2707 | Py_INCREF(Py_None); | |
2708 | _resultobj = Py_None; | |
2709 | } | |
8ab979d7 RD |
2710 | return _resultobj; |
2711 | } | |
2712 | ||
48115f4a RD |
2713 | #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0)) |
2714 | static PyObject *_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2715 | PyObject * _resultobj; |
48115f4a RD |
2716 | wxNavigationKeyEvent * _arg0; |
2717 | wxWindow * _arg1; | |
1d99702e | 2718 | PyObject * _argo0 = 0; |
48115f4a RD |
2719 | PyObject * _argo1 = 0; |
2720 | char *_kwnames[] = { "self","win", NULL }; | |
8ab979d7 RD |
2721 | |
2722 | self = self; | |
48115f4a | 2723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 2724 | return NULL; |
1d99702e RD |
2725 | if (_argo0) { |
2726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
2727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
2728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p."); | |
2729 | return NULL; | |
2730 | } | |
2731 | } | |
2732 | if (_argo1) { | |
2733 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2734 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2735 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p."); | |
8ab979d7 RD |
2736 | return NULL; |
2737 | } | |
2738 | } | |
cf694132 RD |
2739 | { |
2740 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2741 | wxNavigationKeyEvent_SetCurrentFocus(_arg0,_arg1); |
cf694132 RD |
2742 | |
2743 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
2744 | } Py_INCREF(Py_None); |
2745 | _resultobj = Py_None; | |
8ab979d7 RD |
2746 | return _resultobj; |
2747 | } | |
2748 | ||
48115f4a RD |
2749 | static void *SwigwxMoveEventTowxEvent(void *ptr) { |
2750 | wxMoveEvent *src; | |
2751 | wxEvent *dest; | |
2752 | src = (wxMoveEvent *) ptr; | |
2753 | dest = (wxEvent *) src; | |
2754 | return (void *) dest; | |
2755 | } | |
2756 | ||
2757 | #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1)) | |
2758 | static PyObject *_wrap_new_wxMoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2759 | PyObject * _resultobj; |
48115f4a RD |
2760 | wxMoveEvent * _result; |
2761 | wxPoint * _arg0; | |
2762 | int _arg1 = (int ) 0; | |
2763 | wxPoint temp; | |
2764 | PyObject * _obj0 = 0; | |
2765 | char *_kwnames[] = { "pt","id", NULL }; | |
2766 | char _ptemp[128]; | |
8ab979d7 RD |
2767 | |
2768 | self = self; | |
48115f4a | 2769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxMoveEvent",_kwnames,&_obj0,&_arg1)) |
8ab979d7 | 2770 | return NULL; |
48115f4a RD |
2771 | { |
2772 | _arg0 = &temp; | |
2773 | if (! wxPoint_helper(_obj0, &_arg0)) | |
8ab979d7 | 2774 | return NULL; |
48115f4a | 2775 | } |
cf694132 RD |
2776 | { |
2777 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 2778 | _result = (wxMoveEvent *)new_wxMoveEvent(*_arg0,_arg1); |
cf694132 RD |
2779 | |
2780 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
2781 | } if (_result) { |
2782 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMoveEvent_p"); | |
2783 | _resultobj = Py_BuildValue("s",_ptemp); | |
2784 | } else { | |
2785 | Py_INCREF(Py_None); | |
2786 | _resultobj = Py_None; | |
2787 | } | |
2788 | return _resultobj; | |
2789 | } | |
2790 | ||
2791 | #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
2792 | static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2793 | PyObject * _resultobj; | |
2794 | wxPoint * _result; | |
2795 | wxMoveEvent * _arg0; | |
2796 | PyObject * _argo0 = 0; | |
2797 | char *_kwnames[] = { "self", NULL }; | |
2798 | char _ptemp[128]; | |
2799 | ||
2800 | self = self; | |
2801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMoveEvent_GetPosition",_kwnames,&_argo0)) | |
2802 | return NULL; | |
2803 | if (_argo0) { | |
2804 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2805 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMoveEvent_p")) { | |
2806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p."); | |
2807 | return NULL; | |
2808 | } | |
2809 | } | |
2810 | { | |
2811 | wxPy_BEGIN_ALLOW_THREADS; | |
2812 | _result = new wxPoint (wxMoveEvent_GetPosition(_arg0)); | |
2813 | ||
2814 | wxPy_END_ALLOW_THREADS; | |
2815 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2816 | _resultobj = Py_BuildValue("s",_ptemp); | |
2817 | return _resultobj; | |
2818 | } | |
2819 | ||
2820 | static void *SwigwxPaintEventTowxEvent(void *ptr) { | |
2821 | wxPaintEvent *src; | |
2822 | wxEvent *dest; | |
2823 | src = (wxPaintEvent *) ptr; | |
2824 | dest = (wxEvent *) src; | |
2825 | return (void *) dest; | |
2826 | } | |
2827 | ||
2828 | #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0)) | |
2829 | static PyObject *_wrap_new_wxPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2830 | PyObject * _resultobj; | |
2831 | wxPaintEvent * _result; | |
2832 | int _arg0 = (int ) 0; | |
2833 | char *_kwnames[] = { "id", NULL }; | |
2834 | char _ptemp[128]; | |
2835 | ||
2836 | self = self; | |
2837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaintEvent",_kwnames,&_arg0)) | |
2838 | return NULL; | |
2839 | { | |
2840 | wxPy_BEGIN_ALLOW_THREADS; | |
2841 | _result = (wxPaintEvent *)new_wxPaintEvent(_arg0); | |
2842 | ||
2843 | wxPy_END_ALLOW_THREADS; | |
2844 | } if (_result) { | |
2845 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintEvent_p"); | |
2846 | _resultobj = Py_BuildValue("s",_ptemp); | |
2847 | } else { | |
2848 | Py_INCREF(Py_None); | |
2849 | _resultobj = Py_None; | |
2850 | } | |
2851 | return _resultobj; | |
2852 | } | |
2853 | ||
2854 | static void *SwigwxEraseEventTowxEvent(void *ptr) { | |
2855 | wxEraseEvent *src; | |
2856 | wxEvent *dest; | |
2857 | src = (wxEraseEvent *) ptr; | |
2858 | dest = (wxEvent *) src; | |
2859 | return (void *) dest; | |
2860 | } | |
2861 | ||
2862 | #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1)) | |
2863 | static PyObject *_wrap_new_wxEraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2864 | PyObject * _resultobj; | |
2865 | wxEraseEvent * _result; | |
2866 | int _arg0 = (int ) 0; | |
2867 | wxDC * _arg1 = (wxDC *) NULL; | |
2868 | PyObject * _argo1 = 0; | |
2869 | char *_kwnames[] = { "id","dc", NULL }; | |
2870 | char _ptemp[128]; | |
2871 | ||
2872 | self = self; | |
2873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxEraseEvent",_kwnames,&_arg0,&_argo1)) | |
2874 | return NULL; | |
2875 | if (_argo1) { | |
2876 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2877 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p."); | |
2879 | return NULL; | |
2880 | } | |
2881 | } | |
2882 | { | |
2883 | wxPy_BEGIN_ALLOW_THREADS; | |
2884 | _result = (wxEraseEvent *)new_wxEraseEvent(_arg0,_arg1); | |
2885 | ||
2886 | wxPy_END_ALLOW_THREADS; | |
2887 | } if (_result) { | |
2888 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxEraseEvent_p"); | |
2889 | _resultobj = Py_BuildValue("s",_ptemp); | |
2890 | } else { | |
2891 | Py_INCREF(Py_None); | |
2892 | _resultobj = Py_None; | |
2893 | } | |
2894 | return _resultobj; | |
2895 | } | |
2896 | ||
2897 | #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC()) | |
2898 | static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2899 | PyObject * _resultobj; | |
2900 | wxDC * _result; | |
2901 | wxEraseEvent * _arg0; | |
2902 | PyObject * _argo0 = 0; | |
2903 | char *_kwnames[] = { "self", NULL }; | |
2904 | char _ptemp[128]; | |
2905 | ||
2906 | self = self; | |
2907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEraseEvent_GetDC",_kwnames,&_argo0)) | |
2908 | return NULL; | |
2909 | if (_argo0) { | |
2910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEraseEvent_p")) { | |
2912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p."); | |
2913 | return NULL; | |
2914 | } | |
2915 | } | |
2916 | { | |
2917 | wxPy_BEGIN_ALLOW_THREADS; | |
2918 | _result = (wxDC *)wxEraseEvent_GetDC(_arg0); | |
2919 | ||
2920 | wxPy_END_ALLOW_THREADS; | |
2921 | } if (_result) { | |
2922 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p"); | |
2923 | _resultobj = Py_BuildValue("s",_ptemp); | |
2924 | } else { | |
2925 | Py_INCREF(Py_None); | |
2926 | _resultobj = Py_None; | |
2927 | } | |
2928 | return _resultobj; | |
2929 | } | |
2930 | ||
2931 | static void *SwigwxFocusEventTowxEvent(void *ptr) { | |
2932 | wxFocusEvent *src; | |
2933 | wxEvent *dest; | |
2934 | src = (wxFocusEvent *) ptr; | |
2935 | dest = (wxEvent *) src; | |
2936 | return (void *) dest; | |
2937 | } | |
2938 | ||
2939 | #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1)) | |
2940 | static PyObject *_wrap_new_wxFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2941 | PyObject * _resultobj; | |
2942 | wxFocusEvent * _result; | |
2943 | WXTYPE _arg0 = (WXTYPE ) 0; | |
2944 | int _arg1 = (int ) 0; | |
2945 | char *_kwnames[] = { "eventType","id", NULL }; | |
2946 | char _ptemp[128]; | |
2947 | ||
2948 | self = self; | |
2949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxFocusEvent",_kwnames,&_arg0,&_arg1)) | |
2950 | return NULL; | |
2951 | { | |
2952 | wxPy_BEGIN_ALLOW_THREADS; | |
2953 | _result = (wxFocusEvent *)new_wxFocusEvent(_arg0,_arg1); | |
2954 | ||
2955 | wxPy_END_ALLOW_THREADS; | |
2956 | } if (_result) { | |
2957 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFocusEvent_p"); | |
2958 | _resultobj = Py_BuildValue("s",_ptemp); | |
2959 | } else { | |
2960 | Py_INCREF(Py_None); | |
2961 | _resultobj = Py_None; | |
2962 | } | |
2963 | return _resultobj; | |
2964 | } | |
2965 | ||
2966 | static void *SwigwxActivateEventTowxEvent(void *ptr) { | |
2967 | wxActivateEvent *src; | |
2968 | wxEvent *dest; | |
2969 | src = (wxActivateEvent *) ptr; | |
2970 | dest = (wxEvent *) src; | |
2971 | return (void *) dest; | |
2972 | } | |
2973 | ||
2974 | #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2)) | |
2975 | static PyObject *_wrap_new_wxActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2976 | PyObject * _resultobj; | |
2977 | wxActivateEvent * _result; | |
2978 | WXTYPE _arg0 = (WXTYPE ) 0; | |
2979 | int _arg1 = (int ) TRUE; | |
2980 | int _arg2 = (int ) 0; | |
2981 | char *_kwnames[] = { "eventType","active","id", NULL }; | |
2982 | char _ptemp[128]; | |
2983 | ||
2984 | self = self; | |
2985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hii:new_wxActivateEvent",_kwnames,&_arg0,&_arg1,&_arg2)) | |
2986 | return NULL; | |
2987 | { | |
2988 | wxPy_BEGIN_ALLOW_THREADS; | |
2989 | _result = (wxActivateEvent *)new_wxActivateEvent(_arg0,_arg1,_arg2); | |
2990 | ||
2991 | wxPy_END_ALLOW_THREADS; | |
2992 | } if (_result) { | |
2993 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxActivateEvent_p"); | |
2994 | _resultobj = Py_BuildValue("s",_ptemp); | |
2995 | } else { | |
2996 | Py_INCREF(Py_None); | |
2997 | _resultobj = Py_None; | |
2998 | } | |
2999 | return _resultobj; | |
3000 | } | |
3001 | ||
3002 | #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive()) | |
3003 | static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3004 | PyObject * _resultobj; | |
3005 | bool _result; | |
3006 | wxActivateEvent * _arg0; | |
3007 | PyObject * _argo0 = 0; | |
3008 | char *_kwnames[] = { "self", NULL }; | |
3009 | ||
3010 | self = self; | |
3011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxActivateEvent_GetActive",_kwnames,&_argo0)) | |
3012 | return NULL; | |
3013 | if (_argo0) { | |
3014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxActivateEvent_p")) { | |
3016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p."); | |
3017 | return NULL; | |
3018 | } | |
3019 | } | |
3020 | { | |
3021 | wxPy_BEGIN_ALLOW_THREADS; | |
3022 | _result = (bool )wxActivateEvent_GetActive(_arg0); | |
3023 | ||
3024 | wxPy_END_ALLOW_THREADS; | |
3025 | } _resultobj = Py_BuildValue("i",_result); | |
3026 | return _resultobj; | |
3027 | } | |
3028 | ||
3029 | static void *SwigwxInitDialogEventTowxEvent(void *ptr) { | |
3030 | wxInitDialogEvent *src; | |
3031 | wxEvent *dest; | |
3032 | src = (wxInitDialogEvent *) ptr; | |
3033 | dest = (wxEvent *) src; | |
3034 | return (void *) dest; | |
3035 | } | |
3036 | ||
3037 | #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0)) | |
3038 | static PyObject *_wrap_new_wxInitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3039 | PyObject * _resultobj; | |
3040 | wxInitDialogEvent * _result; | |
3041 | int _arg0 = (int ) 0; | |
3042 | char *_kwnames[] = { "id", NULL }; | |
3043 | char _ptemp[128]; | |
3044 | ||
3045 | self = self; | |
3046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxInitDialogEvent",_kwnames,&_arg0)) | |
3047 | return NULL; | |
3048 | { | |
3049 | wxPy_BEGIN_ALLOW_THREADS; | |
3050 | _result = (wxInitDialogEvent *)new_wxInitDialogEvent(_arg0); | |
3051 | ||
3052 | wxPy_END_ALLOW_THREADS; | |
3053 | } if (_result) { | |
3054 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxInitDialogEvent_p"); | |
3055 | _resultobj = Py_BuildValue("s",_ptemp); | |
3056 | } else { | |
3057 | Py_INCREF(Py_None); | |
3058 | _resultobj = Py_None; | |
3059 | } | |
3060 | return _resultobj; | |
3061 | } | |
3062 | ||
3063 | static void *SwigwxMenuEventTowxEvent(void *ptr) { | |
3064 | wxMenuEvent *src; | |
3065 | wxEvent *dest; | |
3066 | src = (wxMenuEvent *) ptr; | |
3067 | dest = (wxEvent *) src; | |
3068 | return (void *) dest; | |
3069 | } | |
3070 | ||
3071 | #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1)) | |
3072 | static PyObject *_wrap_new_wxMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3073 | PyObject * _resultobj; | |
3074 | wxMenuEvent * _result; | |
3075 | WXTYPE _arg0 = (WXTYPE ) 0; | |
3076 | int _arg1 = (int ) 0; | |
3077 | char *_kwnames[] = { "id","id", NULL }; | |
3078 | char _ptemp[128]; | |
3079 | ||
3080 | self = self; | |
3081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxMenuEvent",_kwnames,&_arg0,&_arg1)) | |
3082 | return NULL; | |
3083 | { | |
3084 | wxPy_BEGIN_ALLOW_THREADS; | |
3085 | _result = (wxMenuEvent *)new_wxMenuEvent(_arg0,_arg1); | |
3086 | ||
3087 | wxPy_END_ALLOW_THREADS; | |
3088 | } if (_result) { | |
3089 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuEvent_p"); | |
3090 | _resultobj = Py_BuildValue("s",_ptemp); | |
3091 | } else { | |
3092 | Py_INCREF(Py_None); | |
3093 | _resultobj = Py_None; | |
3094 | } | |
3095 | return _resultobj; | |
3096 | } | |
3097 | ||
3098 | #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId()) | |
3099 | static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3100 | PyObject * _resultobj; | |
3101 | int _result; | |
3102 | wxMenuEvent * _arg0; | |
3103 | PyObject * _argo0 = 0; | |
3104 | char *_kwnames[] = { "self", NULL }; | |
3105 | ||
3106 | self = self; | |
3107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_GetMenuId",_kwnames,&_argo0)) | |
3108 | return NULL; | |
3109 | if (_argo0) { | |
3110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) { | |
3112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p."); | |
3113 | return NULL; | |
3114 | } | |
3115 | } | |
3116 | { | |
3117 | wxPy_BEGIN_ALLOW_THREADS; | |
3118 | _result = (int )wxMenuEvent_GetMenuId(_arg0); | |
3119 | ||
3120 | wxPy_END_ALLOW_THREADS; | |
3121 | } _resultobj = Py_BuildValue("i",_result); | |
3122 | return _resultobj; | |
3123 | } | |
3124 | ||
3125 | static void *SwigwxShowEventTowxEvent(void *ptr) { | |
3126 | wxShowEvent *src; | |
3127 | wxEvent *dest; | |
3128 | src = (wxShowEvent *) ptr; | |
3129 | dest = (wxEvent *) src; | |
3130 | return (void *) dest; | |
3131 | } | |
3132 | ||
3133 | #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1)) | |
3134 | static PyObject *_wrap_new_wxShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3135 | PyObject * _resultobj; | |
3136 | wxShowEvent * _result; | |
3137 | int _arg0 = (int ) 0; | |
3138 | int _arg1 = (int ) FALSE; | |
3139 | char *_kwnames[] = { "id","show", NULL }; | |
3140 | char _ptemp[128]; | |
3141 | ||
3142 | self = self; | |
3143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxShowEvent",_kwnames,&_arg0,&_arg1)) | |
3144 | return NULL; | |
3145 | { | |
3146 | wxPy_BEGIN_ALLOW_THREADS; | |
3147 | _result = (wxShowEvent *)new_wxShowEvent(_arg0,_arg1); | |
3148 | ||
3149 | wxPy_END_ALLOW_THREADS; | |
3150 | } if (_result) { | |
3151 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxShowEvent_p"); | |
3152 | _resultobj = Py_BuildValue("s",_ptemp); | |
3153 | } else { | |
3154 | Py_INCREF(Py_None); | |
3155 | _resultobj = Py_None; | |
3156 | } | |
3157 | return _resultobj; | |
3158 | } | |
3159 | ||
3160 | #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0)) | |
3161 | static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3162 | PyObject * _resultobj; | |
3163 | wxShowEvent * _arg0; | |
3164 | bool _arg1; | |
3165 | PyObject * _argo0 = 0; | |
3166 | int tempbool1; | |
3167 | char *_kwnames[] = { "self","show", NULL }; | |
3168 | ||
3169 | self = self; | |
3170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShowEvent_SetShow",_kwnames,&_argo0,&tempbool1)) | |
3171 | return NULL; | |
3172 | if (_argo0) { | |
3173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) { | |
3175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p."); | |
3176 | return NULL; | |
3177 | } | |
3178 | } | |
3179 | _arg1 = (bool ) tempbool1; | |
3180 | { | |
3181 | wxPy_BEGIN_ALLOW_THREADS; | |
3182 | wxShowEvent_SetShow(_arg0,_arg1); | |
3183 | ||
3184 | wxPy_END_ALLOW_THREADS; | |
3185 | } Py_INCREF(Py_None); | |
3186 | _resultobj = Py_None; | |
3187 | return _resultobj; | |
3188 | } | |
3189 | ||
3190 | #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow()) | |
3191 | static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3192 | PyObject * _resultobj; | |
3193 | bool _result; | |
3194 | wxShowEvent * _arg0; | |
3195 | PyObject * _argo0 = 0; | |
3196 | char *_kwnames[] = { "self", NULL }; | |
3197 | ||
3198 | self = self; | |
3199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShowEvent_GetShow",_kwnames,&_argo0)) | |
3200 | return NULL; | |
3201 | if (_argo0) { | |
3202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) { | |
3204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p."); | |
3205 | return NULL; | |
3206 | } | |
3207 | } | |
3208 | { | |
3209 | wxPy_BEGIN_ALLOW_THREADS; | |
3210 | _result = (bool )wxShowEvent_GetShow(_arg0); | |
3211 | ||
3212 | wxPy_END_ALLOW_THREADS; | |
3213 | } _resultobj = Py_BuildValue("i",_result); | |
3214 | return _resultobj; | |
3215 | } | |
3216 | ||
3217 | static void *SwigwxIconizeEventTowxEvent(void *ptr) { | |
3218 | wxIconizeEvent *src; | |
3219 | wxEvent *dest; | |
3220 | src = (wxIconizeEvent *) ptr; | |
3221 | dest = (wxEvent *) src; | |
3222 | return (void *) dest; | |
3223 | } | |
3224 | ||
3225 | #define new_wxIconizeEvent(_swigarg0) (new wxIconizeEvent(_swigarg0)) | |
3226 | static PyObject *_wrap_new_wxIconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3227 | PyObject * _resultobj; | |
3228 | wxIconizeEvent * _result; | |
3229 | int _arg0 = (int ) 0; | |
3230 | char *_kwnames[] = { "id", NULL }; | |
3231 | char _ptemp[128]; | |
3232 | ||
3233 | self = self; | |
3234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxIconizeEvent",_kwnames,&_arg0)) | |
3235 | return NULL; | |
3236 | { | |
3237 | wxPy_BEGIN_ALLOW_THREADS; | |
3238 | _result = (wxIconizeEvent *)new_wxIconizeEvent(_arg0); | |
3239 | ||
3240 | wxPy_END_ALLOW_THREADS; | |
3241 | } if (_result) { | |
3242 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconizeEvent_p"); | |
3243 | _resultobj = Py_BuildValue("s",_ptemp); | |
3244 | } else { | |
3245 | Py_INCREF(Py_None); | |
3246 | _resultobj = Py_None; | |
3247 | } | |
3248 | return _resultobj; | |
3249 | } | |
3250 | ||
3251 | static void *SwigwxMaximizeEventTowxEvent(void *ptr) { | |
3252 | wxMaximizeEvent *src; | |
3253 | wxEvent *dest; | |
3254 | src = (wxMaximizeEvent *) ptr; | |
3255 | dest = (wxEvent *) src; | |
3256 | return (void *) dest; | |
3257 | } | |
3258 | ||
3259 | #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0)) | |
3260 | static PyObject *_wrap_new_wxMaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3261 | PyObject * _resultobj; | |
3262 | wxMaximizeEvent * _result; | |
3263 | int _arg0 = (int ) 0; | |
3264 | char *_kwnames[] = { "id", NULL }; | |
3265 | char _ptemp[128]; | |
3266 | ||
3267 | self = self; | |
3268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxMaximizeEvent",_kwnames,&_arg0)) | |
3269 | return NULL; | |
3270 | { | |
3271 | wxPy_BEGIN_ALLOW_THREADS; | |
3272 | _result = (wxMaximizeEvent *)new_wxMaximizeEvent(_arg0); | |
3273 | ||
3274 | wxPy_END_ALLOW_THREADS; | |
3275 | } if (_result) { | |
3276 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMaximizeEvent_p"); | |
3277 | _resultobj = Py_BuildValue("s",_ptemp); | |
3278 | } else { | |
3279 | Py_INCREF(Py_None); | |
3280 | _resultobj = Py_None; | |
3281 | } | |
3282 | return _resultobj; | |
3283 | } | |
3284 | ||
3285 | static void *SwigwxJoystickEventTowxEvent(void *ptr) { | |
3286 | wxJoystickEvent *src; | |
3287 | wxEvent *dest; | |
3288 | src = (wxJoystickEvent *) ptr; | |
3289 | dest = (wxEvent *) src; | |
3290 | return (void *) dest; | |
3291 | } | |
3292 | ||
3293 | #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3294 | static PyObject *_wrap_new_wxJoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3295 | PyObject * _resultobj; | |
3296 | wxJoystickEvent * _result; | |
3297 | int _arg0 = (int ) wxEVT_NULL; | |
3298 | int _arg1 = (int ) 0; | |
3299 | int _arg2 = (int ) wxJOYSTICK1; | |
3300 | int _arg3 = (int ) 0; | |
3301 | char *_kwnames[] = { "type","state","joystick","change", NULL }; | |
3302 | char _ptemp[128]; | |
3303 | ||
3304 | self = self; | |
3305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxJoystickEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) | |
3306 | return NULL; | |
3307 | { | |
3308 | wxPy_BEGIN_ALLOW_THREADS; | |
3309 | _result = (wxJoystickEvent *)new_wxJoystickEvent(_arg0,_arg1,_arg2,_arg3); | |
3310 | ||
3311 | wxPy_END_ALLOW_THREADS; | |
3312 | } if (_result) { | |
3313 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystickEvent_p"); | |
3314 | _resultobj = Py_BuildValue("s",_ptemp); | |
3315 | } else { | |
3316 | Py_INCREF(Py_None); | |
3317 | _resultobj = Py_None; | |
3318 | } | |
3319 | return _resultobj; | |
3320 | } | |
3321 | ||
3322 | #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
3323 | static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3324 | PyObject * _resultobj; | |
3325 | wxPoint * _result; | |
3326 | wxJoystickEvent * _arg0; | |
3327 | PyObject * _argo0 = 0; | |
3328 | char *_kwnames[] = { "self", NULL }; | |
3329 | char _ptemp[128]; | |
3330 | ||
3331 | self = self; | |
3332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetPosition",_kwnames,&_argo0)) | |
3333 | return NULL; | |
3334 | if (_argo0) { | |
3335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p."); | |
3338 | return NULL; | |
3339 | } | |
3340 | } | |
3341 | { | |
3342 | wxPy_BEGIN_ALLOW_THREADS; | |
3343 | _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0)); | |
3344 | ||
3345 | wxPy_END_ALLOW_THREADS; | |
3346 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
3347 | _resultobj = Py_BuildValue("s",_ptemp); | |
3348 | return _resultobj; | |
3349 | } | |
3350 | ||
3351 | #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition()) | |
3352 | static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3353 | PyObject * _resultobj; | |
3354 | int _result; | |
3355 | wxJoystickEvent * _arg0; | |
3356 | PyObject * _argo0 = 0; | |
3357 | char *_kwnames[] = { "self", NULL }; | |
3358 | ||
3359 | self = self; | |
3360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetZPosition",_kwnames,&_argo0)) | |
3361 | return NULL; | |
3362 | if (_argo0) { | |
3363 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3364 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3365 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p."); | |
3366 | return NULL; | |
3367 | } | |
3368 | } | |
3369 | { | |
3370 | wxPy_BEGIN_ALLOW_THREADS; | |
3371 | _result = (int )wxJoystickEvent_GetZPosition(_arg0); | |
3372 | ||
3373 | wxPy_END_ALLOW_THREADS; | |
3374 | } _resultobj = Py_BuildValue("i",_result); | |
3375 | return _resultobj; | |
3376 | } | |
3377 | ||
3378 | #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState()) | |
3379 | static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3380 | PyObject * _resultobj; | |
3381 | int _result; | |
3382 | wxJoystickEvent * _arg0; | |
3383 | PyObject * _argo0 = 0; | |
3384 | char *_kwnames[] = { "self", NULL }; | |
3385 | ||
3386 | self = self; | |
3387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonState",_kwnames,&_argo0)) | |
3388 | return NULL; | |
3389 | if (_argo0) { | |
3390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p."); | |
3393 | return NULL; | |
3394 | } | |
3395 | } | |
3396 | { | |
3397 | wxPy_BEGIN_ALLOW_THREADS; | |
3398 | _result = (int )wxJoystickEvent_GetButtonState(_arg0); | |
3399 | ||
3400 | wxPy_END_ALLOW_THREADS; | |
3401 | } _resultobj = Py_BuildValue("i",_result); | |
3402 | return _resultobj; | |
3403 | } | |
3404 | ||
3405 | #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange()) | |
3406 | static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3407 | PyObject * _resultobj; | |
3408 | int _result; | |
3409 | wxJoystickEvent * _arg0; | |
3410 | PyObject * _argo0 = 0; | |
3411 | char *_kwnames[] = { "self", NULL }; | |
3412 | ||
3413 | self = self; | |
3414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonChange",_kwnames,&_argo0)) | |
3415 | return NULL; | |
3416 | if (_argo0) { | |
3417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p."); | |
3420 | return NULL; | |
3421 | } | |
3422 | } | |
3423 | { | |
3424 | wxPy_BEGIN_ALLOW_THREADS; | |
3425 | _result = (int )wxJoystickEvent_GetButtonChange(_arg0); | |
3426 | ||
3427 | wxPy_END_ALLOW_THREADS; | |
3428 | } _resultobj = Py_BuildValue("i",_result); | |
3429 | return _resultobj; | |
3430 | } | |
3431 | ||
3432 | #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick()) | |
3433 | static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3434 | PyObject * _resultobj; | |
3435 | int _result; | |
3436 | wxJoystickEvent * _arg0; | |
3437 | PyObject * _argo0 = 0; | |
3438 | char *_kwnames[] = { "self", NULL }; | |
3439 | ||
3440 | self = self; | |
3441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetJoystick",_kwnames,&_argo0)) | |
3442 | return NULL; | |
3443 | if (_argo0) { | |
3444 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3445 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p."); | |
3447 | return NULL; | |
3448 | } | |
3449 | } | |
3450 | { | |
3451 | wxPy_BEGIN_ALLOW_THREADS; | |
3452 | _result = (int )wxJoystickEvent_GetJoystick(_arg0); | |
3453 | ||
3454 | wxPy_END_ALLOW_THREADS; | |
3455 | } _resultobj = Py_BuildValue("i",_result); | |
3456 | return _resultobj; | |
3457 | } | |
3458 | ||
3459 | #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0)) | |
3460 | static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3461 | PyObject * _resultobj; | |
3462 | wxJoystickEvent * _arg0; | |
3463 | int _arg1; | |
3464 | PyObject * _argo0 = 0; | |
3465 | char *_kwnames[] = { "self","stick", NULL }; | |
3466 | ||
3467 | self = self; | |
3468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetJoystick",_kwnames,&_argo0,&_arg1)) | |
3469 | return NULL; | |
3470 | if (_argo0) { | |
3471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p."); | |
3474 | return NULL; | |
3475 | } | |
3476 | } | |
3477 | { | |
3478 | wxPy_BEGIN_ALLOW_THREADS; | |
3479 | wxJoystickEvent_SetJoystick(_arg0,_arg1); | |
3480 | ||
3481 | wxPy_END_ALLOW_THREADS; | |
3482 | } Py_INCREF(Py_None); | |
3483 | _resultobj = Py_None; | |
3484 | return _resultobj; | |
3485 | } | |
3486 | ||
3487 | #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0)) | |
efc5f224 | 3488 | static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3489 | PyObject * _resultobj; |
3490 | wxJoystickEvent * _arg0; | |
48115f4a RD |
3491 | int _arg1; |
3492 | PyObject * _argo0 = 0; | |
3493 | char *_kwnames[] = { "self","state", NULL }; | |
3494 | ||
3495 | self = self; | |
3496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonState",_kwnames,&_argo0,&_arg1)) | |
3497 | return NULL; | |
3498 | if (_argo0) { | |
3499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p."); | |
3502 | return NULL; | |
3503 | } | |
3504 | } | |
3505 | { | |
3506 | wxPy_BEGIN_ALLOW_THREADS; | |
3507 | wxJoystickEvent_SetButtonState(_arg0,_arg1); | |
3508 | ||
3509 | wxPy_END_ALLOW_THREADS; | |
3510 | } Py_INCREF(Py_None); | |
3511 | _resultobj = Py_None; | |
3512 | return _resultobj; | |
3513 | } | |
3514 | ||
3515 | #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0)) | |
3516 | static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3517 | PyObject * _resultobj; | |
3518 | wxJoystickEvent * _arg0; | |
3519 | int _arg1; | |
3520 | PyObject * _argo0 = 0; | |
3521 | char *_kwnames[] = { "self","change", NULL }; | |
3522 | ||
3523 | self = self; | |
3524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonChange",_kwnames,&_argo0,&_arg1)) | |
3525 | return NULL; | |
3526 | if (_argo0) { | |
3527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p."); | |
3530 | return NULL; | |
3531 | } | |
3532 | } | |
3533 | { | |
3534 | wxPy_BEGIN_ALLOW_THREADS; | |
3535 | wxJoystickEvent_SetButtonChange(_arg0,_arg1); | |
3536 | ||
3537 | wxPy_END_ALLOW_THREADS; | |
3538 | } Py_INCREF(Py_None); | |
3539 | _resultobj = Py_None; | |
3540 | return _resultobj; | |
3541 | } | |
3542 | ||
3543 | #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
3544 | static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3545 | PyObject * _resultobj; | |
3546 | wxJoystickEvent * _arg0; | |
3547 | wxPoint * _arg1; | |
3548 | PyObject * _argo0 = 0; | |
3549 | wxPoint temp; | |
3550 | PyObject * _obj1 = 0; | |
3551 | char *_kwnames[] = { "self","pos", NULL }; | |
3552 | ||
3553 | self = self; | |
3554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_obj1)) | |
3555 | return NULL; | |
3556 | if (_argo0) { | |
3557 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3558 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p."); | |
3560 | return NULL; | |
3561 | } | |
3562 | } | |
3563 | { | |
3564 | _arg1 = &temp; | |
3565 | if (! wxPoint_helper(_obj1, &_arg1)) | |
3566 | return NULL; | |
3567 | } | |
3568 | { | |
3569 | wxPy_BEGIN_ALLOW_THREADS; | |
3570 | wxJoystickEvent_SetPosition(_arg0,*_arg1); | |
3571 | ||
3572 | wxPy_END_ALLOW_THREADS; | |
3573 | } Py_INCREF(Py_None); | |
3574 | _resultobj = Py_None; | |
3575 | return _resultobj; | |
3576 | } | |
3577 | ||
3578 | #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0)) | |
3579 | static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3580 | PyObject * _resultobj; | |
3581 | wxJoystickEvent * _arg0; | |
3582 | int _arg1; | |
3583 | PyObject * _argo0 = 0; | |
3584 | char *_kwnames[] = { "self","zPos", NULL }; | |
3585 | ||
3586 | self = self; | |
3587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetZPosition",_kwnames,&_argo0,&_arg1)) | |
3588 | return NULL; | |
3589 | if (_argo0) { | |
3590 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3591 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3592 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p."); | |
3593 | return NULL; | |
3594 | } | |
3595 | } | |
3596 | { | |
3597 | wxPy_BEGIN_ALLOW_THREADS; | |
3598 | wxJoystickEvent_SetZPosition(_arg0,_arg1); | |
3599 | ||
3600 | wxPy_END_ALLOW_THREADS; | |
3601 | } Py_INCREF(Py_None); | |
3602 | _resultobj = Py_None; | |
3603 | return _resultobj; | |
3604 | } | |
3605 | ||
3606 | #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton()) | |
3607 | static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3608 | PyObject * _resultobj; | |
3609 | bool _result; | |
3610 | wxJoystickEvent * _arg0; | |
3611 | PyObject * _argo0 = 0; | |
3612 | char *_kwnames[] = { "self", NULL }; | |
3613 | ||
3614 | self = self; | |
3615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsButton",_kwnames,&_argo0)) | |
3616 | return NULL; | |
3617 | if (_argo0) { | |
3618 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3619 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p."); | |
3621 | return NULL; | |
3622 | } | |
3623 | } | |
3624 | { | |
3625 | wxPy_BEGIN_ALLOW_THREADS; | |
3626 | _result = (bool )wxJoystickEvent_IsButton(_arg0); | |
3627 | ||
3628 | wxPy_END_ALLOW_THREADS; | |
3629 | } _resultobj = Py_BuildValue("i",_result); | |
3630 | return _resultobj; | |
3631 | } | |
3632 | ||
3633 | #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove()) | |
3634 | static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3635 | PyObject * _resultobj; | |
3636 | bool _result; | |
3637 | wxJoystickEvent * _arg0; | |
3638 | PyObject * _argo0 = 0; | |
3639 | char *_kwnames[] = { "self", NULL }; | |
3640 | ||
3641 | self = self; | |
3642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsMove",_kwnames,&_argo0)) | |
3643 | return NULL; | |
3644 | if (_argo0) { | |
3645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p."); | |
3648 | return NULL; | |
3649 | } | |
3650 | } | |
3651 | { | |
3652 | wxPy_BEGIN_ALLOW_THREADS; | |
3653 | _result = (bool )wxJoystickEvent_IsMove(_arg0); | |
3654 | ||
3655 | wxPy_END_ALLOW_THREADS; | |
3656 | } _resultobj = Py_BuildValue("i",_result); | |
3657 | return _resultobj; | |
3658 | } | |
3659 | ||
3660 | #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove()) | |
3661 | static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3662 | PyObject * _resultobj; | |
3663 | bool _result; | |
3664 | wxJoystickEvent * _arg0; | |
3665 | PyObject * _argo0 = 0; | |
3666 | char *_kwnames[] = { "self", NULL }; | |
3667 | ||
3668 | self = self; | |
3669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsZMove",_kwnames,&_argo0)) | |
3670 | return NULL; | |
3671 | if (_argo0) { | |
3672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p."); | |
3675 | return NULL; | |
3676 | } | |
3677 | } | |
3678 | { | |
3679 | wxPy_BEGIN_ALLOW_THREADS; | |
3680 | _result = (bool )wxJoystickEvent_IsZMove(_arg0); | |
3681 | ||
3682 | wxPy_END_ALLOW_THREADS; | |
3683 | } _resultobj = Py_BuildValue("i",_result); | |
3684 | return _resultobj; | |
3685 | } | |
3686 | ||
3687 | #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0)) | |
3688 | static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3689 | PyObject * _resultobj; | |
3690 | bool _result; | |
3691 | wxJoystickEvent * _arg0; | |
3692 | int _arg1 = (int ) wxJOY_BUTTON_ANY; | |
3693 | PyObject * _argo0 = 0; | |
3694 | char *_kwnames[] = { "self","but", NULL }; | |
3695 | ||
3696 | self = self; | |
3697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonDown",_kwnames,&_argo0,&_arg1)) | |
3698 | return NULL; | |
3699 | if (_argo0) { | |
3700 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3701 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p."); | |
3703 | return NULL; | |
3704 | } | |
3705 | } | |
3706 | { | |
3707 | wxPy_BEGIN_ALLOW_THREADS; | |
3708 | _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1); | |
3709 | ||
3710 | wxPy_END_ALLOW_THREADS; | |
3711 | } _resultobj = Py_BuildValue("i",_result); | |
3712 | return _resultobj; | |
3713 | } | |
3714 | ||
3715 | #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0)) | |
3716 | static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3717 | PyObject * _resultobj; | |
3718 | bool _result; | |
3719 | wxJoystickEvent * _arg0; | |
3720 | int _arg1 = (int ) wxJOY_BUTTON_ANY; | |
3721 | PyObject * _argo0 = 0; | |
3722 | char *_kwnames[] = { "self","but", NULL }; | |
3723 | ||
3724 | self = self; | |
3725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonUp",_kwnames,&_argo0,&_arg1)) | |
3726 | return NULL; | |
3727 | if (_argo0) { | |
3728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
3730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p."); | |
3731 | return NULL; | |
3732 | } | |
3733 | } | |
3734 | { | |
3735 | wxPy_BEGIN_ALLOW_THREADS; | |
3736 | _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1); | |
3737 | ||
3738 | wxPy_END_ALLOW_THREADS; | |
3739 | } _resultobj = Py_BuildValue("i",_result); | |
3740 | return _resultobj; | |
3741 | } | |
3742 | ||
3743 | #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0)) | |
3744 | static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3745 | PyObject * _resultobj; | |
3746 | bool _result; | |
3747 | wxJoystickEvent * _arg0; | |
3748 | int _arg1 = (int ) wxJOY_BUTTON_ANY; | |
1d99702e | 3749 | PyObject * _argo0 = 0; |
48115f4a | 3750 | char *_kwnames[] = { "self","but", NULL }; |
8ab979d7 RD |
3751 | |
3752 | self = self; | |
48115f4a | 3753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3754 | return NULL; |
1d99702e RD |
3755 | if (_argo0) { |
3756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
48115f4a | 3758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p."); |
8ab979d7 RD |
3759 | return NULL; |
3760 | } | |
3761 | } | |
cf694132 RD |
3762 | { |
3763 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 3764 | _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1); |
cf694132 RD |
3765 | |
3766 | wxPy_END_ALLOW_THREADS; | |
48115f4a | 3767 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
3768 | return _resultobj; |
3769 | } | |
3770 | ||
48115f4a RD |
3771 | static void *SwigwxDropFilesEventTowxEvent(void *ptr) { |
3772 | wxDropFilesEvent *src; | |
3773 | wxEvent *dest; | |
3774 | src = (wxDropFilesEvent *) ptr; | |
3775 | dest = (wxEvent *) src; | |
3776 | return (void *) dest; | |
3777 | } | |
3778 | ||
3779 | #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
3780 | static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 3781 | PyObject * _resultobj; |
48115f4a RD |
3782 | wxPoint * _result; |
3783 | wxDropFilesEvent * _arg0; | |
1d99702e | 3784 | PyObject * _argo0 = 0; |
48115f4a RD |
3785 | char *_kwnames[] = { "self", NULL }; |
3786 | char _ptemp[128]; | |
8ab979d7 RD |
3787 | |
3788 | self = self; | |
48115f4a | 3789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetPosition",_kwnames,&_argo0)) |
8ab979d7 | 3790 | return NULL; |
1d99702e RD |
3791 | if (_argo0) { |
3792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
3793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { |
3794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p."); | |
8ab979d7 RD |
3795 | return NULL; |
3796 | } | |
3797 | } | |
cf694132 RD |
3798 | { |
3799 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 3800 | _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0)); |
cf694132 RD |
3801 | |
3802 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
3803 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
3804 | _resultobj = Py_BuildValue("s",_ptemp); | |
8ab979d7 RD |
3805 | return _resultobj; |
3806 | } | |
3807 | ||
48115f4a RD |
3808 | #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles()) |
3809 | static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 3810 | PyObject * _resultobj; |
48115f4a RD |
3811 | int _result; |
3812 | wxDropFilesEvent * _arg0; | |
1d99702e | 3813 | PyObject * _argo0 = 0; |
48115f4a | 3814 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3815 | |
3816 | self = self; | |
48115f4a | 3817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames,&_argo0)) |
8ab979d7 | 3818 | return NULL; |
1d99702e RD |
3819 | if (_argo0) { |
3820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
3821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { |
3822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p."); | |
8ab979d7 RD |
3823 | return NULL; |
3824 | } | |
3825 | } | |
2f90df85 | 3826 | { |
48115f4a RD |
3827 | wxPy_BEGIN_ALLOW_THREADS; |
3828 | _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0); | |
3829 | ||
3830 | wxPy_END_ALLOW_THREADS; | |
3831 | } _resultobj = Py_BuildValue("i",_result); | |
3832 | return _resultobj; | |
3833 | } | |
3834 | ||
3835 | static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) { | |
3836 | int count = self->GetNumberOfFiles(); | |
3837 | wxString* files = self->GetFiles(); | |
3838 | PyObject* list = PyList_New(count); | |
3839 | ||
3840 | if (!list) { | |
3841 | PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!"); | |
3842 | return NULL; | |
3843 | } | |
3844 | ||
3845 | for (int i=0; i<count; i++) { | |
3846 | PyList_SetItem(list, i, PyString_FromString((const char*)files[i])); | |
3847 | } | |
3848 | return list; | |
3849 | } | |
3850 | static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3851 | PyObject * _resultobj; | |
3852 | PyObject * _result; | |
3853 | wxDropFilesEvent * _arg0; | |
3854 | PyObject * _argo0 = 0; | |
3855 | char *_kwnames[] = { "self", NULL }; | |
3856 | ||
3857 | self = self; | |
3858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetFiles",_kwnames,&_argo0)) | |
3859 | return NULL; | |
3860 | if (_argo0) { | |
3861 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3862 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { | |
3863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p."); | |
3864 | return NULL; | |
3865 | } | |
3866 | } | |
3867 | { | |
3868 | wxPy_BEGIN_ALLOW_THREADS; | |
3869 | _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0); | |
3870 | ||
3871 | wxPy_END_ALLOW_THREADS; | |
3872 | }{ | |
3873 | _resultobj = _result; | |
3874 | } | |
3875 | return _resultobj; | |
3876 | } | |
3877 | ||
3878 | static void *SwigwxIdleEventTowxEvent(void *ptr) { | |
3879 | wxIdleEvent *src; | |
3880 | wxEvent *dest; | |
3881 | src = (wxIdleEvent *) ptr; | |
3882 | dest = (wxEvent *) src; | |
3883 | return (void *) dest; | |
3884 | } | |
3885 | ||
3886 | #define new_wxIdleEvent() (new wxIdleEvent()) | |
3887 | static PyObject *_wrap_new_wxIdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3888 | PyObject * _resultobj; | |
3889 | wxIdleEvent * _result; | |
3890 | char *_kwnames[] = { NULL }; | |
3891 | char _ptemp[128]; | |
3892 | ||
3893 | self = self; | |
3894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxIdleEvent",_kwnames)) | |
8ab979d7 | 3895 | return NULL; |
48115f4a RD |
3896 | { |
3897 | wxPy_BEGIN_ALLOW_THREADS; | |
3898 | _result = (wxIdleEvent *)new_wxIdleEvent(); | |
3899 | ||
3900 | wxPy_END_ALLOW_THREADS; | |
3901 | } if (_result) { | |
3902 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIdleEvent_p"); | |
3903 | _resultobj = Py_BuildValue("s",_ptemp); | |
3904 | } else { | |
3905 | Py_INCREF(Py_None); | |
3906 | _resultobj = Py_None; | |
3907 | } | |
3908 | return _resultobj; | |
2f90df85 | 3909 | } |
48115f4a RD |
3910 | |
3911 | #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0)) | |
3912 | static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3913 | PyObject * _resultobj; | |
3914 | wxIdleEvent * _arg0; | |
3915 | bool _arg1 = (bool ) TRUE; | |
3916 | PyObject * _argo0 = 0; | |
3917 | int tempbool1 = (int) TRUE; | |
3918 | char *_kwnames[] = { "self","needMore", NULL }; | |
3919 | ||
3920 | self = self; | |
3921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIdleEvent_RequestMore",_kwnames,&_argo0,&tempbool1)) | |
3922 | return NULL; | |
3923 | if (_argo0) { | |
3924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) { | |
3926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p."); | |
3927 | return NULL; | |
3928 | } | |
3929 | } | |
3930 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
3931 | { |
3932 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 3933 | wxIdleEvent_RequestMore(_arg0,_arg1); |
cf694132 RD |
3934 | |
3935 | wxPy_END_ALLOW_THREADS; | |
3936 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
3937 | _resultobj = Py_None; |
3938 | return _resultobj; | |
3939 | } | |
3940 | ||
48115f4a RD |
3941 | #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested()) |
3942 | static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 3943 | PyObject * _resultobj; |
48115f4a RD |
3944 | bool _result; |
3945 | wxIdleEvent * _arg0; | |
1d99702e | 3946 | PyObject * _argo0 = 0; |
48115f4a | 3947 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3948 | |
3949 | self = self; | |
48115f4a | 3950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIdleEvent_MoreRequested",_kwnames,&_argo0)) |
8ab979d7 | 3951 | return NULL; |
1d99702e RD |
3952 | if (_argo0) { |
3953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
3954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) { |
3955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p."); | |
8ab979d7 RD |
3956 | return NULL; |
3957 | } | |
3958 | } | |
cf694132 RD |
3959 | { |
3960 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 3961 | _result = (bool )wxIdleEvent_MoreRequested(_arg0); |
cf694132 RD |
3962 | |
3963 | wxPy_END_ALLOW_THREADS; | |
48115f4a | 3964 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
3965 | return _resultobj; |
3966 | } | |
3967 | ||
48115f4a RD |
3968 | static void *SwigwxUpdateUIEventTowxEvent(void *ptr) { |
3969 | wxUpdateUIEvent *src; | |
3970 | wxEvent *dest; | |
3971 | src = (wxUpdateUIEvent *) ptr; | |
3972 | dest = (wxEvent *) src; | |
3973 | return (void *) dest; | |
3974 | } | |
3975 | ||
3976 | #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0)) | |
3977 | static PyObject *_wrap_new_wxUpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3978 | PyObject * _resultobj; | |
3979 | wxUpdateUIEvent * _result; | |
3980 | wxWindowID _arg0 = (wxWindowID ) 0; | |
3981 | char *_kwnames[] = { "commandId", NULL }; | |
3982 | char _ptemp[128]; | |
3983 | ||
3984 | self = self; | |
3985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxUpdateUIEvent",_kwnames,&_arg0)) | |
3986 | return NULL; | |
3987 | { | |
3988 | wxPy_BEGIN_ALLOW_THREADS; | |
3989 | _result = (wxUpdateUIEvent *)new_wxUpdateUIEvent(_arg0); | |
3990 | ||
3991 | wxPy_END_ALLOW_THREADS; | |
3992 | } if (_result) { | |
3993 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxUpdateUIEvent_p"); | |
3994 | _resultobj = Py_BuildValue("s",_ptemp); | |
3995 | } else { | |
3996 | Py_INCREF(Py_None); | |
3997 | _resultobj = Py_None; | |
3998 | } | |
3999 | return _resultobj; | |
4000 | } | |
4001 | ||
4002 | #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked()) | |
4003 | static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
4004 | PyObject * _resultobj; |
4005 | bool _result; | |
48115f4a | 4006 | wxUpdateUIEvent * _arg0; |
1d99702e | 4007 | PyObject * _argo0 = 0; |
efc5f224 | 4008 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4009 | |
4010 | self = self; | |
48115f4a | 4011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetChecked",_kwnames,&_argo0)) |
8ab979d7 | 4012 | return NULL; |
1d99702e RD |
4013 | if (_argo0) { |
4014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
4016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
4017 | return NULL; |
4018 | } | |
4019 | } | |
cf694132 RD |
4020 | { |
4021 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4022 | _result = (bool )wxUpdateUIEvent_GetChecked(_arg0); |
cf694132 RD |
4023 | |
4024 | wxPy_END_ALLOW_THREADS; | |
4025 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4026 | return _resultobj; |
4027 | } | |
4028 | ||
48115f4a RD |
4029 | #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled()) |
4030 | static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
4031 | PyObject * _resultobj; |
4032 | bool _result; | |
48115f4a | 4033 | wxUpdateUIEvent * _arg0; |
1d99702e | 4034 | PyObject * _argo0 = 0; |
efc5f224 | 4035 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4036 | |
4037 | self = self; | |
48115f4a | 4038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetEnabled",_kwnames,&_argo0)) |
8ab979d7 | 4039 | return NULL; |
1d99702e RD |
4040 | if (_argo0) { |
4041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
4043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
4044 | return NULL; |
4045 | } | |
4046 | } | |
cf694132 RD |
4047 | { |
4048 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4049 | _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0); |
cf694132 RD |
4050 | |
4051 | wxPy_END_ALLOW_THREADS; | |
4052 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4053 | return _resultobj; |
4054 | } | |
4055 | ||
48115f4a RD |
4056 | #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText()) |
4057 | static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4058 | PyObject * _resultobj; |
48115f4a RD |
4059 | wxString * _result; |
4060 | wxUpdateUIEvent * _arg0; | |
1d99702e | 4061 | PyObject * _argo0 = 0; |
efc5f224 | 4062 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4063 | |
4064 | self = self; | |
48115f4a | 4065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetText",_kwnames,&_argo0)) |
8ab979d7 | 4066 | return NULL; |
1d99702e RD |
4067 | if (_argo0) { |
4068 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4069 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
4070 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
4071 | return NULL; |
4072 | } | |
4073 | } | |
cf694132 RD |
4074 | { |
4075 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4076 | _result = new wxString (wxUpdateUIEvent_GetText(_arg0)); |
cf694132 RD |
4077 | |
4078 | wxPy_END_ALLOW_THREADS; | |
48115f4a | 4079 | }{ |
eec92d76 | 4080 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
48115f4a RD |
4081 | } |
4082 | { | |
4083 | delete _result; | |
4084 | } | |
8ab979d7 RD |
4085 | return _resultobj; |
4086 | } | |
4087 | ||
48115f4a RD |
4088 | #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText()) |
4089 | static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
4090 | PyObject * _resultobj; |
4091 | bool _result; | |
48115f4a | 4092 | wxUpdateUIEvent * _arg0; |
1d99702e | 4093 | PyObject * _argo0 = 0; |
48115f4a | 4094 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4095 | |
4096 | self = self; | |
48115f4a | 4097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetText",_kwnames,&_argo0)) |
8ab979d7 | 4098 | return NULL; |
1d99702e RD |
4099 | if (_argo0) { |
4100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
4102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
4103 | return NULL; |
4104 | } | |
4105 | } | |
cf694132 RD |
4106 | { |
4107 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4108 | _result = (bool )wxUpdateUIEvent_GetSetText(_arg0); |
cf694132 RD |
4109 | |
4110 | wxPy_END_ALLOW_THREADS; | |
4111 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4112 | return _resultobj; |
4113 | } | |
4114 | ||
48115f4a RD |
4115 | #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked()) |
4116 | static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
4117 | PyObject * _resultobj; |
4118 | bool _result; | |
48115f4a | 4119 | wxUpdateUIEvent * _arg0; |
1d99702e | 4120 | PyObject * _argo0 = 0; |
48115f4a | 4121 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4122 | |
4123 | self = self; | |
48115f4a | 4124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetChecked",_kwnames,&_argo0)) |
8ab979d7 | 4125 | return NULL; |
1d99702e RD |
4126 | if (_argo0) { |
4127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
4129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
4130 | return NULL; |
4131 | } | |
4132 | } | |
cf694132 RD |
4133 | { |
4134 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4135 | _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0); |
cf694132 RD |
4136 | |
4137 | wxPy_END_ALLOW_THREADS; | |
4138 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4139 | return _resultobj; |
4140 | } | |
4141 | ||
48115f4a RD |
4142 | #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled()) |
4143 | static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
4144 | PyObject * _resultobj; |
4145 | bool _result; | |
48115f4a | 4146 | wxUpdateUIEvent * _arg0; |
1d99702e | 4147 | PyObject * _argo0 = 0; |
48115f4a | 4148 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4149 | |
4150 | self = self; | |
48115f4a | 4151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames,&_argo0)) |
8ab979d7 | 4152 | return NULL; |
1d99702e RD |
4153 | if (_argo0) { |
4154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
4156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
4157 | return NULL; |
4158 | } | |
4159 | } | |
cf694132 RD |
4160 | { |
4161 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4162 | _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0); |
cf694132 RD |
4163 | |
4164 | wxPy_END_ALLOW_THREADS; | |
4165 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4166 | return _resultobj; |
4167 | } | |
4168 | ||
48115f4a RD |
4169 | #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0)) |
4170 | static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4171 | PyObject * _resultobj; |
48115f4a RD |
4172 | wxUpdateUIEvent * _arg0; |
4173 | bool _arg1; | |
1d99702e | 4174 | PyObject * _argo0 = 0; |
48115f4a RD |
4175 | int tempbool1; |
4176 | char *_kwnames[] = { "self","check", NULL }; | |
8ab979d7 RD |
4177 | |
4178 | self = self; | |
48115f4a | 4179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Check",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 4180 | return NULL; |
1d99702e RD |
4181 | if (_argo0) { |
4182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
4184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
4185 | return NULL; |
4186 | } | |
4187 | } | |
48115f4a | 4188 | _arg1 = (bool ) tempbool1; |
cf694132 RD |
4189 | { |
4190 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4191 | wxUpdateUIEvent_Check(_arg0,_arg1); |
cf694132 RD |
4192 | |
4193 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4194 | } Py_INCREF(Py_None); |
4195 | _resultobj = Py_None; | |
8ab979d7 RD |
4196 | return _resultobj; |
4197 | } | |
4198 | ||
48115f4a RD |
4199 | #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) |
4200 | static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4201 | PyObject * _resultobj; |
48115f4a RD |
4202 | wxUpdateUIEvent * _arg0; |
4203 | bool _arg1; | |
1d99702e | 4204 | PyObject * _argo0 = 0; |
48115f4a RD |
4205 | int tempbool1; |
4206 | char *_kwnames[] = { "self","enable", NULL }; | |
8ab979d7 RD |
4207 | |
4208 | self = self; | |
48115f4a | 4209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Enable",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 4210 | return NULL; |
1d99702e RD |
4211 | if (_argo0) { |
4212 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4213 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
4214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
4215 | return NULL; |
4216 | } | |
4217 | } | |
48115f4a | 4218 | _arg1 = (bool ) tempbool1; |
cf694132 RD |
4219 | { |
4220 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4221 | wxUpdateUIEvent_Enable(_arg0,_arg1); |
cf694132 RD |
4222 | |
4223 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4224 | } Py_INCREF(Py_None); |
4225 | _resultobj = Py_None; | |
8ab979d7 RD |
4226 | return _resultobj; |
4227 | } | |
4228 | ||
48115f4a RD |
4229 | #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) |
4230 | static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4231 | PyObject * _resultobj; |
48115f4a RD |
4232 | wxUpdateUIEvent * _arg0; |
4233 | wxString * _arg1; | |
1d99702e | 4234 | PyObject * _argo0 = 0; |
48115f4a RD |
4235 | PyObject * _obj1 = 0; |
4236 | char *_kwnames[] = { "self","text", NULL }; | |
8ab979d7 RD |
4237 | |
4238 | self = self; | |
48115f4a | 4239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxUpdateUIEvent_SetText",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 4240 | return NULL; |
1d99702e RD |
4241 | if (_argo0) { |
4242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
4244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
4245 | return NULL; |
4246 | } | |
4247 | } | |
48115f4a RD |
4248 | { |
4249 | if (!PyString_Check(_obj1)) { | |
4250 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4251 | return NULL; | |
4252 | } | |
4253 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4254 | } | |
8ab979d7 | 4255 | { |
cf694132 | 4256 | wxPy_BEGIN_ALLOW_THREADS; |
48115f4a | 4257 | wxUpdateUIEvent_SetText(_arg0,*_arg1); |
cf694132 RD |
4258 | |
4259 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4260 | } Py_INCREF(Py_None); |
4261 | _resultobj = Py_None; | |
4262 | { | |
4263 | if (_obj1) | |
4264 | delete _arg1; | |
8ab979d7 RD |
4265 | } |
4266 | return _resultobj; | |
4267 | } | |
4268 | ||
48115f4a RD |
4269 | static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) { |
4270 | wxSysColourChangedEvent *src; | |
8ab979d7 | 4271 | wxEvent *dest; |
48115f4a | 4272 | src = (wxSysColourChangedEvent *) ptr; |
8ab979d7 RD |
4273 | dest = (wxEvent *) src; |
4274 | return (void *) dest; | |
4275 | } | |
4276 | ||
48115f4a RD |
4277 | #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent()) |
4278 | static PyObject *_wrap_new_wxSysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4279 | PyObject * _resultobj; |
48115f4a RD |
4280 | wxSysColourChangedEvent * _result; |
4281 | char *_kwnames[] = { NULL }; | |
4282 | char _ptemp[128]; | |
8ab979d7 RD |
4283 | |
4284 | self = self; | |
48115f4a | 4285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxSysColourChangedEvent",_kwnames)) |
8ab979d7 | 4286 | return NULL; |
cf694132 RD |
4287 | { |
4288 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4289 | _result = (wxSysColourChangedEvent *)new_wxSysColourChangedEvent(); |
cf694132 RD |
4290 | |
4291 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4292 | } if (_result) { |
4293 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSysColourChangedEvent_p"); | |
4294 | _resultobj = Py_BuildValue("s",_ptemp); | |
4295 | } else { | |
4296 | Py_INCREF(Py_None); | |
4297 | _resultobj = Py_None; | |
4298 | } | |
8ab979d7 RD |
4299 | return _resultobj; |
4300 | } | |
4301 | ||
48115f4a RD |
4302 | static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) { |
4303 | wxNotifyEvent *src; | |
4304 | wxCommandEvent *dest; | |
4305 | src = (wxNotifyEvent *) ptr; | |
4306 | dest = (wxCommandEvent *) src; | |
4307 | return (void *) dest; | |
4308 | } | |
4309 | ||
4310 | static void *SwigwxNotifyEventTowxEvent(void *ptr) { | |
4311 | wxNotifyEvent *src; | |
4312 | wxEvent *dest; | |
4313 | src = (wxNotifyEvent *) ptr; | |
4314 | dest = (wxEvent *) src; | |
4315 | return (void *) dest; | |
4316 | } | |
4317 | ||
4318 | #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1)) | |
4319 | static PyObject *_wrap_new_wxNotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4320 | PyObject * _resultobj; |
48115f4a RD |
4321 | wxNotifyEvent * _result; |
4322 | int _arg0 = (int ) wxEVT_NULL; | |
4323 | int _arg1 = (int ) 0; | |
4324 | char *_kwnames[] = { "commandType","id", NULL }; | |
4325 | char _ptemp[128]; | |
8ab979d7 RD |
4326 | |
4327 | self = self; | |
48115f4a | 4328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxNotifyEvent",_kwnames,&_arg0,&_arg1)) |
8ab979d7 | 4329 | return NULL; |
cf694132 RD |
4330 | { |
4331 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4332 | _result = (wxNotifyEvent *)new_wxNotifyEvent(_arg0,_arg1); |
cf694132 RD |
4333 | |
4334 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4335 | } if (_result) { |
4336 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotifyEvent_p"); | |
4337 | _resultobj = Py_BuildValue("s",_ptemp); | |
4338 | } else { | |
4339 | Py_INCREF(Py_None); | |
4340 | _resultobj = Py_None; | |
4341 | } | |
8ab979d7 RD |
4342 | return _resultobj; |
4343 | } | |
48115f4a RD |
4344 | |
4345 | #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed()) | |
4346 | static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
4347 | PyObject * _resultobj; |
4348 | bool _result; | |
48115f4a | 4349 | wxNotifyEvent * _arg0; |
1d99702e | 4350 | PyObject * _argo0 = 0; |
efc5f224 | 4351 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4352 | |
4353 | self = self; | |
48115f4a | 4354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_IsAllowed",_kwnames,&_argo0)) |
8ab979d7 | 4355 | return NULL; |
1d99702e RD |
4356 | if (_argo0) { |
4357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) { |
4359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p."); | |
8ab979d7 RD |
4360 | return NULL; |
4361 | } | |
4362 | } | |
cf694132 RD |
4363 | { |
4364 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4365 | _result = (bool )wxNotifyEvent_IsAllowed(_arg0); |
cf694132 RD |
4366 | |
4367 | wxPy_END_ALLOW_THREADS; | |
4368 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4369 | return _resultobj; |
4370 | } | |
4371 | ||
48115f4a RD |
4372 | #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto()) |
4373 | static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4374 | PyObject * _resultobj; |
48115f4a | 4375 | wxNotifyEvent * _arg0; |
1d99702e | 4376 | PyObject * _argo0 = 0; |
efc5f224 | 4377 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4378 | |
4379 | self = self; | |
48115f4a | 4380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Veto",_kwnames,&_argo0)) |
8ab979d7 | 4381 | return NULL; |
1d99702e RD |
4382 | if (_argo0) { |
4383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) { |
4385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p."); | |
8ab979d7 RD |
4386 | return NULL; |
4387 | } | |
4388 | } | |
cf694132 RD |
4389 | { |
4390 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4391 | wxNotifyEvent_Veto(_arg0); |
cf694132 RD |
4392 | |
4393 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4394 | } Py_INCREF(Py_None); |
4395 | _resultobj = Py_None; | |
8ab979d7 RD |
4396 | return _resultobj; |
4397 | } | |
4398 | ||
48115f4a RD |
4399 | static void *SwigwxPaletteChangedEventTowxEvent(void *ptr) { |
4400 | wxPaletteChangedEvent *src; | |
4401 | wxEvent *dest; | |
4402 | src = (wxPaletteChangedEvent *) ptr; | |
4403 | dest = (wxEvent *) src; | |
4404 | return (void *) dest; | |
4405 | } | |
4406 | ||
4407 | #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0)) | |
4408 | static PyObject *_wrap_new_wxPaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4409 | PyObject * _resultobj; |
48115f4a RD |
4410 | wxPaletteChangedEvent * _result; |
4411 | wxWindowID _arg0 = (wxWindowID ) 0; | |
4412 | char *_kwnames[] = { "id", NULL }; | |
4413 | char _ptemp[128]; | |
8ab979d7 RD |
4414 | |
4415 | self = self; | |
48115f4a | 4416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaletteChangedEvent",_kwnames,&_arg0)) |
8ab979d7 | 4417 | return NULL; |
8ab979d7 | 4418 | { |
cf694132 | 4419 | wxPy_BEGIN_ALLOW_THREADS; |
48115f4a | 4420 | _result = (wxPaletteChangedEvent *)new_wxPaletteChangedEvent(_arg0); |
cf694132 RD |
4421 | |
4422 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4423 | } if (_result) { |
4424 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaletteChangedEvent_p"); | |
4425 | _resultobj = Py_BuildValue("s",_ptemp); | |
4426 | } else { | |
4427 | Py_INCREF(Py_None); | |
4428 | _resultobj = Py_None; | |
4429 | } | |
8ab979d7 RD |
4430 | return _resultobj; |
4431 | } | |
4432 | ||
48115f4a RD |
4433 | #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0)) |
4434 | static PyObject *_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4435 | PyObject * _resultobj; |
48115f4a RD |
4436 | wxPaletteChangedEvent * _arg0; |
4437 | wxWindow * _arg1; | |
1d99702e | 4438 | PyObject * _argo0 = 0; |
48115f4a RD |
4439 | PyObject * _argo1 = 0; |
4440 | char *_kwnames[] = { "self","win", NULL }; | |
8ab979d7 RD |
4441 | |
4442 | self = self; | |
48115f4a | 4443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4444 | return NULL; |
1d99702e RD |
4445 | if (_argo0) { |
4446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) { |
4448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p."); | |
4449 | return NULL; | |
4450 | } | |
4451 | } | |
4452 | if (_argo1) { | |
4453 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4454 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
4455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p."); | |
8ab979d7 RD |
4456 | return NULL; |
4457 | } | |
4458 | } | |
cf694132 RD |
4459 | { |
4460 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4461 | wxPaletteChangedEvent_SetChangedWindow(_arg0,_arg1); |
cf694132 RD |
4462 | |
4463 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4464 | } Py_INCREF(Py_None); |
4465 | _resultobj = Py_None; | |
8ab979d7 RD |
4466 | return _resultobj; |
4467 | } | |
4468 | ||
48115f4a RD |
4469 | #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow()) |
4470 | static PyObject *_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4471 | PyObject * _resultobj; |
48115f4a RD |
4472 | wxWindow * _result; |
4473 | wxPaletteChangedEvent * _arg0; | |
1d99702e | 4474 | PyObject * _argo0 = 0; |
efc5f224 | 4475 | char *_kwnames[] = { "self", NULL }; |
48115f4a | 4476 | char _ptemp[128]; |
8ab979d7 RD |
4477 | |
4478 | self = self; | |
48115f4a | 4479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames,&_argo0)) |
8ab979d7 | 4480 | return NULL; |
1d99702e RD |
4481 | if (_argo0) { |
4482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) { |
4484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p."); | |
8ab979d7 RD |
4485 | return NULL; |
4486 | } | |
4487 | } | |
cf694132 RD |
4488 | { |
4489 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4490 | _result = (wxWindow *)wxPaletteChangedEvent_GetChangedWindow(_arg0); |
cf694132 RD |
4491 | |
4492 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4493 | } if (_result) { |
4494 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
4495 | _resultobj = Py_BuildValue("s",_ptemp); | |
4496 | } else { | |
4497 | Py_INCREF(Py_None); | |
4498 | _resultobj = Py_None; | |
4499 | } | |
8ab979d7 RD |
4500 | return _resultobj; |
4501 | } | |
4502 | ||
48115f4a RD |
4503 | static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr) { |
4504 | wxQueryNewPaletteEvent *src; | |
4505 | wxEvent *dest; | |
4506 | src = (wxQueryNewPaletteEvent *) ptr; | |
4507 | dest = (wxEvent *) src; | |
4508 | return (void *) dest; | |
4509 | } | |
4510 | ||
4511 | #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0)) | |
4512 | static PyObject *_wrap_new_wxQueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4513 | PyObject * _resultobj; |
48115f4a RD |
4514 | wxQueryNewPaletteEvent * _result; |
4515 | wxWindowID _arg0 = (wxWindowID ) 0; | |
4516 | char *_kwnames[] = { "id", NULL }; | |
4517 | char _ptemp[128]; | |
8ab979d7 RD |
4518 | |
4519 | self = self; | |
48115f4a | 4520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxQueryNewPaletteEvent",_kwnames,&_arg0)) |
8ab979d7 | 4521 | return NULL; |
cf694132 RD |
4522 | { |
4523 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4524 | _result = (wxQueryNewPaletteEvent *)new_wxQueryNewPaletteEvent(_arg0); |
cf694132 RD |
4525 | |
4526 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4527 | } if (_result) { |
4528 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxQueryNewPaletteEvent_p"); | |
4529 | _resultobj = Py_BuildValue("s",_ptemp); | |
4530 | } else { | |
4531 | Py_INCREF(Py_None); | |
4532 | _resultobj = Py_None; | |
4533 | } | |
8ab979d7 RD |
4534 | return _resultobj; |
4535 | } | |
4536 | ||
48115f4a RD |
4537 | #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0)) |
4538 | static PyObject *_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4539 | PyObject * _resultobj; |
48115f4a | 4540 | wxQueryNewPaletteEvent * _arg0; |
8ab979d7 | 4541 | bool _arg1; |
1d99702e | 4542 | PyObject * _argo0 = 0; |
8ab979d7 | 4543 | int tempbool1; |
48115f4a | 4544 | char *_kwnames[] = { "self","realized", NULL }; |
8ab979d7 RD |
4545 | |
4546 | self = self; | |
48115f4a | 4547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 4548 | return NULL; |
1d99702e RD |
4549 | if (_argo0) { |
4550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) { |
4552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p."); | |
8ab979d7 RD |
4553 | return NULL; |
4554 | } | |
4555 | } | |
4556 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
4557 | { |
4558 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4559 | wxQueryNewPaletteEvent_SetPaletteRealized(_arg0,_arg1); |
cf694132 RD |
4560 | |
4561 | wxPy_END_ALLOW_THREADS; | |
4562 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4563 | _resultobj = Py_None; |
4564 | return _resultobj; | |
4565 | } | |
4566 | ||
48115f4a RD |
4567 | #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized()) |
4568 | static PyObject *_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4569 | PyObject * _resultobj; |
48115f4a RD |
4570 | bool _result; |
4571 | wxQueryNewPaletteEvent * _arg0; | |
1d99702e | 4572 | PyObject * _argo0 = 0; |
48115f4a | 4573 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4574 | |
4575 | self = self; | |
48115f4a | 4576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames,&_argo0)) |
8ab979d7 | 4577 | return NULL; |
1d99702e RD |
4578 | if (_argo0) { |
4579 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4580 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) { |
4581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p."); | |
8ab979d7 RD |
4582 | return NULL; |
4583 | } | |
4584 | } | |
cf694132 RD |
4585 | { |
4586 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4587 | _result = (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0); |
cf694132 RD |
4588 | |
4589 | wxPy_END_ALLOW_THREADS; | |
48115f4a | 4590 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
4591 | return _resultobj; |
4592 | } | |
4593 | ||
f6bcfd97 BP |
4594 | static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr) { |
4595 | wxWindowCreateEvent *src; | |
4596 | wxCommandEvent *dest; | |
4597 | src = (wxWindowCreateEvent *) ptr; | |
4598 | dest = (wxCommandEvent *) src; | |
4599 | return (void *) dest; | |
4600 | } | |
4601 | ||
48115f4a RD |
4602 | static void *SwigwxWindowCreateEventTowxEvent(void *ptr) { |
4603 | wxWindowCreateEvent *src; | |
4604 | wxEvent *dest; | |
4605 | src = (wxWindowCreateEvent *) ptr; | |
4606 | dest = (wxEvent *) src; | |
4607 | return (void *) dest; | |
4608 | } | |
4609 | ||
4610 | #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0)) | |
4611 | static PyObject *_wrap_new_wxWindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4612 | PyObject * _resultobj; |
48115f4a RD |
4613 | wxWindowCreateEvent * _result; |
4614 | wxWindow * _arg0 = (wxWindow *) NULL; | |
1d99702e | 4615 | PyObject * _argo0 = 0; |
48115f4a RD |
4616 | char *_kwnames[] = { "win", NULL }; |
4617 | char _ptemp[128]; | |
8ab979d7 RD |
4618 | |
4619 | self = self; | |
48115f4a | 4620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowCreateEvent",_kwnames,&_argo0)) |
8ab979d7 | 4621 | return NULL; |
1d99702e RD |
4622 | if (_argo0) { |
4623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { |
4625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p."); | |
8ab979d7 RD |
4626 | return NULL; |
4627 | } | |
4628 | } | |
cf694132 RD |
4629 | { |
4630 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4631 | _result = (wxWindowCreateEvent *)new_wxWindowCreateEvent(_arg0); |
cf694132 RD |
4632 | |
4633 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4634 | } if (_result) { |
4635 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowCreateEvent_p"); | |
4636 | _resultobj = Py_BuildValue("s",_ptemp); | |
4637 | } else { | |
4638 | Py_INCREF(Py_None); | |
4639 | _resultobj = Py_None; | |
4640 | } | |
8ab979d7 RD |
4641 | return _resultobj; |
4642 | } | |
4643 | ||
48115f4a RD |
4644 | #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow()) |
4645 | static PyObject *_wrap_wxWindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4646 | PyObject * _resultobj; | |
4647 | wxWindow * _result; | |
4648 | wxWindowCreateEvent * _arg0; | |
4649 | PyObject * _argo0 = 0; | |
4650 | char *_kwnames[] = { "self", NULL }; | |
4651 | char _ptemp[128]; | |
8ab979d7 | 4652 | |
48115f4a RD |
4653 | self = self; |
4654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowCreateEvent_GetWindow",_kwnames,&_argo0)) | |
4655 | return NULL; | |
4656 | if (_argo0) { | |
4657 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4658 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowCreateEvent_p")) { | |
4659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p."); | |
4660 | return NULL; | |
4661 | } | |
4662 | } | |
4663 | { | |
4664 | wxPy_BEGIN_ALLOW_THREADS; | |
4665 | _result = (wxWindow *)wxWindowCreateEvent_GetWindow(_arg0); | |
4666 | ||
4667 | wxPy_END_ALLOW_THREADS; | |
4668 | } if (_result) { | |
4669 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
4670 | _resultobj = Py_BuildValue("s",_ptemp); | |
4671 | } else { | |
4672 | Py_INCREF(Py_None); | |
4673 | _resultobj = Py_None; | |
4674 | } | |
4675 | return _resultobj; | |
cf694132 RD |
4676 | } |
4677 | ||
f6bcfd97 BP |
4678 | static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr) { |
4679 | wxWindowDestroyEvent *src; | |
4680 | wxCommandEvent *dest; | |
4681 | src = (wxWindowDestroyEvent *) ptr; | |
4682 | dest = (wxCommandEvent *) src; | |
4683 | return (void *) dest; | |
4684 | } | |
4685 | ||
48115f4a RD |
4686 | static void *SwigwxWindowDestroyEventTowxEvent(void *ptr) { |
4687 | wxWindowDestroyEvent *src; | |
2f90df85 | 4688 | wxEvent *dest; |
48115f4a | 4689 | src = (wxWindowDestroyEvent *) ptr; |
2f90df85 RD |
4690 | dest = (wxEvent *) src; |
4691 | return (void *) dest; | |
4692 | } | |
4693 | ||
48115f4a RD |
4694 | #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0)) |
4695 | static PyObject *_wrap_new_wxWindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2f90df85 | 4696 | PyObject * _resultobj; |
48115f4a RD |
4697 | wxWindowDestroyEvent * _result; |
4698 | wxWindow * _arg0 = (wxWindow *) NULL; | |
2f90df85 | 4699 | PyObject * _argo0 = 0; |
48115f4a RD |
4700 | char *_kwnames[] = { "win", NULL }; |
4701 | char _ptemp[128]; | |
2f90df85 RD |
4702 | |
4703 | self = self; | |
48115f4a | 4704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDestroyEvent",_kwnames,&_argo0)) |
2f90df85 RD |
4705 | return NULL; |
4706 | if (_argo0) { | |
4707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { |
4709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p."); | |
2f90df85 RD |
4710 | return NULL; |
4711 | } | |
4712 | } | |
4713 | { | |
4714 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4715 | _result = (wxWindowDestroyEvent *)new_wxWindowDestroyEvent(_arg0); |
2f90df85 RD |
4716 | |
4717 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4718 | } if (_result) { |
4719 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDestroyEvent_p"); | |
4720 | _resultobj = Py_BuildValue("s",_ptemp); | |
4721 | } else { | |
4722 | Py_INCREF(Py_None); | |
4723 | _resultobj = Py_None; | |
4724 | } | |
2f90df85 RD |
4725 | return _resultobj; |
4726 | } | |
4727 | ||
48115f4a RD |
4728 | #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow()) |
4729 | static PyObject *_wrap_wxWindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2f90df85 | 4730 | PyObject * _resultobj; |
48115f4a RD |
4731 | wxWindow * _result; |
4732 | wxWindowDestroyEvent * _arg0; | |
2f90df85 RD |
4733 | PyObject * _argo0 = 0; |
4734 | char *_kwnames[] = { "self", NULL }; | |
48115f4a | 4735 | char _ptemp[128]; |
2f90df85 RD |
4736 | |
4737 | self = self; | |
48115f4a | 4738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowDestroyEvent_GetWindow",_kwnames,&_argo0)) |
2f90df85 RD |
4739 | return NULL; |
4740 | if (_argo0) { | |
4741 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4742 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDestroyEvent_p")) { |
4743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p."); | |
2f90df85 RD |
4744 | return NULL; |
4745 | } | |
4746 | } | |
4747 | { | |
4748 | wxPy_BEGIN_ALLOW_THREADS; | |
48115f4a | 4749 | _result = (wxWindow *)wxWindowDestroyEvent_GetWindow(_arg0); |
2f90df85 RD |
4750 | |
4751 | wxPy_END_ALLOW_THREADS; | |
48115f4a RD |
4752 | } if (_result) { |
4753 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
4754 | _resultobj = Py_BuildValue("s",_ptemp); | |
4755 | } else { | |
4756 | Py_INCREF(Py_None); | |
4757 | _resultobj = Py_None; | |
4758 | } | |
2f90df85 RD |
4759 | return _resultobj; |
4760 | } | |
4761 | ||
f6bcfd97 BP |
4762 | static void *SwigwxTimerEventTowxEvent(void *ptr) { |
4763 | wxTimerEvent *src; | |
4764 | wxEvent *dest; | |
4765 | src = (wxTimerEvent *) ptr; | |
4766 | dest = (wxEvent *) src; | |
4767 | return (void *) dest; | |
4768 | } | |
4769 | ||
4770 | #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1)) | |
4771 | static PyObject *_wrap_new_wxTimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4772 | PyObject * _resultobj; | |
4773 | wxTimerEvent * _result; | |
4774 | int _arg0 = (int ) 0; | |
4775 | int _arg1 = (int ) 0; | |
4776 | char *_kwnames[] = { "id","interval", NULL }; | |
4777 | char _ptemp[128]; | |
4778 | ||
4779 | self = self; | |
4780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTimerEvent",_kwnames,&_arg0,&_arg1)) | |
4781 | return NULL; | |
4782 | { | |
4783 | wxPy_BEGIN_ALLOW_THREADS; | |
4784 | _result = (wxTimerEvent *)new_wxTimerEvent(_arg0,_arg1); | |
4785 | ||
4786 | wxPy_END_ALLOW_THREADS; | |
4787 | } if (_result) { | |
4788 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTimerEvent_p"); | |
4789 | _resultobj = Py_BuildValue("s",_ptemp); | |
4790 | } else { | |
4791 | Py_INCREF(Py_None); | |
4792 | _resultobj = Py_None; | |
4793 | } | |
4794 | return _resultobj; | |
4795 | } | |
4796 | ||
4797 | #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval()) | |
4798 | static PyObject *_wrap_wxTimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4799 | PyObject * _resultobj; | |
4800 | int _result; | |
4801 | wxTimerEvent * _arg0; | |
4802 | PyObject * _argo0 = 0; | |
4803 | char *_kwnames[] = { "self", NULL }; | |
4804 | ||
4805 | self = self; | |
4806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimerEvent_GetInterval",_kwnames,&_argo0)) | |
4807 | return NULL; | |
4808 | if (_argo0) { | |
4809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimerEvent_p")) { | |
4811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p."); | |
4812 | return NULL; | |
4813 | } | |
4814 | } | |
4815 | { | |
4816 | wxPy_BEGIN_ALLOW_THREADS; | |
4817 | _result = (int )wxTimerEvent_GetInterval(_arg0); | |
4818 | ||
4819 | wxPy_END_ALLOW_THREADS; | |
4820 | } _resultobj = Py_BuildValue("i",_result); | |
4821 | return _resultobj; | |
4822 | } | |
4823 | ||
cf694132 RD |
4824 | static void *SwigwxPyEventTowxEvent(void *ptr) { |
4825 | wxPyEvent *src; | |
4826 | wxEvent *dest; | |
4827 | src = (wxPyEvent *) ptr; | |
4828 | dest = (wxEvent *) src; | |
4829 | return (void *) dest; | |
4830 | } | |
4831 | ||
65dd82cb | 4832 | #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0)) |
efc5f224 | 4833 | static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
4834 | PyObject * _resultobj; |
4835 | wxPyEvent * _result; | |
2f90df85 | 4836 | int _arg0 = (int ) 0; |
65dd82cb | 4837 | char *_kwnames[] = { "id", NULL }; |
cf694132 RD |
4838 | char _ptemp[128]; |
4839 | ||
4840 | self = self; | |
65dd82cb | 4841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPyEvent",_kwnames,&_arg0)) |
cf694132 | 4842 | return NULL; |
cf694132 RD |
4843 | { |
4844 | wxPy_BEGIN_ALLOW_THREADS; | |
65dd82cb | 4845 | _result = (wxPyEvent *)new_wxPyEvent(_arg0); |
cf694132 RD |
4846 | |
4847 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
4848 | } if (_result) { |
4849 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p"); | |
4850 | _resultobj = Py_BuildValue("s",_ptemp); | |
4851 | } else { | |
4852 | Py_INCREF(Py_None); | |
4853 | _resultobj = Py_None; | |
4854 | } | |
cf694132 RD |
4855 | return _resultobj; |
4856 | } | |
4857 | ||
4858 | #define delete_wxPyEvent(_swigobj) (delete _swigobj) | |
efc5f224 | 4859 | static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
4860 | PyObject * _resultobj; |
4861 | wxPyEvent * _arg0; | |
1d99702e | 4862 | PyObject * _argo0 = 0; |
efc5f224 | 4863 | char *_kwnames[] = { "self", NULL }; |
cf694132 RD |
4864 | |
4865 | self = self; | |
efc5f224 | 4866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0)) |
cf694132 | 4867 | return NULL; |
1d99702e RD |
4868 | if (_argo0) { |
4869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
cf694132 RD |
4871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p."); |
4872 | return NULL; | |
4873 | } | |
4874 | } | |
4875 | { | |
4876 | wxPy_BEGIN_ALLOW_THREADS; | |
4877 | delete_wxPyEvent(_arg0); | |
4878 | ||
4879 | wxPy_END_ALLOW_THREADS; | |
4880 | } Py_INCREF(Py_None); | |
4881 | _resultobj = Py_None; | |
4882 | return _resultobj; | |
4883 | } | |
4884 | ||
65dd82cb RD |
4885 | #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0)) |
4886 | static PyObject *_wrap_wxPyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
cf694132 RD |
4887 | PyObject * _resultobj; |
4888 | wxPyEvent * _arg0; | |
4889 | PyObject * _arg1; | |
1d99702e | 4890 | PyObject * _argo0 = 0; |
cf694132 | 4891 | PyObject * _obj1 = 0; |
65dd82cb | 4892 | char *_kwnames[] = { "self","self", NULL }; |
cf694132 RD |
4893 | |
4894 | self = self; | |
65dd82cb | 4895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetSelf",_kwnames,&_argo0,&_obj1)) |
cf694132 | 4896 | return NULL; |
1d99702e RD |
4897 | if (_argo0) { |
4898 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4899 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
65dd82cb | 4900 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p."); |
cf694132 RD |
4901 | return NULL; |
4902 | } | |
4903 | } | |
4904 | { | |
4905 | _arg1 = _obj1; | |
4906 | } | |
4907 | { | |
4908 | wxPy_BEGIN_ALLOW_THREADS; | |
65dd82cb | 4909 | wxPyEvent_SetSelf(_arg0,_arg1); |
cf694132 RD |
4910 | |
4911 | wxPy_END_ALLOW_THREADS; | |
4912 | } Py_INCREF(Py_None); | |
4913 | _resultobj = Py_None; | |
4914 | return _resultobj; | |
4915 | } | |
4916 | ||
65dd82cb RD |
4917 | #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf()) |
4918 | static PyObject *_wrap_wxPyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
cf694132 RD |
4919 | PyObject * _resultobj; |
4920 | PyObject * _result; | |
4921 | wxPyEvent * _arg0; | |
1d99702e | 4922 | PyObject * _argo0 = 0; |
efc5f224 | 4923 | char *_kwnames[] = { "self", NULL }; |
cf694132 RD |
4924 | |
4925 | self = self; | |
65dd82cb | 4926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetSelf",_kwnames,&_argo0)) |
cf694132 | 4927 | return NULL; |
1d99702e RD |
4928 | if (_argo0) { |
4929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
65dd82cb | 4931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p."); |
cf694132 RD |
4932 | return NULL; |
4933 | } | |
4934 | } | |
4935 | { | |
4936 | wxPy_BEGIN_ALLOW_THREADS; | |
65dd82cb | 4937 | _result = (PyObject *)wxPyEvent_GetSelf(_arg0); |
cf694132 RD |
4938 | |
4939 | wxPy_END_ALLOW_THREADS; | |
4940 | }{ | |
4941 | _resultobj = _result; | |
4942 | } | |
4943 | return _resultobj; | |
4944 | } | |
4945 | ||
2f90df85 RD |
4946 | static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr) { |
4947 | wxPyCommandEvent *src; | |
bb0054cd | 4948 | wxCommandEvent *dest; |
2f90df85 | 4949 | src = (wxPyCommandEvent *) ptr; |
bb0054cd RD |
4950 | dest = (wxCommandEvent *) src; |
4951 | return (void *) dest; | |
4952 | } | |
4953 | ||
2f90df85 RD |
4954 | static void *SwigwxPyCommandEventTowxEvent(void *ptr) { |
4955 | wxPyCommandEvent *src; | |
bb0054cd | 4956 | wxEvent *dest; |
2f90df85 | 4957 | src = (wxPyCommandEvent *) ptr; |
bb0054cd RD |
4958 | dest = (wxEvent *) src; |
4959 | return (void *) dest; | |
4960 | } | |
4961 | ||
65dd82cb | 4962 | #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1)) |
2f90df85 | 4963 | static PyObject *_wrap_new_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd | 4964 | PyObject * _resultobj; |
2f90df85 RD |
4965 | wxPyCommandEvent * _result; |
4966 | wxEventType _arg0 = (wxEventType ) wxEVT_NULL; | |
4967 | int _arg1 = (int ) 0; | |
65dd82cb | 4968 | char *_kwnames[] = { "commandType","id", NULL }; |
2f90df85 RD |
4969 | char _ptemp[128]; |
4970 | ||
4971 | self = self; | |
65dd82cb | 4972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxPyCommandEvent",_kwnames,&_arg0,&_arg1)) |
2f90df85 | 4973 | return NULL; |
2f90df85 RD |
4974 | { |
4975 | wxPy_BEGIN_ALLOW_THREADS; | |
65dd82cb | 4976 | _result = (wxPyCommandEvent *)new_wxPyCommandEvent(_arg0,_arg1); |
2f90df85 RD |
4977 | |
4978 | wxPy_END_ALLOW_THREADS; | |
4979 | } if (_result) { | |
4980 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCommandEvent_p"); | |
4981 | _resultobj = Py_BuildValue("s",_ptemp); | |
4982 | } else { | |
4983 | Py_INCREF(Py_None); | |
4984 | _resultobj = Py_None; | |
4985 | } | |
4986 | return _resultobj; | |
4987 | } | |
4988 | ||
4989 | #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj) | |
4990 | static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4991 | PyObject * _resultobj; | |
4992 | wxPyCommandEvent * _arg0; | |
1d99702e | 4993 | PyObject * _argo0 = 0; |
efc5f224 | 4994 | char *_kwnames[] = { "self", NULL }; |
bb0054cd RD |
4995 | |
4996 | self = self; | |
2f90df85 | 4997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyCommandEvent",_kwnames,&_argo0)) |
bb0054cd | 4998 | return NULL; |
1d99702e RD |
4999 | if (_argo0) { |
5000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2f90df85 RD |
5001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) { |
5002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p."); | |
bb0054cd RD |
5003 | return NULL; |
5004 | } | |
5005 | } | |
5006 | { | |
5007 | wxPy_BEGIN_ALLOW_THREADS; | |
2f90df85 | 5008 | delete_wxPyCommandEvent(_arg0); |
bb0054cd RD |
5009 | |
5010 | wxPy_END_ALLOW_THREADS; | |
2f90df85 RD |
5011 | } Py_INCREF(Py_None); |
5012 | _resultobj = Py_None; | |
bb0054cd RD |
5013 | return _resultobj; |
5014 | } | |
5015 | ||
65dd82cb RD |
5016 | #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0)) |
5017 | static PyObject *_wrap_wxPyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
bb0054cd | 5018 | PyObject * _resultobj; |
2f90df85 RD |
5019 | wxPyCommandEvent * _arg0; |
5020 | PyObject * _arg1; | |
1d99702e | 5021 | PyObject * _argo0 = 0; |
2f90df85 | 5022 | PyObject * _obj1 = 0; |
65dd82cb | 5023 | char *_kwnames[] = { "self","self", NULL }; |
bb0054cd RD |
5024 | |
5025 | self = self; | |
65dd82cb | 5026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCommandEvent_SetSelf",_kwnames,&_argo0,&_obj1)) |
bb0054cd | 5027 | return NULL; |
1d99702e RD |
5028 | if (_argo0) { |
5029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2f90df85 | 5030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) { |
65dd82cb | 5031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p."); |
bb0054cd RD |
5032 | return NULL; |
5033 | } | |
5034 | } | |
2f90df85 RD |
5035 | { |
5036 | _arg1 = _obj1; | |
5037 | } | |
bb0054cd RD |
5038 | { |
5039 | wxPy_BEGIN_ALLOW_THREADS; | |
65dd82cb | 5040 | wxPyCommandEvent_SetSelf(_arg0,_arg1); |
bb0054cd RD |
5041 | |
5042 | wxPy_END_ALLOW_THREADS; | |
5043 | } Py_INCREF(Py_None); | |
5044 | _resultobj = Py_None; | |
5045 | return _resultobj; | |
5046 | } | |
5047 | ||
65dd82cb RD |
5048 | #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf()) |
5049 | static PyObject *_wrap_wxPyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2f90df85 RD |
5050 | PyObject * _resultobj; |
5051 | PyObject * _result; | |
5052 | wxPyCommandEvent * _arg0; | |
5053 | PyObject * _argo0 = 0; | |
5054 | char *_kwnames[] = { "self", NULL }; | |
5055 | ||
5056 | self = self; | |
65dd82cb | 5057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCommandEvent_GetSelf",_kwnames,&_argo0)) |
2f90df85 RD |
5058 | return NULL; |
5059 | if (_argo0) { | |
5060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) { | |
65dd82cb | 5062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p."); |
2f90df85 RD |
5063 | return NULL; |
5064 | } | |
5065 | } | |
5066 | { | |
5067 | wxPy_BEGIN_ALLOW_THREADS; | |
65dd82cb | 5068 | _result = (PyObject *)wxPyCommandEvent_GetSelf(_arg0); |
2f90df85 RD |
5069 | |
5070 | wxPy_END_ALLOW_THREADS; | |
5071 | }{ | |
5072 | _resultobj = _result; | |
5073 | } | |
5074 | return _resultobj; | |
5075 | } | |
5076 | ||
8ab979d7 | 5077 | static PyMethodDef eventscMethods[] = { |
65dd82cb RD |
5078 | { "wxPyCommandEvent_GetSelf", (PyCFunction) _wrap_wxPyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS }, |
5079 | { "wxPyCommandEvent_SetSelf", (PyCFunction) _wrap_wxPyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS }, | |
2f90df85 RD |
5080 | { "delete_wxPyCommandEvent", (PyCFunction) _wrap_delete_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS }, |
5081 | { "new_wxPyCommandEvent", (PyCFunction) _wrap_new_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS }, | |
65dd82cb RD |
5082 | { "wxPyEvent_GetSelf", (PyCFunction) _wrap_wxPyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS }, |
5083 | { "wxPyEvent_SetSelf", (PyCFunction) _wrap_wxPyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
5084 | { "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS }, |
5085 | { "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
5086 | { "wxTimerEvent_GetInterval", (PyCFunction) _wrap_wxTimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS }, |
5087 | { "new_wxTimerEvent", (PyCFunction) _wrap_new_wxTimerEvent, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a RD |
5088 | { "wxWindowDestroyEvent_GetWindow", (PyCFunction) _wrap_wxWindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS }, |
5089 | { "new_wxWindowDestroyEvent", (PyCFunction) _wrap_new_wxWindowDestroyEvent, METH_VARARGS | METH_KEYWORDS }, | |
5090 | { "wxWindowCreateEvent_GetWindow", (PyCFunction) _wrap_wxWindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
5091 | { "new_wxWindowCreateEvent", (PyCFunction) _wrap_new_wxWindowCreateEvent, METH_VARARGS | METH_KEYWORDS }, | |
5092 | { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS }, | |
5093 | { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS }, | |
5094 | { "new_wxQueryNewPaletteEvent", (PyCFunction) _wrap_new_wxQueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS }, | |
5095 | { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS }, | |
5096 | { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS }, | |
5097 | { "new_wxPaletteChangedEvent", (PyCFunction) _wrap_new_wxPaletteChangedEvent, METH_VARARGS | METH_KEYWORDS }, | |
2f90df85 RD |
5098 | { "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS }, |
5099 | { "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a RD |
5100 | { "new_wxNotifyEvent", (PyCFunction) _wrap_new_wxNotifyEvent, METH_VARARGS | METH_KEYWORDS }, |
5101 | { "new_wxSysColourChangedEvent", (PyCFunction) _wrap_new_wxSysColourChangedEvent, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
5102 | { "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS }, |
5103 | { "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS }, | |
5104 | { "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS }, | |
5105 | { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS }, | |
5106 | { "wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS }, | |
5107 | { "wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS }, | |
5108 | { "wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
5109 | { "wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS }, | |
5110 | { "wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 5111 | { "new_wxUpdateUIEvent", (PyCFunction) _wrap_new_wxUpdateUIEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
5112 | { "wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS }, |
5113 | { "wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 5114 | { "new_wxIdleEvent", (PyCFunction) _wrap_new_wxIdleEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
5115 | { "wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS }, |
5116 | { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS }, | |
5117 | { "wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
5118 | { "wxJoystickEvent_ButtonIsDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS }, | |
5119 | { "wxJoystickEvent_ButtonUp", (PyCFunction) _wrap_wxJoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS }, | |
5120 | { "wxJoystickEvent_ButtonDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS }, | |
5121 | { "wxJoystickEvent_IsZMove", (PyCFunction) _wrap_wxJoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS }, | |
5122 | { "wxJoystickEvent_IsMove", (PyCFunction) _wrap_wxJoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS }, | |
5123 | { "wxJoystickEvent_IsButton", (PyCFunction) _wrap_wxJoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS }, | |
5124 | { "wxJoystickEvent_SetZPosition", (PyCFunction) _wrap_wxJoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS }, | |
5125 | { "wxJoystickEvent_SetPosition", (PyCFunction) _wrap_wxJoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
5126 | { "wxJoystickEvent_SetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS }, | |
5127 | { "wxJoystickEvent_SetButtonState", (PyCFunction) _wrap_wxJoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS }, | |
5128 | { "wxJoystickEvent_SetJoystick", (PyCFunction) _wrap_wxJoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS }, | |
5129 | { "wxJoystickEvent_GetJoystick", (PyCFunction) _wrap_wxJoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS }, | |
5130 | { "wxJoystickEvent_GetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS }, | |
5131 | { "wxJoystickEvent_GetButtonState", (PyCFunction) _wrap_wxJoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS }, | |
5132 | { "wxJoystickEvent_GetZPosition", (PyCFunction) _wrap_wxJoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS }, | |
5133 | { "wxJoystickEvent_GetPosition", (PyCFunction) _wrap_wxJoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a RD |
5134 | { "new_wxJoystickEvent", (PyCFunction) _wrap_new_wxJoystickEvent, METH_VARARGS | METH_KEYWORDS }, |
5135 | { "new_wxMaximizeEvent", (PyCFunction) _wrap_new_wxMaximizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
5136 | { "new_wxIconizeEvent", (PyCFunction) _wrap_new_wxIconizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
5137 | { "wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS }, |
5138 | { "wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 5139 | { "new_wxShowEvent", (PyCFunction) _wrap_new_wxShowEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 | 5140 | { "wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS }, |
48115f4a RD |
5141 | { "new_wxMenuEvent", (PyCFunction) _wrap_new_wxMenuEvent, METH_VARARGS | METH_KEYWORDS }, |
5142 | { "new_wxInitDialogEvent", (PyCFunction) _wrap_new_wxInitDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 5143 | { "wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS }, |
48115f4a RD |
5144 | { "new_wxActivateEvent", (PyCFunction) _wrap_new_wxActivateEvent, METH_VARARGS | METH_KEYWORDS }, |
5145 | { "new_wxFocusEvent", (PyCFunction) _wrap_new_wxFocusEvent, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 5146 | { "wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS }, |
48115f4a RD |
5147 | { "new_wxEraseEvent", (PyCFunction) _wrap_new_wxEraseEvent, METH_VARARGS | METH_KEYWORDS }, |
5148 | { "new_wxPaintEvent", (PyCFunction) _wrap_new_wxPaintEvent, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 5149 | { "wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
48115f4a RD |
5150 | { "new_wxMoveEvent", (PyCFunction) _wrap_new_wxMoveEvent, METH_VARARGS | METH_KEYWORDS }, |
5151 | { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS }, | |
5152 | { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS }, | |
5153 | { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS }, | |
5154 | { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS }, | |
5155 | { "wxNavigationKeyEvent_SetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS }, | |
5156 | { "wxNavigationKeyEvent_GetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS }, | |
5157 | { "new_wxNavigationKeyEvent", (PyCFunction) _wrap_new_wxNavigationKeyEvent, METH_VARARGS | METH_KEYWORDS }, | |
5158 | { "wxKeyEvent_GetPositionTuple", (PyCFunction) _wrap_wxKeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS }, | |
5159 | { "wxKeyEvent_GetPosition", (PyCFunction) _wrap_wxKeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
5160 | { "wxKeyEvent_GetY", (PyCFunction) _wrap_wxKeyEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
5161 | { "wxKeyEvent_GetX", (PyCFunction) _wrap_wxKeyEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
5162 | { "wxKeyEvent_HasModifiers", (PyCFunction) _wrap_wxKeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS }, |
5163 | { "wxKeyEvent_GetKeyCode", (PyCFunction) _wrap_wxKeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
5164 | { "wxKeyEvent_KeyCode", (PyCFunction) _wrap_wxKeyEvent_KeyCode, METH_VARARGS | METH_KEYWORDS }, |
5165 | { "wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
5166 | { "wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
5167 | { "wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
5168 | { "wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 5169 | { "new_wxKeyEvent", (PyCFunction) _wrap_new_wxKeyEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
5170 | { "wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS }, |
5171 | { "wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
5172 | { "wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS }, | |
b1462dfa | 5173 | { "wxMouseEvent_GetPositionTuple", (PyCFunction) _wrap_wxMouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 | 5174 | { "wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
5175 | { "wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS }, |
5176 | { "wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS }, | |
5177 | { "wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS }, | |
5178 | { "wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS }, | |
5179 | { "wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS }, | |
5180 | { "wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS }, | |
5181 | { "wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS }, | |
5182 | { "wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS }, | |
5183 | { "wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS }, | |
5184 | { "wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS }, | |
5185 | { "wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS }, | |
5186 | { "wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS }, | |
5187 | { "wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS }, | |
5188 | { "wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS }, | |
5189 | { "wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS }, | |
5190 | { "wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS }, | |
5191 | { "wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
5192 | { "wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
5193 | { "wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
5194 | { "wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
5195 | { "wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS }, | |
5196 | { "wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS }, | |
5197 | { "wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS }, | |
5198 | { "wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS }, | |
5199 | { "wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS }, | |
5200 | { "wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a RD |
5201 | { "new_wxMouseEvent", (PyCFunction) _wrap_new_wxMouseEvent, METH_VARARGS | METH_KEYWORDS }, |
5202 | { "new_wxSpinEvent", (PyCFunction) _wrap_new_wxSpinEvent, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e RD |
5203 | { "wxScrollWinEvent_GetPosition", (PyCFunction) _wrap_wxScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
5204 | { "wxScrollWinEvent_GetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 5205 | { "new_wxScrollWinEvent", (PyCFunction) _wrap_new_wxScrollWinEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
5206 | { "wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
5207 | { "wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 5208 | { "new_wxScrollEvent", (PyCFunction) _wrap_new_wxScrollEvent, METH_VARARGS | METH_KEYWORDS }, |
6999b0d8 RD |
5209 | { "wxCommandEvent_SetInt", (PyCFunction) _wrap_wxCommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS }, |
5210 | { "wxCommandEvent_SetExtraLong", (PyCFunction) _wrap_wxCommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS }, | |
5211 | { "wxCommandEvent_SetString", (PyCFunction) _wrap_wxCommandEvent_SetString, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
5212 | { "wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS }, |
5213 | { "wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS }, | |
5214 | { "wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
5215 | { "wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS }, | |
5216 | { "wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS }, | |
5217 | { "wxCommandEvent_Checked", (PyCFunction) _wrap_wxCommandEvent_Checked, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 5218 | { "new_wxCommandEvent", (PyCFunction) _wrap_new_wxCommandEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
5219 | { "wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS }, |
5220 | { "wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS }, | |
5221 | { "wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS }, | |
5222 | { "wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS }, | |
5223 | { "wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS }, | |
5224 | { "wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 5225 | { "new_wxCloseEvent", (PyCFunction) _wrap_new_wxCloseEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 | 5226 | { "wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, |
48115f4a | 5227 | { "new_wxSizeEvent", (PyCFunction) _wrap_new_wxSizeEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
5228 | { "wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS }, |
5229 | { "wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS }, | |
5230 | { "wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS }, | |
5231 | { "wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS }, | |
5232 | { "wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS }, | |
5233 | { "wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS }, | |
5234 | { "wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS }, | |
5235 | { "wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS }, | |
5236 | { "wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS }, | |
5237 | { "wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a RD |
5238 | { "delete_wxEvent", (PyCFunction) _wrap_delete_wxEvent, METH_VARARGS | METH_KEYWORDS }, |
5239 | { "new_wxEvent", (PyCFunction) _wrap_new_wxEvent, METH_VARARGS | METH_KEYWORDS }, | |
8ab979d7 RD |
5240 | { NULL, NULL } |
5241 | }; | |
1d99702e RD |
5242 | #ifdef __cplusplus |
5243 | } | |
5244 | #endif | |
5245 | /* | |
5246 | * This table is used by the pointer type-checker | |
5247 | */ | |
5248 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
5249 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
2f90df85 RD |
5250 | { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent}, |
5251 | { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent}, | |
1d99702e RD |
5252 | { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent}, |
5253 | { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent}, | |
f6bcfd97 BP |
5254 | { "_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent}, |
5255 | { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent}, | |
48115f4a RD |
5256 | { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent}, |
5257 | { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent}, | |
5258 | { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent}, | |
5259 | { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent}, | |
5260 | { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent}, | |
5261 | { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent}, | |
5262 | { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent}, | |
5263 | { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent}, | |
2f90df85 RD |
5264 | { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, |
5265 | { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, | |
1d99702e RD |
5266 | { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, |
5267 | { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, | |
5268 | { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
5269 | { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
5270 | { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
5271 | { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
5272 | { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
5273 | { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
5274 | { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
5275 | { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
5276 | { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
5277 | { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
5278 | { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
5279 | { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
5280 | { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent}, | |
5281 | { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent}, | |
5282 | { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
5283 | { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
5284 | { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
5285 | { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
5286 | { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
5287 | { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
5288 | { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
5289 | { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
5290 | { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
5291 | { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
5292 | { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
5293 | { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
5294 | { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
5295 | { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
48115f4a RD |
5296 | { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent}, |
5297 | { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent}, | |
1d99702e RD |
5298 | { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent}, |
5299 | { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
5300 | { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
5301 | { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
5302 | { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
5303 | { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
d426c97e RD |
5304 | { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent}, |
5305 | { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent}, | |
1d99702e RD |
5306 | { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent}, |
5307 | { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent}, | |
5308 | { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
5309 | { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
5310 | { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
5311 | { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
5312 | { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
5313 | { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
5314 | { "_wxEvent","_class_wxEvent",0}, | |
5315 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
5316 | { "_signed_long","_long",0}, | |
5317 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
2f90df85 | 5318 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
b1462dfa | 5319 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
5320 | { "_wxPrintQuality","_int",0}, |
5321 | { "_wxPrintQuality","_signed_int",0}, | |
5322 | { "_wxPrintQuality","_unsigned_int",0}, | |
5323 | { "_wxPrintQuality","_wxWindowID",0}, | |
5324 | { "_wxPrintQuality","_uint",0}, | |
5325 | { "_wxPrintQuality","_EBool",0}, | |
5326 | { "_wxPrintQuality","_size_t",0}, | |
5327 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
5328 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
5329 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
f6bcfd97 | 5330 | { "_wxCursor","_class_wxCursor",0}, |
1d99702e | 5331 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, |
f6bcfd97 BP |
5332 | { "_wxMask","_class_wxMask",0}, |
5333 | { "_wxPen","_class_wxPen",0}, | |
1d99702e RD |
5334 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, |
5335 | { "_byte","_unsigned_char",0}, | |
5336 | { "_long","_unsigned_long",0}, | |
5337 | { "_long","_signed_long",0}, | |
f6bcfd97 | 5338 | { "_wxImageList","_class_wxImageList",0}, |
1d99702e RD |
5339 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
5340 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
f6bcfd97 | 5341 | { "_wxDC","_class_wxDC",0}, |
1d99702e | 5342 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
b1462dfa | 5343 | { "_size_t","_wxCoord",0}, |
1d99702e RD |
5344 | { "_size_t","_wxPrintQuality",0}, |
5345 | { "_size_t","_unsigned_int",0}, | |
5346 | { "_size_t","_int",0}, | |
5347 | { "_size_t","_wxWindowID",0}, | |
5348 | { "_size_t","_uint",0}, | |
5349 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 5350 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
f6bcfd97 | 5351 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
48115f4a | 5352 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
5353 | { "_class_wxPaintEvent","_wxPaintEvent",0}, |
5354 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
5355 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
5356 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
f6bcfd97 | 5357 | { "_class_wxMask","_wxMask",0}, |
1d99702e | 5358 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
f6bcfd97 | 5359 | { "_wxColour","_class_wxColour",0}, |
1d99702e RD |
5360 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
5361 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
f6bcfd97 | 5362 | { "_wxBrush","_class_wxBrush",0}, |
1d99702e | 5363 | { "_wxShowEvent","_class_wxShowEvent",0}, |
b1462dfa | 5364 | { "_uint","_wxCoord",0}, |
1d99702e RD |
5365 | { "_uint","_wxPrintQuality",0}, |
5366 | { "_uint","_size_t",0}, | |
5367 | { "_uint","_unsigned_int",0}, | |
5368 | { "_uint","_int",0}, | |
5369 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 5370 | { "_wxChar","_char",0}, |
2f90df85 RD |
5371 | { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent}, |
5372 | { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent}, | |
1d99702e RD |
5373 | { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent}, |
5374 | { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent}, | |
f6bcfd97 BP |
5375 | { "_class_wxEvent","_class_wxTimerEvent",SwigwxTimerEventTowxEvent}, |
5376 | { "_class_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent}, | |
48115f4a RD |
5377 | { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent}, |
5378 | { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent}, | |
5379 | { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent}, | |
5380 | { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent}, | |
5381 | { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent}, | |
5382 | { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent}, | |
5383 | { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent}, | |
5384 | { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent}, | |
2f90df85 RD |
5385 | { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, |
5386 | { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, | |
1d99702e RD |
5387 | { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, |
5388 | { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, | |
5389 | { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
5390 | { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
5391 | { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
5392 | { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
5393 | { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
5394 | { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
5395 | { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
5396 | { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
5397 | { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
5398 | { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
5399 | { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
5400 | { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
5401 | { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent}, | |
5402 | { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent}, | |
5403 | { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
5404 | { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
5405 | { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
5406 | { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
5407 | { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
5408 | { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
5409 | { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
5410 | { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
5411 | { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
5412 | { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
5413 | { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
5414 | { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
5415 | { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
5416 | { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
48115f4a RD |
5417 | { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent}, |
5418 | { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent}, | |
1d99702e RD |
5419 | { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent}, |
5420 | { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
5421 | { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
5422 | { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
5423 | { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
5424 | { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
d426c97e RD |
5425 | { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent}, |
5426 | { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent}, | |
1d99702e RD |
5427 | { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent}, |
5428 | { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent}, | |
5429 | { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
5430 | { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
5431 | { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
5432 | { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
5433 | { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
5434 | { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
5435 | { "_class_wxEvent","_wxEvent",0}, | |
5436 | { "_wxRect","_class_wxRect",0}, | |
2f90df85 RD |
5437 | { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent}, |
5438 | { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent}, | |
f6bcfd97 BP |
5439 | { "_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent}, |
5440 | { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent}, | |
5441 | { "_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent}, | |
5442 | { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent}, | |
1d99702e RD |
5443 | { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, |
5444 | { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, | |
1d99702e RD |
5445 | { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, |
5446 | { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, | |
5447 | { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
5448 | { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
5449 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
5450 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
5451 | { "_wxPoint","_class_wxPoint",0}, | |
f6bcfd97 BP |
5452 | { "_char","_wxChar",0}, |
5453 | { "_wxBitmap","_class_wxBitmap",0}, | |
5454 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
5455 | { "_wxTimerEvent","_class_wxTimerEvent",0}, | |
1d99702e RD |
5456 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
5457 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
5458 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
5459 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
5460 | { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
5461 | { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
5462 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
b1462dfa | 5463 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
5464 | { "_EBool","_wxPrintQuality",0}, |
5465 | { "_EBool","_signed_int",0}, | |
5466 | { "_EBool","_int",0}, | |
5467 | { "_EBool","_wxWindowID",0}, | |
5468 | { "_class_wxRegion","_wxRegion",0}, | |
5469 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
48115f4a | 5470 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
f6bcfd97 | 5471 | { "_wxFont","_class_wxFont",0}, |
1d99702e RD |
5472 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
5473 | { "_unsigned_long","_long",0}, | |
5474 | { "_class_wxRect","_wxRect",0}, | |
f6bcfd97 | 5475 | { "_class_wxDC","_wxDC",0}, |
d426c97e | 5476 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
48115f4a RD |
5477 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
5478 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1d99702e RD |
5479 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
5480 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
f6bcfd97 | 5481 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
1d99702e | 5482 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, |
b1462dfa | 5483 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
5484 | { "_signed_int","_wxPrintQuality",0}, |
5485 | { "_signed_int","_EBool",0}, | |
5486 | { "_signed_int","_wxWindowID",0}, | |
5487 | { "_signed_int","_int",0}, | |
5488 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
f6bcfd97 | 5489 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, |
1d99702e | 5490 | { "_class_wxMoveEvent","_wxMoveEvent",0}, |
f6bcfd97 | 5491 | { "_wxScreenDC","_class_wxScreenDC",0}, |
1d99702e RD |
5492 | { "_WXTYPE","_short",0}, |
5493 | { "_WXTYPE","_signed_short",0}, | |
5494 | { "_WXTYPE","_unsigned_short",0}, | |
f6bcfd97 | 5495 | { "_class_wxBrush","_wxBrush",0}, |
1d99702e RD |
5496 | { "_unsigned_short","_WXTYPE",0}, |
5497 | { "_unsigned_short","_short",0}, | |
f6bcfd97 | 5498 | { "_class_wxFont","_wxFont",0}, |
1d99702e | 5499 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2abc0a0f | 5500 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1d99702e | 5501 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
48115f4a | 5502 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
f6bcfd97 | 5503 | { "_wxClientDC","_class_wxClientDC",0}, |
1d99702e RD |
5504 | { "_wxMouseEvent","_class_wxMouseEvent",0}, |
5505 | { "_class_wxPoint","_wxPoint",0}, | |
5506 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
5507 | { "_signed_short","_WXTYPE",0}, | |
5508 | { "_signed_short","_short",0}, | |
f6bcfd97 BP |
5509 | { "_wxMemoryDC","_class_wxMemoryDC",0}, |
5510 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
5511 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
1d99702e RD |
5512 | { "_class_wxFocusEvent","_wxFocusEvent",0}, |
5513 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
5514 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
f6bcfd97 | 5515 | { "_class_wxCursor","_wxCursor",0}, |
1d99702e | 5516 | { "_unsigned_char","_byte",0}, |
f6bcfd97 | 5517 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, |
b1462dfa | 5518 | { "_unsigned_int","_wxCoord",0}, |
1d99702e RD |
5519 | { "_unsigned_int","_wxPrintQuality",0}, |
5520 | { "_unsigned_int","_size_t",0}, | |
5521 | { "_unsigned_int","_uint",0}, | |
5522 | { "_unsigned_int","_wxWindowID",0}, | |
5523 | { "_unsigned_int","_int",0}, | |
f6bcfd97 BP |
5524 | { "_wxIcon","_class_wxIcon",0}, |
5525 | { "_class_wxPen","_wxPen",0}, | |
1d99702e RD |
5526 | { "_short","_WXTYPE",0}, |
5527 | { "_short","_unsigned_short",0}, | |
5528 | { "_short","_signed_short",0}, | |
5529 | { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
5530 | { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
5531 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
5532 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
f6bcfd97 | 5533 | { "_class_wxImageList","_wxImageList",0}, |
48115f4a | 5534 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
b1462dfa | 5535 | { "_wxWindowID","_wxCoord",0}, |
1d99702e RD |
5536 | { "_wxWindowID","_wxPrintQuality",0}, |
5537 | { "_wxWindowID","_size_t",0}, | |
5538 | { "_wxWindowID","_EBool",0}, | |
5539 | { "_wxWindowID","_uint",0}, | |
5540 | { "_wxWindowID","_int",0}, | |
5541 | { "_wxWindowID","_signed_int",0}, | |
5542 | { "_wxWindowID","_unsigned_int",0}, | |
d426c97e | 5543 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
b1462dfa | 5544 | { "_int","_wxCoord",0}, |
1d99702e RD |
5545 | { "_int","_wxPrintQuality",0}, |
5546 | { "_int","_size_t",0}, | |
5547 | { "_int","_EBool",0}, | |
5548 | { "_int","_uint",0}, | |
5549 | { "_int","_wxWindowID",0}, | |
5550 | { "_int","_unsigned_int",0}, | |
5551 | { "_int","_signed_int",0}, | |
5552 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 5553 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e | 5554 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
48115f4a RD |
5555 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
5556 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
1d99702e RD |
5557 | { "_wxSize","_class_wxSize",0}, |
5558 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
f6bcfd97 BP |
5559 | { "_class_wxPrinterDC","_wxPrinterDC",0}, |
5560 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
1d99702e RD |
5561 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, |
5562 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
5563 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
5564 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
f6bcfd97 BP |
5565 | { "_class_wxIcon","_wxIcon",0}, |
5566 | { "_class_wxColour","_wxColour",0}, | |
5567 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
5568 | { "_wxPalette","_class_wxPalette",0}, | |
1d99702e | 5569 | { "_class_wxIdleEvent","_wxIdleEvent",0}, |
b1462dfa RD |
5570 | { "_wxCoord","_int",0}, |
5571 | { "_wxCoord","_signed_int",0}, | |
5572 | { "_wxCoord","_unsigned_int",0}, | |
5573 | { "_wxCoord","_wxWindowID",0}, | |
5574 | { "_wxCoord","_uint",0}, | |
5575 | { "_wxCoord","_EBool",0}, | |
5576 | { "_wxCoord","_size_t",0}, | |
5577 | { "_wxCoord","_wxPrintQuality",0}, | |
1d99702e RD |
5578 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
5579 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
5580 | { "_wxRegion","_class_wxRegion",0}, | |
5581 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
5582 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
2abc0a0f | 5583 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
2f90df85 RD |
5584 | { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent}, |
5585 | { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent}, | |
f6bcfd97 BP |
5586 | { "_class_wxCommandEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent}, |
5587 | { "_class_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent}, | |
5588 | { "_class_wxCommandEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent}, | |
5589 | { "_class_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent}, | |
1d99702e RD |
5590 | { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, |
5591 | { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, | |
1d99702e RD |
5592 | { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, |
5593 | { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, | |
5594 | { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
5595 | { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
5596 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
f6bcfd97 | 5597 | { "_class_wxClientDC","_wxClientDC",0}, |
1d99702e RD |
5598 | { "_class_wxSizeEvent","_wxSizeEvent",0}, |
5599 | { "_class_wxSize","_wxSize",0}, | |
f6bcfd97 BP |
5600 | { "_class_wxBitmap","_wxBitmap",0}, |
5601 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
1d99702e RD |
5602 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
5603 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
f6bcfd97 | 5604 | { "_class_wxPalette","_wxPalette",0}, |
1d99702e | 5605 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
48115f4a | 5606 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
5607 | {0,0,0}}; |
5608 | ||
8ab979d7 RD |
5609 | static PyObject *SWIG_globals; |
5610 | #ifdef __cplusplus | |
5611 | extern "C" | |
5612 | #endif | |
1d99702e | 5613 | SWIGEXPORT(void) initeventsc() { |
8ab979d7 RD |
5614 | PyObject *m, *d; |
5615 | SWIG_globals = SWIG_newvarlink(); | |
5616 | m = Py_InitModule("eventsc", eventscMethods); | |
5617 | d = PyModule_GetDict(m); | |
1d99702e RD |
5618 | { |
5619 | int i; | |
5620 | for (i = 0; _swig_mapping[i].n1; i++) | |
5621 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
5622 | } | |
8ab979d7 | 5623 | } |