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