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