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