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