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