]>
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 RD |
106 | static char* wxStringErrorMsg = "string type is required for parameter"; |
107 | ||
108 | class wxPyEvent : public wxEvent { | |
109 | DECLARE_DYNAMIC_CLASS(wxPyEvent) | |
110 | public: | |
111 | wxPyEvent(int id=0, PyObject* userData = Py_None) | |
112 | : wxEvent(id) { | |
113 | m_userData = userData; | |
114 | Py_INCREF(m_userData); | |
115 | } | |
70551f47 | 116 | |
37f6a977 RD |
117 | ~wxPyEvent() { |
118 | bool doSave = wxPyRestoreThread(); | |
119 | Py_DECREF(m_userData); | |
120 | wxPySaveThread(doSave); | |
121 | } | |
70551f47 | 122 | |
37f6a977 RD |
123 | void SetPyData(PyObject* userData) { |
124 | bool doSave = wxPyRestoreThread(); | |
125 | Py_DECREF(m_userData); | |
126 | m_userData = userData; | |
127 | Py_INCREF(m_userData); | |
128 | wxPySaveThread(doSave); | |
129 | } | |
130 | ||
131 | PyObject* GetPyData() const { | |
132 | Py_INCREF(m_userData); | |
133 | return m_userData; | |
134 | } | |
135 | ||
136 | // This one is so the event object can be Cloned... | |
137 | void CopyObject(wxObject& dest) const { | |
138 | wxEvent::CopyObject(dest); | |
139 | ((wxPyEvent*)&dest)->SetPyData(m_userData); | |
140 | } | |
141 | ||
142 | private: | |
143 | PyObject* m_userData; | |
144 | }; | |
145 | ||
146 | IMPLEMENT_DYNAMIC_CLASS(wxPyEvent, wxEvent) | |
147 | ||
148 | ||
149 | class wxPyCommandEvent : public wxCommandEvent { | |
150 | DECLARE_DYNAMIC_CLASS(wxPyCommandEvent) | |
151 | public: | |
152 | wxPyCommandEvent(wxEventType commandType = wxEVT_NULL, int id=0, PyObject* userData = Py_None) | |
153 | : wxCommandEvent(commandType, id) { | |
154 | m_userData = userData; | |
155 | Py_INCREF(m_userData); | |
156 | } | |
157 | ||
158 | ~wxPyCommandEvent() { | |
159 | bool doSave = wxPyRestoreThread(); | |
160 | Py_DECREF(m_userData); | |
161 | wxPySaveThread(doSave); | |
162 | } | |
163 | ||
164 | void SetPyData(PyObject* userData) { | |
165 | bool doSave = wxPyRestoreThread(); | |
166 | Py_DECREF(m_userData); | |
167 | m_userData = userData; | |
168 | Py_INCREF(m_userData); | |
169 | wxPySaveThread(doSave); | |
170 | } | |
171 | ||
172 | PyObject* GetPyData() const { | |
173 | Py_INCREF(m_userData); | |
174 | return m_userData; | |
175 | } | |
176 | ||
177 | // This one is so the event object can be Cloned... | |
178 | void CopyObject(wxObject& dest) const { | |
179 | wxCommandEvent::CopyObject(dest); | |
180 | ((wxPyCommandEvent*)&dest)->SetPyData(m_userData); | |
181 | } | |
182 | ||
183 | private: | |
184 | PyObject* m_userData; | |
185 | }; | |
186 | ||
187 | IMPLEMENT_DYNAMIC_CLASS(wxPyCommandEvent, wxCommandEvent) | |
70551f47 | 188 | |
2d091820 RD |
189 | #ifdef __cplusplus |
190 | extern "C" { | |
191 | #endif | |
70551f47 | 192 | #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject()) |
107e4716 | 193 | static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
194 | PyObject * _resultobj; |
195 | wxObject * _result; | |
196 | wxEvent * _arg0; | |
2d091820 | 197 | PyObject * _argo0 = 0; |
107e4716 | 198 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
199 | char _ptemp[128]; |
200 | ||
201 | self = self; | |
107e4716 | 202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventObject",_kwnames,&_argo0)) |
70551f47 | 203 | return NULL; |
2d091820 RD |
204 | if (_argo0) { |
205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p."); |
208 | return NULL; | |
209 | } | |
210 | } | |
ab9bc19b RD |
211 | { |
212 | wxPy_BEGIN_ALLOW_THREADS; | |
213 | _result = (wxObject *)wxEvent_GetEventObject(_arg0); | |
214 | ||
215 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
216 | } if (_result) { |
217 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p"); | |
218 | _resultobj = Py_BuildValue("s",_ptemp); | |
219 | } else { | |
220 | Py_INCREF(Py_None); | |
221 | _resultobj = Py_None; | |
222 | } | |
70551f47 RD |
223 | return _resultobj; |
224 | } | |
225 | ||
226 | #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType()) | |
107e4716 | 227 | static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
228 | PyObject * _resultobj; |
229 | wxEventType _result; | |
230 | wxEvent * _arg0; | |
2d091820 | 231 | PyObject * _argo0 = 0; |
107e4716 | 232 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
233 | |
234 | self = self; | |
107e4716 | 235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetEventType",_kwnames,&_argo0)) |
70551f47 | 236 | return NULL; |
2d091820 RD |
237 | if (_argo0) { |
238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p."); |
241 | return NULL; | |
242 | } | |
243 | } | |
ab9bc19b RD |
244 | { |
245 | wxPy_BEGIN_ALLOW_THREADS; | |
246 | _result = (wxEventType )wxEvent_GetEventType(_arg0); | |
247 | ||
248 | wxPy_END_ALLOW_THREADS; | |
249 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
250 | return _resultobj; |
251 | } | |
252 | ||
253 | #define wxEvent_GetId(_swigobj) (_swigobj->GetId()) | |
107e4716 | 254 | static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
255 | PyObject * _resultobj; |
256 | int _result; | |
257 | wxEvent * _arg0; | |
2d091820 | 258 | PyObject * _argo0 = 0; |
107e4716 | 259 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
260 | |
261 | self = self; | |
107e4716 | 262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetId",_kwnames,&_argo0)) |
70551f47 | 263 | return NULL; |
2d091820 RD |
264 | if (_argo0) { |
265 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
266 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p."); |
268 | return NULL; | |
269 | } | |
270 | } | |
ab9bc19b RD |
271 | { |
272 | wxPy_BEGIN_ALLOW_THREADS; | |
273 | _result = (int )wxEvent_GetId(_arg0); | |
274 | ||
275 | wxPy_END_ALLOW_THREADS; | |
276 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
277 | return _resultobj; |
278 | } | |
279 | ||
280 | #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped()) | |
107e4716 | 281 | static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
282 | PyObject * _resultobj; |
283 | bool _result; | |
284 | wxEvent * _arg0; | |
2d091820 | 285 | PyObject * _argo0 = 0; |
107e4716 | 286 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
287 | |
288 | self = self; | |
107e4716 | 289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetSkipped",_kwnames,&_argo0)) |
70551f47 | 290 | return NULL; |
2d091820 RD |
291 | if (_argo0) { |
292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p."); |
295 | return NULL; | |
296 | } | |
297 | } | |
ab9bc19b RD |
298 | { |
299 | wxPy_BEGIN_ALLOW_THREADS; | |
300 | _result = (bool )wxEvent_GetSkipped(_arg0); | |
301 | ||
302 | wxPy_END_ALLOW_THREADS; | |
303 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
304 | return _resultobj; |
305 | } | |
306 | ||
307 | #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp()) | |
107e4716 | 308 | static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
309 | PyObject * _resultobj; |
310 | long _result; | |
311 | wxEvent * _arg0; | |
2d091820 | 312 | PyObject * _argo0 = 0; |
107e4716 | 313 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
314 | |
315 | self = self; | |
107e4716 | 316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvent_GetTimestamp",_kwnames,&_argo0)) |
70551f47 | 317 | return NULL; |
2d091820 RD |
318 | if (_argo0) { |
319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p."); |
322 | return NULL; | |
323 | } | |
324 | } | |
ab9bc19b RD |
325 | { |
326 | wxPy_BEGIN_ALLOW_THREADS; | |
327 | _result = (long )wxEvent_GetTimestamp(_arg0); | |
328 | ||
329 | wxPy_END_ALLOW_THREADS; | |
330 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
331 | return _resultobj; |
332 | } | |
333 | ||
334 | #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0)) | |
107e4716 | 335 | static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
336 | PyObject * _resultobj; |
337 | wxEvent * _arg0; | |
338 | wxObject * _arg1; | |
2d091820 RD |
339 | PyObject * _argo0 = 0; |
340 | PyObject * _argo1 = 0; | |
107e4716 | 341 | char *_kwnames[] = { "self","object", NULL }; |
70551f47 RD |
342 | |
343 | self = self; | |
107e4716 | 344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvent_SetEventObject",_kwnames,&_argo0,&_argo1)) |
70551f47 | 345 | return NULL; |
2d091820 RD |
346 | if (_argo0) { |
347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p."); |
350 | return NULL; | |
351 | } | |
352 | } | |
2d091820 RD |
353 | if (_argo1) { |
354 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
355 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) { | |
70551f47 RD |
356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p."); |
357 | return NULL; | |
358 | } | |
359 | } | |
ab9bc19b RD |
360 | { |
361 | wxPy_BEGIN_ALLOW_THREADS; | |
362 | wxEvent_SetEventObject(_arg0,_arg1); | |
363 | ||
364 | wxPy_END_ALLOW_THREADS; | |
365 | } Py_INCREF(Py_None); | |
70551f47 RD |
366 | _resultobj = Py_None; |
367 | return _resultobj; | |
368 | } | |
369 | ||
370 | #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0)) | |
107e4716 | 371 | static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
372 | PyObject * _resultobj; |
373 | wxEvent * _arg0; | |
374 | wxEventType _arg1; | |
2d091820 | 375 | PyObject * _argo0 = 0; |
107e4716 | 376 | char *_kwnames[] = { "self","typ", NULL }; |
70551f47 RD |
377 | |
378 | self = self; | |
107e4716 | 379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetEventType",_kwnames,&_argo0,&_arg1)) |
70551f47 | 380 | return NULL; |
2d091820 RD |
381 | if (_argo0) { |
382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p."); |
385 | return NULL; | |
386 | } | |
387 | } | |
ab9bc19b RD |
388 | { |
389 | wxPy_BEGIN_ALLOW_THREADS; | |
390 | wxEvent_SetEventType(_arg0,_arg1); | |
391 | ||
392 | wxPy_END_ALLOW_THREADS; | |
393 | } Py_INCREF(Py_None); | |
70551f47 RD |
394 | _resultobj = Py_None; |
395 | return _resultobj; | |
396 | } | |
397 | ||
398 | #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
107e4716 | 399 | static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
400 | PyObject * _resultobj; |
401 | wxEvent * _arg0; | |
402 | int _arg1; | |
2d091820 | 403 | PyObject * _argo0 = 0; |
107e4716 | 404 | char *_kwnames[] = { "self","id", NULL }; |
70551f47 RD |
405 | |
406 | self = self; | |
107e4716 | 407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvent_SetId",_kwnames,&_argo0,&_arg1)) |
70551f47 | 408 | return NULL; |
2d091820 RD |
409 | if (_argo0) { |
410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p."); |
413 | return NULL; | |
414 | } | |
415 | } | |
ab9bc19b RD |
416 | { |
417 | wxPy_BEGIN_ALLOW_THREADS; | |
418 | wxEvent_SetId(_arg0,_arg1); | |
419 | ||
420 | wxPy_END_ALLOW_THREADS; | |
421 | } Py_INCREF(Py_None); | |
70551f47 RD |
422 | _resultobj = Py_None; |
423 | return _resultobj; | |
424 | } | |
425 | ||
426 | #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0)) | |
107e4716 | 427 | static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
428 | PyObject * _resultobj; |
429 | wxEvent * _arg0; | |
430 | long _arg1; | |
2d091820 | 431 | PyObject * _argo0 = 0; |
107e4716 | 432 | char *_kwnames[] = { "self","timeStamp", NULL }; |
70551f47 RD |
433 | |
434 | self = self; | |
107e4716 | 435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxEvent_SetTimestamp",_kwnames,&_argo0,&_arg1)) |
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_SetTimestamp. Expected _wxEvent_p."); |
441 | return NULL; | |
442 | } | |
443 | } | |
ab9bc19b RD |
444 | { |
445 | wxPy_BEGIN_ALLOW_THREADS; | |
446 | wxEvent_SetTimestamp(_arg0,_arg1); | |
447 | ||
448 | wxPy_END_ALLOW_THREADS; | |
449 | } Py_INCREF(Py_None); | |
70551f47 RD |
450 | _resultobj = Py_None; |
451 | return _resultobj; | |
452 | } | |
453 | ||
454 | #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0)) | |
107e4716 | 455 | static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
456 | PyObject * _resultobj; |
457 | wxEvent * _arg0; | |
2d091820 RD |
458 | bool _arg1 = (bool ) TRUE; |
459 | PyObject * _argo0 = 0; | |
460 | int tempbool1 = (int) TRUE; | |
107e4716 | 461 | char *_kwnames[] = { "self","skip", NULL }; |
70551f47 RD |
462 | |
463 | self = self; | |
107e4716 | 464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxEvent_Skip",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 465 | return NULL; |
2d091820 RD |
466 | if (_argo0) { |
467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvent_p")) { | |
70551f47 RD |
469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p."); |
470 | return NULL; | |
471 | } | |
472 | } | |
473 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
474 | { |
475 | wxPy_BEGIN_ALLOW_THREADS; | |
476 | wxEvent_Skip(_arg0,_arg1); | |
477 | ||
478 | wxPy_END_ALLOW_THREADS; | |
479 | } Py_INCREF(Py_None); | |
70551f47 RD |
480 | _resultobj = Py_None; |
481 | return _resultobj; | |
482 | } | |
483 | ||
484 | static void *SwigwxSizeEventTowxEvent(void *ptr) { | |
485 | wxSizeEvent *src; | |
486 | wxEvent *dest; | |
487 | src = (wxSizeEvent *) ptr; | |
488 | dest = (wxEvent *) src; | |
489 | return (void *) dest; | |
490 | } | |
491 | ||
492 | #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize()) | |
107e4716 | 493 | static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
494 | PyObject * _resultobj; |
495 | wxSize * _result; | |
496 | wxSizeEvent * _arg0; | |
2d091820 | 497 | PyObject * _argo0 = 0; |
107e4716 | 498 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
499 | char _ptemp[128]; |
500 | ||
501 | self = self; | |
107e4716 | 502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizeEvent_GetSize",_kwnames,&_argo0)) |
70551f47 | 503 | return NULL; |
2d091820 RD |
504 | if (_argo0) { |
505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizeEvent_p")) { | |
70551f47 RD |
507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p."); |
508 | return NULL; | |
509 | } | |
510 | } | |
ab9bc19b RD |
511 | { |
512 | wxPy_BEGIN_ALLOW_THREADS; | |
513 | _result = new wxSize (wxSizeEvent_GetSize(_arg0)); | |
514 | ||
515 | wxPy_END_ALLOW_THREADS; | |
516 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
70551f47 RD |
517 | _resultobj = Py_BuildValue("s",_ptemp); |
518 | return _resultobj; | |
519 | } | |
520 | ||
521 | static void *SwigwxCloseEventTowxEvent(void *ptr) { | |
522 | wxCloseEvent *src; | |
523 | wxEvent *dest; | |
524 | src = (wxCloseEvent *) ptr; | |
525 | dest = (wxEvent *) src; | |
526 | return (void *) dest; | |
527 | } | |
528 | ||
d1e586e4 | 529 | #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0)) |
107e4716 | 530 | static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 | 531 | PyObject * _resultobj; |
105e45b9 | 532 | wxCloseEvent * _arg0; |
d1e586e4 | 533 | bool _arg1; |
2d091820 | 534 | PyObject * _argo0 = 0; |
d1e586e4 | 535 | int tempbool1; |
107e4716 | 536 | char *_kwnames[] = { "self","loggingOff", NULL }; |
105e45b9 RD |
537 | |
538 | self = self; | |
107e4716 | 539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetLoggingOff",_kwnames,&_argo0,&tempbool1)) |
105e45b9 | 540 | return NULL; |
2d091820 RD |
541 | if (_argo0) { |
542 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
543 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
d1e586e4 | 544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p."); |
105e45b9 RD |
545 | return NULL; |
546 | } | |
547 | } | |
d1e586e4 | 548 | _arg1 = (bool ) tempbool1; |
ab9bc19b RD |
549 | { |
550 | wxPy_BEGIN_ALLOW_THREADS; | |
551 | wxCloseEvent_SetLoggingOff(_arg0,_arg1); | |
552 | ||
553 | wxPy_END_ALLOW_THREADS; | |
554 | } Py_INCREF(Py_None); | |
d1e586e4 | 555 | _resultobj = Py_None; |
105e45b9 RD |
556 | return _resultobj; |
557 | } | |
558 | ||
70551f47 | 559 | #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff()) |
107e4716 | 560 | static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
561 | PyObject * _resultobj; |
562 | bool _result; | |
563 | wxCloseEvent * _arg0; | |
2d091820 | 564 | PyObject * _argo0 = 0; |
107e4716 | 565 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
566 | |
567 | self = self; | |
107e4716 | 568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetLoggingOff",_kwnames,&_argo0)) |
70551f47 | 569 | return NULL; |
2d091820 RD |
570 | if (_argo0) { |
571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
70551f47 RD |
573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p."); |
574 | return NULL; | |
575 | } | |
576 | } | |
ab9bc19b RD |
577 | { |
578 | wxPy_BEGIN_ALLOW_THREADS; | |
579 | _result = (bool )wxCloseEvent_GetLoggingOff(_arg0); | |
580 | ||
581 | wxPy_END_ALLOW_THREADS; | |
582 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
583 | return _resultobj; |
584 | } | |
585 | ||
586 | #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0)) | |
107e4716 | 587 | static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
588 | PyObject * _resultobj; |
589 | wxCloseEvent * _arg0; | |
2d091820 RD |
590 | bool _arg1 = (bool ) TRUE; |
591 | PyObject * _argo0 = 0; | |
592 | int tempbool1 = (int) TRUE; | |
107e4716 | 593 | char *_kwnames[] = { "self","veto", NULL }; |
70551f47 RD |
594 | |
595 | self = self; | |
107e4716 | 596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCloseEvent_Veto",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 597 | return NULL; |
2d091820 RD |
598 | if (_argo0) { |
599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
70551f47 RD |
601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p."); |
602 | return NULL; | |
603 | } | |
604 | } | |
605 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
606 | { |
607 | wxPy_BEGIN_ALLOW_THREADS; | |
608 | wxCloseEvent_Veto(_arg0,_arg1); | |
609 | ||
610 | wxPy_END_ALLOW_THREADS; | |
611 | } Py_INCREF(Py_None); | |
70551f47 RD |
612 | _resultobj = Py_None; |
613 | return _resultobj; | |
614 | } | |
615 | ||
d1e586e4 | 616 | #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto()) |
107e4716 | 617 | static PyObject *_wrap_wxCloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
618 | PyObject * _resultobj; |
619 | bool _result; | |
620 | wxCloseEvent * _arg0; | |
2d091820 | 621 | PyObject * _argo0 = 0; |
107e4716 | 622 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
623 | |
624 | self = self; | |
107e4716 | 625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_CanVeto",_kwnames,&_argo0)) |
70551f47 | 626 | return NULL; |
2d091820 RD |
627 | if (_argo0) { |
628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
d1e586e4 | 630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p."); |
70551f47 RD |
631 | return NULL; |
632 | } | |
633 | } | |
ab9bc19b RD |
634 | { |
635 | wxPy_BEGIN_ALLOW_THREADS; | |
636 | _result = (bool )wxCloseEvent_CanVeto(_arg0); | |
637 | ||
638 | wxPy_END_ALLOW_THREADS; | |
639 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
640 | return _resultobj; |
641 | } | |
642 | ||
d1e586e4 | 643 | #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto()) |
107e4716 | 644 | static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 | 645 | PyObject * _resultobj; |
d1e586e4 | 646 | bool _result; |
70551f47 | 647 | wxCloseEvent * _arg0; |
2d091820 | 648 | PyObject * _argo0 = 0; |
107e4716 | 649 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
650 | |
651 | self = self; | |
107e4716 | 652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCloseEvent_GetVeto",_kwnames,&_argo0)) |
70551f47 | 653 | return NULL; |
2d091820 RD |
654 | if (_argo0) { |
655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
d1e586e4 | 657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p."); |
70551f47 RD |
658 | return NULL; |
659 | } | |
660 | } | |
ab9bc19b RD |
661 | { |
662 | wxPy_BEGIN_ALLOW_THREADS; | |
663 | _result = (bool )wxCloseEvent_GetVeto(_arg0); | |
664 | ||
665 | wxPy_END_ALLOW_THREADS; | |
666 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
667 | return _resultobj; |
668 | } | |
669 | ||
105e45b9 | 670 | #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0)) |
107e4716 | 671 | static PyObject *_wrap_wxCloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) { |
105e45b9 RD |
672 | PyObject * _resultobj; |
673 | wxCloseEvent * _arg0; | |
674 | bool _arg1; | |
2d091820 | 675 | PyObject * _argo0 = 0; |
105e45b9 | 676 | int tempbool1; |
107e4716 | 677 | char *_kwnames[] = { "self","canVeto", NULL }; |
105e45b9 RD |
678 | |
679 | self = self; | |
107e4716 | 680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCloseEvent_SetCanVeto",_kwnames,&_argo0,&tempbool1)) |
105e45b9 | 681 | return NULL; |
2d091820 RD |
682 | if (_argo0) { |
683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCloseEvent_p")) { | |
105e45b9 RD |
685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p."); |
686 | return NULL; | |
687 | } | |
688 | } | |
689 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
690 | { |
691 | wxPy_BEGIN_ALLOW_THREADS; | |
692 | wxCloseEvent_SetCanVeto(_arg0,_arg1); | |
693 | ||
694 | wxPy_END_ALLOW_THREADS; | |
695 | } Py_INCREF(Py_None); | |
105e45b9 RD |
696 | _resultobj = Py_None; |
697 | return _resultobj; | |
698 | } | |
699 | ||
70551f47 RD |
700 | static void *SwigwxCommandEventTowxEvent(void *ptr) { |
701 | wxCommandEvent *src; | |
702 | wxEvent *dest; | |
703 | src = (wxCommandEvent *) ptr; | |
704 | dest = (wxEvent *) src; | |
705 | return (void *) dest; | |
706 | } | |
707 | ||
708 | #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked()) | |
107e4716 | 709 | static PyObject *_wrap_wxCommandEvent_Checked(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
710 | PyObject * _resultobj; |
711 | bool _result; | |
712 | wxCommandEvent * _arg0; | |
2d091820 | 713 | PyObject * _argo0 = 0; |
107e4716 | 714 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
715 | |
716 | self = self; | |
107e4716 | 717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_Checked",_kwnames,&_argo0)) |
70551f47 | 718 | return NULL; |
2d091820 RD |
719 | if (_argo0) { |
720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p."); |
723 | return NULL; | |
724 | } | |
725 | } | |
ab9bc19b RD |
726 | { |
727 | wxPy_BEGIN_ALLOW_THREADS; | |
728 | _result = (bool )wxCommandEvent_Checked(_arg0); | |
729 | ||
730 | wxPy_END_ALLOW_THREADS; | |
731 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
732 | return _resultobj; |
733 | } | |
734 | ||
735 | #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong()) | |
107e4716 | 736 | static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
737 | PyObject * _resultobj; |
738 | long _result; | |
739 | wxCommandEvent * _arg0; | |
2d091820 | 740 | PyObject * _argo0 = 0; |
107e4716 | 741 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
742 | |
743 | self = self; | |
107e4716 | 744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetExtraLong",_kwnames,&_argo0)) |
70551f47 | 745 | return NULL; |
2d091820 RD |
746 | if (_argo0) { |
747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p."); |
750 | return NULL; | |
751 | } | |
752 | } | |
ab9bc19b RD |
753 | { |
754 | wxPy_BEGIN_ALLOW_THREADS; | |
755 | _result = (long )wxCommandEvent_GetExtraLong(_arg0); | |
756 | ||
757 | wxPy_END_ALLOW_THREADS; | |
758 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
759 | return _resultobj; |
760 | } | |
761 | ||
762 | #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt()) | |
107e4716 | 763 | static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
764 | PyObject * _resultobj; |
765 | int _result; | |
766 | wxCommandEvent * _arg0; | |
2d091820 | 767 | PyObject * _argo0 = 0; |
107e4716 | 768 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
769 | |
770 | self = self; | |
107e4716 | 771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetInt",_kwnames,&_argo0)) |
70551f47 | 772 | return NULL; |
2d091820 RD |
773 | if (_argo0) { |
774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p."); |
777 | return NULL; | |
778 | } | |
779 | } | |
ab9bc19b RD |
780 | { |
781 | wxPy_BEGIN_ALLOW_THREADS; | |
782 | _result = (int )wxCommandEvent_GetInt(_arg0); | |
783 | ||
784 | wxPy_END_ALLOW_THREADS; | |
785 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
786 | return _resultobj; |
787 | } | |
788 | ||
789 | #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
107e4716 | 790 | static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
791 | PyObject * _resultobj; |
792 | int _result; | |
793 | wxCommandEvent * _arg0; | |
2d091820 | 794 | PyObject * _argo0 = 0; |
107e4716 | 795 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
796 | |
797 | self = self; | |
107e4716 | 798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetSelection",_kwnames,&_argo0)) |
70551f47 | 799 | return NULL; |
2d091820 RD |
800 | if (_argo0) { |
801 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
802 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
803 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p."); |
804 | return NULL; | |
805 | } | |
806 | } | |
ab9bc19b RD |
807 | { |
808 | wxPy_BEGIN_ALLOW_THREADS; | |
809 | _result = (int )wxCommandEvent_GetSelection(_arg0); | |
810 | ||
811 | wxPy_END_ALLOW_THREADS; | |
812 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
813 | return _resultobj; |
814 | } | |
815 | ||
816 | #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString()) | |
107e4716 | 817 | static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 | 818 | PyObject * _resultobj; |
ab9bc19b | 819 | wxString * _result; |
70551f47 | 820 | wxCommandEvent * _arg0; |
2d091820 | 821 | PyObject * _argo0 = 0; |
107e4716 | 822 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
823 | |
824 | self = self; | |
107e4716 | 825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCommandEvent_GetString",_kwnames,&_argo0)) |
70551f47 | 826 | return NULL; |
2d091820 RD |
827 | if (_argo0) { |
828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCommandEvent_p")) { | |
70551f47 RD |
830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p."); |
831 | return NULL; | |
832 | } | |
833 | } | |
ab9bc19b RD |
834 | { |
835 | wxPy_BEGIN_ALLOW_THREADS; | |
836 | _result = new wxString (wxCommandEvent_GetString(_arg0)); | |
837 | ||
838 | wxPy_END_ALLOW_THREADS; | |
839 | }{ | |
840 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
841 | } | |
842 | { | |
843 | delete _result; | |
844 | } | |
70551f47 RD |
845 | return _resultobj; |
846 | } | |
847 | ||
848 | #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection()) | |
107e4716 | 849 | static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
850 | PyObject * _resultobj; |
851 | bool _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_IsSelection",_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_IsSelection. Expected _wxCommandEvent_p."); |
863 | return NULL; | |
864 | } | |
865 | } | |
ab9bc19b RD |
866 | { |
867 | wxPy_BEGIN_ALLOW_THREADS; | |
868 | _result = (bool )wxCommandEvent_IsSelection(_arg0); | |
869 | ||
870 | wxPy_END_ALLOW_THREADS; | |
871 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
872 | return _resultobj; |
873 | } | |
874 | ||
875 | static void *SwigwxScrollEventTowxCommandEvent(void *ptr) { | |
876 | wxScrollEvent *src; | |
877 | wxCommandEvent *dest; | |
878 | src = (wxScrollEvent *) ptr; | |
879 | dest = (wxCommandEvent *) src; | |
880 | return (void *) dest; | |
881 | } | |
882 | ||
883 | static void *SwigwxScrollEventTowxEvent(void *ptr) { | |
884 | wxScrollEvent *src; | |
885 | wxEvent *dest; | |
886 | src = (wxScrollEvent *) ptr; | |
887 | dest = (wxEvent *) src; | |
888 | return (void *) dest; | |
889 | } | |
890 | ||
891 | #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation()) | |
107e4716 | 892 | static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
893 | PyObject * _resultobj; |
894 | int _result; | |
895 | wxScrollEvent * _arg0; | |
2d091820 | 896 | PyObject * _argo0 = 0; |
107e4716 | 897 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
898 | |
899 | self = self; | |
107e4716 | 900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetOrientation",_kwnames,&_argo0)) |
70551f47 | 901 | return NULL; |
2d091820 RD |
902 | if (_argo0) { |
903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) { | |
70551f47 RD |
905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p."); |
906 | return NULL; | |
907 | } | |
908 | } | |
ab9bc19b RD |
909 | { |
910 | wxPy_BEGIN_ALLOW_THREADS; | |
911 | _result = (int )wxScrollEvent_GetOrientation(_arg0); | |
912 | ||
913 | wxPy_END_ALLOW_THREADS; | |
914 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
915 | return _resultobj; |
916 | } | |
917 | ||
918 | #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 919 | static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
920 | PyObject * _resultobj; |
921 | int _result; | |
922 | wxScrollEvent * _arg0; | |
2d091820 | 923 | PyObject * _argo0 = 0; |
107e4716 | 924 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
925 | |
926 | self = self; | |
107e4716 | 927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 928 | return NULL; |
2d091820 RD |
929 | if (_argo0) { |
930 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
931 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollEvent_p")) { | |
70551f47 RD |
932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p."); |
933 | return NULL; | |
934 | } | |
935 | } | |
ab9bc19b RD |
936 | { |
937 | wxPy_BEGIN_ALLOW_THREADS; | |
938 | _result = (int )wxScrollEvent_GetPosition(_arg0); | |
939 | ||
940 | wxPy_END_ALLOW_THREADS; | |
941 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
942 | return _resultobj; |
943 | } | |
944 | ||
9cce9de1 RD |
945 | static void *SwigwxScrollWinEventTowxEvent(void *ptr) { |
946 | wxScrollWinEvent *src; | |
947 | wxEvent *dest; | |
948 | src = (wxScrollWinEvent *) ptr; | |
949 | dest = (wxEvent *) src; | |
950 | return (void *) dest; | |
951 | } | |
952 | ||
953 | #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation()) | |
954 | static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
955 | PyObject * _resultobj; | |
956 | int _result; | |
957 | wxScrollWinEvent * _arg0; | |
958 | PyObject * _argo0 = 0; | |
959 | char *_kwnames[] = { "self", NULL }; | |
960 | ||
961 | self = self; | |
962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetOrientation",_kwnames,&_argo0)) | |
963 | return NULL; | |
964 | if (_argo0) { | |
965 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
966 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) { | |
967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p."); | |
968 | return NULL; | |
969 | } | |
970 | } | |
971 | { | |
972 | wxPy_BEGIN_ALLOW_THREADS; | |
973 | _result = (int )wxScrollWinEvent_GetOrientation(_arg0); | |
974 | ||
975 | wxPy_END_ALLOW_THREADS; | |
976 | } _resultobj = Py_BuildValue("i",_result); | |
977 | return _resultobj; | |
978 | } | |
979 | ||
980 | #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
981 | static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
982 | PyObject * _resultobj; | |
983 | int _result; | |
984 | wxScrollWinEvent * _arg0; | |
985 | PyObject * _argo0 = 0; | |
986 | char *_kwnames[] = { "self", NULL }; | |
987 | ||
988 | self = self; | |
989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollWinEvent_GetPosition",_kwnames,&_argo0)) | |
990 | return NULL; | |
991 | if (_argo0) { | |
992 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
993 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollWinEvent_p")) { | |
994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p."); | |
995 | return NULL; | |
996 | } | |
997 | } | |
998 | { | |
999 | wxPy_BEGIN_ALLOW_THREADS; | |
1000 | _result = (int )wxScrollWinEvent_GetPosition(_arg0); | |
1001 | ||
1002 | wxPy_END_ALLOW_THREADS; | |
1003 | } _resultobj = Py_BuildValue("i",_result); | |
1004 | return _resultobj; | |
1005 | } | |
1006 | ||
62bd0874 RD |
1007 | static void *SwigwxSpinEventTowxScrollEvent(void *ptr) { |
1008 | wxSpinEvent *src; | |
1009 | wxScrollEvent *dest; | |
1010 | src = (wxSpinEvent *) ptr; | |
1011 | dest = (wxScrollEvent *) src; | |
1012 | return (void *) dest; | |
1013 | } | |
1014 | ||
1015 | static void *SwigwxSpinEventTowxCommandEvent(void *ptr) { | |
1016 | wxSpinEvent *src; | |
1017 | wxCommandEvent *dest; | |
1018 | src = (wxSpinEvent *) ptr; | |
1019 | dest = (wxCommandEvent *) src; | |
1020 | return (void *) dest; | |
1021 | } | |
1022 | ||
1023 | static void *SwigwxSpinEventTowxEvent(void *ptr) { | |
1024 | wxSpinEvent *src; | |
1025 | wxEvent *dest; | |
1026 | src = (wxSpinEvent *) ptr; | |
1027 | dest = (wxEvent *) src; | |
1028 | return (void *) dest; | |
1029 | } | |
1030 | ||
70551f47 RD |
1031 | static void *SwigwxMouseEventTowxEvent(void *ptr) { |
1032 | wxMouseEvent *src; | |
1033 | wxEvent *dest; | |
1034 | src = (wxMouseEvent *) ptr; | |
1035 | dest = (wxEvent *) src; | |
1036 | return (void *) dest; | |
1037 | } | |
1038 | ||
1039 | #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton()) | |
107e4716 | 1040 | static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1041 | PyObject * _resultobj; |
1042 | bool _result; | |
1043 | wxMouseEvent * _arg0; | |
2d091820 | 1044 | PyObject * _argo0 = 0; |
107e4716 | 1045 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1046 | |
1047 | self = self; | |
107e4716 | 1048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_IsButton",_kwnames,&_argo0)) |
70551f47 | 1049 | return NULL; |
2d091820 RD |
1050 | if (_argo0) { |
1051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p."); |
1054 | return NULL; | |
1055 | } | |
1056 | } | |
ab9bc19b RD |
1057 | { |
1058 | wxPy_BEGIN_ALLOW_THREADS; | |
1059 | _result = (bool )wxMouseEvent_IsButton(_arg0); | |
1060 | ||
1061 | wxPy_END_ALLOW_THREADS; | |
1062 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1063 | return _resultobj; |
1064 | } | |
1065 | ||
1066 | #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0)) | |
107e4716 | 1067 | static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1068 | PyObject * _resultobj; |
1069 | bool _result; | |
1070 | wxMouseEvent * _arg0; | |
2d091820 RD |
1071 | int _arg1 = (int ) -1; |
1072 | PyObject * _argo0 = 0; | |
107e4716 | 1073 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
1074 | |
1075 | self = self; | |
107e4716 | 1076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDown",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1077 | return NULL; |
2d091820 RD |
1078 | if (_argo0) { |
1079 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1080 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p."); |
1082 | return NULL; | |
1083 | } | |
1084 | } | |
ab9bc19b RD |
1085 | { |
1086 | wxPy_BEGIN_ALLOW_THREADS; | |
1087 | _result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1); | |
1088 | ||
1089 | wxPy_END_ALLOW_THREADS; | |
1090 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1091 | return _resultobj; |
1092 | } | |
1093 | ||
1094 | #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0)) | |
107e4716 | 1095 | static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1096 | PyObject * _resultobj; |
1097 | bool _result; | |
1098 | wxMouseEvent * _arg0; | |
2d091820 RD |
1099 | int _arg1 = (int ) -1; |
1100 | PyObject * _argo0 = 0; | |
107e4716 | 1101 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
1102 | |
1103 | self = self; | |
107e4716 | 1104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonDClick",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1105 | return NULL; |
2d091820 RD |
1106 | if (_argo0) { |
1107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p."); |
1110 | return NULL; | |
1111 | } | |
1112 | } | |
ab9bc19b RD |
1113 | { |
1114 | wxPy_BEGIN_ALLOW_THREADS; | |
1115 | _result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1); | |
1116 | ||
1117 | wxPy_END_ALLOW_THREADS; | |
1118 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1119 | return _resultobj; |
1120 | } | |
1121 | ||
1122 | #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0)) | |
107e4716 | 1123 | static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1124 | PyObject * _resultobj; |
1125 | bool _result; | |
1126 | wxMouseEvent * _arg0; | |
2d091820 RD |
1127 | int _arg1 = (int ) -1; |
1128 | PyObject * _argo0 = 0; | |
107e4716 | 1129 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
1130 | |
1131 | self = self; | |
107e4716 | 1132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMouseEvent_ButtonUp",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1133 | return NULL; |
2d091820 RD |
1134 | if (_argo0) { |
1135 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1136 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1137 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p."); |
1138 | return NULL; | |
1139 | } | |
1140 | } | |
ab9bc19b RD |
1141 | { |
1142 | wxPy_BEGIN_ALLOW_THREADS; | |
1143 | _result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1); | |
1144 | ||
1145 | wxPy_END_ALLOW_THREADS; | |
1146 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1147 | return _resultobj; |
1148 | } | |
1149 | ||
1150 | #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0)) | |
107e4716 | 1151 | static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1152 | PyObject * _resultobj; |
1153 | bool _result; | |
1154 | wxMouseEvent * _arg0; | |
1155 | int _arg1; | |
2d091820 | 1156 | PyObject * _argo0 = 0; |
107e4716 | 1157 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
1158 | |
1159 | self = self; | |
107e4716 | 1160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_Button",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1161 | return NULL; |
2d091820 RD |
1162 | if (_argo0) { |
1163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p."); |
1166 | return NULL; | |
1167 | } | |
1168 | } | |
ab9bc19b RD |
1169 | { |
1170 | wxPy_BEGIN_ALLOW_THREADS; | |
1171 | _result = (bool )wxMouseEvent_Button(_arg0,_arg1); | |
1172 | ||
1173 | wxPy_END_ALLOW_THREADS; | |
1174 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1175 | return _resultobj; |
1176 | } | |
1177 | ||
1178 | #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0)) | |
107e4716 | 1179 | static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1180 | PyObject * _resultobj; |
1181 | bool _result; | |
1182 | wxMouseEvent * _arg0; | |
1183 | int _arg1; | |
2d091820 | 1184 | PyObject * _argo0 = 0; |
107e4716 | 1185 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
1186 | |
1187 | self = self; | |
107e4716 | 1188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMouseEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1189 | return NULL; |
2d091820 RD |
1190 | if (_argo0) { |
1191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p."); |
1194 | return NULL; | |
1195 | } | |
1196 | } | |
ab9bc19b RD |
1197 | { |
1198 | wxPy_BEGIN_ALLOW_THREADS; | |
1199 | _result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1); | |
1200 | ||
1201 | wxPy_END_ALLOW_THREADS; | |
1202 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1203 | return _resultobj; |
1204 | } | |
1205 | ||
1206 | #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
107e4716 | 1207 | static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1208 | PyObject * _resultobj; |
1209 | bool _result; | |
1210 | wxMouseEvent * _arg0; | |
2d091820 | 1211 | PyObject * _argo0 = 0; |
107e4716 | 1212 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1213 | |
1214 | self = self; | |
107e4716 | 1215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ControlDown",_kwnames,&_argo0)) |
70551f47 | 1216 | return NULL; |
2d091820 RD |
1217 | if (_argo0) { |
1218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p."); |
1221 | return NULL; | |
1222 | } | |
1223 | } | |
ab9bc19b RD |
1224 | { |
1225 | wxPy_BEGIN_ALLOW_THREADS; | |
1226 | _result = (bool )wxMouseEvent_ControlDown(_arg0); | |
1227 | ||
1228 | wxPy_END_ALLOW_THREADS; | |
1229 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1230 | return _resultobj; |
1231 | } | |
1232 | ||
1233 | #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
107e4716 | 1234 | static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1235 | PyObject * _resultobj; |
1236 | bool _result; | |
1237 | wxMouseEvent * _arg0; | |
2d091820 | 1238 | PyObject * _argo0 = 0; |
107e4716 | 1239 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1240 | |
1241 | self = self; | |
107e4716 | 1242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MetaDown",_kwnames,&_argo0)) |
70551f47 | 1243 | return NULL; |
2d091820 RD |
1244 | if (_argo0) { |
1245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p."); |
1248 | return NULL; | |
1249 | } | |
1250 | } | |
ab9bc19b RD |
1251 | { |
1252 | wxPy_BEGIN_ALLOW_THREADS; | |
1253 | _result = (bool )wxMouseEvent_MetaDown(_arg0); | |
1254 | ||
1255 | wxPy_END_ALLOW_THREADS; | |
1256 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1257 | return _resultobj; |
1258 | } | |
1259 | ||
1260 | #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
107e4716 | 1261 | static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1262 | PyObject * _resultobj; |
1263 | bool _result; | |
1264 | wxMouseEvent * _arg0; | |
2d091820 | 1265 | PyObject * _argo0 = 0; |
107e4716 | 1266 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1267 | |
1268 | self = self; | |
107e4716 | 1269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_AltDown",_kwnames,&_argo0)) |
70551f47 | 1270 | return NULL; |
2d091820 RD |
1271 | if (_argo0) { |
1272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p."); |
1275 | return NULL; | |
1276 | } | |
1277 | } | |
ab9bc19b RD |
1278 | { |
1279 | wxPy_BEGIN_ALLOW_THREADS; | |
1280 | _result = (bool )wxMouseEvent_AltDown(_arg0); | |
1281 | ||
1282 | wxPy_END_ALLOW_THREADS; | |
1283 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1284 | return _resultobj; |
1285 | } | |
1286 | ||
1287 | #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
107e4716 | 1288 | static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1289 | PyObject * _resultobj; |
1290 | bool _result; | |
1291 | wxMouseEvent * _arg0; | |
2d091820 | 1292 | PyObject * _argo0 = 0; |
107e4716 | 1293 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1294 | |
1295 | self = self; | |
107e4716 | 1296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_ShiftDown",_kwnames,&_argo0)) |
70551f47 | 1297 | return NULL; |
2d091820 RD |
1298 | if (_argo0) { |
1299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p."); |
1302 | return NULL; | |
1303 | } | |
1304 | } | |
ab9bc19b RD |
1305 | { |
1306 | wxPy_BEGIN_ALLOW_THREADS; | |
1307 | _result = (bool )wxMouseEvent_ShiftDown(_arg0); | |
1308 | ||
1309 | wxPy_END_ALLOW_THREADS; | |
1310 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1311 | return _resultobj; |
1312 | } | |
1313 | ||
1314 | #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown()) | |
107e4716 | 1315 | static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1316 | PyObject * _resultobj; |
1317 | bool _result; | |
1318 | wxMouseEvent * _arg0; | |
2d091820 | 1319 | PyObject * _argo0 = 0; |
107e4716 | 1320 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1321 | |
1322 | self = self; | |
107e4716 | 1323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDown",_kwnames,&_argo0)) |
70551f47 | 1324 | return NULL; |
2d091820 RD |
1325 | if (_argo0) { |
1326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p."); |
1329 | return NULL; | |
1330 | } | |
1331 | } | |
ab9bc19b RD |
1332 | { |
1333 | wxPy_BEGIN_ALLOW_THREADS; | |
1334 | _result = (bool )wxMouseEvent_LeftDown(_arg0); | |
1335 | ||
1336 | wxPy_END_ALLOW_THREADS; | |
1337 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1338 | return _resultobj; |
1339 | } | |
1340 | ||
1341 | #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown()) | |
107e4716 | 1342 | static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1343 | PyObject * _resultobj; |
1344 | bool _result; | |
1345 | wxMouseEvent * _arg0; | |
2d091820 | 1346 | PyObject * _argo0 = 0; |
107e4716 | 1347 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1348 | |
1349 | self = self; | |
107e4716 | 1350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDown",_kwnames,&_argo0)) |
70551f47 | 1351 | return NULL; |
2d091820 RD |
1352 | if (_argo0) { |
1353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p."); |
1356 | return NULL; | |
1357 | } | |
1358 | } | |
ab9bc19b RD |
1359 | { |
1360 | wxPy_BEGIN_ALLOW_THREADS; | |
1361 | _result = (bool )wxMouseEvent_MiddleDown(_arg0); | |
1362 | ||
1363 | wxPy_END_ALLOW_THREADS; | |
1364 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1365 | return _resultobj; |
1366 | } | |
1367 | ||
1368 | #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown()) | |
107e4716 | 1369 | static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1370 | PyObject * _resultobj; |
1371 | bool _result; | |
1372 | wxMouseEvent * _arg0; | |
2d091820 | 1373 | PyObject * _argo0 = 0; |
107e4716 | 1374 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1375 | |
1376 | self = self; | |
107e4716 | 1377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDown",_kwnames,&_argo0)) |
70551f47 | 1378 | return NULL; |
2d091820 RD |
1379 | if (_argo0) { |
1380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p."); |
1383 | return NULL; | |
1384 | } | |
1385 | } | |
ab9bc19b RD |
1386 | { |
1387 | wxPy_BEGIN_ALLOW_THREADS; | |
1388 | _result = (bool )wxMouseEvent_RightDown(_arg0); | |
1389 | ||
1390 | wxPy_END_ALLOW_THREADS; | |
1391 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1392 | return _resultobj; |
1393 | } | |
1394 | ||
1395 | #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp()) | |
107e4716 | 1396 | static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1397 | PyObject * _resultobj; |
1398 | bool _result; | |
1399 | wxMouseEvent * _arg0; | |
2d091820 | 1400 | PyObject * _argo0 = 0; |
107e4716 | 1401 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1402 | |
1403 | self = self; | |
107e4716 | 1404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftUp",_kwnames,&_argo0)) |
70551f47 | 1405 | return NULL; |
2d091820 RD |
1406 | if (_argo0) { |
1407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p."); |
1410 | return NULL; | |
1411 | } | |
1412 | } | |
ab9bc19b RD |
1413 | { |
1414 | wxPy_BEGIN_ALLOW_THREADS; | |
1415 | _result = (bool )wxMouseEvent_LeftUp(_arg0); | |
1416 | ||
1417 | wxPy_END_ALLOW_THREADS; | |
1418 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1419 | return _resultobj; |
1420 | } | |
1421 | ||
1422 | #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp()) | |
107e4716 | 1423 | static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1424 | PyObject * _resultobj; |
1425 | bool _result; | |
1426 | wxMouseEvent * _arg0; | |
2d091820 | 1427 | PyObject * _argo0 = 0; |
107e4716 | 1428 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1429 | |
1430 | self = self; | |
107e4716 | 1431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleUp",_kwnames,&_argo0)) |
70551f47 | 1432 | return NULL; |
2d091820 RD |
1433 | if (_argo0) { |
1434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p."); |
1437 | return NULL; | |
1438 | } | |
1439 | } | |
ab9bc19b RD |
1440 | { |
1441 | wxPy_BEGIN_ALLOW_THREADS; | |
1442 | _result = (bool )wxMouseEvent_MiddleUp(_arg0); | |
1443 | ||
1444 | wxPy_END_ALLOW_THREADS; | |
1445 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1446 | return _resultobj; |
1447 | } | |
1448 | ||
1449 | #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp()) | |
107e4716 | 1450 | static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1451 | PyObject * _resultobj; |
1452 | bool _result; | |
1453 | wxMouseEvent * _arg0; | |
2d091820 | 1454 | PyObject * _argo0 = 0; |
107e4716 | 1455 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1456 | |
1457 | self = self; | |
107e4716 | 1458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightUp",_kwnames,&_argo0)) |
70551f47 | 1459 | return NULL; |
2d091820 RD |
1460 | if (_argo0) { |
1461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p."); |
1464 | return NULL; | |
1465 | } | |
1466 | } | |
ab9bc19b RD |
1467 | { |
1468 | wxPy_BEGIN_ALLOW_THREADS; | |
1469 | _result = (bool )wxMouseEvent_RightUp(_arg0); | |
1470 | ||
1471 | wxPy_END_ALLOW_THREADS; | |
1472 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1473 | return _resultobj; |
1474 | } | |
1475 | ||
1476 | #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick()) | |
107e4716 | 1477 | static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1478 | PyObject * _resultobj; |
1479 | bool _result; | |
1480 | wxMouseEvent * _arg0; | |
2d091820 | 1481 | PyObject * _argo0 = 0; |
107e4716 | 1482 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1483 | |
1484 | self = self; | |
107e4716 | 1485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftDClick",_kwnames,&_argo0)) |
70551f47 | 1486 | return NULL; |
2d091820 RD |
1487 | if (_argo0) { |
1488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p."); |
1491 | return NULL; | |
1492 | } | |
1493 | } | |
ab9bc19b RD |
1494 | { |
1495 | wxPy_BEGIN_ALLOW_THREADS; | |
1496 | _result = (bool )wxMouseEvent_LeftDClick(_arg0); | |
1497 | ||
1498 | wxPy_END_ALLOW_THREADS; | |
1499 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1500 | return _resultobj; |
1501 | } | |
1502 | ||
1503 | #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick()) | |
107e4716 | 1504 | static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1505 | PyObject * _resultobj; |
1506 | bool _result; | |
1507 | wxMouseEvent * _arg0; | |
2d091820 | 1508 | PyObject * _argo0 = 0; |
107e4716 | 1509 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1510 | |
1511 | self = self; | |
107e4716 | 1512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleDClick",_kwnames,&_argo0)) |
70551f47 | 1513 | return NULL; |
2d091820 RD |
1514 | if (_argo0) { |
1515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p."); |
1518 | return NULL; | |
1519 | } | |
1520 | } | |
ab9bc19b RD |
1521 | { |
1522 | wxPy_BEGIN_ALLOW_THREADS; | |
1523 | _result = (bool )wxMouseEvent_MiddleDClick(_arg0); | |
1524 | ||
1525 | wxPy_END_ALLOW_THREADS; | |
1526 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1527 | return _resultobj; |
1528 | } | |
1529 | ||
1530 | #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick()) | |
107e4716 | 1531 | static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1532 | PyObject * _resultobj; |
1533 | bool _result; | |
1534 | wxMouseEvent * _arg0; | |
2d091820 | 1535 | PyObject * _argo0 = 0; |
107e4716 | 1536 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1537 | |
1538 | self = self; | |
107e4716 | 1539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightDClick",_kwnames,&_argo0)) |
70551f47 | 1540 | return NULL; |
2d091820 RD |
1541 | if (_argo0) { |
1542 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1543 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p."); |
1545 | return NULL; | |
1546 | } | |
1547 | } | |
ab9bc19b RD |
1548 | { |
1549 | wxPy_BEGIN_ALLOW_THREADS; | |
1550 | _result = (bool )wxMouseEvent_RightDClick(_arg0); | |
1551 | ||
1552 | wxPy_END_ALLOW_THREADS; | |
1553 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1554 | return _resultobj; |
1555 | } | |
1556 | ||
1557 | #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown()) | |
107e4716 | 1558 | static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1559 | PyObject * _resultobj; |
1560 | bool _result; | |
1561 | wxMouseEvent * _arg0; | |
2d091820 | 1562 | PyObject * _argo0 = 0; |
107e4716 | 1563 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1564 | |
1565 | self = self; | |
107e4716 | 1566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_LeftIsDown",_kwnames,&_argo0)) |
70551f47 | 1567 | return NULL; |
2d091820 RD |
1568 | if (_argo0) { |
1569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p."); |
1572 | return NULL; | |
1573 | } | |
1574 | } | |
ab9bc19b RD |
1575 | { |
1576 | wxPy_BEGIN_ALLOW_THREADS; | |
1577 | _result = (bool )wxMouseEvent_LeftIsDown(_arg0); | |
1578 | ||
1579 | wxPy_END_ALLOW_THREADS; | |
1580 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1581 | return _resultobj; |
1582 | } | |
1583 | ||
1584 | #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown()) | |
107e4716 | 1585 | static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1586 | PyObject * _resultobj; |
1587 | bool _result; | |
1588 | wxMouseEvent * _arg0; | |
2d091820 | 1589 | PyObject * _argo0 = 0; |
107e4716 | 1590 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1591 | |
1592 | self = self; | |
107e4716 | 1593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_MiddleIsDown",_kwnames,&_argo0)) |
70551f47 | 1594 | return NULL; |
2d091820 RD |
1595 | if (_argo0) { |
1596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p."); |
1599 | return NULL; | |
1600 | } | |
1601 | } | |
ab9bc19b RD |
1602 | { |
1603 | wxPy_BEGIN_ALLOW_THREADS; | |
1604 | _result = (bool )wxMouseEvent_MiddleIsDown(_arg0); | |
1605 | ||
1606 | wxPy_END_ALLOW_THREADS; | |
1607 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1608 | return _resultobj; |
1609 | } | |
1610 | ||
1611 | #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown()) | |
107e4716 | 1612 | static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1613 | PyObject * _resultobj; |
1614 | bool _result; | |
1615 | wxMouseEvent * _arg0; | |
2d091820 | 1616 | PyObject * _argo0 = 0; |
107e4716 | 1617 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1618 | |
1619 | self = self; | |
107e4716 | 1620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_RightIsDown",_kwnames,&_argo0)) |
70551f47 | 1621 | return NULL; |
2d091820 RD |
1622 | if (_argo0) { |
1623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p."); |
1626 | return NULL; | |
1627 | } | |
1628 | } | |
ab9bc19b RD |
1629 | { |
1630 | wxPy_BEGIN_ALLOW_THREADS; | |
1631 | _result = (bool )wxMouseEvent_RightIsDown(_arg0); | |
1632 | ||
1633 | wxPy_END_ALLOW_THREADS; | |
1634 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1635 | return _resultobj; |
1636 | } | |
1637 | ||
1638 | #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging()) | |
107e4716 | 1639 | static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1640 | PyObject * _resultobj; |
1641 | bool _result; | |
1642 | wxMouseEvent * _arg0; | |
2d091820 | 1643 | PyObject * _argo0 = 0; |
107e4716 | 1644 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1645 | |
1646 | self = self; | |
107e4716 | 1647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Dragging",_kwnames,&_argo0)) |
70551f47 | 1648 | return NULL; |
2d091820 RD |
1649 | if (_argo0) { |
1650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p."); |
1653 | return NULL; | |
1654 | } | |
1655 | } | |
ab9bc19b RD |
1656 | { |
1657 | wxPy_BEGIN_ALLOW_THREADS; | |
1658 | _result = (bool )wxMouseEvent_Dragging(_arg0); | |
1659 | ||
1660 | wxPy_END_ALLOW_THREADS; | |
1661 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1662 | return _resultobj; |
1663 | } | |
1664 | ||
1665 | #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving()) | |
107e4716 | 1666 | static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1667 | PyObject * _resultobj; |
1668 | bool _result; | |
1669 | wxMouseEvent * _arg0; | |
2d091820 | 1670 | PyObject * _argo0 = 0; |
107e4716 | 1671 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1672 | |
1673 | self = self; | |
107e4716 | 1674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Moving",_kwnames,&_argo0)) |
70551f47 | 1675 | return NULL; |
2d091820 RD |
1676 | if (_argo0) { |
1677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p."); |
1680 | return NULL; | |
1681 | } | |
1682 | } | |
ab9bc19b RD |
1683 | { |
1684 | wxPy_BEGIN_ALLOW_THREADS; | |
1685 | _result = (bool )wxMouseEvent_Moving(_arg0); | |
1686 | ||
1687 | wxPy_END_ALLOW_THREADS; | |
1688 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1689 | return _resultobj; |
1690 | } | |
1691 | ||
1692 | #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering()) | |
107e4716 | 1693 | static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1694 | PyObject * _resultobj; |
1695 | bool _result; | |
1696 | wxMouseEvent * _arg0; | |
2d091820 | 1697 | PyObject * _argo0 = 0; |
107e4716 | 1698 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1699 | |
1700 | self = self; | |
107e4716 | 1701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Entering",_kwnames,&_argo0)) |
70551f47 | 1702 | return NULL; |
2d091820 RD |
1703 | if (_argo0) { |
1704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p."); |
1707 | return NULL; | |
1708 | } | |
1709 | } | |
ab9bc19b RD |
1710 | { |
1711 | wxPy_BEGIN_ALLOW_THREADS; | |
1712 | _result = (bool )wxMouseEvent_Entering(_arg0); | |
1713 | ||
1714 | wxPy_END_ALLOW_THREADS; | |
1715 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1716 | return _resultobj; |
1717 | } | |
1718 | ||
1719 | #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving()) | |
107e4716 | 1720 | static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1721 | PyObject * _resultobj; |
1722 | bool _result; | |
1723 | wxMouseEvent * _arg0; | |
2d091820 | 1724 | PyObject * _argo0 = 0; |
107e4716 | 1725 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1726 | |
1727 | self = self; | |
107e4716 | 1728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Leaving",_kwnames,&_argo0)) |
70551f47 | 1729 | return NULL; |
2d091820 RD |
1730 | if (_argo0) { |
1731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p."); |
1734 | return NULL; | |
1735 | } | |
1736 | } | |
ab9bc19b RD |
1737 | { |
1738 | wxPy_BEGIN_ALLOW_THREADS; | |
1739 | _result = (bool )wxMouseEvent_Leaving(_arg0); | |
1740 | ||
1741 | wxPy_END_ALLOW_THREADS; | |
1742 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1743 | return _resultobj; |
1744 | } | |
1745 | ||
1746 | #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1)) | |
107e4716 | 1747 | static PyObject *_wrap_wxMouseEvent_Position(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1748 | PyObject * _resultobj; |
1749 | wxMouseEvent * _arg0; | |
1750 | long * _arg1; | |
1751 | long temp; | |
1752 | long * _arg2; | |
1753 | long temp0; | |
2d091820 | 1754 | PyObject * _argo0 = 0; |
107e4716 | 1755 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1756 | |
1757 | self = self; | |
1758 | { | |
1759 | _arg1 = &temp; | |
1760 | } | |
1761 | { | |
1762 | _arg2 = &temp0; | |
1763 | } | |
107e4716 | 1764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_Position",_kwnames,&_argo0)) |
70551f47 | 1765 | return NULL; |
2d091820 RD |
1766 | if (_argo0) { |
1767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p."); |
1770 | return NULL; | |
1771 | } | |
1772 | } | |
ab9bc19b RD |
1773 | { |
1774 | wxPy_BEGIN_ALLOW_THREADS; | |
1775 | wxMouseEvent_Position(_arg0,_arg1,_arg2); | |
1776 | ||
1777 | wxPy_END_ALLOW_THREADS; | |
1778 | } Py_INCREF(Py_None); | |
70551f47 RD |
1779 | _resultobj = Py_None; |
1780 | { | |
1781 | PyObject *o; | |
1782 | o = PyInt_FromLong((long) (*_arg1)); | |
1783 | _resultobj = t_output_helper(_resultobj, o); | |
1784 | } | |
1785 | { | |
1786 | PyObject *o; | |
1787 | o = PyInt_FromLong((long) (*_arg2)); | |
1788 | _resultobj = t_output_helper(_resultobj, o); | |
1789 | } | |
1790 | return _resultobj; | |
1791 | } | |
1792 | ||
1793 | #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 1794 | static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1795 | PyObject * _resultobj; |
1796 | wxPoint * _result; | |
1797 | wxMouseEvent * _arg0; | |
2d091820 | 1798 | PyObject * _argo0 = 0; |
107e4716 | 1799 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1800 | char _ptemp[128]; |
1801 | ||
1802 | self = self; | |
107e4716 | 1803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 1804 | return NULL; |
2d091820 RD |
1805 | if (_argo0) { |
1806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p."); |
1809 | return NULL; | |
1810 | } | |
1811 | } | |
ab9bc19b RD |
1812 | { |
1813 | wxPy_BEGIN_ALLOW_THREADS; | |
1814 | _result = new wxPoint (wxMouseEvent_GetPosition(_arg0)); | |
1815 | ||
1816 | wxPy_END_ALLOW_THREADS; | |
1817 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
1818 | _resultobj = Py_BuildValue("s",_ptemp); |
1819 | return _resultobj; | |
1820 | } | |
1821 | ||
1822 | #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0)) | |
107e4716 | 1823 | static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1824 | PyObject * _resultobj; |
1825 | wxPoint * _result; | |
1826 | wxMouseEvent * _arg0; | |
1827 | wxDC * _arg1; | |
2d091820 RD |
1828 | PyObject * _argo0 = 0; |
1829 | PyObject * _argo1 = 0; | |
107e4716 | 1830 | char *_kwnames[] = { "self","dc", NULL }; |
70551f47 RD |
1831 | char _ptemp[128]; |
1832 | ||
1833 | self = self; | |
107e4716 | 1834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMouseEvent_GetLogicalPosition",_kwnames,&_argo0,&_argo1)) |
70551f47 | 1835 | return NULL; |
2d091820 RD |
1836 | if (_argo0) { |
1837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p."); |
1840 | return NULL; | |
1841 | } | |
1842 | } | |
2d091820 RD |
1843 | if (_argo1) { |
1844 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1845 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
70551f47 RD |
1846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p."); |
1847 | return NULL; | |
1848 | } | |
1849 | } | |
ab9bc19b RD |
1850 | { |
1851 | wxPy_BEGIN_ALLOW_THREADS; | |
1852 | _result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1)); | |
1853 | ||
1854 | wxPy_END_ALLOW_THREADS; | |
1855 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
1856 | _resultobj = Py_BuildValue("s",_ptemp); |
1857 | return _resultobj; | |
1858 | } | |
1859 | ||
1860 | #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX()) | |
107e4716 | 1861 | static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1862 | PyObject * _resultobj; |
1863 | long _result; | |
1864 | wxMouseEvent * _arg0; | |
2d091820 | 1865 | PyObject * _argo0 = 0; |
107e4716 | 1866 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1867 | |
1868 | self = self; | |
107e4716 | 1869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetX",_kwnames,&_argo0)) |
70551f47 | 1870 | return NULL; |
2d091820 RD |
1871 | if (_argo0) { |
1872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p."); |
1875 | return NULL; | |
1876 | } | |
1877 | } | |
ab9bc19b RD |
1878 | { |
1879 | wxPy_BEGIN_ALLOW_THREADS; | |
1880 | _result = (long )wxMouseEvent_GetX(_arg0); | |
1881 | ||
1882 | wxPy_END_ALLOW_THREADS; | |
1883 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
1884 | return _resultobj; |
1885 | } | |
1886 | ||
1887 | #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY()) | |
107e4716 | 1888 | static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1889 | PyObject * _resultobj; |
1890 | long _result; | |
1891 | wxMouseEvent * _arg0; | |
2d091820 | 1892 | PyObject * _argo0 = 0; |
107e4716 | 1893 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1894 | |
1895 | self = self; | |
107e4716 | 1896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMouseEvent_GetY",_kwnames,&_argo0)) |
70551f47 | 1897 | return NULL; |
2d091820 RD |
1898 | if (_argo0) { |
1899 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1900 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMouseEvent_p")) { | |
70551f47 RD |
1901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p."); |
1902 | return NULL; | |
1903 | } | |
1904 | } | |
ab9bc19b RD |
1905 | { |
1906 | wxPy_BEGIN_ALLOW_THREADS; | |
1907 | _result = (long )wxMouseEvent_GetY(_arg0); | |
1908 | ||
1909 | wxPy_END_ALLOW_THREADS; | |
1910 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
1911 | return _resultobj; |
1912 | } | |
1913 | ||
1914 | static void *SwigwxKeyEventTowxEvent(void *ptr) { | |
1915 | wxKeyEvent *src; | |
1916 | wxEvent *dest; | |
1917 | src = (wxKeyEvent *) ptr; | |
1918 | dest = (wxEvent *) src; | |
1919 | return (void *) dest; | |
1920 | } | |
1921 | ||
1922 | #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
107e4716 | 1923 | static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1924 | PyObject * _resultobj; |
1925 | bool _result; | |
1926 | wxKeyEvent * _arg0; | |
2d091820 | 1927 | PyObject * _argo0 = 0; |
107e4716 | 1928 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1929 | |
1930 | self = self; | |
107e4716 | 1931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ControlDown",_kwnames,&_argo0)) |
70551f47 | 1932 | return NULL; |
2d091820 RD |
1933 | if (_argo0) { |
1934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
1936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p."); |
1937 | return NULL; | |
1938 | } | |
1939 | } | |
ab9bc19b RD |
1940 | { |
1941 | wxPy_BEGIN_ALLOW_THREADS; | |
1942 | _result = (bool )wxKeyEvent_ControlDown(_arg0); | |
1943 | ||
1944 | wxPy_END_ALLOW_THREADS; | |
1945 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1946 | return _resultobj; |
1947 | } | |
1948 | ||
1949 | #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
107e4716 | 1950 | static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1951 | PyObject * _resultobj; |
1952 | bool _result; | |
1953 | wxKeyEvent * _arg0; | |
2d091820 | 1954 | PyObject * _argo0 = 0; |
107e4716 | 1955 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1956 | |
1957 | self = self; | |
107e4716 | 1958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_MetaDown",_kwnames,&_argo0)) |
70551f47 | 1959 | return NULL; |
2d091820 RD |
1960 | if (_argo0) { |
1961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
1963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p."); |
1964 | return NULL; | |
1965 | } | |
1966 | } | |
ab9bc19b RD |
1967 | { |
1968 | wxPy_BEGIN_ALLOW_THREADS; | |
1969 | _result = (bool )wxKeyEvent_MetaDown(_arg0); | |
1970 | ||
1971 | wxPy_END_ALLOW_THREADS; | |
1972 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1973 | return _resultobj; |
1974 | } | |
1975 | ||
1976 | #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
107e4716 | 1977 | static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1978 | PyObject * _resultobj; |
1979 | bool _result; | |
1980 | wxKeyEvent * _arg0; | |
2d091820 | 1981 | PyObject * _argo0 = 0; |
107e4716 | 1982 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1983 | |
1984 | self = self; | |
107e4716 | 1985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_AltDown",_kwnames,&_argo0)) |
70551f47 | 1986 | return NULL; |
2d091820 RD |
1987 | if (_argo0) { |
1988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
1990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p."); |
1991 | return NULL; | |
1992 | } | |
1993 | } | |
ab9bc19b RD |
1994 | { |
1995 | wxPy_BEGIN_ALLOW_THREADS; | |
1996 | _result = (bool )wxKeyEvent_AltDown(_arg0); | |
1997 | ||
1998 | wxPy_END_ALLOW_THREADS; | |
1999 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2000 | return _resultobj; |
2001 | } | |
2002 | ||
2003 | #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
107e4716 | 2004 | static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2005 | PyObject * _resultobj; |
2006 | bool _result; | |
2007 | wxKeyEvent * _arg0; | |
2d091820 | 2008 | PyObject * _argo0 = 0; |
107e4716 | 2009 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2010 | |
2011 | self = self; | |
107e4716 | 2012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ShiftDown",_kwnames,&_argo0)) |
70551f47 | 2013 | return NULL; |
2d091820 RD |
2014 | if (_argo0) { |
2015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
2017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p."); |
2018 | return NULL; | |
2019 | } | |
2020 | } | |
ab9bc19b RD |
2021 | { |
2022 | wxPy_BEGIN_ALLOW_THREADS; | |
2023 | _result = (bool )wxKeyEvent_ShiftDown(_arg0); | |
2024 | ||
2025 | wxPy_END_ALLOW_THREADS; | |
2026 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2027 | return _resultobj; |
2028 | } | |
2029 | ||
2030 | #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode()) | |
107e4716 | 2031 | static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2032 | PyObject * _resultobj; |
2033 | long _result; | |
2034 | wxKeyEvent * _arg0; | |
2d091820 | 2035 | PyObject * _argo0 = 0; |
107e4716 | 2036 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2037 | |
2038 | self = self; | |
107e4716 | 2039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_KeyCode",_kwnames,&_argo0)) |
70551f47 | 2040 | return NULL; |
2d091820 RD |
2041 | if (_argo0) { |
2042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
70551f47 RD |
2044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p."); |
2045 | return NULL; | |
2046 | } | |
2047 | } | |
ab9bc19b RD |
2048 | { |
2049 | wxPy_BEGIN_ALLOW_THREADS; | |
2050 | _result = (long )wxKeyEvent_KeyCode(_arg0); | |
2051 | ||
2052 | wxPy_END_ALLOW_THREADS; | |
2053 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
2054 | return _resultobj; |
2055 | } | |
2056 | ||
70551f47 RD |
2057 | static void *SwigwxMoveEventTowxEvent(void *ptr) { |
2058 | wxMoveEvent *src; | |
2059 | wxEvent *dest; | |
2060 | src = (wxMoveEvent *) ptr; | |
2061 | dest = (wxEvent *) src; | |
2062 | return (void *) dest; | |
2063 | } | |
2064 | ||
2065 | #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 2066 | static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2067 | PyObject * _resultobj; |
2068 | wxPoint * _result; | |
2069 | wxMoveEvent * _arg0; | |
2d091820 | 2070 | PyObject * _argo0 = 0; |
107e4716 | 2071 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2072 | char _ptemp[128]; |
2073 | ||
2074 | self = self; | |
107e4716 | 2075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMoveEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 2076 | return NULL; |
2d091820 RD |
2077 | if (_argo0) { |
2078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMoveEvent_p")) { | |
70551f47 RD |
2080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p."); |
2081 | return NULL; | |
2082 | } | |
2083 | } | |
ab9bc19b RD |
2084 | { |
2085 | wxPy_BEGIN_ALLOW_THREADS; | |
2086 | _result = new wxPoint (wxMoveEvent_GetPosition(_arg0)); | |
2087 | ||
2088 | wxPy_END_ALLOW_THREADS; | |
2089 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
2090 | _resultobj = Py_BuildValue("s",_ptemp); |
2091 | return _resultobj; | |
2092 | } | |
2093 | ||
2094 | static void *SwigwxPaintEventTowxEvent(void *ptr) { | |
2095 | wxPaintEvent *src; | |
2096 | wxEvent *dest; | |
2097 | src = (wxPaintEvent *) ptr; | |
2098 | dest = (wxEvent *) src; | |
2099 | return (void *) dest; | |
2100 | } | |
2101 | ||
2102 | static void *SwigwxEraseEventTowxEvent(void *ptr) { | |
2103 | wxEraseEvent *src; | |
2104 | wxEvent *dest; | |
2105 | src = (wxEraseEvent *) ptr; | |
2106 | dest = (wxEvent *) src; | |
2107 | return (void *) dest; | |
2108 | } | |
2109 | ||
2110 | #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC()) | |
107e4716 | 2111 | static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2112 | PyObject * _resultobj; |
2113 | wxDC * _result; | |
2114 | wxEraseEvent * _arg0; | |
2d091820 | 2115 | PyObject * _argo0 = 0; |
107e4716 | 2116 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2117 | char _ptemp[128]; |
2118 | ||
2119 | self = self; | |
107e4716 | 2120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEraseEvent_GetDC",_kwnames,&_argo0)) |
70551f47 | 2121 | return NULL; |
2d091820 RD |
2122 | if (_argo0) { |
2123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEraseEvent_p")) { | |
70551f47 RD |
2125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p."); |
2126 | return NULL; | |
2127 | } | |
2128 | } | |
ab9bc19b RD |
2129 | { |
2130 | wxPy_BEGIN_ALLOW_THREADS; | |
2131 | _result = (wxDC *)wxEraseEvent_GetDC(_arg0); | |
2132 | ||
2133 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2134 | } if (_result) { |
2135 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p"); | |
2136 | _resultobj = Py_BuildValue("s",_ptemp); | |
2137 | } else { | |
2138 | Py_INCREF(Py_None); | |
2139 | _resultobj = Py_None; | |
2140 | } | |
70551f47 RD |
2141 | return _resultobj; |
2142 | } | |
2143 | ||
2144 | static void *SwigwxFocusEventTowxEvent(void *ptr) { | |
2145 | wxFocusEvent *src; | |
2146 | wxEvent *dest; | |
2147 | src = (wxFocusEvent *) ptr; | |
2148 | dest = (wxEvent *) src; | |
2149 | return (void *) dest; | |
2150 | } | |
2151 | ||
2152 | static void *SwigwxActivateEventTowxEvent(void *ptr) { | |
2153 | wxActivateEvent *src; | |
2154 | wxEvent *dest; | |
2155 | src = (wxActivateEvent *) ptr; | |
2156 | dest = (wxEvent *) src; | |
2157 | return (void *) dest; | |
2158 | } | |
2159 | ||
2160 | #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive()) | |
107e4716 | 2161 | static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2162 | PyObject * _resultobj; |
2163 | bool _result; | |
2164 | wxActivateEvent * _arg0; | |
2d091820 | 2165 | PyObject * _argo0 = 0; |
107e4716 | 2166 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2167 | |
2168 | self = self; | |
107e4716 | 2169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxActivateEvent_GetActive",_kwnames,&_argo0)) |
70551f47 | 2170 | return NULL; |
2d091820 RD |
2171 | if (_argo0) { |
2172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxActivateEvent_p")) { | |
70551f47 RD |
2174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p."); |
2175 | return NULL; | |
2176 | } | |
2177 | } | |
ab9bc19b RD |
2178 | { |
2179 | wxPy_BEGIN_ALLOW_THREADS; | |
2180 | _result = (bool )wxActivateEvent_GetActive(_arg0); | |
2181 | ||
2182 | wxPy_END_ALLOW_THREADS; | |
2183 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2184 | return _resultobj; |
2185 | } | |
2186 | ||
2187 | static void *SwigwxInitDialogEventTowxEvent(void *ptr) { | |
2188 | wxInitDialogEvent *src; | |
2189 | wxEvent *dest; | |
2190 | src = (wxInitDialogEvent *) ptr; | |
2191 | dest = (wxEvent *) src; | |
2192 | return (void *) dest; | |
2193 | } | |
2194 | ||
2195 | static void *SwigwxMenuEventTowxEvent(void *ptr) { | |
2196 | wxMenuEvent *src; | |
2197 | wxEvent *dest; | |
2198 | src = (wxMenuEvent *) ptr; | |
2199 | dest = (wxEvent *) src; | |
2200 | return (void *) dest; | |
2201 | } | |
2202 | ||
2203 | #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId()) | |
107e4716 | 2204 | static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2205 | PyObject * _resultobj; |
2206 | int _result; | |
2207 | wxMenuEvent * _arg0; | |
2d091820 | 2208 | PyObject * _argo0 = 0; |
107e4716 | 2209 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2210 | |
2211 | self = self; | |
107e4716 | 2212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_GetMenuId",_kwnames,&_argo0)) |
70551f47 | 2213 | return NULL; |
2d091820 RD |
2214 | if (_argo0) { |
2215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) { | |
70551f47 RD |
2217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p."); |
2218 | return NULL; | |
2219 | } | |
2220 | } | |
ab9bc19b RD |
2221 | { |
2222 | wxPy_BEGIN_ALLOW_THREADS; | |
2223 | _result = (int )wxMenuEvent_GetMenuId(_arg0); | |
2224 | ||
2225 | wxPy_END_ALLOW_THREADS; | |
2226 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2227 | return _resultobj; |
2228 | } | |
2229 | ||
2230 | static void *SwigwxShowEventTowxEvent(void *ptr) { | |
2231 | wxShowEvent *src; | |
2232 | wxEvent *dest; | |
2233 | src = (wxShowEvent *) ptr; | |
2234 | dest = (wxEvent *) src; | |
2235 | return (void *) dest; | |
2236 | } | |
2237 | ||
2238 | #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0)) | |
107e4716 | 2239 | static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2240 | PyObject * _resultobj; |
2241 | wxShowEvent * _arg0; | |
2242 | bool _arg1; | |
2d091820 | 2243 | PyObject * _argo0 = 0; |
70551f47 | 2244 | int tempbool1; |
107e4716 | 2245 | char *_kwnames[] = { "self","show", NULL }; |
70551f47 RD |
2246 | |
2247 | self = self; | |
107e4716 | 2248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShowEvent_SetShow",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 2249 | return NULL; |
2d091820 RD |
2250 | if (_argo0) { |
2251 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2252 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) { | |
70551f47 RD |
2253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p."); |
2254 | return NULL; | |
2255 | } | |
2256 | } | |
2257 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
2258 | { |
2259 | wxPy_BEGIN_ALLOW_THREADS; | |
2260 | wxShowEvent_SetShow(_arg0,_arg1); | |
2261 | ||
2262 | wxPy_END_ALLOW_THREADS; | |
2263 | } Py_INCREF(Py_None); | |
70551f47 RD |
2264 | _resultobj = Py_None; |
2265 | return _resultobj; | |
2266 | } | |
2267 | ||
2268 | #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow()) | |
107e4716 | 2269 | static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2270 | PyObject * _resultobj; |
2271 | bool _result; | |
2272 | wxShowEvent * _arg0; | |
2d091820 | 2273 | PyObject * _argo0 = 0; |
107e4716 | 2274 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2275 | |
2276 | self = self; | |
107e4716 | 2277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShowEvent_GetShow",_kwnames,&_argo0)) |
70551f47 | 2278 | return NULL; |
2d091820 RD |
2279 | if (_argo0) { |
2280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) { | |
70551f47 RD |
2282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p."); |
2283 | return NULL; | |
2284 | } | |
2285 | } | |
ab9bc19b RD |
2286 | { |
2287 | wxPy_BEGIN_ALLOW_THREADS; | |
2288 | _result = (bool )wxShowEvent_GetShow(_arg0); | |
2289 | ||
2290 | wxPy_END_ALLOW_THREADS; | |
2291 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2292 | return _resultobj; |
2293 | } | |
2294 | ||
2295 | static void *SwigwxIconizeEventTowxEvent(void *ptr) { | |
2296 | wxIconizeEvent *src; | |
2297 | wxEvent *dest; | |
2298 | src = (wxIconizeEvent *) ptr; | |
2299 | dest = (wxEvent *) src; | |
2300 | return (void *) dest; | |
2301 | } | |
2302 | ||
2303 | static void *SwigwxMaximizeEventTowxEvent(void *ptr) { | |
2304 | wxMaximizeEvent *src; | |
2305 | wxEvent *dest; | |
2306 | src = (wxMaximizeEvent *) ptr; | |
2307 | dest = (wxEvent *) src; | |
2308 | return (void *) dest; | |
2309 | } | |
2310 | ||
2311 | static void *SwigwxJoystickEventTowxEvent(void *ptr) { | |
2312 | wxJoystickEvent *src; | |
2313 | wxEvent *dest; | |
2314 | src = (wxJoystickEvent *) ptr; | |
2315 | dest = (wxEvent *) src; | |
2316 | return (void *) dest; | |
2317 | } | |
2318 | ||
2319 | #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 2320 | static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2321 | PyObject * _resultobj; |
2322 | wxPoint * _result; | |
2323 | wxJoystickEvent * _arg0; | |
2d091820 | 2324 | PyObject * _argo0 = 0; |
107e4716 | 2325 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2326 | char _ptemp[128]; |
2327 | ||
2328 | self = self; | |
107e4716 | 2329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 2330 | return NULL; |
2d091820 RD |
2331 | if (_argo0) { |
2332 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2333 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p."); |
2335 | return NULL; | |
2336 | } | |
2337 | } | |
ab9bc19b RD |
2338 | { |
2339 | wxPy_BEGIN_ALLOW_THREADS; | |
2340 | _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0)); | |
2341 | ||
2342 | wxPy_END_ALLOW_THREADS; | |
2343 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
2344 | _resultobj = Py_BuildValue("s",_ptemp); |
2345 | return _resultobj; | |
2346 | } | |
2347 | ||
2348 | #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition()) | |
107e4716 | 2349 | static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2350 | PyObject * _resultobj; |
2351 | int _result; | |
2352 | wxJoystickEvent * _arg0; | |
2d091820 | 2353 | PyObject * _argo0 = 0; |
107e4716 | 2354 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2355 | |
2356 | self = self; | |
107e4716 | 2357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetZPosition",_kwnames,&_argo0)) |
70551f47 | 2358 | return NULL; |
2d091820 RD |
2359 | if (_argo0) { |
2360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p."); |
2363 | return NULL; | |
2364 | } | |
2365 | } | |
ab9bc19b RD |
2366 | { |
2367 | wxPy_BEGIN_ALLOW_THREADS; | |
2368 | _result = (int )wxJoystickEvent_GetZPosition(_arg0); | |
2369 | ||
2370 | wxPy_END_ALLOW_THREADS; | |
2371 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2372 | return _resultobj; |
2373 | } | |
2374 | ||
2375 | #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState()) | |
107e4716 | 2376 | static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2377 | PyObject * _resultobj; |
2378 | int _result; | |
2379 | wxJoystickEvent * _arg0; | |
2d091820 | 2380 | PyObject * _argo0 = 0; |
107e4716 | 2381 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2382 | |
2383 | self = self; | |
107e4716 | 2384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonState",_kwnames,&_argo0)) |
70551f47 | 2385 | return NULL; |
2d091820 RD |
2386 | if (_argo0) { |
2387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p."); |
2390 | return NULL; | |
2391 | } | |
2392 | } | |
ab9bc19b RD |
2393 | { |
2394 | wxPy_BEGIN_ALLOW_THREADS; | |
2395 | _result = (int )wxJoystickEvent_GetButtonState(_arg0); | |
2396 | ||
2397 | wxPy_END_ALLOW_THREADS; | |
2398 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2399 | return _resultobj; |
2400 | } | |
2401 | ||
2402 | #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange()) | |
107e4716 | 2403 | static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2404 | PyObject * _resultobj; |
2405 | int _result; | |
2406 | wxJoystickEvent * _arg0; | |
2d091820 | 2407 | PyObject * _argo0 = 0; |
107e4716 | 2408 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2409 | |
2410 | self = self; | |
107e4716 | 2411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonChange",_kwnames,&_argo0)) |
70551f47 | 2412 | return NULL; |
2d091820 RD |
2413 | if (_argo0) { |
2414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p."); |
2417 | return NULL; | |
2418 | } | |
2419 | } | |
ab9bc19b RD |
2420 | { |
2421 | wxPy_BEGIN_ALLOW_THREADS; | |
2422 | _result = (int )wxJoystickEvent_GetButtonChange(_arg0); | |
2423 | ||
2424 | wxPy_END_ALLOW_THREADS; | |
2425 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2426 | return _resultobj; |
2427 | } | |
2428 | ||
2429 | #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick()) | |
107e4716 | 2430 | static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2431 | PyObject * _resultobj; |
2432 | int _result; | |
2433 | wxJoystickEvent * _arg0; | |
2d091820 | 2434 | PyObject * _argo0 = 0; |
107e4716 | 2435 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2436 | |
2437 | self = self; | |
107e4716 | 2438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetJoystick",_kwnames,&_argo0)) |
70551f47 | 2439 | return NULL; |
2d091820 RD |
2440 | if (_argo0) { |
2441 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2442 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2443 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p."); |
2444 | return NULL; | |
2445 | } | |
2446 | } | |
ab9bc19b RD |
2447 | { |
2448 | wxPy_BEGIN_ALLOW_THREADS; | |
2449 | _result = (int )wxJoystickEvent_GetJoystick(_arg0); | |
2450 | ||
2451 | wxPy_END_ALLOW_THREADS; | |
2452 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2453 | return _resultobj; |
2454 | } | |
2455 | ||
2456 | #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0)) | |
107e4716 | 2457 | static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2458 | PyObject * _resultobj; |
2459 | wxJoystickEvent * _arg0; | |
2460 | int _arg1; | |
2d091820 | 2461 | PyObject * _argo0 = 0; |
107e4716 | 2462 | char *_kwnames[] = { "self","stick", NULL }; |
70551f47 RD |
2463 | |
2464 | self = self; | |
107e4716 | 2465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetJoystick",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2466 | return NULL; |
2d091820 RD |
2467 | if (_argo0) { |
2468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p."); |
2471 | return NULL; | |
2472 | } | |
2473 | } | |
ab9bc19b RD |
2474 | { |
2475 | wxPy_BEGIN_ALLOW_THREADS; | |
2476 | wxJoystickEvent_SetJoystick(_arg0,_arg1); | |
2477 | ||
2478 | wxPy_END_ALLOW_THREADS; | |
2479 | } Py_INCREF(Py_None); | |
70551f47 RD |
2480 | _resultobj = Py_None; |
2481 | return _resultobj; | |
2482 | } | |
2483 | ||
2484 | #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0)) | |
107e4716 | 2485 | static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2486 | PyObject * _resultobj; |
2487 | wxJoystickEvent * _arg0; | |
2488 | int _arg1; | |
2d091820 | 2489 | PyObject * _argo0 = 0; |
107e4716 | 2490 | char *_kwnames[] = { "self","state", NULL }; |
70551f47 RD |
2491 | |
2492 | self = self; | |
107e4716 | 2493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonState",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2494 | return NULL; |
2d091820 RD |
2495 | if (_argo0) { |
2496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p."); |
2499 | return NULL; | |
2500 | } | |
2501 | } | |
ab9bc19b RD |
2502 | { |
2503 | wxPy_BEGIN_ALLOW_THREADS; | |
2504 | wxJoystickEvent_SetButtonState(_arg0,_arg1); | |
2505 | ||
2506 | wxPy_END_ALLOW_THREADS; | |
2507 | } Py_INCREF(Py_None); | |
70551f47 RD |
2508 | _resultobj = Py_None; |
2509 | return _resultobj; | |
2510 | } | |
2511 | ||
2512 | #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0)) | |
107e4716 | 2513 | static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2514 | PyObject * _resultobj; |
2515 | wxJoystickEvent * _arg0; | |
2516 | int _arg1; | |
2d091820 | 2517 | PyObject * _argo0 = 0; |
107e4716 | 2518 | char *_kwnames[] = { "self","change", NULL }; |
70551f47 RD |
2519 | |
2520 | self = self; | |
107e4716 | 2521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonChange",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2522 | return NULL; |
2d091820 RD |
2523 | if (_argo0) { |
2524 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2525 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p."); |
2527 | return NULL; | |
2528 | } | |
2529 | } | |
ab9bc19b RD |
2530 | { |
2531 | wxPy_BEGIN_ALLOW_THREADS; | |
2532 | wxJoystickEvent_SetButtonChange(_arg0,_arg1); | |
2533 | ||
2534 | wxPy_END_ALLOW_THREADS; | |
2535 | } Py_INCREF(Py_None); | |
70551f47 RD |
2536 | _resultobj = Py_None; |
2537 | return _resultobj; | |
2538 | } | |
2539 | ||
2540 | #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
107e4716 | 2541 | static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2542 | PyObject * _resultobj; |
2543 | wxJoystickEvent * _arg0; | |
2544 | wxPoint * _arg1; | |
2d091820 | 2545 | PyObject * _argo0 = 0; |
37f6a977 RD |
2546 | wxPoint temp; |
2547 | PyObject * _obj1 = 0; | |
107e4716 | 2548 | char *_kwnames[] = { "self","pos", NULL }; |
70551f47 RD |
2549 | |
2550 | self = self; | |
37f6a977 | 2551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_obj1)) |
70551f47 | 2552 | return NULL; |
2d091820 RD |
2553 | if (_argo0) { |
2554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p."); |
2557 | return NULL; | |
2558 | } | |
2559 | } | |
37f6a977 RD |
2560 | { |
2561 | _arg1 = &temp; | |
2562 | if (! wxPoint_helper(_obj1, &_arg1)) | |
70551f47 | 2563 | return NULL; |
37f6a977 | 2564 | } |
ab9bc19b RD |
2565 | { |
2566 | wxPy_BEGIN_ALLOW_THREADS; | |
2567 | wxJoystickEvent_SetPosition(_arg0,*_arg1); | |
2568 | ||
2569 | wxPy_END_ALLOW_THREADS; | |
2570 | } Py_INCREF(Py_None); | |
70551f47 RD |
2571 | _resultobj = Py_None; |
2572 | return _resultobj; | |
2573 | } | |
2574 | ||
2575 | #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0)) | |
107e4716 | 2576 | static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2577 | PyObject * _resultobj; |
2578 | wxJoystickEvent * _arg0; | |
2579 | int _arg1; | |
2d091820 | 2580 | PyObject * _argo0 = 0; |
107e4716 | 2581 | char *_kwnames[] = { "self","zPos", NULL }; |
70551f47 RD |
2582 | |
2583 | self = self; | |
107e4716 | 2584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetZPosition",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2585 | return NULL; |
2d091820 RD |
2586 | if (_argo0) { |
2587 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2588 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2589 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p."); |
2590 | return NULL; | |
2591 | } | |
2592 | } | |
ab9bc19b RD |
2593 | { |
2594 | wxPy_BEGIN_ALLOW_THREADS; | |
2595 | wxJoystickEvent_SetZPosition(_arg0,_arg1); | |
2596 | ||
2597 | wxPy_END_ALLOW_THREADS; | |
2598 | } Py_INCREF(Py_None); | |
70551f47 RD |
2599 | _resultobj = Py_None; |
2600 | return _resultobj; | |
2601 | } | |
2602 | ||
2603 | #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton()) | |
107e4716 | 2604 | static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2605 | PyObject * _resultobj; |
2606 | bool _result; | |
2607 | wxJoystickEvent * _arg0; | |
2d091820 | 2608 | PyObject * _argo0 = 0; |
107e4716 | 2609 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2610 | |
2611 | self = self; | |
107e4716 | 2612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsButton",_kwnames,&_argo0)) |
70551f47 | 2613 | return NULL; |
2d091820 RD |
2614 | if (_argo0) { |
2615 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2616 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p."); |
2618 | return NULL; | |
2619 | } | |
2620 | } | |
ab9bc19b RD |
2621 | { |
2622 | wxPy_BEGIN_ALLOW_THREADS; | |
2623 | _result = (bool )wxJoystickEvent_IsButton(_arg0); | |
2624 | ||
2625 | wxPy_END_ALLOW_THREADS; | |
2626 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2627 | return _resultobj; |
2628 | } | |
2629 | ||
2630 | #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove()) | |
107e4716 | 2631 | static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2632 | PyObject * _resultobj; |
2633 | bool _result; | |
2634 | wxJoystickEvent * _arg0; | |
2d091820 | 2635 | PyObject * _argo0 = 0; |
107e4716 | 2636 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2637 | |
2638 | self = self; | |
107e4716 | 2639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsMove",_kwnames,&_argo0)) |
70551f47 | 2640 | return NULL; |
2d091820 RD |
2641 | if (_argo0) { |
2642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p."); |
2645 | return NULL; | |
2646 | } | |
2647 | } | |
ab9bc19b RD |
2648 | { |
2649 | wxPy_BEGIN_ALLOW_THREADS; | |
2650 | _result = (bool )wxJoystickEvent_IsMove(_arg0); | |
2651 | ||
2652 | wxPy_END_ALLOW_THREADS; | |
2653 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2654 | return _resultobj; |
2655 | } | |
2656 | ||
2657 | #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove()) | |
107e4716 | 2658 | static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2659 | PyObject * _resultobj; |
2660 | bool _result; | |
2661 | wxJoystickEvent * _arg0; | |
2d091820 | 2662 | PyObject * _argo0 = 0; |
107e4716 | 2663 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2664 | |
2665 | self = self; | |
107e4716 | 2666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsZMove",_kwnames,&_argo0)) |
70551f47 | 2667 | return NULL; |
2d091820 RD |
2668 | if (_argo0) { |
2669 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2670 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p."); |
2672 | return NULL; | |
2673 | } | |
2674 | } | |
ab9bc19b RD |
2675 | { |
2676 | wxPy_BEGIN_ALLOW_THREADS; | |
2677 | _result = (bool )wxJoystickEvent_IsZMove(_arg0); | |
2678 | ||
2679 | wxPy_END_ALLOW_THREADS; | |
2680 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2681 | return _resultobj; |
2682 | } | |
2683 | ||
2684 | #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0)) | |
107e4716 | 2685 | static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2686 | PyObject * _resultobj; |
2687 | bool _result; | |
2688 | wxJoystickEvent * _arg0; | |
2d091820 RD |
2689 | int _arg1 = (int ) wxJOY_BUTTON_ANY; |
2690 | PyObject * _argo0 = 0; | |
107e4716 | 2691 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
2692 | |
2693 | self = self; | |
107e4716 | 2694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonDown",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2695 | return NULL; |
2d091820 RD |
2696 | if (_argo0) { |
2697 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2698 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p."); |
2700 | return NULL; | |
2701 | } | |
2702 | } | |
ab9bc19b RD |
2703 | { |
2704 | wxPy_BEGIN_ALLOW_THREADS; | |
2705 | _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1); | |
2706 | ||
2707 | wxPy_END_ALLOW_THREADS; | |
2708 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2709 | return _resultobj; |
2710 | } | |
2711 | ||
2712 | #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0)) | |
107e4716 | 2713 | static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2714 | PyObject * _resultobj; |
2715 | bool _result; | |
2716 | wxJoystickEvent * _arg0; | |
2d091820 RD |
2717 | int _arg1 = (int ) wxJOY_BUTTON_ANY; |
2718 | PyObject * _argo0 = 0; | |
107e4716 | 2719 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
2720 | |
2721 | self = self; | |
107e4716 | 2722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonUp",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2723 | return NULL; |
2d091820 RD |
2724 | if (_argo0) { |
2725 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2726 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p."); |
2728 | return NULL; | |
2729 | } | |
2730 | } | |
ab9bc19b RD |
2731 | { |
2732 | wxPy_BEGIN_ALLOW_THREADS; | |
2733 | _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1); | |
2734 | ||
2735 | wxPy_END_ALLOW_THREADS; | |
2736 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2737 | return _resultobj; |
2738 | } | |
2739 | ||
2740 | #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0)) | |
107e4716 | 2741 | static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2742 | PyObject * _resultobj; |
2743 | bool _result; | |
2744 | wxJoystickEvent * _arg0; | |
2d091820 RD |
2745 | int _arg1 = (int ) wxJOY_BUTTON_ANY; |
2746 | PyObject * _argo0 = 0; | |
107e4716 | 2747 | char *_kwnames[] = { "self","but", NULL }; |
70551f47 RD |
2748 | |
2749 | self = self; | |
107e4716 | 2750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2751 | return NULL; |
2d091820 RD |
2752 | if (_argo0) { |
2753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
70551f47 RD |
2755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p."); |
2756 | return NULL; | |
2757 | } | |
2758 | } | |
ab9bc19b RD |
2759 | { |
2760 | wxPy_BEGIN_ALLOW_THREADS; | |
2761 | _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1); | |
2762 | ||
2763 | wxPy_END_ALLOW_THREADS; | |
2764 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2765 | return _resultobj; |
2766 | } | |
2767 | ||
2768 | static void *SwigwxDropFilesEventTowxEvent(void *ptr) { | |
2769 | wxDropFilesEvent *src; | |
2770 | wxEvent *dest; | |
2771 | src = (wxDropFilesEvent *) ptr; | |
2772 | dest = (wxEvent *) src; | |
2773 | return (void *) dest; | |
2774 | } | |
2775 | ||
2776 | #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
107e4716 | 2777 | static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2778 | PyObject * _resultobj; |
2779 | wxPoint * _result; | |
2780 | wxDropFilesEvent * _arg0; | |
2d091820 | 2781 | PyObject * _argo0 = 0; |
107e4716 | 2782 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2783 | char _ptemp[128]; |
2784 | ||
2785 | self = self; | |
107e4716 | 2786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetPosition",_kwnames,&_argo0)) |
70551f47 | 2787 | return NULL; |
2d091820 RD |
2788 | if (_argo0) { |
2789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { | |
70551f47 RD |
2791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p."); |
2792 | return NULL; | |
2793 | } | |
2794 | } | |
ab9bc19b RD |
2795 | { |
2796 | wxPy_BEGIN_ALLOW_THREADS; | |
2797 | _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0)); | |
2798 | ||
2799 | wxPy_END_ALLOW_THREADS; | |
2800 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
70551f47 RD |
2801 | _resultobj = Py_BuildValue("s",_ptemp); |
2802 | return _resultobj; | |
2803 | } | |
2804 | ||
2805 | #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles()) | |
107e4716 | 2806 | static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2807 | PyObject * _resultobj; |
2808 | int _result; | |
2809 | wxDropFilesEvent * _arg0; | |
2d091820 | 2810 | PyObject * _argo0 = 0; |
107e4716 | 2811 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2812 | |
2813 | self = self; | |
107e4716 | 2814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames,&_argo0)) |
70551f47 | 2815 | return NULL; |
2d091820 RD |
2816 | if (_argo0) { |
2817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { | |
70551f47 RD |
2819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p."); |
2820 | return NULL; | |
2821 | } | |
2822 | } | |
ab9bc19b RD |
2823 | { |
2824 | wxPy_BEGIN_ALLOW_THREADS; | |
2825 | _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0); | |
2826 | ||
2827 | wxPy_END_ALLOW_THREADS; | |
2828 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2829 | return _resultobj; |
2830 | } | |
2831 | ||
2832 | static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) { | |
2833 | int count = self->GetNumberOfFiles(); | |
2834 | wxString* files = self->GetFiles(); | |
2835 | PyObject* list = PyList_New(count); | |
2836 | ||
2837 | if (!list) { | |
2838 | PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!"); | |
2839 | return NULL; | |
2840 | } | |
2841 | ||
2842 | for (int i=0; i<count; i++) { | |
2843 | PyList_SetItem(list, i, PyString_FromString((const char*)files[i])); | |
2844 | } | |
2845 | return list; | |
2846 | } | |
107e4716 | 2847 | static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2848 | PyObject * _resultobj; |
2849 | PyObject * _result; | |
2850 | wxDropFilesEvent * _arg0; | |
2d091820 | 2851 | PyObject * _argo0 = 0; |
107e4716 | 2852 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2853 | |
2854 | self = self; | |
107e4716 | 2855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetFiles",_kwnames,&_argo0)) |
70551f47 | 2856 | return NULL; |
2d091820 RD |
2857 | if (_argo0) { |
2858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { | |
70551f47 RD |
2860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p."); |
2861 | return NULL; | |
2862 | } | |
2863 | } | |
70551f47 | 2864 | { |
ab9bc19b RD |
2865 | wxPy_BEGIN_ALLOW_THREADS; |
2866 | _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0); | |
2867 | ||
2868 | wxPy_END_ALLOW_THREADS; | |
2869 | }{ | |
70551f47 RD |
2870 | _resultobj = _result; |
2871 | } | |
2872 | return _resultobj; | |
2873 | } | |
2874 | ||
2875 | static void *SwigwxIdleEventTowxEvent(void *ptr) { | |
2876 | wxIdleEvent *src; | |
2877 | wxEvent *dest; | |
2878 | src = (wxIdleEvent *) ptr; | |
2879 | dest = (wxEvent *) src; | |
2880 | return (void *) dest; | |
2881 | } | |
2882 | ||
2883 | #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0)) | |
107e4716 | 2884 | static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2885 | PyObject * _resultobj; |
2886 | wxIdleEvent * _arg0; | |
2d091820 RD |
2887 | bool _arg1 = (bool ) TRUE; |
2888 | PyObject * _argo0 = 0; | |
2889 | int tempbool1 = (int) TRUE; | |
107e4716 | 2890 | char *_kwnames[] = { "self","needMore", NULL }; |
70551f47 RD |
2891 | |
2892 | self = self; | |
107e4716 | 2893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIdleEvent_RequestMore",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 2894 | return NULL; |
2d091820 RD |
2895 | if (_argo0) { |
2896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) { | |
70551f47 RD |
2898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p."); |
2899 | return NULL; | |
2900 | } | |
2901 | } | |
2902 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
2903 | { |
2904 | wxPy_BEGIN_ALLOW_THREADS; | |
2905 | wxIdleEvent_RequestMore(_arg0,_arg1); | |
2906 | ||
2907 | wxPy_END_ALLOW_THREADS; | |
2908 | } Py_INCREF(Py_None); | |
70551f47 RD |
2909 | _resultobj = Py_None; |
2910 | return _resultobj; | |
2911 | } | |
2912 | ||
2913 | #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested()) | |
107e4716 | 2914 | static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2915 | PyObject * _resultobj; |
2916 | bool _result; | |
2917 | wxIdleEvent * _arg0; | |
2d091820 | 2918 | PyObject * _argo0 = 0; |
107e4716 | 2919 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2920 | |
2921 | self = self; | |
107e4716 | 2922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIdleEvent_MoreRequested",_kwnames,&_argo0)) |
70551f47 | 2923 | return NULL; |
2d091820 RD |
2924 | if (_argo0) { |
2925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) { | |
70551f47 RD |
2927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p."); |
2928 | return NULL; | |
2929 | } | |
2930 | } | |
ab9bc19b RD |
2931 | { |
2932 | wxPy_BEGIN_ALLOW_THREADS; | |
2933 | _result = (bool )wxIdleEvent_MoreRequested(_arg0); | |
2934 | ||
2935 | wxPy_END_ALLOW_THREADS; | |
2936 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2937 | return _resultobj; |
2938 | } | |
2939 | ||
2940 | static void *SwigwxUpdateUIEventTowxEvent(void *ptr) { | |
2941 | wxUpdateUIEvent *src; | |
2942 | wxEvent *dest; | |
2943 | src = (wxUpdateUIEvent *) ptr; | |
2944 | dest = (wxEvent *) src; | |
2945 | return (void *) dest; | |
2946 | } | |
2947 | ||
2948 | #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked()) | |
107e4716 | 2949 | static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2950 | PyObject * _resultobj; |
2951 | bool _result; | |
2952 | wxUpdateUIEvent * _arg0; | |
2d091820 | 2953 | PyObject * _argo0 = 0; |
107e4716 | 2954 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2955 | |
2956 | self = self; | |
107e4716 | 2957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetChecked",_kwnames,&_argo0)) |
70551f47 | 2958 | return NULL; |
2d091820 RD |
2959 | if (_argo0) { |
2960 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2961 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
2962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p."); |
2963 | return NULL; | |
2964 | } | |
2965 | } | |
ab9bc19b RD |
2966 | { |
2967 | wxPy_BEGIN_ALLOW_THREADS; | |
2968 | _result = (bool )wxUpdateUIEvent_GetChecked(_arg0); | |
2969 | ||
2970 | wxPy_END_ALLOW_THREADS; | |
2971 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2972 | return _resultobj; |
2973 | } | |
2974 | ||
2975 | #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled()) | |
107e4716 | 2976 | static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2977 | PyObject * _resultobj; |
2978 | bool _result; | |
2979 | wxUpdateUIEvent * _arg0; | |
2d091820 | 2980 | PyObject * _argo0 = 0; |
107e4716 | 2981 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2982 | |
2983 | self = self; | |
107e4716 | 2984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetEnabled",_kwnames,&_argo0)) |
70551f47 | 2985 | return NULL; |
2d091820 RD |
2986 | if (_argo0) { |
2987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
2989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p."); |
2990 | return NULL; | |
2991 | } | |
2992 | } | |
ab9bc19b RD |
2993 | { |
2994 | wxPy_BEGIN_ALLOW_THREADS; | |
2995 | _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0); | |
2996 | ||
2997 | wxPy_END_ALLOW_THREADS; | |
2998 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2999 | return _resultobj; |
3000 | } | |
3001 | ||
3002 | #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText()) | |
107e4716 | 3003 | static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3004 | PyObject * _resultobj; |
3005 | wxString * _result; | |
3006 | wxUpdateUIEvent * _arg0; | |
2d091820 | 3007 | PyObject * _argo0 = 0; |
107e4716 | 3008 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3009 | |
3010 | self = self; | |
107e4716 | 3011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetText",_kwnames,&_argo0)) |
70551f47 | 3012 | return NULL; |
2d091820 RD |
3013 | if (_argo0) { |
3014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
3016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p."); |
3017 | return NULL; | |
3018 | } | |
3019 | } | |
70551f47 | 3020 | { |
ab9bc19b RD |
3021 | wxPy_BEGIN_ALLOW_THREADS; |
3022 | _result = new wxString (wxUpdateUIEvent_GetText(_arg0)); | |
3023 | ||
3024 | wxPy_END_ALLOW_THREADS; | |
3025 | }{ | |
70551f47 RD |
3026 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
3027 | } | |
3028 | { | |
3029 | delete _result; | |
3030 | } | |
3031 | return _resultobj; | |
3032 | } | |
3033 | ||
3034 | #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText()) | |
107e4716 | 3035 | static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3036 | PyObject * _resultobj; |
3037 | bool _result; | |
3038 | wxUpdateUIEvent * _arg0; | |
2d091820 | 3039 | PyObject * _argo0 = 0; |
107e4716 | 3040 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3041 | |
3042 | self = self; | |
107e4716 | 3043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetText",_kwnames,&_argo0)) |
70551f47 | 3044 | return NULL; |
2d091820 RD |
3045 | if (_argo0) { |
3046 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3047 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
3048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p."); |
3049 | return NULL; | |
3050 | } | |
3051 | } | |
ab9bc19b RD |
3052 | { |
3053 | wxPy_BEGIN_ALLOW_THREADS; | |
3054 | _result = (bool )wxUpdateUIEvent_GetSetText(_arg0); | |
3055 | ||
3056 | wxPy_END_ALLOW_THREADS; | |
3057 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3058 | return _resultobj; |
3059 | } | |
3060 | ||
3061 | #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked()) | |
107e4716 | 3062 | static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3063 | PyObject * _resultobj; |
3064 | bool _result; | |
3065 | wxUpdateUIEvent * _arg0; | |
2d091820 | 3066 | PyObject * _argo0 = 0; |
107e4716 | 3067 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3068 | |
3069 | self = self; | |
107e4716 | 3070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetChecked",_kwnames,&_argo0)) |
70551f47 | 3071 | return NULL; |
2d091820 RD |
3072 | if (_argo0) { |
3073 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3074 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
3075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p."); |
3076 | return NULL; | |
3077 | } | |
3078 | } | |
ab9bc19b RD |
3079 | { |
3080 | wxPy_BEGIN_ALLOW_THREADS; | |
3081 | _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0); | |
3082 | ||
3083 | wxPy_END_ALLOW_THREADS; | |
3084 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3085 | return _resultobj; |
3086 | } | |
3087 | ||
3088 | #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled()) | |
107e4716 | 3089 | static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3090 | PyObject * _resultobj; |
3091 | bool _result; | |
3092 | wxUpdateUIEvent * _arg0; | |
2d091820 | 3093 | PyObject * _argo0 = 0; |
107e4716 | 3094 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3095 | |
3096 | self = self; | |
107e4716 | 3097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames,&_argo0)) |
70551f47 | 3098 | return NULL; |
2d091820 RD |
3099 | if (_argo0) { |
3100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
3102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p."); |
3103 | return NULL; | |
3104 | } | |
3105 | } | |
ab9bc19b RD |
3106 | { |
3107 | wxPy_BEGIN_ALLOW_THREADS; | |
3108 | _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0); | |
3109 | ||
3110 | wxPy_END_ALLOW_THREADS; | |
3111 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3112 | return _resultobj; |
3113 | } | |
3114 | ||
3115 | #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0)) | |
107e4716 | 3116 | static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3117 | PyObject * _resultobj; |
3118 | wxUpdateUIEvent * _arg0; | |
3119 | bool _arg1; | |
2d091820 | 3120 | PyObject * _argo0 = 0; |
70551f47 | 3121 | int tempbool1; |
107e4716 | 3122 | char *_kwnames[] = { "self","check", NULL }; |
70551f47 RD |
3123 | |
3124 | self = self; | |
107e4716 | 3125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Check",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 3126 | return NULL; |
2d091820 RD |
3127 | if (_argo0) { |
3128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
3130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p."); |
3131 | return NULL; | |
3132 | } | |
3133 | } | |
3134 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
3135 | { |
3136 | wxPy_BEGIN_ALLOW_THREADS; | |
3137 | wxUpdateUIEvent_Check(_arg0,_arg1); | |
3138 | ||
3139 | wxPy_END_ALLOW_THREADS; | |
3140 | } Py_INCREF(Py_None); | |
70551f47 RD |
3141 | _resultobj = Py_None; |
3142 | return _resultobj; | |
3143 | } | |
3144 | ||
3145 | #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) | |
107e4716 | 3146 | static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3147 | PyObject * _resultobj; |
3148 | wxUpdateUIEvent * _arg0; | |
3149 | bool _arg1; | |
2d091820 | 3150 | PyObject * _argo0 = 0; |
70551f47 | 3151 | int tempbool1; |
107e4716 | 3152 | char *_kwnames[] = { "self","enable", NULL }; |
70551f47 RD |
3153 | |
3154 | self = self; | |
107e4716 | 3155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Enable",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 3156 | return NULL; |
2d091820 RD |
3157 | if (_argo0) { |
3158 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3159 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
3160 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p."); |
3161 | return NULL; | |
3162 | } | |
3163 | } | |
3164 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
3165 | { |
3166 | wxPy_BEGIN_ALLOW_THREADS; | |
3167 | wxUpdateUIEvent_Enable(_arg0,_arg1); | |
3168 | ||
3169 | wxPy_END_ALLOW_THREADS; | |
3170 | } Py_INCREF(Py_None); | |
70551f47 RD |
3171 | _resultobj = Py_None; |
3172 | return _resultobj; | |
3173 | } | |
3174 | ||
3175 | #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
107e4716 | 3176 | static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3177 | PyObject * _resultobj; |
3178 | wxUpdateUIEvent * _arg0; | |
3179 | wxString * _arg1; | |
2d091820 | 3180 | PyObject * _argo0 = 0; |
70551f47 | 3181 | PyObject * _obj1 = 0; |
107e4716 | 3182 | char *_kwnames[] = { "self","text", NULL }; |
70551f47 RD |
3183 | |
3184 | self = self; | |
107e4716 | 3185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxUpdateUIEvent_SetText",_kwnames,&_argo0,&_obj1)) |
70551f47 | 3186 | return NULL; |
2d091820 RD |
3187 | if (_argo0) { |
3188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { | |
70551f47 RD |
3190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p."); |
3191 | return NULL; | |
3192 | } | |
3193 | } | |
3194 | { | |
3195 | if (!PyString_Check(_obj1)) { | |
3196 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3197 | return NULL; | |
3198 | } | |
ab9bc19b | 3199 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
70551f47 | 3200 | } |
ab9bc19b RD |
3201 | { |
3202 | wxPy_BEGIN_ALLOW_THREADS; | |
3203 | wxUpdateUIEvent_SetText(_arg0,*_arg1); | |
3204 | ||
3205 | wxPy_END_ALLOW_THREADS; | |
3206 | } Py_INCREF(Py_None); | |
70551f47 RD |
3207 | _resultobj = Py_None; |
3208 | { | |
3209 | if (_obj1) | |
3210 | delete _arg1; | |
3211 | } | |
3212 | return _resultobj; | |
3213 | } | |
3214 | ||
3215 | static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) { | |
3216 | wxSysColourChangedEvent *src; | |
3217 | wxEvent *dest; | |
3218 | src = (wxSysColourChangedEvent *) ptr; | |
3219 | dest = (wxEvent *) src; | |
3220 | return (void *) dest; | |
3221 | } | |
3222 | ||
37f6a977 RD |
3223 | static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) { |
3224 | wxNotifyEvent *src; | |
ab9bc19b | 3225 | wxCommandEvent *dest; |
37f6a977 | 3226 | src = (wxNotifyEvent *) ptr; |
ab9bc19b RD |
3227 | dest = (wxCommandEvent *) src; |
3228 | return (void *) dest; | |
3229 | } | |
3230 | ||
37f6a977 RD |
3231 | static void *SwigwxNotifyEventTowxEvent(void *ptr) { |
3232 | wxNotifyEvent *src; | |
3233 | wxEvent *dest; | |
3234 | src = (wxNotifyEvent *) ptr; | |
3235 | dest = (wxEvent *) src; | |
3236 | return (void *) dest; | |
3237 | } | |
3238 | ||
3239 | #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed()) | |
3240 | static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3241 | PyObject * _resultobj; | |
3242 | bool _result; | |
3243 | wxNotifyEvent * _arg0; | |
3244 | PyObject * _argo0 = 0; | |
3245 | char *_kwnames[] = { "self", NULL }; | |
3246 | ||
3247 | self = self; | |
3248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_IsAllowed",_kwnames,&_argo0)) | |
3249 | return NULL; | |
3250 | if (_argo0) { | |
3251 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3252 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) { | |
3253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p."); | |
3254 | return NULL; | |
3255 | } | |
3256 | } | |
3257 | { | |
3258 | wxPy_BEGIN_ALLOW_THREADS; | |
3259 | _result = (bool )wxNotifyEvent_IsAllowed(_arg0); | |
3260 | ||
3261 | wxPy_END_ALLOW_THREADS; | |
3262 | } _resultobj = Py_BuildValue("i",_result); | |
3263 | return _resultobj; | |
3264 | } | |
3265 | ||
3266 | #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto()) | |
3267 | static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3268 | PyObject * _resultobj; | |
3269 | wxNotifyEvent * _arg0; | |
3270 | PyObject * _argo0 = 0; | |
3271 | char *_kwnames[] = { "self", NULL }; | |
3272 | ||
3273 | self = self; | |
3274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Veto",_kwnames,&_argo0)) | |
3275 | return NULL; | |
3276 | if (_argo0) { | |
3277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) { | |
3279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p."); | |
3280 | return NULL; | |
3281 | } | |
3282 | } | |
3283 | { | |
3284 | wxPy_BEGIN_ALLOW_THREADS; | |
3285 | wxNotifyEvent_Veto(_arg0); | |
3286 | ||
3287 | wxPy_END_ALLOW_THREADS; | |
3288 | } Py_INCREF(Py_None); | |
3289 | _resultobj = Py_None; | |
3290 | return _resultobj; | |
3291 | } | |
3292 | ||
ab9bc19b RD |
3293 | static void *SwigwxPyEventTowxEvent(void *ptr) { |
3294 | wxPyEvent *src; | |
3295 | wxEvent *dest; | |
3296 | src = (wxPyEvent *) ptr; | |
3297 | dest = (wxEvent *) src; | |
3298 | return (void *) dest; | |
3299 | } | |
3300 | ||
3301 | #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1)) | |
107e4716 | 3302 | static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
3303 | PyObject * _resultobj; |
3304 | wxPyEvent * _result; | |
37f6a977 | 3305 | int _arg0 = (int ) 0; |
2d091820 | 3306 | PyObject * _arg1 = (PyObject *) Py_None; |
ab9bc19b | 3307 | PyObject * _obj1 = 0; |
37f6a977 | 3308 | char *_kwnames[] = { "id","userData", NULL }; |
ab9bc19b RD |
3309 | char _ptemp[128]; |
3310 | ||
3311 | self = self; | |
107e4716 | 3312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxPyEvent",_kwnames,&_arg0,&_obj1)) |
ab9bc19b RD |
3313 | return NULL; |
3314 | if (_obj1) | |
3315 | { | |
3316 | _arg1 = _obj1; | |
3317 | } | |
3318 | { | |
3319 | wxPy_BEGIN_ALLOW_THREADS; | |
3320 | _result = (wxPyEvent *)new_wxPyEvent(_arg0,_arg1); | |
3321 | ||
3322 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3323 | } if (_result) { |
3324 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p"); | |
3325 | _resultobj = Py_BuildValue("s",_ptemp); | |
3326 | } else { | |
3327 | Py_INCREF(Py_None); | |
3328 | _resultobj = Py_None; | |
3329 | } | |
ab9bc19b RD |
3330 | return _resultobj; |
3331 | } | |
3332 | ||
3333 | #define delete_wxPyEvent(_swigobj) (delete _swigobj) | |
107e4716 | 3334 | static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
3335 | PyObject * _resultobj; |
3336 | wxPyEvent * _arg0; | |
2d091820 | 3337 | PyObject * _argo0 = 0; |
107e4716 | 3338 | char *_kwnames[] = { "self", NULL }; |
ab9bc19b RD |
3339 | |
3340 | self = self; | |
107e4716 | 3341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0)) |
ab9bc19b | 3342 | return NULL; |
2d091820 RD |
3343 | if (_argo0) { |
3344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
ab9bc19b RD |
3346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p."); |
3347 | return NULL; | |
3348 | } | |
3349 | } | |
3350 | { | |
3351 | wxPy_BEGIN_ALLOW_THREADS; | |
3352 | delete_wxPyEvent(_arg0); | |
3353 | ||
3354 | wxPy_END_ALLOW_THREADS; | |
3355 | } Py_INCREF(Py_None); | |
3356 | _resultobj = Py_None; | |
3357 | return _resultobj; | |
3358 | } | |
3359 | ||
37f6a977 RD |
3360 | #define wxPyEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0)) |
3361 | static PyObject *_wrap_wxPyEvent_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
ab9bc19b RD |
3362 | PyObject * _resultobj; |
3363 | wxPyEvent * _arg0; | |
3364 | PyObject * _arg1; | |
2d091820 | 3365 | PyObject * _argo0 = 0; |
ab9bc19b | 3366 | PyObject * _obj1 = 0; |
107e4716 | 3367 | char *_kwnames[] = { "self","userData", NULL }; |
ab9bc19b RD |
3368 | |
3369 | self = self; | |
37f6a977 | 3370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetPyData",_kwnames,&_argo0,&_obj1)) |
ab9bc19b | 3371 | return NULL; |
2d091820 RD |
3372 | if (_argo0) { |
3373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
37f6a977 | 3375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetPyData. Expected _wxPyEvent_p."); |
ab9bc19b RD |
3376 | return NULL; |
3377 | } | |
3378 | } | |
3379 | { | |
3380 | _arg1 = _obj1; | |
3381 | } | |
3382 | { | |
3383 | wxPy_BEGIN_ALLOW_THREADS; | |
37f6a977 | 3384 | wxPyEvent_SetPyData(_arg0,_arg1); |
ab9bc19b RD |
3385 | |
3386 | wxPy_END_ALLOW_THREADS; | |
3387 | } Py_INCREF(Py_None); | |
3388 | _resultobj = Py_None; | |
3389 | return _resultobj; | |
3390 | } | |
3391 | ||
37f6a977 RD |
3392 | #define wxPyEvent_GetPyData(_swigobj) (_swigobj->GetPyData()) |
3393 | static PyObject *_wrap_wxPyEvent_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
ab9bc19b RD |
3394 | PyObject * _resultobj; |
3395 | PyObject * _result; | |
3396 | wxPyEvent * _arg0; | |
2d091820 | 3397 | PyObject * _argo0 = 0; |
107e4716 | 3398 | char *_kwnames[] = { "self", NULL }; |
ab9bc19b RD |
3399 | |
3400 | self = self; | |
37f6a977 | 3401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetPyData",_kwnames,&_argo0)) |
ab9bc19b | 3402 | return NULL; |
2d091820 RD |
3403 | if (_argo0) { |
3404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
37f6a977 | 3406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetPyData. Expected _wxPyEvent_p."); |
ab9bc19b RD |
3407 | return NULL; |
3408 | } | |
3409 | } | |
3410 | { | |
3411 | wxPy_BEGIN_ALLOW_THREADS; | |
37f6a977 | 3412 | _result = (PyObject *)wxPyEvent_GetPyData(_arg0); |
ab9bc19b RD |
3413 | |
3414 | wxPy_END_ALLOW_THREADS; | |
3415 | }{ | |
3416 | _resultobj = _result; | |
3417 | } | |
3418 | return _resultobj; | |
3419 | } | |
3420 | ||
37f6a977 RD |
3421 | static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr) { |
3422 | wxPyCommandEvent *src; | |
d24a34bb | 3423 | wxCommandEvent *dest; |
37f6a977 | 3424 | src = (wxPyCommandEvent *) ptr; |
d24a34bb RD |
3425 | dest = (wxCommandEvent *) src; |
3426 | return (void *) dest; | |
3427 | } | |
3428 | ||
37f6a977 RD |
3429 | static void *SwigwxPyCommandEventTowxEvent(void *ptr) { |
3430 | wxPyCommandEvent *src; | |
d24a34bb | 3431 | wxEvent *dest; |
37f6a977 | 3432 | src = (wxPyCommandEvent *) ptr; |
d24a34bb RD |
3433 | dest = (wxEvent *) src; |
3434 | return (void *) dest; | |
3435 | } | |
3436 | ||
37f6a977 RD |
3437 | #define new_wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2) (new wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2)) |
3438 | static PyObject *_wrap_new_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
d24a34bb | 3439 | PyObject * _resultobj; |
37f6a977 RD |
3440 | wxPyCommandEvent * _result; |
3441 | wxEventType _arg0 = (wxEventType ) wxEVT_NULL; | |
3442 | int _arg1 = (int ) 0; | |
3443 | PyObject * _arg2 = (PyObject *) Py_None; | |
3444 | PyObject * _obj2 = 0; | |
3445 | char *_kwnames[] = { "commandType","id","userData", NULL }; | |
3446 | char _ptemp[128]; | |
3447 | ||
3448 | self = self; | |
3449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiO:new_wxPyCommandEvent",_kwnames,&_arg0,&_arg1,&_obj2)) | |
3450 | return NULL; | |
3451 | if (_obj2) | |
3452 | { | |
3453 | _arg2 = _obj2; | |
3454 | } | |
3455 | { | |
3456 | wxPy_BEGIN_ALLOW_THREADS; | |
3457 | _result = (wxPyCommandEvent *)new_wxPyCommandEvent(_arg0,_arg1,_arg2); | |
3458 | ||
3459 | wxPy_END_ALLOW_THREADS; | |
3460 | } if (_result) { | |
3461 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCommandEvent_p"); | |
3462 | _resultobj = Py_BuildValue("s",_ptemp); | |
3463 | } else { | |
3464 | Py_INCREF(Py_None); | |
3465 | _resultobj = Py_None; | |
3466 | } | |
3467 | return _resultobj; | |
3468 | } | |
3469 | ||
3470 | #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj) | |
3471 | static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3472 | PyObject * _resultobj; | |
3473 | wxPyCommandEvent * _arg0; | |
2d091820 | 3474 | PyObject * _argo0 = 0; |
107e4716 | 3475 | char *_kwnames[] = { "self", NULL }; |
d24a34bb RD |
3476 | |
3477 | self = self; | |
37f6a977 | 3478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyCommandEvent",_kwnames,&_argo0)) |
d24a34bb | 3479 | return NULL; |
2d091820 RD |
3480 | if (_argo0) { |
3481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
37f6a977 RD |
3482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) { |
3483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p."); | |
d24a34bb RD |
3484 | return NULL; |
3485 | } | |
3486 | } | |
3487 | { | |
3488 | wxPy_BEGIN_ALLOW_THREADS; | |
37f6a977 | 3489 | delete_wxPyCommandEvent(_arg0); |
d24a34bb RD |
3490 | |
3491 | wxPy_END_ALLOW_THREADS; | |
37f6a977 RD |
3492 | } Py_INCREF(Py_None); |
3493 | _resultobj = Py_None; | |
d24a34bb RD |
3494 | return _resultobj; |
3495 | } | |
3496 | ||
37f6a977 RD |
3497 | #define wxPyCommandEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0)) |
3498 | static PyObject *_wrap_wxPyCommandEvent_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
d24a34bb | 3499 | PyObject * _resultobj; |
37f6a977 RD |
3500 | wxPyCommandEvent * _arg0; |
3501 | PyObject * _arg1; | |
2d091820 | 3502 | PyObject * _argo0 = 0; |
37f6a977 RD |
3503 | PyObject * _obj1 = 0; |
3504 | char *_kwnames[] = { "self","userData", NULL }; | |
d24a34bb RD |
3505 | |
3506 | self = self; | |
37f6a977 | 3507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCommandEvent_SetPyData",_kwnames,&_argo0,&_obj1)) |
d24a34bb | 3508 | return NULL; |
2d091820 RD |
3509 | if (_argo0) { |
3510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
37f6a977 RD |
3511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) { |
3512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_SetPyData. Expected _wxPyCommandEvent_p."); | |
d24a34bb RD |
3513 | return NULL; |
3514 | } | |
3515 | } | |
37f6a977 RD |
3516 | { |
3517 | _arg1 = _obj1; | |
3518 | } | |
d24a34bb RD |
3519 | { |
3520 | wxPy_BEGIN_ALLOW_THREADS; | |
37f6a977 | 3521 | wxPyCommandEvent_SetPyData(_arg0,_arg1); |
d24a34bb RD |
3522 | |
3523 | wxPy_END_ALLOW_THREADS; | |
3524 | } Py_INCREF(Py_None); | |
3525 | _resultobj = Py_None; | |
3526 | return _resultobj; | |
3527 | } | |
3528 | ||
37f6a977 RD |
3529 | #define wxPyCommandEvent_GetPyData(_swigobj) (_swigobj->GetPyData()) |
3530 | static PyObject *_wrap_wxPyCommandEvent_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3531 | PyObject * _resultobj; | |
3532 | PyObject * _result; | |
3533 | wxPyCommandEvent * _arg0; | |
3534 | PyObject * _argo0 = 0; | |
3535 | char *_kwnames[] = { "self", NULL }; | |
3536 | ||
3537 | self = self; | |
3538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCommandEvent_GetPyData",_kwnames,&_argo0)) | |
3539 | return NULL; | |
3540 | if (_argo0) { | |
3541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) { | |
3543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_GetPyData. Expected _wxPyCommandEvent_p."); | |
3544 | return NULL; | |
3545 | } | |
3546 | } | |
3547 | { | |
3548 | wxPy_BEGIN_ALLOW_THREADS; | |
3549 | _result = (PyObject *)wxPyCommandEvent_GetPyData(_arg0); | |
3550 | ||
3551 | wxPy_END_ALLOW_THREADS; | |
3552 | }{ | |
3553 | _resultobj = _result; | |
3554 | } | |
3555 | return _resultobj; | |
3556 | } | |
3557 | ||
70551f47 | 3558 | static PyMethodDef eventscMethods[] = { |
37f6a977 RD |
3559 | { "wxPyCommandEvent_GetPyData", (PyCFunction) _wrap_wxPyCommandEvent_GetPyData, METH_VARARGS | METH_KEYWORDS }, |
3560 | { "wxPyCommandEvent_SetPyData", (PyCFunction) _wrap_wxPyCommandEvent_SetPyData, METH_VARARGS | METH_KEYWORDS }, | |
3561 | { "delete_wxPyCommandEvent", (PyCFunction) _wrap_delete_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS }, | |
3562 | { "new_wxPyCommandEvent", (PyCFunction) _wrap_new_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS }, | |
3563 | { "wxPyEvent_GetPyData", (PyCFunction) _wrap_wxPyEvent_GetPyData, METH_VARARGS | METH_KEYWORDS }, | |
3564 | { "wxPyEvent_SetPyData", (PyCFunction) _wrap_wxPyEvent_SetPyData, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
3565 | { "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS }, |
3566 | { "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS }, | |
37f6a977 RD |
3567 | { "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS }, |
3568 | { "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
3569 | { "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS }, |
3570 | { "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS }, | |
3571 | { "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS }, | |
3572 | { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS }, | |
3573 | { "wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS }, | |
3574 | { "wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS }, | |
3575 | { "wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
3576 | { "wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS }, | |
3577 | { "wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS }, | |
3578 | { "wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS }, | |
3579 | { "wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS }, | |
3580 | { "wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS }, | |
3581 | { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS }, | |
3582 | { "wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3583 | { "wxJoystickEvent_ButtonIsDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3584 | { "wxJoystickEvent_ButtonUp", (PyCFunction) _wrap_wxJoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS }, | |
3585 | { "wxJoystickEvent_ButtonDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS }, | |
3586 | { "wxJoystickEvent_IsZMove", (PyCFunction) _wrap_wxJoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS }, | |
3587 | { "wxJoystickEvent_IsMove", (PyCFunction) _wrap_wxJoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS }, | |
3588 | { "wxJoystickEvent_IsButton", (PyCFunction) _wrap_wxJoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS }, | |
3589 | { "wxJoystickEvent_SetZPosition", (PyCFunction) _wrap_wxJoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS }, | |
3590 | { "wxJoystickEvent_SetPosition", (PyCFunction) _wrap_wxJoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3591 | { "wxJoystickEvent_SetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS }, | |
3592 | { "wxJoystickEvent_SetButtonState", (PyCFunction) _wrap_wxJoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS }, | |
3593 | { "wxJoystickEvent_SetJoystick", (PyCFunction) _wrap_wxJoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS }, | |
3594 | { "wxJoystickEvent_GetJoystick", (PyCFunction) _wrap_wxJoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS }, | |
3595 | { "wxJoystickEvent_GetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS }, | |
3596 | { "wxJoystickEvent_GetButtonState", (PyCFunction) _wrap_wxJoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS }, | |
3597 | { "wxJoystickEvent_GetZPosition", (PyCFunction) _wrap_wxJoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS }, | |
3598 | { "wxJoystickEvent_GetPosition", (PyCFunction) _wrap_wxJoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3599 | { "wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS }, | |
3600 | { "wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS }, | |
3601 | { "wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS }, | |
3602 | { "wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS }, | |
3603 | { "wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
3604 | { "wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3605 | { "wxKeyEvent_KeyCode", (PyCFunction) _wrap_wxKeyEvent_KeyCode, METH_VARARGS | METH_KEYWORDS }, | |
3606 | { "wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
3607 | { "wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
3608 | { "wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
3609 | { "wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
3610 | { "wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
3611 | { "wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
3612 | { "wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS }, | |
3613 | { "wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3614 | { "wxMouseEvent_Position", (PyCFunction) _wrap_wxMouseEvent_Position, METH_VARARGS | METH_KEYWORDS }, | |
3615 | { "wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS }, | |
3616 | { "wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS }, | |
3617 | { "wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS }, | |
3618 | { "wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS }, | |
3619 | { "wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3620 | { "wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3621 | { "wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3622 | { "wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS }, | |
3623 | { "wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS }, | |
3624 | { "wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS }, | |
3625 | { "wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS }, | |
3626 | { "wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS }, | |
3627 | { "wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS }, | |
3628 | { "wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS }, | |
3629 | { "wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS }, | |
3630 | { "wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS }, | |
3631 | { "wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
3632 | { "wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
3633 | { "wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
3634 | { "wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
3635 | { "wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS }, | |
3636 | { "wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS }, | |
3637 | { "wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS }, | |
3638 | { "wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS }, | |
3639 | { "wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS }, | |
3640 | { "wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS }, | |
9cce9de1 RD |
3641 | { "wxScrollWinEvent_GetPosition", (PyCFunction) _wrap_wxScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
3642 | { "wxScrollWinEvent_GetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
3643 | { "wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
3644 | { "wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
3645 | { "wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS }, | |
3646 | { "wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS }, | |
3647 | { "wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
3648 | { "wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS }, | |
3649 | { "wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS }, | |
3650 | { "wxCommandEvent_Checked", (PyCFunction) _wrap_wxCommandEvent_Checked, METH_VARARGS | METH_KEYWORDS }, | |
3651 | { "wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS }, | |
3652 | { "wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS }, | |
3653 | { "wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS }, | |
3654 | { "wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS }, | |
3655 | { "wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS }, | |
3656 | { "wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS }, | |
3657 | { "wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
3658 | { "wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS }, | |
3659 | { "wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS }, | |
3660 | { "wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS }, | |
3661 | { "wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS }, | |
3662 | { "wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS }, | |
3663 | { "wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS }, | |
3664 | { "wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS }, | |
3665 | { "wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS }, | |
3666 | { "wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS }, | |
3667 | { "wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS }, | |
70551f47 RD |
3668 | { NULL, NULL } |
3669 | }; | |
2d091820 RD |
3670 | #ifdef __cplusplus |
3671 | } | |
3672 | #endif | |
3673 | /* | |
3674 | * This table is used by the pointer type-checker | |
3675 | */ | |
3676 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
3677 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
37f6a977 RD |
3678 | { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent}, |
3679 | { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent}, | |
2d091820 RD |
3680 | { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent}, |
3681 | { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent}, | |
37f6a977 RD |
3682 | { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, |
3683 | { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, | |
2d091820 RD |
3684 | { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, |
3685 | { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, | |
3686 | { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
3687 | { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
3688 | { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
3689 | { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
3690 | { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
3691 | { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
3692 | { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
3693 | { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
3694 | { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
3695 | { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
3696 | { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
3697 | { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
3698 | { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent}, | |
3699 | { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent}, | |
3700 | { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
3701 | { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
3702 | { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
3703 | { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
3704 | { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
3705 | { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
3706 | { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
3707 | { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
3708 | { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
3709 | { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
3710 | { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
3711 | { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
3712 | { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
3713 | { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
3714 | { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
3715 | { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
3716 | { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
3717 | { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
3718 | { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
3719 | { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
9cce9de1 RD |
3720 | { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent}, |
3721 | { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent}, | |
2d091820 RD |
3722 | { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent}, |
3723 | { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent}, | |
3724 | { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
3725 | { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
3726 | { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
3727 | { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
3728 | { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
3729 | { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
3730 | { "_wxEvent","_class_wxEvent",0}, | |
3731 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
3732 | { "_signed_long","_long",0}, | |
3733 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
37f6a977 | 3734 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
2d091820 RD |
3735 | { "_wxPrintQuality","_int",0}, |
3736 | { "_wxPrintQuality","_signed_int",0}, | |
3737 | { "_wxPrintQuality","_unsigned_int",0}, | |
3738 | { "_wxPrintQuality","_wxWindowID",0}, | |
3739 | { "_wxPrintQuality","_uint",0}, | |
3740 | { "_wxPrintQuality","_EBool",0}, | |
3741 | { "_wxPrintQuality","_size_t",0}, | |
3742 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
3743 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
3744 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
3745 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
3746 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
3747 | { "_byte","_unsigned_char",0}, | |
3748 | { "_long","_unsigned_long",0}, | |
3749 | { "_long","_signed_long",0}, | |
3750 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
3751 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
3752 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
3753 | { "_size_t","_wxPrintQuality",0}, | |
3754 | { "_size_t","_unsigned_int",0}, | |
3755 | { "_size_t","_int",0}, | |
3756 | { "_size_t","_wxWindowID",0}, | |
3757 | { "_size_t","_uint",0}, | |
3758 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
3759 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
3760 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
3761 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
3762 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
3763 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
3764 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
3765 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
3766 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
3767 | { "_uint","_wxPrintQuality",0}, | |
3768 | { "_uint","_size_t",0}, | |
3769 | { "_uint","_unsigned_int",0}, | |
3770 | { "_uint","_int",0}, | |
3771 | { "_uint","_wxWindowID",0}, | |
37f6a977 RD |
3772 | { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent}, |
3773 | { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent}, | |
2d091820 RD |
3774 | { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent}, |
3775 | { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent}, | |
37f6a977 RD |
3776 | { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, |
3777 | { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, | |
2d091820 RD |
3778 | { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, |
3779 | { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, | |
3780 | { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
3781 | { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, | |
3782 | { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
3783 | { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent}, | |
3784 | { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
3785 | { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, | |
3786 | { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
3787 | { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, | |
3788 | { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
3789 | { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, | |
3790 | { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
3791 | { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, | |
3792 | { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent}, | |
3793 | { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent}, | |
3794 | { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
3795 | { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent}, | |
3796 | { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
3797 | { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, | |
3798 | { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
3799 | { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent}, | |
3800 | { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
3801 | { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent}, | |
3802 | { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
3803 | { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent}, | |
3804 | { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
3805 | { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent}, | |
3806 | { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
3807 | { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent}, | |
3808 | { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
3809 | { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent}, | |
3810 | { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
3811 | { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent}, | |
3812 | { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
3813 | { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent}, | |
9cce9de1 RD |
3814 | { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent}, |
3815 | { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent}, | |
2d091820 RD |
3816 | { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent}, |
3817 | { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent}, | |
3818 | { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
3819 | { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent}, | |
3820 | { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
3821 | { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent}, | |
3822 | { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
3823 | { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent}, | |
3824 | { "_class_wxEvent","_wxEvent",0}, | |
3825 | { "_wxRect","_class_wxRect",0}, | |
37f6a977 RD |
3826 | { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent}, |
3827 | { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent}, | |
2d091820 RD |
3828 | { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, |
3829 | { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, | |
2d091820 RD |
3830 | { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, |
3831 | { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, | |
3832 | { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
3833 | { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
3834 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
3835 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
3836 | { "_wxPoint","_class_wxPoint",0}, | |
3837 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
3838 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
3839 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
3840 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
3841 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
3842 | { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
3843 | { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
3844 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
3845 | { "_EBool","_wxPrintQuality",0}, | |
3846 | { "_EBool","_signed_int",0}, | |
3847 | { "_EBool","_int",0}, | |
3848 | { "_EBool","_wxWindowID",0}, | |
3849 | { "_class_wxRegion","_wxRegion",0}, | |
3850 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
3851 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
3852 | { "_unsigned_long","_long",0}, | |
3853 | { "_class_wxRect","_wxRect",0}, | |
9cce9de1 | 3854 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
2d091820 RD |
3855 | { "_class_wxPyTimer","_wxPyTimer",0}, |
3856 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
3857 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
3858 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
3859 | { "_signed_int","_wxPrintQuality",0}, | |
3860 | { "_signed_int","_EBool",0}, | |
3861 | { "_signed_int","_wxWindowID",0}, | |
3862 | { "_signed_int","_int",0}, | |
3863 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
3864 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
3865 | { "_WXTYPE","_short",0}, | |
3866 | { "_WXTYPE","_signed_short",0}, | |
3867 | { "_WXTYPE","_unsigned_short",0}, | |
3868 | { "_unsigned_short","_WXTYPE",0}, | |
3869 | { "_unsigned_short","_short",0}, | |
3870 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
3871 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
3872 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
3873 | { "_class_wxPoint","_wxPoint",0}, | |
3874 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
3875 | { "_signed_short","_WXTYPE",0}, | |
3876 | { "_signed_short","_short",0}, | |
3877 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
3878 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
3879 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
3880 | { "_unsigned_char","_byte",0}, | |
3881 | { "_unsigned_int","_wxPrintQuality",0}, | |
3882 | { "_unsigned_int","_size_t",0}, | |
3883 | { "_unsigned_int","_uint",0}, | |
3884 | { "_unsigned_int","_wxWindowID",0}, | |
3885 | { "_unsigned_int","_int",0}, | |
3886 | { "_short","_WXTYPE",0}, | |
3887 | { "_short","_unsigned_short",0}, | |
3888 | { "_short","_signed_short",0}, | |
3889 | { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
3890 | { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, | |
3891 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
3892 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
3893 | { "_wxWindowID","_wxPrintQuality",0}, | |
3894 | { "_wxWindowID","_size_t",0}, | |
3895 | { "_wxWindowID","_EBool",0}, | |
3896 | { "_wxWindowID","_uint",0}, | |
3897 | { "_wxWindowID","_int",0}, | |
3898 | { "_wxWindowID","_signed_int",0}, | |
3899 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 3900 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2d091820 RD |
3901 | { "_int","_wxPrintQuality",0}, |
3902 | { "_int","_size_t",0}, | |
3903 | { "_int","_EBool",0}, | |
3904 | { "_int","_uint",0}, | |
3905 | { "_int","_wxWindowID",0}, | |
3906 | { "_int","_unsigned_int",0}, | |
3907 | { "_int","_signed_int",0}, | |
3908 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
37f6a977 | 3909 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
2d091820 RD |
3910 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
3911 | { "_wxSize","_class_wxSize",0}, | |
3912 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
3913 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
3914 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
3915 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
3916 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
3917 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
3918 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
3919 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
3920 | { "_wxRegion","_class_wxRegion",0}, | |
3921 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
3922 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
37f6a977 RD |
3923 | { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent}, |
3924 | { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent}, | |
2d091820 RD |
3925 | { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, |
3926 | { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, | |
2d091820 RD |
3927 | { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, |
3928 | { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, | |
3929 | { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
3930 | { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, | |
3931 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
3932 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
3933 | { "_class_wxSize","_wxSize",0}, | |
3934 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
3935 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
3936 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
3937 | {0,0,0}}; | |
3938 | ||
70551f47 RD |
3939 | static PyObject *SWIG_globals; |
3940 | #ifdef __cplusplus | |
3941 | extern "C" | |
3942 | #endif | |
2d091820 | 3943 | SWIGEXPORT(void) initeventsc() { |
70551f47 RD |
3944 | PyObject *m, *d; |
3945 | SWIG_globals = SWIG_newvarlink(); | |
3946 | m = Py_InitModule("eventsc", eventscMethods); | |
3947 | d = PyModule_GetDict(m); | |
2d091820 RD |
3948 | { |
3949 | int i; | |
3950 | for (i = 0; _swig_mapping[i].n1; i++) | |
3951 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
3952 | } | |
70551f47 | 3953 | } |