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