]>
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 | ||
c368d904 RD |
3135 | static void *SwigwxKeyEventTowxEvent(void *ptr) { |
3136 | wxKeyEvent *src; | |
3137 | wxEvent *dest; | |
3138 | src = (wxKeyEvent *) ptr; | |
3139 | dest = (wxEvent *) src; | |
3140 | return (void *) dest; | |
3141 | } | |
3142 | ||
9416aa89 RD |
3143 | static void *SwigwxKeyEventTowxObject(void *ptr) { |
3144 | wxKeyEvent *src; | |
3145 | wxObject *dest; | |
3146 | src = (wxKeyEvent *) ptr; | |
3147 | dest = (wxObject *) src; | |
3148 | return (void *) dest; | |
3149 | } | |
3150 | ||
c368d904 RD |
3151 | #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0)) |
3152 | static PyObject *_wrap_new_wxKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3153 | PyObject * _resultobj; | |
3154 | wxKeyEvent * _result; | |
3155 | int _arg0; | |
3156 | char *_kwnames[] = { "keyEventType", NULL }; | |
3157 | char _ptemp[128]; | |
3158 | ||
3159 | self = self; | |
3160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxKeyEvent",_kwnames,&_arg0)) | |
3161 | return NULL; | |
3162 | { | |
4268f798 | 3163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3164 | _result = (wxKeyEvent *)new_wxKeyEvent(_arg0); |
c368d904 | 3165 | |
4268f798 | 3166 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3167 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3168 | } if (_result) { |
3169 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p"); | |
3170 | _resultobj = Py_BuildValue("s",_ptemp); | |
3171 | } else { | |
3172 | Py_INCREF(Py_None); | |
3173 | _resultobj = Py_None; | |
3174 | } | |
3175 | return _resultobj; | |
3176 | } | |
3177 | ||
3178 | #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
3179 | static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3180 | PyObject * _resultobj; | |
3181 | bool _result; | |
3182 | wxKeyEvent * _arg0; | |
3183 | PyObject * _argo0 = 0; | |
3184 | char *_kwnames[] = { "self", NULL }; | |
3185 | ||
3186 | self = self; | |
3187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ControlDown",_kwnames,&_argo0)) | |
3188 | return NULL; | |
3189 | if (_argo0) { | |
3190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p."); | |
3193 | return NULL; | |
3194 | } | |
3195 | } | |
3196 | { | |
4268f798 | 3197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3198 | _result = (bool )wxKeyEvent_ControlDown(_arg0); |
c368d904 | 3199 | |
4268f798 | 3200 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3201 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3202 | } _resultobj = Py_BuildValue("i",_result); |
3203 | return _resultobj; | |
3204 | } | |
3205 | ||
3206 | #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
3207 | static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3208 | PyObject * _resultobj; | |
3209 | bool _result; | |
3210 | wxKeyEvent * _arg0; | |
3211 | PyObject * _argo0 = 0; | |
3212 | char *_kwnames[] = { "self", NULL }; | |
3213 | ||
3214 | self = self; | |
3215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_MetaDown",_kwnames,&_argo0)) | |
3216 | return NULL; | |
3217 | if (_argo0) { | |
3218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p."); | |
3221 | return NULL; | |
3222 | } | |
3223 | } | |
3224 | { | |
4268f798 | 3225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3226 | _result = (bool )wxKeyEvent_MetaDown(_arg0); |
c368d904 | 3227 | |
4268f798 | 3228 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3229 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3230 | } _resultobj = Py_BuildValue("i",_result); |
3231 | return _resultobj; | |
3232 | } | |
3233 | ||
3234 | #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
3235 | static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3236 | PyObject * _resultobj; | |
3237 | bool _result; | |
3238 | wxKeyEvent * _arg0; | |
3239 | PyObject * _argo0 = 0; | |
3240 | char *_kwnames[] = { "self", NULL }; | |
3241 | ||
3242 | self = self; | |
3243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_AltDown",_kwnames,&_argo0)) | |
3244 | return NULL; | |
3245 | if (_argo0) { | |
3246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p."); | |
3249 | return NULL; | |
3250 | } | |
3251 | } | |
3252 | { | |
4268f798 | 3253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3254 | _result = (bool )wxKeyEvent_AltDown(_arg0); |
c368d904 | 3255 | |
4268f798 | 3256 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3257 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3258 | } _resultobj = Py_BuildValue("i",_result); |
3259 | return _resultobj; | |
3260 | } | |
3261 | ||
3262 | #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
3263 | static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3264 | PyObject * _resultobj; | |
3265 | bool _result; | |
3266 | wxKeyEvent * _arg0; | |
3267 | PyObject * _argo0 = 0; | |
3268 | char *_kwnames[] = { "self", NULL }; | |
3269 | ||
3270 | self = self; | |
3271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_ShiftDown",_kwnames,&_argo0)) | |
3272 | return NULL; | |
3273 | if (_argo0) { | |
3274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p."); | |
3277 | return NULL; | |
3278 | } | |
3279 | } | |
3280 | { | |
4268f798 | 3281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3282 | _result = (bool )wxKeyEvent_ShiftDown(_arg0); |
c368d904 | 3283 | |
4268f798 | 3284 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3285 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3286 | } _resultobj = Py_BuildValue("i",_result); |
3287 | return _resultobj; | |
3288 | } | |
3289 | ||
3290 | #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode()) | |
3291 | static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3292 | PyObject * _resultobj; | |
3293 | long _result; | |
3294 | wxKeyEvent * _arg0; | |
3295 | PyObject * _argo0 = 0; | |
3296 | char *_kwnames[] = { "self", NULL }; | |
3297 | ||
3298 | self = self; | |
3299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_KeyCode",_kwnames,&_argo0)) | |
3300 | return NULL; | |
3301 | if (_argo0) { | |
3302 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3303 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p."); | |
3305 | return NULL; | |
3306 | } | |
3307 | } | |
3308 | { | |
4268f798 | 3309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3310 | _result = (long )wxKeyEvent_KeyCode(_arg0); |
c368d904 | 3311 | |
4268f798 | 3312 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3313 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3314 | } _resultobj = Py_BuildValue("l",_result); |
3315 | return _resultobj; | |
3316 | } | |
3317 | ||
3318 | #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode()) | |
3319 | static PyObject *_wrap_wxKeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3320 | PyObject * _resultobj; | |
3321 | long _result; | |
3322 | wxKeyEvent * _arg0; | |
3323 | PyObject * _argo0 = 0; | |
3324 | char *_kwnames[] = { "self", NULL }; | |
3325 | ||
3326 | self = self; | |
3327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetKeyCode",_kwnames,&_argo0)) | |
3328 | return NULL; | |
3329 | if (_argo0) { | |
3330 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3331 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p."); | |
3333 | return NULL; | |
3334 | } | |
3335 | } | |
3336 | { | |
4268f798 | 3337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3338 | _result = (long )wxKeyEvent_GetKeyCode(_arg0); |
c368d904 | 3339 | |
4268f798 | 3340 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3341 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3342 | } _resultobj = Py_BuildValue("l",_result); |
3343 | return _resultobj; | |
3344 | } | |
3345 | ||
3346 | #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers()) | |
3347 | static PyObject *_wrap_wxKeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3348 | PyObject * _resultobj; | |
3349 | bool _result; | |
3350 | wxKeyEvent * _arg0; | |
3351 | PyObject * _argo0 = 0; | |
3352 | char *_kwnames[] = { "self", NULL }; | |
3353 | ||
3354 | self = self; | |
3355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_HasModifiers",_kwnames,&_argo0)) | |
3356 | return NULL; | |
3357 | if (_argo0) { | |
3358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p."); | |
3361 | return NULL; | |
3362 | } | |
3363 | } | |
3364 | { | |
4268f798 | 3365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3366 | _result = (bool )wxKeyEvent_HasModifiers(_arg0); |
c368d904 | 3367 | |
4268f798 | 3368 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3369 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3370 | } _resultobj = Py_BuildValue("i",_result); |
3371 | return _resultobj; | |
3372 | } | |
3373 | ||
db0ff83e RD |
3374 | #define wxKeyEvent_GetRawKeyCode(_swigobj) (_swigobj->GetRawKeyCode()) |
3375 | static PyObject *_wrap_wxKeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3376 | PyObject * _resultobj; | |
3377 | long _result; | |
3378 | wxKeyEvent * _arg0; | |
3379 | PyObject * _argo0 = 0; | |
3380 | char *_kwnames[] = { "self", NULL }; | |
3381 | ||
3382 | self = self; | |
3383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetRawKeyCode",_kwnames,&_argo0)) | |
3384 | return NULL; | |
3385 | if (_argo0) { | |
3386 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3387 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetRawKeyCode. Expected _wxKeyEvent_p."); | |
3389 | return NULL; | |
3390 | } | |
3391 | } | |
3392 | { | |
3393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3394 | _result = (long )wxKeyEvent_GetRawKeyCode(_arg0); | |
3395 | ||
3396 | wxPyEndAllowThreads(__tstate); | |
3397 | if (PyErr_Occurred()) return NULL; | |
3398 | } _resultobj = Py_BuildValue("l",_result); | |
3399 | return _resultobj; | |
3400 | } | |
3401 | ||
3402 | #define wxKeyEvent_GetRawKeyFlags(_swigobj) (_swigobj->GetRawKeyFlags()) | |
3403 | static PyObject *_wrap_wxKeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3404 | PyObject * _resultobj; | |
3405 | long _result; | |
3406 | wxKeyEvent * _arg0; | |
3407 | PyObject * _argo0 = 0; | |
3408 | char *_kwnames[] = { "self", NULL }; | |
3409 | ||
3410 | self = self; | |
3411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetRawKeyFlags",_kwnames,&_argo0)) | |
3412 | return NULL; | |
3413 | if (_argo0) { | |
3414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetRawKeyFlags. Expected _wxKeyEvent_p."); | |
3417 | return NULL; | |
3418 | } | |
3419 | } | |
3420 | { | |
3421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3422 | _result = (long )wxKeyEvent_GetRawKeyFlags(_arg0); | |
3423 | ||
3424 | wxPyEndAllowThreads(__tstate); | |
3425 | if (PyErr_Occurred()) return NULL; | |
3426 | } _resultobj = Py_BuildValue("l",_result); | |
3427 | return _resultobj; | |
3428 | } | |
3429 | ||
c368d904 RD |
3430 | #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX()) |
3431 | static PyObject *_wrap_wxKeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3432 | PyObject * _resultobj; | |
3433 | long _result; | |
3434 | wxKeyEvent * _arg0; | |
3435 | PyObject * _argo0 = 0; | |
3436 | char *_kwnames[] = { "self", NULL }; | |
3437 | ||
3438 | self = self; | |
3439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetX",_kwnames,&_argo0)) | |
3440 | return NULL; | |
3441 | if (_argo0) { | |
3442 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3443 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p."); | |
3445 | return NULL; | |
3446 | } | |
3447 | } | |
3448 | { | |
4268f798 | 3449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3450 | _result = (long )wxKeyEvent_GetX(_arg0); |
c368d904 | 3451 | |
4268f798 | 3452 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3453 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3454 | } _resultobj = Py_BuildValue("l",_result); |
3455 | return _resultobj; | |
3456 | } | |
3457 | ||
3458 | #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY()) | |
3459 | static PyObject *_wrap_wxKeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3460 | PyObject * _resultobj; | |
3461 | long _result; | |
3462 | wxKeyEvent * _arg0; | |
3463 | PyObject * _argo0 = 0; | |
3464 | char *_kwnames[] = { "self", NULL }; | |
3465 | ||
3466 | self = self; | |
3467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetY",_kwnames,&_argo0)) | |
3468 | return NULL; | |
3469 | if (_argo0) { | |
3470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p."); | |
3473 | return NULL; | |
3474 | } | |
3475 | } | |
3476 | { | |
4268f798 | 3477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3478 | _result = (long )wxKeyEvent_GetY(_arg0); |
c368d904 | 3479 | |
4268f798 | 3480 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3481 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3482 | } _resultobj = Py_BuildValue("l",_result); |
3483 | return _resultobj; | |
3484 | } | |
3485 | ||
3486 | #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
3487 | static PyObject *_wrap_wxKeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3488 | PyObject * _resultobj; | |
3489 | wxPoint * _result; | |
3490 | wxKeyEvent * _arg0; | |
3491 | PyObject * _argo0 = 0; | |
3492 | char *_kwnames[] = { "self", NULL }; | |
3493 | char _ptemp[128]; | |
3494 | ||
3495 | self = self; | |
3496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPosition",_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_GetPosition. Expected _wxKeyEvent_p."); | |
3502 | return NULL; | |
3503 | } | |
3504 | } | |
3505 | { | |
4268f798 | 3506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3507 | _result = new wxPoint (wxKeyEvent_GetPosition(_arg0)); |
c368d904 | 3508 | |
4268f798 | 3509 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3510 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3511 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
3512 | _resultobj = Py_BuildValue("s",_ptemp); | |
3513 | return _resultobj; | |
3514 | } | |
3515 | ||
3516 | #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1)) | |
3517 | static PyObject *_wrap_wxKeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3518 | PyObject * _resultobj; | |
3519 | wxKeyEvent * _arg0; | |
3520 | long * _arg1; | |
3521 | long temp; | |
3522 | long * _arg2; | |
3523 | long temp0; | |
3524 | PyObject * _argo0 = 0; | |
3525 | char *_kwnames[] = { "self", NULL }; | |
3526 | ||
3527 | self = self; | |
3528 | { | |
3529 | _arg1 = &temp; | |
3530 | } | |
3531 | { | |
3532 | _arg2 = &temp0; | |
3533 | } | |
3534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_GetPositionTuple",_kwnames,&_argo0)) | |
3535 | return NULL; | |
3536 | if (_argo0) { | |
3537 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3538 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3539 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p."); | |
3540 | return NULL; | |
3541 | } | |
3542 | } | |
3543 | { | |
4268f798 | 3544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3545 | wxKeyEvent_GetPositionTuple(_arg0,_arg1,_arg2); |
c368d904 | 3546 | |
4268f798 | 3547 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3548 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3549 | } Py_INCREF(Py_None); |
3550 | _resultobj = Py_None; | |
3551 | { | |
3552 | PyObject *o; | |
3553 | o = PyInt_FromLong((long) (*_arg1)); | |
3554 | _resultobj = t_output_helper(_resultobj, o); | |
3555 | } | |
3556 | { | |
3557 | PyObject *o; | |
3558 | o = PyInt_FromLong((long) (*_arg2)); | |
3559 | _resultobj = t_output_helper(_resultobj, o); | |
3560 | } | |
3561 | return _resultobj; | |
3562 | } | |
3563 | ||
3564 | #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval) | |
3565 | static PyObject *_wrap_wxKeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3566 | PyObject * _resultobj; | |
3567 | long _result; | |
3568 | wxKeyEvent * _arg0; | |
3569 | long _arg1; | |
3570 | PyObject * _argo0 = 0; | |
3571 | char *_kwnames[] = { "self","m_x", NULL }; | |
3572 | ||
3573 | self = self; | |
3574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_x_set",_kwnames,&_argo0,&_arg1)) | |
3575 | return NULL; | |
3576 | if (_argo0) { | |
3577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p."); | |
3580 | return NULL; | |
3581 | } | |
3582 | } | |
3583 | { | |
4268f798 | 3584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3585 | _result = (long )wxKeyEvent_m_x_set(_arg0,_arg1); |
c368d904 | 3586 | |
4268f798 | 3587 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3588 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3589 | } _resultobj = Py_BuildValue("l",_result); |
3590 | return _resultobj; | |
3591 | } | |
3592 | ||
3593 | #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x) | |
3594 | static PyObject *_wrap_wxKeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3595 | PyObject * _resultobj; | |
3596 | long _result; | |
3597 | wxKeyEvent * _arg0; | |
3598 | PyObject * _argo0 = 0; | |
3599 | char *_kwnames[] = { "self", NULL }; | |
3600 | ||
3601 | self = self; | |
3602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_x_get",_kwnames,&_argo0)) | |
3603 | return NULL; | |
3604 | if (_argo0) { | |
3605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p."); | |
3608 | return NULL; | |
3609 | } | |
3610 | } | |
3611 | { | |
4268f798 | 3612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3613 | _result = (long )wxKeyEvent_m_x_get(_arg0); |
c368d904 | 3614 | |
4268f798 | 3615 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3616 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3617 | } _resultobj = Py_BuildValue("l",_result); |
3618 | return _resultobj; | |
3619 | } | |
3620 | ||
3621 | #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval) | |
3622 | static PyObject *_wrap_wxKeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3623 | PyObject * _resultobj; | |
3624 | long _result; | |
3625 | wxKeyEvent * _arg0; | |
3626 | long _arg1; | |
3627 | PyObject * _argo0 = 0; | |
3628 | char *_kwnames[] = { "self","m_y", NULL }; | |
3629 | ||
3630 | self = self; | |
3631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_y_set",_kwnames,&_argo0,&_arg1)) | |
3632 | return NULL; | |
3633 | if (_argo0) { | |
3634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p."); | |
3637 | return NULL; | |
3638 | } | |
3639 | } | |
3640 | { | |
4268f798 | 3641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3642 | _result = (long )wxKeyEvent_m_y_set(_arg0,_arg1); |
c368d904 | 3643 | |
4268f798 | 3644 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3645 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3646 | } _resultobj = Py_BuildValue("l",_result); |
3647 | return _resultobj; | |
3648 | } | |
3649 | ||
3650 | #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y) | |
3651 | static PyObject *_wrap_wxKeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3652 | PyObject * _resultobj; | |
3653 | long _result; | |
3654 | wxKeyEvent * _arg0; | |
3655 | PyObject * _argo0 = 0; | |
3656 | char *_kwnames[] = { "self", NULL }; | |
3657 | ||
3658 | self = self; | |
3659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_y_get",_kwnames,&_argo0)) | |
3660 | return NULL; | |
3661 | if (_argo0) { | |
3662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p."); | |
3665 | return NULL; | |
3666 | } | |
3667 | } | |
3668 | { | |
4268f798 | 3669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3670 | _result = (long )wxKeyEvent_m_y_get(_arg0); |
c368d904 | 3671 | |
4268f798 | 3672 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3673 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3674 | } _resultobj = Py_BuildValue("l",_result); |
3675 | return _resultobj; | |
3676 | } | |
3677 | ||
3678 | #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval) | |
3679 | static PyObject *_wrap_wxKeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3680 | PyObject * _resultobj; | |
3681 | long _result; | |
3682 | wxKeyEvent * _arg0; | |
3683 | long _arg1; | |
3684 | PyObject * _argo0 = 0; | |
3685 | char *_kwnames[] = { "self","m_keyCode", NULL }; | |
3686 | ||
3687 | self = self; | |
3688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_keyCode_set",_kwnames,&_argo0,&_arg1)) | |
3689 | return NULL; | |
3690 | if (_argo0) { | |
3691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p."); | |
3694 | return NULL; | |
3695 | } | |
3696 | } | |
3697 | { | |
4268f798 | 3698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3699 | _result = (long )wxKeyEvent_m_keyCode_set(_arg0,_arg1); |
c368d904 | 3700 | |
4268f798 | 3701 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3702 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3703 | } _resultobj = Py_BuildValue("l",_result); |
3704 | return _resultobj; | |
3705 | } | |
3706 | ||
3707 | #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode) | |
3708 | static PyObject *_wrap_wxKeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3709 | PyObject * _resultobj; | |
3710 | long _result; | |
3711 | wxKeyEvent * _arg0; | |
3712 | PyObject * _argo0 = 0; | |
3713 | char *_kwnames[] = { "self", NULL }; | |
3714 | ||
3715 | self = self; | |
3716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_keyCode_get",_kwnames,&_argo0)) | |
3717 | return NULL; | |
3718 | if (_argo0) { | |
3719 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3720 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p."); | |
3722 | return NULL; | |
3723 | } | |
3724 | } | |
48115f4a | 3725 | { |
4268f798 | 3726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3727 | _result = (long )wxKeyEvent_m_keyCode_get(_arg0); |
c368d904 | 3728 | |
4268f798 | 3729 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3730 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3731 | } _resultobj = Py_BuildValue("l",_result); |
3732 | return _resultobj; | |
48115f4a | 3733 | } |
c368d904 RD |
3734 | |
3735 | #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval) | |
3736 | static PyObject *_wrap_wxKeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3737 | PyObject * _resultobj; | |
3738 | bool _result; | |
3739 | wxKeyEvent * _arg0; | |
3740 | bool _arg1; | |
3741 | PyObject * _argo0 = 0; | |
3742 | int tempbool1; | |
3743 | char *_kwnames[] = { "self","m_controlDown", NULL }; | |
3744 | ||
3745 | self = self; | |
3746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_controlDown_set",_kwnames,&_argo0,&tempbool1)) | |
3747 | return NULL; | |
3748 | if (_argo0) { | |
3749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p."); | |
3752 | return NULL; | |
3753 | } | |
3754 | } | |
3755 | _arg1 = (bool ) tempbool1; | |
48115f4a | 3756 | { |
4268f798 | 3757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3758 | _result = (bool )wxKeyEvent_m_controlDown_set(_arg0,_arg1); |
c368d904 | 3759 | |
4268f798 | 3760 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3761 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3762 | } _resultobj = Py_BuildValue("i",_result); |
3763 | return _resultobj; | |
3764 | } | |
3765 | ||
3766 | #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown) | |
3767 | static PyObject *_wrap_wxKeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3768 | PyObject * _resultobj; | |
3769 | bool _result; | |
3770 | wxKeyEvent * _arg0; | |
3771 | PyObject * _argo0 = 0; | |
3772 | char *_kwnames[] = { "self", NULL }; | |
3773 | ||
3774 | self = self; | |
3775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_controlDown_get",_kwnames,&_argo0)) | |
3776 | return NULL; | |
3777 | if (_argo0) { | |
3778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p."); | |
3781 | return NULL; | |
3782 | } | |
3783 | } | |
3784 | { | |
4268f798 | 3785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3786 | _result = (bool )wxKeyEvent_m_controlDown_get(_arg0); |
c368d904 | 3787 | |
4268f798 | 3788 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3789 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3790 | } _resultobj = Py_BuildValue("i",_result); |
3791 | return _resultobj; | |
3792 | } | |
3793 | ||
3794 | #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval) | |
3795 | static PyObject *_wrap_wxKeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3796 | PyObject * _resultobj; | |
3797 | bool _result; | |
3798 | wxKeyEvent * _arg0; | |
3799 | bool _arg1; | |
3800 | PyObject * _argo0 = 0; | |
3801 | int tempbool1; | |
3802 | char *_kwnames[] = { "self","m_shiftDown", NULL }; | |
3803 | ||
3804 | self = self; | |
3805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames,&_argo0,&tempbool1)) | |
3806 | return NULL; | |
3807 | if (_argo0) { | |
3808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p."); | |
3811 | return NULL; | |
3812 | } | |
3813 | } | |
3814 | _arg1 = (bool ) tempbool1; | |
3815 | { | |
4268f798 | 3816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3817 | _result = (bool )wxKeyEvent_m_shiftDown_set(_arg0,_arg1); |
c368d904 | 3818 | |
4268f798 | 3819 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3820 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3821 | } _resultobj = Py_BuildValue("i",_result); |
3822 | return _resultobj; | |
3823 | } | |
3824 | ||
3825 | #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown) | |
3826 | static PyObject *_wrap_wxKeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3827 | PyObject * _resultobj; | |
3828 | bool _result; | |
3829 | wxKeyEvent * _arg0; | |
3830 | PyObject * _argo0 = 0; | |
3831 | char *_kwnames[] = { "self", NULL }; | |
3832 | ||
3833 | self = self; | |
3834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_shiftDown_get",_kwnames,&_argo0)) | |
3835 | return NULL; | |
3836 | if (_argo0) { | |
3837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p."); | |
3840 | return NULL; | |
3841 | } | |
3842 | } | |
3843 | { | |
4268f798 | 3844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3845 | _result = (bool )wxKeyEvent_m_shiftDown_get(_arg0); |
c368d904 | 3846 | |
4268f798 | 3847 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3848 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3849 | } _resultobj = Py_BuildValue("i",_result); |
3850 | return _resultobj; | |
3851 | } | |
3852 | ||
3853 | #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval) | |
3854 | static PyObject *_wrap_wxKeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3855 | PyObject * _resultobj; | |
3856 | bool _result; | |
3857 | wxKeyEvent * _arg0; | |
3858 | bool _arg1; | |
3859 | PyObject * _argo0 = 0; | |
3860 | int tempbool1; | |
3861 | char *_kwnames[] = { "self","m_altDown", NULL }; | |
3862 | ||
3863 | self = self; | |
3864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_altDown_set",_kwnames,&_argo0,&tempbool1)) | |
3865 | return NULL; | |
3866 | if (_argo0) { | |
3867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p."); | |
3870 | return NULL; | |
3871 | } | |
3872 | } | |
3873 | _arg1 = (bool ) tempbool1; | |
3874 | { | |
4268f798 | 3875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3876 | _result = (bool )wxKeyEvent_m_altDown_set(_arg0,_arg1); |
c368d904 | 3877 | |
4268f798 | 3878 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3879 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3880 | } _resultobj = Py_BuildValue("i",_result); |
3881 | return _resultobj; | |
3882 | } | |
3883 | ||
3884 | #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown) | |
3885 | static PyObject *_wrap_wxKeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3886 | PyObject * _resultobj; | |
3887 | bool _result; | |
3888 | wxKeyEvent * _arg0; | |
3889 | PyObject * _argo0 = 0; | |
3890 | char *_kwnames[] = { "self", NULL }; | |
3891 | ||
3892 | self = self; | |
3893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_altDown_get",_kwnames,&_argo0)) | |
3894 | return NULL; | |
3895 | if (_argo0) { | |
3896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p."); | |
3899 | return NULL; | |
3900 | } | |
3901 | } | |
3902 | { | |
4268f798 | 3903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3904 | _result = (bool )wxKeyEvent_m_altDown_get(_arg0); |
c368d904 | 3905 | |
4268f798 | 3906 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3907 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3908 | } _resultobj = Py_BuildValue("i",_result); |
3909 | return _resultobj; | |
3910 | } | |
3911 | ||
3912 | #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval) | |
3913 | static PyObject *_wrap_wxKeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3914 | PyObject * _resultobj; | |
3915 | bool _result; | |
3916 | wxKeyEvent * _arg0; | |
3917 | bool _arg1; | |
3918 | PyObject * _argo0 = 0; | |
3919 | int tempbool1; | |
3920 | char *_kwnames[] = { "self","m_metaDown", NULL }; | |
3921 | ||
3922 | self = self; | |
3923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_metaDown_set",_kwnames,&_argo0,&tempbool1)) | |
3924 | return NULL; | |
3925 | if (_argo0) { | |
3926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p."); | |
3929 | return NULL; | |
3930 | } | |
3931 | } | |
3932 | _arg1 = (bool ) tempbool1; | |
3933 | { | |
4268f798 | 3934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3935 | _result = (bool )wxKeyEvent_m_metaDown_set(_arg0,_arg1); |
c368d904 | 3936 | |
4268f798 | 3937 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3938 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3939 | } _resultobj = Py_BuildValue("i",_result); |
3940 | return _resultobj; | |
3941 | } | |
3942 | ||
3943 | #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown) | |
3944 | static PyObject *_wrap_wxKeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3945 | PyObject * _resultobj; | |
3946 | bool _result; | |
3947 | wxKeyEvent * _arg0; | |
3948 | PyObject * _argo0 = 0; | |
3949 | char *_kwnames[] = { "self", NULL }; | |
3950 | ||
3951 | self = self; | |
3952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_metaDown_get",_kwnames,&_argo0)) | |
3953 | return NULL; | |
3954 | if (_argo0) { | |
3955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p."); | |
3958 | return NULL; | |
3959 | } | |
3960 | } | |
3961 | { | |
4268f798 | 3962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3963 | _result = (bool )wxKeyEvent_m_metaDown_get(_arg0); |
c368d904 | 3964 | |
4268f798 | 3965 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3966 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3967 | } _resultobj = Py_BuildValue("i",_result); |
3968 | return _resultobj; | |
3969 | } | |
3970 | ||
3971 | #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval) | |
3972 | static PyObject *_wrap_wxKeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3973 | PyObject * _resultobj; | |
3974 | bool _result; | |
3975 | wxKeyEvent * _arg0; | |
3976 | bool _arg1; | |
3977 | PyObject * _argo0 = 0; | |
3978 | int tempbool1; | |
3979 | char *_kwnames[] = { "self","m_scanCode", NULL }; | |
3980 | ||
3981 | self = self; | |
3982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxKeyEvent_m_scanCode_set",_kwnames,&_argo0,&tempbool1)) | |
3983 | return NULL; | |
3984 | if (_argo0) { | |
3985 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3986 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
3987 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p."); | |
3988 | return NULL; | |
3989 | } | |
3990 | } | |
3991 | _arg1 = (bool ) tempbool1; | |
3992 | { | |
4268f798 | 3993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3994 | _result = (bool )wxKeyEvent_m_scanCode_set(_arg0,_arg1); |
c368d904 | 3995 | |
4268f798 | 3996 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3997 | if (PyErr_Occurred()) return NULL; |
c368d904 RD |
3998 | } _resultobj = Py_BuildValue("i",_result); |
3999 | return _resultobj; | |
48115f4a | 4000 | } |
c368d904 RD |
4001 | |
4002 | #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode) | |
4003 | static PyObject *_wrap_wxKeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4004 | PyObject * _resultobj; | |
4005 | bool _result; | |
4006 | wxKeyEvent * _arg0; | |
4007 | PyObject * _argo0 = 0; | |
4008 | char *_kwnames[] = { "self", NULL }; | |
4009 | ||
4010 | self = self; | |
4011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_scanCode_get",_kwnames,&_argo0)) | |
4012 | return NULL; | |
4013 | if (_argo0) { | |
4014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
4016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p."); | |
4017 | return NULL; | |
4018 | } | |
4019 | } | |
4020 | { | |
4268f798 | 4021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4022 | _result = (bool )wxKeyEvent_m_scanCode_get(_arg0); |
c368d904 | 4023 | |
4268f798 | 4024 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4025 | if (PyErr_Occurred()) return NULL; |
c368d904 | 4026 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
4027 | return _resultobj; |
4028 | } | |
4029 | ||
db0ff83e RD |
4030 | #define wxKeyEvent_m_rawCode_set(_swigobj,_swigval) (_swigobj->m_rawCode = _swigval,_swigval) |
4031 | static PyObject *_wrap_wxKeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4032 | PyObject * _resultobj; | |
4033 | long _result; | |
4034 | wxKeyEvent * _arg0; | |
4035 | long _arg1; | |
4036 | PyObject * _argo0 = 0; | |
4037 | char *_kwnames[] = { "self","m_rawCode", NULL }; | |
4038 | ||
4039 | self = self; | |
4040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_rawCode_set",_kwnames,&_argo0,&_arg1)) | |
4041 | return NULL; | |
4042 | if (_argo0) { | |
4043 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4044 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
4045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_rawCode_set. Expected _wxKeyEvent_p."); | |
4046 | return NULL; | |
4047 | } | |
4048 | } | |
4049 | { | |
4050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4051 | _result = (long )wxKeyEvent_m_rawCode_set(_arg0,_arg1); | |
4052 | ||
4053 | wxPyEndAllowThreads(__tstate); | |
4054 | if (PyErr_Occurred()) return NULL; | |
4055 | } _resultobj = Py_BuildValue("l",_result); | |
4056 | return _resultobj; | |
4057 | } | |
4058 | ||
4059 | #define wxKeyEvent_m_rawCode_get(_swigobj) ((long ) _swigobj->m_rawCode) | |
4060 | static PyObject *_wrap_wxKeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4061 | PyObject * _resultobj; | |
4062 | long _result; | |
4063 | wxKeyEvent * _arg0; | |
4064 | PyObject * _argo0 = 0; | |
4065 | char *_kwnames[] = { "self", NULL }; | |
4066 | ||
4067 | self = self; | |
4068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_rawCode_get",_kwnames,&_argo0)) | |
4069 | return NULL; | |
4070 | if (_argo0) { | |
4071 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4072 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
4073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_rawCode_get. Expected _wxKeyEvent_p."); | |
4074 | return NULL; | |
4075 | } | |
4076 | } | |
4077 | { | |
4078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4079 | _result = (long )wxKeyEvent_m_rawCode_get(_arg0); | |
4080 | ||
4081 | wxPyEndAllowThreads(__tstate); | |
4082 | if (PyErr_Occurred()) return NULL; | |
4083 | } _resultobj = Py_BuildValue("l",_result); | |
4084 | return _resultobj; | |
4085 | } | |
4086 | ||
4087 | #define wxKeyEvent_m_rawFlags_set(_swigobj,_swigval) (_swigobj->m_rawFlags = _swigval,_swigval) | |
4088 | static PyObject *_wrap_wxKeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4089 | PyObject * _resultobj; | |
4090 | long _result; | |
4091 | wxKeyEvent * _arg0; | |
4092 | long _arg1; | |
4093 | PyObject * _argo0 = 0; | |
4094 | char *_kwnames[] = { "self","m_rawFlags", NULL }; | |
4095 | ||
4096 | self = self; | |
4097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxKeyEvent_m_rawFlags_set",_kwnames,&_argo0,&_arg1)) | |
4098 | return NULL; | |
4099 | if (_argo0) { | |
4100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
4102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_rawFlags_set. Expected _wxKeyEvent_p."); | |
4103 | return NULL; | |
4104 | } | |
4105 | } | |
4106 | { | |
4107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4108 | _result = (long )wxKeyEvent_m_rawFlags_set(_arg0,_arg1); | |
4109 | ||
4110 | wxPyEndAllowThreads(__tstate); | |
4111 | if (PyErr_Occurred()) return NULL; | |
4112 | } _resultobj = Py_BuildValue("l",_result); | |
4113 | return _resultobj; | |
4114 | } | |
4115 | ||
4116 | #define wxKeyEvent_m_rawFlags_get(_swigobj) ((long ) _swigobj->m_rawFlags) | |
4117 | static PyObject *_wrap_wxKeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4118 | PyObject * _resultobj; | |
4119 | long _result; | |
4120 | wxKeyEvent * _arg0; | |
4121 | PyObject * _argo0 = 0; | |
4122 | char *_kwnames[] = { "self", NULL }; | |
4123 | ||
4124 | self = self; | |
4125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxKeyEvent_m_rawFlags_get",_kwnames,&_argo0)) | |
4126 | return NULL; | |
4127 | if (_argo0) { | |
4128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxKeyEvent_p")) { | |
4130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_m_rawFlags_get. Expected _wxKeyEvent_p."); | |
4131 | return NULL; | |
4132 | } | |
4133 | } | |
4134 | { | |
4135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4136 | _result = (long )wxKeyEvent_m_rawFlags_get(_arg0); | |
4137 | ||
4138 | wxPyEndAllowThreads(__tstate); | |
4139 | if (PyErr_Occurred()) return NULL; | |
4140 | } _resultobj = Py_BuildValue("l",_result); | |
4141 | return _resultobj; | |
4142 | } | |
4143 | ||
48115f4a RD |
4144 | static void *SwigwxNavigationKeyEventTowxEvent(void *ptr) { |
4145 | wxNavigationKeyEvent *src; | |
8ab979d7 | 4146 | wxEvent *dest; |
48115f4a | 4147 | src = (wxNavigationKeyEvent *) ptr; |
8ab979d7 RD |
4148 | dest = (wxEvent *) src; |
4149 | return (void *) dest; | |
4150 | } | |
4151 | ||
9416aa89 RD |
4152 | static void *SwigwxNavigationKeyEventTowxObject(void *ptr) { |
4153 | wxNavigationKeyEvent *src; | |
4154 | wxObject *dest; | |
4155 | src = (wxNavigationKeyEvent *) ptr; | |
4156 | dest = (wxObject *) src; | |
4157 | return (void *) dest; | |
4158 | } | |
4159 | ||
48115f4a RD |
4160 | #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent()) |
4161 | static PyObject *_wrap_new_wxNavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4162 | PyObject * _resultobj; |
48115f4a RD |
4163 | wxNavigationKeyEvent * _result; |
4164 | char *_kwnames[] = { NULL }; | |
4165 | char _ptemp[128]; | |
8ab979d7 RD |
4166 | |
4167 | self = self; | |
48115f4a | 4168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNavigationKeyEvent",_kwnames)) |
8ab979d7 | 4169 | return NULL; |
cf694132 | 4170 | { |
4268f798 | 4171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4172 | _result = (wxNavigationKeyEvent *)new_wxNavigationKeyEvent(); |
cf694132 | 4173 | |
4268f798 | 4174 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4175 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4176 | } if (_result) { |
4177 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNavigationKeyEvent_p"); | |
4178 | _resultobj = Py_BuildValue("s",_ptemp); | |
4179 | } else { | |
4180 | Py_INCREF(Py_None); | |
4181 | _resultobj = Py_None; | |
4182 | } | |
8ab979d7 RD |
4183 | return _resultobj; |
4184 | } | |
4185 | ||
48115f4a RD |
4186 | #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection()) |
4187 | static PyObject *_wrap_wxNavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
4188 | PyObject * _resultobj; |
4189 | bool _result; | |
48115f4a | 4190 | wxNavigationKeyEvent * _arg0; |
1d99702e | 4191 | PyObject * _argo0 = 0; |
efc5f224 | 4192 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4193 | |
4194 | self = self; | |
48115f4a | 4195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetDirection",_kwnames,&_argo0)) |
8ab979d7 | 4196 | return NULL; |
1d99702e RD |
4197 | if (_argo0) { |
4198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
4200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
4201 | return NULL; |
4202 | } | |
4203 | } | |
cf694132 | 4204 | { |
4268f798 | 4205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4206 | _result = (bool )wxNavigationKeyEvent_GetDirection(_arg0); |
cf694132 | 4207 | |
4268f798 | 4208 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4209 | if (PyErr_Occurred()) return NULL; |
cf694132 | 4210 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
4211 | return _resultobj; |
4212 | } | |
4213 | ||
48115f4a RD |
4214 | #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0)) |
4215 | static PyObject *_wrap_wxNavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4216 | PyObject * _resultobj; |
48115f4a RD |
4217 | wxNavigationKeyEvent * _arg0; |
4218 | bool _arg1; | |
1d99702e | 4219 | PyObject * _argo0 = 0; |
48115f4a RD |
4220 | int tempbool1; |
4221 | char *_kwnames[] = { "self","bForward", NULL }; | |
8ab979d7 RD |
4222 | |
4223 | self = self; | |
48115f4a | 4224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 4225 | return NULL; |
1d99702e RD |
4226 | if (_argo0) { |
4227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
4229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
4230 | return NULL; |
4231 | } | |
4232 | } | |
48115f4a | 4233 | _arg1 = (bool ) tempbool1; |
cf694132 | 4234 | { |
4268f798 | 4235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4236 | wxNavigationKeyEvent_SetDirection(_arg0,_arg1); |
cf694132 | 4237 | |
4268f798 | 4238 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4239 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4240 | } Py_INCREF(Py_None); |
4241 | _resultobj = Py_None; | |
8ab979d7 RD |
4242 | return _resultobj; |
4243 | } | |
4244 | ||
48115f4a RD |
4245 | #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange()) |
4246 | static PyObject *_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4247 | PyObject * _resultobj; |
48115f4a RD |
4248 | bool _result; |
4249 | wxNavigationKeyEvent * _arg0; | |
1d99702e | 4250 | PyObject * _argo0 = 0; |
efc5f224 | 4251 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4252 | |
4253 | self = self; | |
48115f4a | 4254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames,&_argo0)) |
8ab979d7 | 4255 | return NULL; |
1d99702e RD |
4256 | if (_argo0) { |
4257 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4258 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
4259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
4260 | return NULL; |
4261 | } | |
4262 | } | |
cf694132 | 4263 | { |
4268f798 | 4264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4265 | _result = (bool )wxNavigationKeyEvent_IsWindowChange(_arg0); |
cf694132 | 4266 | |
4268f798 | 4267 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4268 | if (PyErr_Occurred()) return NULL; |
cf694132 | 4269 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
4270 | return _resultobj; |
4271 | } | |
4272 | ||
48115f4a RD |
4273 | #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0)) |
4274 | static PyObject *_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4275 | PyObject * _resultobj; |
48115f4a RD |
4276 | wxNavigationKeyEvent * _arg0; |
4277 | bool _arg1; | |
1d99702e | 4278 | PyObject * _argo0 = 0; |
48115f4a RD |
4279 | int tempbool1; |
4280 | char *_kwnames[] = { "self","bIs", NULL }; | |
8ab979d7 RD |
4281 | |
4282 | self = self; | |
48115f4a | 4283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 4284 | return NULL; |
1d99702e RD |
4285 | if (_argo0) { |
4286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
4288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
4289 | return NULL; |
4290 | } | |
4291 | } | |
48115f4a | 4292 | _arg1 = (bool ) tempbool1; |
cf694132 | 4293 | { |
4268f798 | 4294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4295 | wxNavigationKeyEvent_SetWindowChange(_arg0,_arg1); |
cf694132 | 4296 | |
4268f798 | 4297 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4298 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4299 | } Py_INCREF(Py_None); |
4300 | _resultobj = Py_None; | |
8ab979d7 RD |
4301 | return _resultobj; |
4302 | } | |
4303 | ||
48115f4a RD |
4304 | #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus()) |
4305 | static PyObject *_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4306 | PyObject * _resultobj; |
48115f4a RD |
4307 | wxWindow * _result; |
4308 | wxNavigationKeyEvent * _arg0; | |
1d99702e | 4309 | PyObject * _argo0 = 0; |
efc5f224 | 4310 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4311 | |
4312 | self = self; | |
48115f4a | 4313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames,&_argo0)) |
8ab979d7 | 4314 | return NULL; |
1d99702e RD |
4315 | if (_argo0) { |
4316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
4318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p."); | |
8ab979d7 RD |
4319 | return NULL; |
4320 | } | |
4321 | } | |
cf694132 | 4322 | { |
4268f798 | 4323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4324 | _result = (wxWindow *)wxNavigationKeyEvent_GetCurrentFocus(_arg0); |
cf694132 | 4325 | |
4268f798 | 4326 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4327 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 4328 | }{ _resultobj = wxPyMake_wxObject(_result); } |
8ab979d7 RD |
4329 | return _resultobj; |
4330 | } | |
4331 | ||
48115f4a RD |
4332 | #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0)) |
4333 | static PyObject *_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4334 | PyObject * _resultobj; |
48115f4a RD |
4335 | wxNavigationKeyEvent * _arg0; |
4336 | wxWindow * _arg1; | |
1d99702e | 4337 | PyObject * _argo0 = 0; |
48115f4a RD |
4338 | PyObject * _argo1 = 0; |
4339 | char *_kwnames[] = { "self","win", NULL }; | |
8ab979d7 RD |
4340 | |
4341 | self = self; | |
48115f4a | 4342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4343 | return NULL; |
1d99702e RD |
4344 | if (_argo0) { |
4345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
4346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNavigationKeyEvent_p")) { |
4347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p."); | |
4348 | return NULL; | |
4349 | } | |
4350 | } | |
4351 | if (_argo1) { | |
4352 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4353 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
4354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p."); | |
8ab979d7 RD |
4355 | return NULL; |
4356 | } | |
4357 | } | |
cf694132 | 4358 | { |
4268f798 | 4359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4360 | wxNavigationKeyEvent_SetCurrentFocus(_arg0,_arg1); |
cf694132 | 4361 | |
4268f798 | 4362 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4363 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4364 | } Py_INCREF(Py_None); |
4365 | _resultobj = Py_None; | |
8ab979d7 RD |
4366 | return _resultobj; |
4367 | } | |
4368 | ||
48115f4a RD |
4369 | static void *SwigwxMoveEventTowxEvent(void *ptr) { |
4370 | wxMoveEvent *src; | |
4371 | wxEvent *dest; | |
4372 | src = (wxMoveEvent *) ptr; | |
4373 | dest = (wxEvent *) src; | |
4374 | return (void *) dest; | |
4375 | } | |
4376 | ||
9416aa89 RD |
4377 | static void *SwigwxMoveEventTowxObject(void *ptr) { |
4378 | wxMoveEvent *src; | |
4379 | wxObject *dest; | |
4380 | src = (wxMoveEvent *) ptr; | |
4381 | dest = (wxObject *) src; | |
4382 | return (void *) dest; | |
4383 | } | |
4384 | ||
48115f4a RD |
4385 | #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1)) |
4386 | static PyObject *_wrap_new_wxMoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4387 | PyObject * _resultobj; |
48115f4a RD |
4388 | wxMoveEvent * _result; |
4389 | wxPoint * _arg0; | |
4390 | int _arg1 = (int ) 0; | |
4391 | wxPoint temp; | |
4392 | PyObject * _obj0 = 0; | |
4393 | char *_kwnames[] = { "pt","id", NULL }; | |
4394 | char _ptemp[128]; | |
8ab979d7 RD |
4395 | |
4396 | self = self; | |
48115f4a | 4397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxMoveEvent",_kwnames,&_obj0,&_arg1)) |
8ab979d7 | 4398 | return NULL; |
48115f4a RD |
4399 | { |
4400 | _arg0 = &temp; | |
4401 | if (! wxPoint_helper(_obj0, &_arg0)) | |
8ab979d7 | 4402 | return NULL; |
48115f4a | 4403 | } |
cf694132 | 4404 | { |
4268f798 | 4405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4406 | _result = (wxMoveEvent *)new_wxMoveEvent(*_arg0,_arg1); |
cf694132 | 4407 | |
4268f798 | 4408 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4409 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4410 | } if (_result) { |
4411 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMoveEvent_p"); | |
4412 | _resultobj = Py_BuildValue("s",_ptemp); | |
4413 | } else { | |
4414 | Py_INCREF(Py_None); | |
4415 | _resultobj = Py_None; | |
4416 | } | |
4417 | return _resultobj; | |
4418 | } | |
4419 | ||
4420 | #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
4421 | static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4422 | PyObject * _resultobj; | |
4423 | wxPoint * _result; | |
4424 | wxMoveEvent * _arg0; | |
4425 | PyObject * _argo0 = 0; | |
4426 | char *_kwnames[] = { "self", NULL }; | |
4427 | char _ptemp[128]; | |
4428 | ||
4429 | self = self; | |
4430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMoveEvent_GetPosition",_kwnames,&_argo0)) | |
4431 | return NULL; | |
4432 | if (_argo0) { | |
4433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMoveEvent_p")) { | |
4435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p."); | |
4436 | return NULL; | |
4437 | } | |
4438 | } | |
4439 | { | |
4268f798 | 4440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4441 | _result = new wxPoint (wxMoveEvent_GetPosition(_arg0)); |
48115f4a | 4442 | |
4268f798 | 4443 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4444 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4445 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
4446 | _resultobj = Py_BuildValue("s",_ptemp); | |
4447 | return _resultobj; | |
4448 | } | |
4449 | ||
4450 | static void *SwigwxPaintEventTowxEvent(void *ptr) { | |
4451 | wxPaintEvent *src; | |
4452 | wxEvent *dest; | |
4453 | src = (wxPaintEvent *) ptr; | |
4454 | dest = (wxEvent *) src; | |
4455 | return (void *) dest; | |
4456 | } | |
4457 | ||
9416aa89 RD |
4458 | static void *SwigwxPaintEventTowxObject(void *ptr) { |
4459 | wxPaintEvent *src; | |
4460 | wxObject *dest; | |
4461 | src = (wxPaintEvent *) ptr; | |
4462 | dest = (wxObject *) src; | |
4463 | return (void *) dest; | |
4464 | } | |
4465 | ||
48115f4a RD |
4466 | #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0)) |
4467 | static PyObject *_wrap_new_wxPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4468 | PyObject * _resultobj; | |
4469 | wxPaintEvent * _result; | |
4470 | int _arg0 = (int ) 0; | |
4471 | char *_kwnames[] = { "id", NULL }; | |
4472 | char _ptemp[128]; | |
4473 | ||
4474 | self = self; | |
4475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaintEvent",_kwnames,&_arg0)) | |
4476 | return NULL; | |
4477 | { | |
4268f798 | 4478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4479 | _result = (wxPaintEvent *)new_wxPaintEvent(_arg0); |
48115f4a | 4480 | |
4268f798 | 4481 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4482 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4483 | } if (_result) { |
4484 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintEvent_p"); | |
4485 | _resultobj = Py_BuildValue("s",_ptemp); | |
4486 | } else { | |
4487 | Py_INCREF(Py_None); | |
4488 | _resultobj = Py_None; | |
4489 | } | |
4490 | return _resultobj; | |
4491 | } | |
4492 | ||
4493 | static void *SwigwxEraseEventTowxEvent(void *ptr) { | |
4494 | wxEraseEvent *src; | |
4495 | wxEvent *dest; | |
4496 | src = (wxEraseEvent *) ptr; | |
4497 | dest = (wxEvent *) src; | |
4498 | return (void *) dest; | |
4499 | } | |
4500 | ||
9416aa89 RD |
4501 | static void *SwigwxEraseEventTowxObject(void *ptr) { |
4502 | wxEraseEvent *src; | |
4503 | wxObject *dest; | |
4504 | src = (wxEraseEvent *) ptr; | |
4505 | dest = (wxObject *) src; | |
4506 | return (void *) dest; | |
4507 | } | |
4508 | ||
48115f4a RD |
4509 | #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1)) |
4510 | static PyObject *_wrap_new_wxEraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4511 | PyObject * _resultobj; | |
4512 | wxEraseEvent * _result; | |
4513 | int _arg0 = (int ) 0; | |
4514 | wxDC * _arg1 = (wxDC *) NULL; | |
4515 | PyObject * _argo1 = 0; | |
4516 | char *_kwnames[] = { "id","dc", NULL }; | |
4517 | char _ptemp[128]; | |
4518 | ||
4519 | self = self; | |
4520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxEraseEvent",_kwnames,&_arg0,&_argo1)) | |
4521 | return NULL; | |
4522 | if (_argo1) { | |
4523 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4524 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p."); | |
4526 | return NULL; | |
4527 | } | |
4528 | } | |
4529 | { | |
4268f798 | 4530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4531 | _result = (wxEraseEvent *)new_wxEraseEvent(_arg0,_arg1); |
48115f4a | 4532 | |
4268f798 | 4533 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4534 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4535 | } if (_result) { |
4536 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxEraseEvent_p"); | |
4537 | _resultobj = Py_BuildValue("s",_ptemp); | |
4538 | } else { | |
4539 | Py_INCREF(Py_None); | |
4540 | _resultobj = Py_None; | |
4541 | } | |
4542 | return _resultobj; | |
4543 | } | |
4544 | ||
4545 | #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC()) | |
4546 | static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4547 | PyObject * _resultobj; | |
4548 | wxDC * _result; | |
4549 | wxEraseEvent * _arg0; | |
4550 | PyObject * _argo0 = 0; | |
4551 | char *_kwnames[] = { "self", NULL }; | |
48115f4a RD |
4552 | |
4553 | self = self; | |
4554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEraseEvent_GetDC",_kwnames,&_argo0)) | |
4555 | return NULL; | |
4556 | if (_argo0) { | |
4557 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4558 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEraseEvent_p")) { | |
4559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p."); | |
4560 | return NULL; | |
4561 | } | |
4562 | } | |
4563 | { | |
4268f798 | 4564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4565 | _result = (wxDC *)wxEraseEvent_GetDC(_arg0); |
48115f4a | 4566 | |
4268f798 | 4567 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4568 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 4569 | }{ _resultobj = wxPyMake_wxObject(_result); } |
48115f4a RD |
4570 | return _resultobj; |
4571 | } | |
4572 | ||
4573 | static void *SwigwxFocusEventTowxEvent(void *ptr) { | |
4574 | wxFocusEvent *src; | |
4575 | wxEvent *dest; | |
4576 | src = (wxFocusEvent *) ptr; | |
4577 | dest = (wxEvent *) src; | |
4578 | return (void *) dest; | |
4579 | } | |
4580 | ||
9416aa89 RD |
4581 | static void *SwigwxFocusEventTowxObject(void *ptr) { |
4582 | wxFocusEvent *src; | |
4583 | wxObject *dest; | |
4584 | src = (wxFocusEvent *) ptr; | |
4585 | dest = (wxObject *) src; | |
4586 | return (void *) dest; | |
4587 | } | |
4588 | ||
48115f4a RD |
4589 | #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1)) |
4590 | static PyObject *_wrap_new_wxFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4591 | PyObject * _resultobj; | |
4592 | wxFocusEvent * _result; | |
4593 | WXTYPE _arg0 = (WXTYPE ) 0; | |
4594 | int _arg1 = (int ) 0; | |
4595 | char *_kwnames[] = { "eventType","id", NULL }; | |
4596 | char _ptemp[128]; | |
4597 | ||
4598 | self = self; | |
4599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxFocusEvent",_kwnames,&_arg0,&_arg1)) | |
4600 | return NULL; | |
4601 | { | |
4268f798 | 4602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4603 | _result = (wxFocusEvent *)new_wxFocusEvent(_arg0,_arg1); |
48115f4a | 4604 | |
4268f798 | 4605 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4606 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4607 | } if (_result) { |
4608 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFocusEvent_p"); | |
4609 | _resultobj = Py_BuildValue("s",_ptemp); | |
4610 | } else { | |
4611 | Py_INCREF(Py_None); | |
4612 | _resultobj = Py_None; | |
4613 | } | |
4614 | return _resultobj; | |
4615 | } | |
4616 | ||
7b7ac0ab RD |
4617 | static void *SwigwxChildFocusEventTowxCommandEvent(void *ptr) { |
4618 | wxChildFocusEvent *src; | |
4619 | wxCommandEvent *dest; | |
4620 | src = (wxChildFocusEvent *) ptr; | |
4621 | dest = (wxCommandEvent *) src; | |
4622 | return (void *) dest; | |
4623 | } | |
4624 | ||
4625 | static void *SwigwxChildFocusEventTowxEvent(void *ptr) { | |
4626 | wxChildFocusEvent *src; | |
4627 | wxEvent *dest; | |
4628 | src = (wxChildFocusEvent *) ptr; | |
4629 | dest = (wxEvent *) src; | |
4630 | return (void *) dest; | |
4631 | } | |
4632 | ||
4633 | static void *SwigwxChildFocusEventTowxObject(void *ptr) { | |
4634 | wxChildFocusEvent *src; | |
4635 | wxObject *dest; | |
4636 | src = (wxChildFocusEvent *) ptr; | |
4637 | dest = (wxObject *) src; | |
4638 | return (void *) dest; | |
4639 | } | |
4640 | ||
4641 | #define new_wxChildFocusEvent(_swigarg0) (new wxChildFocusEvent(_swigarg0)) | |
4642 | static PyObject *_wrap_new_wxChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4643 | PyObject * _resultobj; | |
4644 | wxChildFocusEvent * _result; | |
4645 | wxWindow * _arg0 = (wxWindow *) NULL; | |
4646 | PyObject * _argo0 = 0; | |
4647 | char *_kwnames[] = { "win", NULL }; | |
4648 | char _ptemp[128]; | |
4649 | ||
4650 | self = self; | |
4651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxChildFocusEvent",_kwnames,&_argo0)) | |
4652 | return NULL; | |
4653 | if (_argo0) { | |
4654 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4655 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
4656 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChildFocusEvent. Expected _wxWindow_p."); | |
4657 | return NULL; | |
4658 | } | |
4659 | } | |
4660 | { | |
4268f798 | 4661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4662 | _result = (wxChildFocusEvent *)new_wxChildFocusEvent(_arg0); |
7b7ac0ab | 4663 | |
4268f798 | 4664 | wxPyEndAllowThreads(__tstate); |
7b7ac0ab RD |
4665 | if (PyErr_Occurred()) return NULL; |
4666 | } if (_result) { | |
4667 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxChildFocusEvent_p"); | |
4668 | _resultobj = Py_BuildValue("s",_ptemp); | |
4669 | } else { | |
4670 | Py_INCREF(Py_None); | |
4671 | _resultobj = Py_None; | |
4672 | } | |
4673 | return _resultobj; | |
4674 | } | |
4675 | ||
4676 | #define wxChildFocusEvent_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
4677 | static PyObject *_wrap_wxChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4678 | PyObject * _resultobj; | |
4679 | wxWindow * _result; | |
4680 | wxChildFocusEvent * _arg0; | |
4681 | PyObject * _argo0 = 0; | |
4682 | char *_kwnames[] = { "self", NULL }; | |
4683 | ||
4684 | self = self; | |
4685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChildFocusEvent_GetWindow",_kwnames,&_argo0)) | |
4686 | return NULL; | |
4687 | if (_argo0) { | |
4688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChildFocusEvent_p")) { | |
4690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChildFocusEvent_GetWindow. Expected _wxChildFocusEvent_p."); | |
4691 | return NULL; | |
4692 | } | |
4693 | } | |
4694 | { | |
4268f798 | 4695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4696 | _result = (wxWindow *)wxChildFocusEvent_GetWindow(_arg0); |
7b7ac0ab | 4697 | |
4268f798 | 4698 | wxPyEndAllowThreads(__tstate); |
7b7ac0ab RD |
4699 | if (PyErr_Occurred()) return NULL; |
4700 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
4701 | return _resultobj; | |
4702 | } | |
4703 | ||
48115f4a RD |
4704 | static void *SwigwxActivateEventTowxEvent(void *ptr) { |
4705 | wxActivateEvent *src; | |
4706 | wxEvent *dest; | |
4707 | src = (wxActivateEvent *) ptr; | |
4708 | dest = (wxEvent *) src; | |
4709 | return (void *) dest; | |
4710 | } | |
4711 | ||
9416aa89 RD |
4712 | static void *SwigwxActivateEventTowxObject(void *ptr) { |
4713 | wxActivateEvent *src; | |
4714 | wxObject *dest; | |
4715 | src = (wxActivateEvent *) ptr; | |
4716 | dest = (wxObject *) src; | |
4717 | return (void *) dest; | |
4718 | } | |
4719 | ||
48115f4a RD |
4720 | #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2)) |
4721 | static PyObject *_wrap_new_wxActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4722 | PyObject * _resultobj; | |
4723 | wxActivateEvent * _result; | |
4724 | WXTYPE _arg0 = (WXTYPE ) 0; | |
4725 | int _arg1 = (int ) TRUE; | |
4726 | int _arg2 = (int ) 0; | |
4727 | char *_kwnames[] = { "eventType","active","id", NULL }; | |
4728 | char _ptemp[128]; | |
4729 | ||
4730 | self = self; | |
4731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hii:new_wxActivateEvent",_kwnames,&_arg0,&_arg1,&_arg2)) | |
4732 | return NULL; | |
4733 | { | |
4268f798 | 4734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4735 | _result = (wxActivateEvent *)new_wxActivateEvent(_arg0,_arg1,_arg2); |
48115f4a | 4736 | |
4268f798 | 4737 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4738 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4739 | } if (_result) { |
4740 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxActivateEvent_p"); | |
4741 | _resultobj = Py_BuildValue("s",_ptemp); | |
4742 | } else { | |
4743 | Py_INCREF(Py_None); | |
4744 | _resultobj = Py_None; | |
4745 | } | |
4746 | return _resultobj; | |
4747 | } | |
4748 | ||
4749 | #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive()) | |
4750 | static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4751 | PyObject * _resultobj; | |
4752 | bool _result; | |
4753 | wxActivateEvent * _arg0; | |
4754 | PyObject * _argo0 = 0; | |
4755 | char *_kwnames[] = { "self", NULL }; | |
4756 | ||
4757 | self = self; | |
4758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxActivateEvent_GetActive",_kwnames,&_argo0)) | |
4759 | return NULL; | |
4760 | if (_argo0) { | |
4761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxActivateEvent_p")) { | |
4763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p."); | |
4764 | return NULL; | |
4765 | } | |
4766 | } | |
4767 | { | |
4268f798 | 4768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4769 | _result = (bool )wxActivateEvent_GetActive(_arg0); |
48115f4a | 4770 | |
4268f798 | 4771 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4772 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4773 | } _resultobj = Py_BuildValue("i",_result); |
4774 | return _resultobj; | |
4775 | } | |
4776 | ||
4777 | static void *SwigwxInitDialogEventTowxEvent(void *ptr) { | |
4778 | wxInitDialogEvent *src; | |
4779 | wxEvent *dest; | |
4780 | src = (wxInitDialogEvent *) ptr; | |
4781 | dest = (wxEvent *) src; | |
4782 | return (void *) dest; | |
4783 | } | |
4784 | ||
9416aa89 RD |
4785 | static void *SwigwxInitDialogEventTowxObject(void *ptr) { |
4786 | wxInitDialogEvent *src; | |
4787 | wxObject *dest; | |
4788 | src = (wxInitDialogEvent *) ptr; | |
4789 | dest = (wxObject *) src; | |
4790 | return (void *) dest; | |
4791 | } | |
4792 | ||
48115f4a RD |
4793 | #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0)) |
4794 | static PyObject *_wrap_new_wxInitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4795 | PyObject * _resultobj; | |
4796 | wxInitDialogEvent * _result; | |
4797 | int _arg0 = (int ) 0; | |
4798 | char *_kwnames[] = { "id", NULL }; | |
4799 | char _ptemp[128]; | |
4800 | ||
4801 | self = self; | |
4802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxInitDialogEvent",_kwnames,&_arg0)) | |
4803 | return NULL; | |
4804 | { | |
4268f798 | 4805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4806 | _result = (wxInitDialogEvent *)new_wxInitDialogEvent(_arg0); |
48115f4a | 4807 | |
4268f798 | 4808 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4809 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4810 | } if (_result) { |
4811 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxInitDialogEvent_p"); | |
4812 | _resultobj = Py_BuildValue("s",_ptemp); | |
4813 | } else { | |
4814 | Py_INCREF(Py_None); | |
4815 | _resultobj = Py_None; | |
4816 | } | |
4817 | return _resultobj; | |
4818 | } | |
4819 | ||
4820 | static void *SwigwxMenuEventTowxEvent(void *ptr) { | |
4821 | wxMenuEvent *src; | |
4822 | wxEvent *dest; | |
4823 | src = (wxMenuEvent *) ptr; | |
4824 | dest = (wxEvent *) src; | |
4825 | return (void *) dest; | |
4826 | } | |
4827 | ||
9416aa89 RD |
4828 | static void *SwigwxMenuEventTowxObject(void *ptr) { |
4829 | wxMenuEvent *src; | |
4830 | wxObject *dest; | |
4831 | src = (wxMenuEvent *) ptr; | |
4832 | dest = (wxObject *) src; | |
4833 | return (void *) dest; | |
4834 | } | |
4835 | ||
48115f4a RD |
4836 | #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1)) |
4837 | static PyObject *_wrap_new_wxMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4838 | PyObject * _resultobj; | |
4839 | wxMenuEvent * _result; | |
4840 | WXTYPE _arg0 = (WXTYPE ) 0; | |
4841 | int _arg1 = (int ) 0; | |
4842 | char *_kwnames[] = { "id","id", NULL }; | |
4843 | char _ptemp[128]; | |
4844 | ||
4845 | self = self; | |
4846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|hi:new_wxMenuEvent",_kwnames,&_arg0,&_arg1)) | |
4847 | return NULL; | |
4848 | { | |
4268f798 | 4849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4850 | _result = (wxMenuEvent *)new_wxMenuEvent(_arg0,_arg1); |
48115f4a | 4851 | |
4268f798 | 4852 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4853 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4854 | } if (_result) { |
4855 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuEvent_p"); | |
4856 | _resultobj = Py_BuildValue("s",_ptemp); | |
4857 | } else { | |
4858 | Py_INCREF(Py_None); | |
4859 | _resultobj = Py_None; | |
4860 | } | |
4861 | return _resultobj; | |
4862 | } | |
4863 | ||
4864 | #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId()) | |
4865 | static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4866 | PyObject * _resultobj; | |
4867 | int _result; | |
4868 | wxMenuEvent * _arg0; | |
4869 | PyObject * _argo0 = 0; | |
4870 | char *_kwnames[] = { "self", NULL }; | |
4871 | ||
4872 | self = self; | |
4873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_GetMenuId",_kwnames,&_argo0)) | |
4874 | return NULL; | |
4875 | if (_argo0) { | |
4876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) { | |
4878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p."); | |
4879 | return NULL; | |
4880 | } | |
4881 | } | |
4882 | { | |
4268f798 | 4883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4884 | _result = (int )wxMenuEvent_GetMenuId(_arg0); |
48115f4a | 4885 | |
4268f798 | 4886 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4887 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4888 | } _resultobj = Py_BuildValue("i",_result); |
4889 | return _resultobj; | |
4890 | } | |
4891 | ||
afb810d9 RD |
4892 | #define wxMenuEvent_IsPopup(_swigobj) (_swigobj->IsPopup()) |
4893 | static PyObject *_wrap_wxMenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4894 | PyObject * _resultobj; | |
4895 | bool _result; | |
4896 | wxMenuEvent * _arg0; | |
4897 | PyObject * _argo0 = 0; | |
4898 | char *_kwnames[] = { "self", NULL }; | |
4899 | ||
4900 | self = self; | |
4901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuEvent_IsPopup",_kwnames,&_argo0)) | |
4902 | return NULL; | |
4903 | if (_argo0) { | |
4904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuEvent_p")) { | |
4906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_IsPopup. Expected _wxMenuEvent_p."); | |
4907 | return NULL; | |
4908 | } | |
4909 | } | |
4910 | { | |
4911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 4912 | _result = (bool )wxMenuEvent_IsPopup(_arg0); |
afb810d9 RD |
4913 | |
4914 | wxPyEndAllowThreads(__tstate); | |
4915 | if (PyErr_Occurred()) return NULL; | |
4916 | } _resultobj = Py_BuildValue("i",_result); | |
4917 | return _resultobj; | |
4918 | } | |
4919 | ||
48115f4a RD |
4920 | static void *SwigwxShowEventTowxEvent(void *ptr) { |
4921 | wxShowEvent *src; | |
4922 | wxEvent *dest; | |
4923 | src = (wxShowEvent *) ptr; | |
4924 | dest = (wxEvent *) src; | |
4925 | return (void *) dest; | |
4926 | } | |
4927 | ||
9416aa89 RD |
4928 | static void *SwigwxShowEventTowxObject(void *ptr) { |
4929 | wxShowEvent *src; | |
4930 | wxObject *dest; | |
4931 | src = (wxShowEvent *) ptr; | |
4932 | dest = (wxObject *) src; | |
4933 | return (void *) dest; | |
4934 | } | |
4935 | ||
48115f4a RD |
4936 | #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1)) |
4937 | static PyObject *_wrap_new_wxShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4938 | PyObject * _resultobj; | |
4939 | wxShowEvent * _result; | |
4940 | int _arg0 = (int ) 0; | |
4941 | int _arg1 = (int ) FALSE; | |
4942 | char *_kwnames[] = { "id","show", NULL }; | |
4943 | char _ptemp[128]; | |
4944 | ||
4945 | self = self; | |
4946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxShowEvent",_kwnames,&_arg0,&_arg1)) | |
4947 | return NULL; | |
4948 | { | |
4268f798 | 4949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4950 | _result = (wxShowEvent *)new_wxShowEvent(_arg0,_arg1); |
48115f4a | 4951 | |
4268f798 | 4952 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4953 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4954 | } if (_result) { |
4955 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxShowEvent_p"); | |
4956 | _resultobj = Py_BuildValue("s",_ptemp); | |
4957 | } else { | |
4958 | Py_INCREF(Py_None); | |
4959 | _resultobj = Py_None; | |
4960 | } | |
4961 | return _resultobj; | |
4962 | } | |
4963 | ||
4964 | #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0)) | |
4965 | static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4966 | PyObject * _resultobj; | |
4967 | wxShowEvent * _arg0; | |
4968 | bool _arg1; | |
4969 | PyObject * _argo0 = 0; | |
4970 | int tempbool1; | |
4971 | char *_kwnames[] = { "self","show", NULL }; | |
4972 | ||
4973 | self = self; | |
4974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShowEvent_SetShow",_kwnames,&_argo0,&tempbool1)) | |
4975 | return NULL; | |
4976 | if (_argo0) { | |
4977 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4978 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) { | |
4979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p."); | |
4980 | return NULL; | |
4981 | } | |
4982 | } | |
4983 | _arg1 = (bool ) tempbool1; | |
4984 | { | |
4268f798 | 4985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4986 | wxShowEvent_SetShow(_arg0,_arg1); |
48115f4a | 4987 | |
4268f798 | 4988 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4989 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
4990 | } Py_INCREF(Py_None); |
4991 | _resultobj = Py_None; | |
4992 | return _resultobj; | |
4993 | } | |
4994 | ||
4995 | #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow()) | |
4996 | static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4997 | PyObject * _resultobj; | |
4998 | bool _result; | |
4999 | wxShowEvent * _arg0; | |
5000 | PyObject * _argo0 = 0; | |
5001 | char *_kwnames[] = { "self", NULL }; | |
5002 | ||
5003 | self = self; | |
5004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShowEvent_GetShow",_kwnames,&_argo0)) | |
5005 | return NULL; | |
5006 | if (_argo0) { | |
5007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShowEvent_p")) { | |
5009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p."); | |
5010 | return NULL; | |
5011 | } | |
5012 | } | |
5013 | { | |
4268f798 | 5014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5015 | _result = (bool )wxShowEvent_GetShow(_arg0); |
48115f4a | 5016 | |
4268f798 | 5017 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5018 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5019 | } _resultobj = Py_BuildValue("i",_result); |
5020 | return _resultobj; | |
5021 | } | |
5022 | ||
5023 | static void *SwigwxIconizeEventTowxEvent(void *ptr) { | |
5024 | wxIconizeEvent *src; | |
5025 | wxEvent *dest; | |
5026 | src = (wxIconizeEvent *) ptr; | |
5027 | dest = (wxEvent *) src; | |
5028 | return (void *) dest; | |
5029 | } | |
5030 | ||
9416aa89 RD |
5031 | static void *SwigwxIconizeEventTowxObject(void *ptr) { |
5032 | wxIconizeEvent *src; | |
5033 | wxObject *dest; | |
5034 | src = (wxIconizeEvent *) ptr; | |
5035 | dest = (wxObject *) src; | |
5036 | return (void *) dest; | |
5037 | } | |
5038 | ||
d56cebe7 | 5039 | #define new_wxIconizeEvent(_swigarg0,_swigarg1) (new wxIconizeEvent(_swigarg0,_swigarg1)) |
48115f4a RD |
5040 | static PyObject *_wrap_new_wxIconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
5041 | PyObject * _resultobj; | |
5042 | wxIconizeEvent * _result; | |
5043 | int _arg0 = (int ) 0; | |
d56cebe7 RD |
5044 | bool _arg1 = (bool ) TRUE; |
5045 | int tempbool1 = (int) TRUE; | |
5046 | char *_kwnames[] = { "id","iconized", NULL }; | |
48115f4a RD |
5047 | char _ptemp[128]; |
5048 | ||
5049 | self = self; | |
d56cebe7 | 5050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxIconizeEvent",_kwnames,&_arg0,&tempbool1)) |
48115f4a | 5051 | return NULL; |
d56cebe7 | 5052 | _arg1 = (bool ) tempbool1; |
48115f4a | 5053 | { |
4268f798 | 5054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5055 | _result = (wxIconizeEvent *)new_wxIconizeEvent(_arg0,_arg1); |
48115f4a | 5056 | |
4268f798 | 5057 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5058 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5059 | } if (_result) { |
5060 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconizeEvent_p"); | |
5061 | _resultobj = Py_BuildValue("s",_ptemp); | |
5062 | } else { | |
5063 | Py_INCREF(Py_None); | |
5064 | _resultobj = Py_None; | |
5065 | } | |
5066 | return _resultobj; | |
5067 | } | |
5068 | ||
d56cebe7 RD |
5069 | #define wxIconizeEvent_Iconized(_swigobj) (_swigobj->Iconized()) |
5070 | static PyObject *_wrap_wxIconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5071 | PyObject * _resultobj; | |
5072 | bool _result; | |
5073 | wxIconizeEvent * _arg0; | |
5074 | PyObject * _argo0 = 0; | |
5075 | char *_kwnames[] = { "self", NULL }; | |
5076 | ||
5077 | self = self; | |
5078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconizeEvent_Iconized",_kwnames,&_argo0)) | |
5079 | return NULL; | |
5080 | if (_argo0) { | |
5081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconizeEvent_p")) { | |
5083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconizeEvent_Iconized. Expected _wxIconizeEvent_p."); | |
5084 | return NULL; | |
5085 | } | |
5086 | } | |
5087 | { | |
4268f798 | 5088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5089 | _result = (bool )wxIconizeEvent_Iconized(_arg0); |
d56cebe7 | 5090 | |
4268f798 | 5091 | wxPyEndAllowThreads(__tstate); |
d56cebe7 RD |
5092 | if (PyErr_Occurred()) return NULL; |
5093 | } _resultobj = Py_BuildValue("i",_result); | |
5094 | return _resultobj; | |
5095 | } | |
5096 | ||
48115f4a RD |
5097 | static void *SwigwxMaximizeEventTowxEvent(void *ptr) { |
5098 | wxMaximizeEvent *src; | |
5099 | wxEvent *dest; | |
5100 | src = (wxMaximizeEvent *) ptr; | |
5101 | dest = (wxEvent *) src; | |
5102 | return (void *) dest; | |
5103 | } | |
5104 | ||
9416aa89 RD |
5105 | static void *SwigwxMaximizeEventTowxObject(void *ptr) { |
5106 | wxMaximizeEvent *src; | |
5107 | wxObject *dest; | |
5108 | src = (wxMaximizeEvent *) ptr; | |
5109 | dest = (wxObject *) src; | |
5110 | return (void *) dest; | |
5111 | } | |
5112 | ||
48115f4a RD |
5113 | #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0)) |
5114 | static PyObject *_wrap_new_wxMaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5115 | PyObject * _resultobj; | |
5116 | wxMaximizeEvent * _result; | |
5117 | int _arg0 = (int ) 0; | |
5118 | char *_kwnames[] = { "id", NULL }; | |
5119 | char _ptemp[128]; | |
5120 | ||
5121 | self = self; | |
5122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxMaximizeEvent",_kwnames,&_arg0)) | |
5123 | return NULL; | |
5124 | { | |
4268f798 | 5125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5126 | _result = (wxMaximizeEvent *)new_wxMaximizeEvent(_arg0); |
48115f4a | 5127 | |
4268f798 | 5128 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5129 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5130 | } if (_result) { |
5131 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMaximizeEvent_p"); | |
5132 | _resultobj = Py_BuildValue("s",_ptemp); | |
5133 | } else { | |
5134 | Py_INCREF(Py_None); | |
5135 | _resultobj = Py_None; | |
5136 | } | |
5137 | return _resultobj; | |
5138 | } | |
5139 | ||
5140 | static void *SwigwxJoystickEventTowxEvent(void *ptr) { | |
5141 | wxJoystickEvent *src; | |
5142 | wxEvent *dest; | |
5143 | src = (wxJoystickEvent *) ptr; | |
5144 | dest = (wxEvent *) src; | |
5145 | return (void *) dest; | |
5146 | } | |
5147 | ||
9416aa89 RD |
5148 | static void *SwigwxJoystickEventTowxObject(void *ptr) { |
5149 | wxJoystickEvent *src; | |
5150 | wxObject *dest; | |
5151 | src = (wxJoystickEvent *) ptr; | |
5152 | dest = (wxObject *) src; | |
5153 | return (void *) dest; | |
5154 | } | |
5155 | ||
48115f4a RD |
5156 | #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
5157 | static PyObject *_wrap_new_wxJoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5158 | PyObject * _resultobj; | |
5159 | wxJoystickEvent * _result; | |
5160 | int _arg0 = (int ) wxEVT_NULL; | |
5161 | int _arg1 = (int ) 0; | |
5162 | int _arg2 = (int ) wxJOYSTICK1; | |
5163 | int _arg3 = (int ) 0; | |
5164 | char *_kwnames[] = { "type","state","joystick","change", NULL }; | |
5165 | char _ptemp[128]; | |
5166 | ||
5167 | self = self; | |
5168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxJoystickEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) | |
5169 | return NULL; | |
5170 | { | |
4268f798 | 5171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5172 | _result = (wxJoystickEvent *)new_wxJoystickEvent(_arg0,_arg1,_arg2,_arg3); |
48115f4a | 5173 | |
4268f798 | 5174 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5175 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5176 | } if (_result) { |
5177 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystickEvent_p"); | |
5178 | _resultobj = Py_BuildValue("s",_ptemp); | |
5179 | } else { | |
5180 | Py_INCREF(Py_None); | |
5181 | _resultobj = Py_None; | |
5182 | } | |
5183 | return _resultobj; | |
5184 | } | |
5185 | ||
5186 | #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
5187 | static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5188 | PyObject * _resultobj; | |
5189 | wxPoint * _result; | |
5190 | wxJoystickEvent * _arg0; | |
5191 | PyObject * _argo0 = 0; | |
5192 | char *_kwnames[] = { "self", NULL }; | |
5193 | char _ptemp[128]; | |
5194 | ||
5195 | self = self; | |
5196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetPosition",_kwnames,&_argo0)) | |
5197 | return NULL; | |
5198 | if (_argo0) { | |
5199 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5200 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p."); | |
5202 | return NULL; | |
5203 | } | |
5204 | } | |
5205 | { | |
4268f798 | 5206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5207 | _result = new wxPoint (wxJoystickEvent_GetPosition(_arg0)); |
48115f4a | 5208 | |
4268f798 | 5209 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5210 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5211 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
5212 | _resultobj = Py_BuildValue("s",_ptemp); | |
5213 | return _resultobj; | |
5214 | } | |
5215 | ||
5216 | #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition()) | |
5217 | static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5218 | PyObject * _resultobj; | |
5219 | int _result; | |
5220 | wxJoystickEvent * _arg0; | |
5221 | PyObject * _argo0 = 0; | |
5222 | char *_kwnames[] = { "self", NULL }; | |
5223 | ||
5224 | self = self; | |
5225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetZPosition",_kwnames,&_argo0)) | |
5226 | return NULL; | |
5227 | if (_argo0) { | |
5228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p."); | |
5231 | return NULL; | |
5232 | } | |
5233 | } | |
5234 | { | |
4268f798 | 5235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5236 | _result = (int )wxJoystickEvent_GetZPosition(_arg0); |
48115f4a | 5237 | |
4268f798 | 5238 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5239 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5240 | } _resultobj = Py_BuildValue("i",_result); |
5241 | return _resultobj; | |
5242 | } | |
5243 | ||
5244 | #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState()) | |
5245 | static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5246 | PyObject * _resultobj; | |
5247 | int _result; | |
5248 | wxJoystickEvent * _arg0; | |
5249 | PyObject * _argo0 = 0; | |
5250 | char *_kwnames[] = { "self", NULL }; | |
5251 | ||
5252 | self = self; | |
5253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonState",_kwnames,&_argo0)) | |
5254 | return NULL; | |
5255 | if (_argo0) { | |
5256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p."); | |
5259 | return NULL; | |
5260 | } | |
5261 | } | |
5262 | { | |
4268f798 | 5263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5264 | _result = (int )wxJoystickEvent_GetButtonState(_arg0); |
48115f4a | 5265 | |
4268f798 | 5266 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5267 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5268 | } _resultobj = Py_BuildValue("i",_result); |
5269 | return _resultobj; | |
5270 | } | |
5271 | ||
5272 | #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange()) | |
5273 | static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5274 | PyObject * _resultobj; | |
5275 | int _result; | |
5276 | wxJoystickEvent * _arg0; | |
5277 | PyObject * _argo0 = 0; | |
5278 | char *_kwnames[] = { "self", NULL }; | |
5279 | ||
5280 | self = self; | |
5281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetButtonChange",_kwnames,&_argo0)) | |
5282 | return NULL; | |
5283 | if (_argo0) { | |
5284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p."); | |
5287 | return NULL; | |
5288 | } | |
5289 | } | |
5290 | { | |
4268f798 | 5291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5292 | _result = (int )wxJoystickEvent_GetButtonChange(_arg0); |
48115f4a | 5293 | |
4268f798 | 5294 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5295 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5296 | } _resultobj = Py_BuildValue("i",_result); |
5297 | return _resultobj; | |
5298 | } | |
5299 | ||
5300 | #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick()) | |
5301 | static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5302 | PyObject * _resultobj; | |
5303 | int _result; | |
5304 | wxJoystickEvent * _arg0; | |
5305 | PyObject * _argo0 = 0; | |
5306 | char *_kwnames[] = { "self", NULL }; | |
5307 | ||
5308 | self = self; | |
5309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_GetJoystick",_kwnames,&_argo0)) | |
5310 | return NULL; | |
5311 | if (_argo0) { | |
5312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p."); | |
5315 | return NULL; | |
5316 | } | |
5317 | } | |
5318 | { | |
4268f798 | 5319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5320 | _result = (int )wxJoystickEvent_GetJoystick(_arg0); |
48115f4a | 5321 | |
4268f798 | 5322 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5323 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5324 | } _resultobj = Py_BuildValue("i",_result); |
5325 | return _resultobj; | |
5326 | } | |
5327 | ||
5328 | #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0)) | |
5329 | static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5330 | PyObject * _resultobj; | |
5331 | wxJoystickEvent * _arg0; | |
5332 | int _arg1; | |
5333 | PyObject * _argo0 = 0; | |
5334 | char *_kwnames[] = { "self","stick", NULL }; | |
5335 | ||
5336 | self = self; | |
5337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetJoystick",_kwnames,&_argo0,&_arg1)) | |
5338 | return NULL; | |
5339 | if (_argo0) { | |
5340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p."); | |
5343 | return NULL; | |
5344 | } | |
5345 | } | |
5346 | { | |
4268f798 | 5347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5348 | wxJoystickEvent_SetJoystick(_arg0,_arg1); |
48115f4a | 5349 | |
4268f798 | 5350 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5351 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5352 | } Py_INCREF(Py_None); |
5353 | _resultobj = Py_None; | |
5354 | return _resultobj; | |
5355 | } | |
5356 | ||
5357 | #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0)) | |
efc5f224 | 5358 | static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5359 | PyObject * _resultobj; |
5360 | wxJoystickEvent * _arg0; | |
48115f4a RD |
5361 | int _arg1; |
5362 | PyObject * _argo0 = 0; | |
5363 | char *_kwnames[] = { "self","state", NULL }; | |
5364 | ||
5365 | self = self; | |
5366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonState",_kwnames,&_argo0,&_arg1)) | |
5367 | return NULL; | |
5368 | if (_argo0) { | |
5369 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5370 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p."); | |
5372 | return NULL; | |
5373 | } | |
5374 | } | |
5375 | { | |
4268f798 | 5376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5377 | wxJoystickEvent_SetButtonState(_arg0,_arg1); |
48115f4a | 5378 | |
4268f798 | 5379 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5380 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5381 | } Py_INCREF(Py_None); |
5382 | _resultobj = Py_None; | |
5383 | return _resultobj; | |
5384 | } | |
5385 | ||
5386 | #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0)) | |
5387 | static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5388 | PyObject * _resultobj; | |
5389 | wxJoystickEvent * _arg0; | |
5390 | int _arg1; | |
5391 | PyObject * _argo0 = 0; | |
5392 | char *_kwnames[] = { "self","change", NULL }; | |
5393 | ||
5394 | self = self; | |
5395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetButtonChange",_kwnames,&_argo0,&_arg1)) | |
5396 | return NULL; | |
5397 | if (_argo0) { | |
5398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p."); | |
5401 | return NULL; | |
5402 | } | |
5403 | } | |
5404 | { | |
4268f798 | 5405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5406 | wxJoystickEvent_SetButtonChange(_arg0,_arg1); |
48115f4a | 5407 | |
4268f798 | 5408 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5409 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5410 | } Py_INCREF(Py_None); |
5411 | _resultobj = Py_None; | |
5412 | return _resultobj; | |
5413 | } | |
5414 | ||
5415 | #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
5416 | static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5417 | PyObject * _resultobj; | |
5418 | wxJoystickEvent * _arg0; | |
5419 | wxPoint * _arg1; | |
5420 | PyObject * _argo0 = 0; | |
5421 | wxPoint temp; | |
5422 | PyObject * _obj1 = 0; | |
5423 | char *_kwnames[] = { "self","pos", NULL }; | |
5424 | ||
5425 | self = self; | |
5426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxJoystickEvent_SetPosition",_kwnames,&_argo0,&_obj1)) | |
5427 | return NULL; | |
5428 | if (_argo0) { | |
5429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p."); | |
5432 | return NULL; | |
5433 | } | |
5434 | } | |
5435 | { | |
5436 | _arg1 = &temp; | |
5437 | if (! wxPoint_helper(_obj1, &_arg1)) | |
5438 | return NULL; | |
5439 | } | |
5440 | { | |
4268f798 | 5441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5442 | wxJoystickEvent_SetPosition(_arg0,*_arg1); |
48115f4a | 5443 | |
4268f798 | 5444 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5445 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5446 | } Py_INCREF(Py_None); |
5447 | _resultobj = Py_None; | |
5448 | return _resultobj; | |
5449 | } | |
5450 | ||
5451 | #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0)) | |
5452 | static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5453 | PyObject * _resultobj; | |
5454 | wxJoystickEvent * _arg0; | |
5455 | int _arg1; | |
5456 | PyObject * _argo0 = 0; | |
5457 | char *_kwnames[] = { "self","zPos", NULL }; | |
5458 | ||
5459 | self = self; | |
5460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystickEvent_SetZPosition",_kwnames,&_argo0,&_arg1)) | |
5461 | return NULL; | |
5462 | if (_argo0) { | |
5463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p."); | |
5466 | return NULL; | |
5467 | } | |
5468 | } | |
5469 | { | |
4268f798 | 5470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5471 | wxJoystickEvent_SetZPosition(_arg0,_arg1); |
48115f4a | 5472 | |
4268f798 | 5473 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5474 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5475 | } Py_INCREF(Py_None); |
5476 | _resultobj = Py_None; | |
5477 | return _resultobj; | |
5478 | } | |
5479 | ||
5480 | #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton()) | |
5481 | static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5482 | PyObject * _resultobj; | |
5483 | bool _result; | |
5484 | wxJoystickEvent * _arg0; | |
5485 | PyObject * _argo0 = 0; | |
5486 | char *_kwnames[] = { "self", NULL }; | |
5487 | ||
5488 | self = self; | |
5489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsButton",_kwnames,&_argo0)) | |
5490 | return NULL; | |
5491 | if (_argo0) { | |
5492 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5493 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p."); | |
5495 | return NULL; | |
5496 | } | |
5497 | } | |
5498 | { | |
4268f798 | 5499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5500 | _result = (bool )wxJoystickEvent_IsButton(_arg0); |
48115f4a | 5501 | |
4268f798 | 5502 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5503 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5504 | } _resultobj = Py_BuildValue("i",_result); |
5505 | return _resultobj; | |
5506 | } | |
5507 | ||
5508 | #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove()) | |
5509 | static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5510 | PyObject * _resultobj; | |
5511 | bool _result; | |
5512 | wxJoystickEvent * _arg0; | |
5513 | PyObject * _argo0 = 0; | |
5514 | char *_kwnames[] = { "self", NULL }; | |
5515 | ||
5516 | self = self; | |
5517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsMove",_kwnames,&_argo0)) | |
5518 | return NULL; | |
5519 | if (_argo0) { | |
5520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p."); | |
5523 | return NULL; | |
5524 | } | |
5525 | } | |
5526 | { | |
4268f798 | 5527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5528 | _result = (bool )wxJoystickEvent_IsMove(_arg0); |
48115f4a | 5529 | |
4268f798 | 5530 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5531 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5532 | } _resultobj = Py_BuildValue("i",_result); |
5533 | return _resultobj; | |
5534 | } | |
5535 | ||
5536 | #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove()) | |
5537 | static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5538 | PyObject * _resultobj; | |
5539 | bool _result; | |
5540 | wxJoystickEvent * _arg0; | |
5541 | PyObject * _argo0 = 0; | |
5542 | char *_kwnames[] = { "self", NULL }; | |
5543 | ||
5544 | self = self; | |
5545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystickEvent_IsZMove",_kwnames,&_argo0)) | |
5546 | return NULL; | |
5547 | if (_argo0) { | |
5548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p."); | |
5551 | return NULL; | |
5552 | } | |
5553 | } | |
5554 | { | |
4268f798 | 5555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5556 | _result = (bool )wxJoystickEvent_IsZMove(_arg0); |
48115f4a | 5557 | |
4268f798 | 5558 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5559 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5560 | } _resultobj = Py_BuildValue("i",_result); |
5561 | return _resultobj; | |
5562 | } | |
5563 | ||
5564 | #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0)) | |
5565 | static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5566 | PyObject * _resultobj; | |
5567 | bool _result; | |
5568 | wxJoystickEvent * _arg0; | |
5569 | int _arg1 = (int ) wxJOY_BUTTON_ANY; | |
5570 | PyObject * _argo0 = 0; | |
5571 | char *_kwnames[] = { "self","but", NULL }; | |
5572 | ||
5573 | self = self; | |
5574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonDown",_kwnames,&_argo0,&_arg1)) | |
5575 | return NULL; | |
5576 | if (_argo0) { | |
5577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p."); | |
5580 | return NULL; | |
5581 | } | |
5582 | } | |
5583 | { | |
4268f798 | 5584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5585 | _result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1); |
48115f4a | 5586 | |
4268f798 | 5587 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5588 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5589 | } _resultobj = Py_BuildValue("i",_result); |
5590 | return _resultobj; | |
5591 | } | |
5592 | ||
5593 | #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0)) | |
5594 | static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5595 | PyObject * _resultobj; | |
5596 | bool _result; | |
5597 | wxJoystickEvent * _arg0; | |
5598 | int _arg1 = (int ) wxJOY_BUTTON_ANY; | |
5599 | PyObject * _argo0 = 0; | |
5600 | char *_kwnames[] = { "self","but", NULL }; | |
5601 | ||
5602 | self = self; | |
5603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonUp",_kwnames,&_argo0,&_arg1)) | |
5604 | return NULL; | |
5605 | if (_argo0) { | |
5606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
5608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p."); | |
5609 | return NULL; | |
5610 | } | |
5611 | } | |
5612 | { | |
4268f798 | 5613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5614 | _result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1); |
48115f4a | 5615 | |
4268f798 | 5616 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5617 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5618 | } _resultobj = Py_BuildValue("i",_result); |
5619 | return _resultobj; | |
5620 | } | |
5621 | ||
5622 | #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0)) | |
5623 | static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5624 | PyObject * _resultobj; | |
5625 | bool _result; | |
5626 | wxJoystickEvent * _arg0; | |
5627 | int _arg1 = (int ) wxJOY_BUTTON_ANY; | |
1d99702e | 5628 | PyObject * _argo0 = 0; |
48115f4a | 5629 | char *_kwnames[] = { "self","but", NULL }; |
8ab979d7 RD |
5630 | |
5631 | self = self; | |
48115f4a | 5632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 5633 | return NULL; |
1d99702e RD |
5634 | if (_argo0) { |
5635 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5636 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystickEvent_p")) { | |
48115f4a | 5637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p."); |
8ab979d7 RD |
5638 | return NULL; |
5639 | } | |
5640 | } | |
cf694132 | 5641 | { |
4268f798 | 5642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5643 | _result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1); |
cf694132 | 5644 | |
4268f798 | 5645 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5646 | if (PyErr_Occurred()) return NULL; |
48115f4a | 5647 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
5648 | return _resultobj; |
5649 | } | |
5650 | ||
48115f4a RD |
5651 | static void *SwigwxDropFilesEventTowxEvent(void *ptr) { |
5652 | wxDropFilesEvent *src; | |
5653 | wxEvent *dest; | |
5654 | src = (wxDropFilesEvent *) ptr; | |
5655 | dest = (wxEvent *) src; | |
5656 | return (void *) dest; | |
5657 | } | |
5658 | ||
9416aa89 RD |
5659 | static void *SwigwxDropFilesEventTowxObject(void *ptr) { |
5660 | wxDropFilesEvent *src; | |
5661 | wxObject *dest; | |
5662 | src = (wxDropFilesEvent *) ptr; | |
5663 | dest = (wxObject *) src; | |
5664 | return (void *) dest; | |
5665 | } | |
5666 | ||
48115f4a RD |
5667 | #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) |
5668 | static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 5669 | PyObject * _resultobj; |
48115f4a RD |
5670 | wxPoint * _result; |
5671 | wxDropFilesEvent * _arg0; | |
1d99702e | 5672 | PyObject * _argo0 = 0; |
48115f4a RD |
5673 | char *_kwnames[] = { "self", NULL }; |
5674 | char _ptemp[128]; | |
8ab979d7 RD |
5675 | |
5676 | self = self; | |
48115f4a | 5677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetPosition",_kwnames,&_argo0)) |
8ab979d7 | 5678 | return NULL; |
1d99702e RD |
5679 | if (_argo0) { |
5680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
5681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { |
5682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p."); | |
8ab979d7 RD |
5683 | return NULL; |
5684 | } | |
5685 | } | |
cf694132 | 5686 | { |
4268f798 | 5687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5688 | _result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0)); |
cf694132 | 5689 | |
4268f798 | 5690 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5691 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5692 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
5693 | _resultobj = Py_BuildValue("s",_ptemp); | |
8ab979d7 RD |
5694 | return _resultobj; |
5695 | } | |
5696 | ||
48115f4a RD |
5697 | #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles()) |
5698 | static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 5699 | PyObject * _resultobj; |
48115f4a RD |
5700 | int _result; |
5701 | wxDropFilesEvent * _arg0; | |
1d99702e | 5702 | PyObject * _argo0 = 0; |
48115f4a | 5703 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5704 | |
5705 | self = self; | |
48115f4a | 5706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames,&_argo0)) |
8ab979d7 | 5707 | return NULL; |
1d99702e RD |
5708 | if (_argo0) { |
5709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
5710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { |
5711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p."); | |
8ab979d7 RD |
5712 | return NULL; |
5713 | } | |
5714 | } | |
2f90df85 | 5715 | { |
4268f798 | 5716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5717 | _result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0); |
48115f4a | 5718 | |
4268f798 | 5719 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5720 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5721 | } _resultobj = Py_BuildValue("i",_result); |
5722 | return _resultobj; | |
5723 | } | |
5724 | ||
5725 | static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) { | |
5726 | int count = self->GetNumberOfFiles(); | |
5727 | wxString* files = self->GetFiles(); | |
5728 | PyObject* list = PyList_New(count); | |
5729 | ||
5730 | if (!list) { | |
5731 | PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!"); | |
5732 | return NULL; | |
5733 | } | |
5734 | ||
5735 | for (int i=0; i<count; i++) { | |
c8bc7bb8 RD |
5736 | #if wxUSE_UNICODE |
5737 | PyList_SetItem(list, i, PyUnicode_FromUnicode(files[i], files[i].Len())); | |
5738 | #else | |
48115f4a | 5739 | PyList_SetItem(list, i, PyString_FromString((const char*)files[i])); |
c8bc7bb8 | 5740 | #endif |
48115f4a RD |
5741 | } |
5742 | return list; | |
5743 | } | |
5744 | static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5745 | PyObject * _resultobj; | |
5746 | PyObject * _result; | |
5747 | wxDropFilesEvent * _arg0; | |
5748 | PyObject * _argo0 = 0; | |
5749 | char *_kwnames[] = { "self", NULL }; | |
5750 | ||
5751 | self = self; | |
5752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDropFilesEvent_GetFiles",_kwnames,&_argo0)) | |
5753 | return NULL; | |
5754 | if (_argo0) { | |
5755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDropFilesEvent_p")) { | |
5757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p."); | |
5758 | return NULL; | |
5759 | } | |
5760 | } | |
5761 | { | |
4268f798 | 5762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5763 | _result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0); |
48115f4a | 5764 | |
4268f798 | 5765 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5766 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5767 | }{ |
5768 | _resultobj = _result; | |
5769 | } | |
5770 | return _resultobj; | |
5771 | } | |
5772 | ||
5773 | static void *SwigwxIdleEventTowxEvent(void *ptr) { | |
5774 | wxIdleEvent *src; | |
5775 | wxEvent *dest; | |
5776 | src = (wxIdleEvent *) ptr; | |
5777 | dest = (wxEvent *) src; | |
5778 | return (void *) dest; | |
5779 | } | |
5780 | ||
9416aa89 RD |
5781 | static void *SwigwxIdleEventTowxObject(void *ptr) { |
5782 | wxIdleEvent *src; | |
5783 | wxObject *dest; | |
5784 | src = (wxIdleEvent *) ptr; | |
5785 | dest = (wxObject *) src; | |
5786 | return (void *) dest; | |
5787 | } | |
5788 | ||
48115f4a RD |
5789 | #define new_wxIdleEvent() (new wxIdleEvent()) |
5790 | static PyObject *_wrap_new_wxIdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5791 | PyObject * _resultobj; | |
5792 | wxIdleEvent * _result; | |
5793 | char *_kwnames[] = { NULL }; | |
5794 | char _ptemp[128]; | |
5795 | ||
5796 | self = self; | |
5797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxIdleEvent",_kwnames)) | |
8ab979d7 | 5798 | return NULL; |
48115f4a | 5799 | { |
4268f798 | 5800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5801 | _result = (wxIdleEvent *)new_wxIdleEvent(); |
48115f4a | 5802 | |
4268f798 | 5803 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5804 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5805 | } if (_result) { |
5806 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIdleEvent_p"); | |
5807 | _resultobj = Py_BuildValue("s",_ptemp); | |
5808 | } else { | |
5809 | Py_INCREF(Py_None); | |
5810 | _resultobj = Py_None; | |
5811 | } | |
5812 | return _resultobj; | |
2f90df85 | 5813 | } |
48115f4a RD |
5814 | |
5815 | #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0)) | |
5816 | static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5817 | PyObject * _resultobj; | |
5818 | wxIdleEvent * _arg0; | |
5819 | bool _arg1 = (bool ) TRUE; | |
5820 | PyObject * _argo0 = 0; | |
5821 | int tempbool1 = (int) TRUE; | |
5822 | char *_kwnames[] = { "self","needMore", NULL }; | |
5823 | ||
5824 | self = self; | |
5825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxIdleEvent_RequestMore",_kwnames,&_argo0,&tempbool1)) | |
5826 | return NULL; | |
5827 | if (_argo0) { | |
5828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) { | |
5830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p."); | |
5831 | return NULL; | |
5832 | } | |
5833 | } | |
5834 | _arg1 = (bool ) tempbool1; | |
cf694132 | 5835 | { |
4268f798 | 5836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5837 | wxIdleEvent_RequestMore(_arg0,_arg1); |
cf694132 | 5838 | |
4268f798 | 5839 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5840 | if (PyErr_Occurred()) return NULL; |
cf694132 | 5841 | } Py_INCREF(Py_None); |
8ab979d7 RD |
5842 | _resultobj = Py_None; |
5843 | return _resultobj; | |
5844 | } | |
5845 | ||
48115f4a RD |
5846 | #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested()) |
5847 | static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 5848 | PyObject * _resultobj; |
48115f4a RD |
5849 | bool _result; |
5850 | wxIdleEvent * _arg0; | |
1d99702e | 5851 | PyObject * _argo0 = 0; |
48115f4a | 5852 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5853 | |
5854 | self = self; | |
48115f4a | 5855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIdleEvent_MoreRequested",_kwnames,&_argo0)) |
8ab979d7 | 5856 | return NULL; |
1d99702e RD |
5857 | if (_argo0) { |
5858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
5859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIdleEvent_p")) { |
5860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p."); | |
8ab979d7 RD |
5861 | return NULL; |
5862 | } | |
5863 | } | |
cf694132 | 5864 | { |
4268f798 | 5865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5866 | _result = (bool )wxIdleEvent_MoreRequested(_arg0); |
cf694132 | 5867 | |
4268f798 | 5868 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5869 | if (PyErr_Occurred()) return NULL; |
48115f4a | 5870 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
5871 | return _resultobj; |
5872 | } | |
5873 | ||
48115f4a RD |
5874 | static void *SwigwxUpdateUIEventTowxEvent(void *ptr) { |
5875 | wxUpdateUIEvent *src; | |
5876 | wxEvent *dest; | |
5877 | src = (wxUpdateUIEvent *) ptr; | |
5878 | dest = (wxEvent *) src; | |
5879 | return (void *) dest; | |
5880 | } | |
5881 | ||
9416aa89 RD |
5882 | static void *SwigwxUpdateUIEventTowxObject(void *ptr) { |
5883 | wxUpdateUIEvent *src; | |
5884 | wxObject *dest; | |
5885 | src = (wxUpdateUIEvent *) ptr; | |
5886 | dest = (wxObject *) src; | |
5887 | return (void *) dest; | |
5888 | } | |
5889 | ||
48115f4a RD |
5890 | #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0)) |
5891 | static PyObject *_wrap_new_wxUpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5892 | PyObject * _resultobj; | |
5893 | wxUpdateUIEvent * _result; | |
5894 | wxWindowID _arg0 = (wxWindowID ) 0; | |
5895 | char *_kwnames[] = { "commandId", NULL }; | |
5896 | char _ptemp[128]; | |
5897 | ||
5898 | self = self; | |
5899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxUpdateUIEvent",_kwnames,&_arg0)) | |
5900 | return NULL; | |
5901 | { | |
4268f798 | 5902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5903 | _result = (wxUpdateUIEvent *)new_wxUpdateUIEvent(_arg0); |
48115f4a | 5904 | |
4268f798 | 5905 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5906 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
5907 | } if (_result) { |
5908 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxUpdateUIEvent_p"); | |
5909 | _resultobj = Py_BuildValue("s",_ptemp); | |
5910 | } else { | |
5911 | Py_INCREF(Py_None); | |
5912 | _resultobj = Py_None; | |
5913 | } | |
5914 | return _resultobj; | |
5915 | } | |
5916 | ||
5917 | #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked()) | |
5918 | static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
5919 | PyObject * _resultobj; |
5920 | bool _result; | |
48115f4a | 5921 | wxUpdateUIEvent * _arg0; |
1d99702e | 5922 | PyObject * _argo0 = 0; |
efc5f224 | 5923 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5924 | |
5925 | self = self; | |
48115f4a | 5926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetChecked",_kwnames,&_argo0)) |
8ab979d7 | 5927 | return NULL; |
1d99702e RD |
5928 | if (_argo0) { |
5929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
5930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
5931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
5932 | return NULL; |
5933 | } | |
5934 | } | |
cf694132 | 5935 | { |
4268f798 | 5936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5937 | _result = (bool )wxUpdateUIEvent_GetChecked(_arg0); |
cf694132 | 5938 | |
4268f798 | 5939 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5940 | if (PyErr_Occurred()) return NULL; |
cf694132 | 5941 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
5942 | return _resultobj; |
5943 | } | |
5944 | ||
48115f4a RD |
5945 | #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled()) |
5946 | static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
5947 | PyObject * _resultobj; |
5948 | bool _result; | |
48115f4a | 5949 | wxUpdateUIEvent * _arg0; |
1d99702e | 5950 | PyObject * _argo0 = 0; |
efc5f224 | 5951 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5952 | |
5953 | self = self; | |
48115f4a | 5954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetEnabled",_kwnames,&_argo0)) |
8ab979d7 | 5955 | return NULL; |
1d99702e RD |
5956 | if (_argo0) { |
5957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
5958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
5959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
5960 | return NULL; |
5961 | } | |
5962 | } | |
cf694132 | 5963 | { |
4268f798 | 5964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5965 | _result = (bool )wxUpdateUIEvent_GetEnabled(_arg0); |
cf694132 | 5966 | |
4268f798 | 5967 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5968 | if (PyErr_Occurred()) return NULL; |
cf694132 | 5969 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
5970 | return _resultobj; |
5971 | } | |
5972 | ||
48115f4a RD |
5973 | #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText()) |
5974 | static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 5975 | PyObject * _resultobj; |
48115f4a RD |
5976 | wxString * _result; |
5977 | wxUpdateUIEvent * _arg0; | |
1d99702e | 5978 | PyObject * _argo0 = 0; |
efc5f224 | 5979 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5980 | |
5981 | self = self; | |
48115f4a | 5982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetText",_kwnames,&_argo0)) |
8ab979d7 | 5983 | return NULL; |
1d99702e RD |
5984 | if (_argo0) { |
5985 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
5986 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
5987 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
5988 | return NULL; |
5989 | } | |
5990 | } | |
cf694132 | 5991 | { |
4268f798 | 5992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5993 | _result = new wxString (wxUpdateUIEvent_GetText(_arg0)); |
cf694132 | 5994 | |
4268f798 | 5995 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5996 | if (PyErr_Occurred()) return NULL; |
48115f4a | 5997 | }{ |
c8bc7bb8 RD |
5998 | #if wxUSE_UNICODE |
5999 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
6000 | #else | |
eec92d76 | 6001 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6002 | #endif |
48115f4a RD |
6003 | } |
6004 | { | |
6005 | delete _result; | |
6006 | } | |
8ab979d7 RD |
6007 | return _resultobj; |
6008 | } | |
6009 | ||
48115f4a RD |
6010 | #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText()) |
6011 | static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
6012 | PyObject * _resultobj; |
6013 | bool _result; | |
48115f4a | 6014 | wxUpdateUIEvent * _arg0; |
1d99702e | 6015 | PyObject * _argo0 = 0; |
48115f4a | 6016 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6017 | |
6018 | self = self; | |
48115f4a | 6019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetText",_kwnames,&_argo0)) |
8ab979d7 | 6020 | return NULL; |
1d99702e RD |
6021 | if (_argo0) { |
6022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
6024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
6025 | return NULL; |
6026 | } | |
6027 | } | |
cf694132 | 6028 | { |
4268f798 | 6029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6030 | _result = (bool )wxUpdateUIEvent_GetSetText(_arg0); |
cf694132 | 6031 | |
4268f798 | 6032 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6033 | if (PyErr_Occurred()) return NULL; |
cf694132 | 6034 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
6035 | return _resultobj; |
6036 | } | |
6037 | ||
48115f4a RD |
6038 | #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked()) |
6039 | static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
6040 | PyObject * _resultobj; |
6041 | bool _result; | |
48115f4a | 6042 | wxUpdateUIEvent * _arg0; |
1d99702e | 6043 | PyObject * _argo0 = 0; |
48115f4a | 6044 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6045 | |
6046 | self = self; | |
48115f4a | 6047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetChecked",_kwnames,&_argo0)) |
8ab979d7 | 6048 | return NULL; |
1d99702e RD |
6049 | if (_argo0) { |
6050 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6051 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
6052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
6053 | return NULL; |
6054 | } | |
6055 | } | |
cf694132 | 6056 | { |
4268f798 | 6057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6058 | _result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0); |
cf694132 | 6059 | |
4268f798 | 6060 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6061 | if (PyErr_Occurred()) return NULL; |
cf694132 | 6062 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
6063 | return _resultobj; |
6064 | } | |
6065 | ||
48115f4a RD |
6066 | #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled()) |
6067 | static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
6068 | PyObject * _resultobj; |
6069 | bool _result; | |
48115f4a | 6070 | wxUpdateUIEvent * _arg0; |
1d99702e | 6071 | PyObject * _argo0 = 0; |
48115f4a | 6072 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6073 | |
6074 | self = self; | |
48115f4a | 6075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames,&_argo0)) |
8ab979d7 | 6076 | return NULL; |
1d99702e RD |
6077 | if (_argo0) { |
6078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
6080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
6081 | return NULL; |
6082 | } | |
6083 | } | |
cf694132 | 6084 | { |
4268f798 | 6085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6086 | _result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0); |
cf694132 | 6087 | |
4268f798 | 6088 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6089 | if (PyErr_Occurred()) return NULL; |
cf694132 | 6090 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
6091 | return _resultobj; |
6092 | } | |
6093 | ||
48115f4a RD |
6094 | #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0)) |
6095 | static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6096 | PyObject * _resultobj; |
48115f4a RD |
6097 | wxUpdateUIEvent * _arg0; |
6098 | bool _arg1; | |
1d99702e | 6099 | PyObject * _argo0 = 0; |
48115f4a RD |
6100 | int tempbool1; |
6101 | char *_kwnames[] = { "self","check", NULL }; | |
8ab979d7 RD |
6102 | |
6103 | self = self; | |
48115f4a | 6104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Check",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 6105 | return NULL; |
1d99702e RD |
6106 | if (_argo0) { |
6107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
6109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
6110 | return NULL; |
6111 | } | |
6112 | } | |
48115f4a | 6113 | _arg1 = (bool ) tempbool1; |
cf694132 | 6114 | { |
4268f798 | 6115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6116 | wxUpdateUIEvent_Check(_arg0,_arg1); |
cf694132 | 6117 | |
4268f798 | 6118 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6119 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6120 | } Py_INCREF(Py_None); |
6121 | _resultobj = Py_None; | |
8ab979d7 RD |
6122 | return _resultobj; |
6123 | } | |
6124 | ||
48115f4a RD |
6125 | #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) |
6126 | static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6127 | PyObject * _resultobj; |
48115f4a RD |
6128 | wxUpdateUIEvent * _arg0; |
6129 | bool _arg1; | |
1d99702e | 6130 | PyObject * _argo0 = 0; |
48115f4a RD |
6131 | int tempbool1; |
6132 | char *_kwnames[] = { "self","enable", NULL }; | |
8ab979d7 RD |
6133 | |
6134 | self = self; | |
48115f4a | 6135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxUpdateUIEvent_Enable",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 6136 | return NULL; |
1d99702e RD |
6137 | if (_argo0) { |
6138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
6140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
6141 | return NULL; |
6142 | } | |
6143 | } | |
48115f4a | 6144 | _arg1 = (bool ) tempbool1; |
cf694132 | 6145 | { |
4268f798 | 6146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6147 | wxUpdateUIEvent_Enable(_arg0,_arg1); |
cf694132 | 6148 | |
4268f798 | 6149 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6150 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6151 | } Py_INCREF(Py_None); |
6152 | _resultobj = Py_None; | |
8ab979d7 RD |
6153 | return _resultobj; |
6154 | } | |
6155 | ||
48115f4a RD |
6156 | #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) |
6157 | static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6158 | PyObject * _resultobj; |
48115f4a RD |
6159 | wxUpdateUIEvent * _arg0; |
6160 | wxString * _arg1; | |
1d99702e | 6161 | PyObject * _argo0 = 0; |
48115f4a RD |
6162 | PyObject * _obj1 = 0; |
6163 | char *_kwnames[] = { "self","text", NULL }; | |
8ab979d7 RD |
6164 | |
6165 | self = self; | |
48115f4a | 6166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxUpdateUIEvent_SetText",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 6167 | return NULL; |
1d99702e RD |
6168 | if (_argo0) { |
6169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxUpdateUIEvent_p")) { |
6171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p."); | |
8ab979d7 RD |
6172 | return NULL; |
6173 | } | |
6174 | } | |
48115f4a | 6175 | { |
c8bc7bb8 RD |
6176 | _arg1 = wxString_in_helper(_obj1); |
6177 | if (_arg1 == NULL) | |
48115f4a | 6178 | return NULL; |
48115f4a | 6179 | } |
8ab979d7 | 6180 | { |
4268f798 | 6181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6182 | wxUpdateUIEvent_SetText(_arg0,*_arg1); |
cf694132 | 6183 | |
4268f798 | 6184 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6185 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6186 | } Py_INCREF(Py_None); |
6187 | _resultobj = Py_None; | |
6188 | { | |
6189 | if (_obj1) | |
6190 | delete _arg1; | |
8ab979d7 RD |
6191 | } |
6192 | return _resultobj; | |
6193 | } | |
6194 | ||
48115f4a RD |
6195 | static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) { |
6196 | wxSysColourChangedEvent *src; | |
8ab979d7 | 6197 | wxEvent *dest; |
48115f4a | 6198 | src = (wxSysColourChangedEvent *) ptr; |
8ab979d7 RD |
6199 | dest = (wxEvent *) src; |
6200 | return (void *) dest; | |
6201 | } | |
6202 | ||
9416aa89 RD |
6203 | static void *SwigwxSysColourChangedEventTowxObject(void *ptr) { |
6204 | wxSysColourChangedEvent *src; | |
6205 | wxObject *dest; | |
6206 | src = (wxSysColourChangedEvent *) ptr; | |
6207 | dest = (wxObject *) src; | |
6208 | return (void *) dest; | |
6209 | } | |
6210 | ||
48115f4a RD |
6211 | #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent()) |
6212 | static PyObject *_wrap_new_wxSysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6213 | PyObject * _resultobj; |
48115f4a RD |
6214 | wxSysColourChangedEvent * _result; |
6215 | char *_kwnames[] = { NULL }; | |
6216 | char _ptemp[128]; | |
8ab979d7 RD |
6217 | |
6218 | self = self; | |
48115f4a | 6219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxSysColourChangedEvent",_kwnames)) |
8ab979d7 | 6220 | return NULL; |
cf694132 | 6221 | { |
4268f798 | 6222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6223 | _result = (wxSysColourChangedEvent *)new_wxSysColourChangedEvent(); |
cf694132 | 6224 | |
4268f798 | 6225 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6226 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6227 | } if (_result) { |
6228 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSysColourChangedEvent_p"); | |
6229 | _resultobj = Py_BuildValue("s",_ptemp); | |
6230 | } else { | |
6231 | Py_INCREF(Py_None); | |
6232 | _resultobj = Py_None; | |
6233 | } | |
8ab979d7 RD |
6234 | return _resultobj; |
6235 | } | |
6236 | ||
48115f4a RD |
6237 | static void *SwigwxNotifyEventTowxCommandEvent(void *ptr) { |
6238 | wxNotifyEvent *src; | |
6239 | wxCommandEvent *dest; | |
6240 | src = (wxNotifyEvent *) ptr; | |
6241 | dest = (wxCommandEvent *) src; | |
6242 | return (void *) dest; | |
6243 | } | |
6244 | ||
6245 | static void *SwigwxNotifyEventTowxEvent(void *ptr) { | |
6246 | wxNotifyEvent *src; | |
6247 | wxEvent *dest; | |
6248 | src = (wxNotifyEvent *) ptr; | |
6249 | dest = (wxEvent *) src; | |
6250 | return (void *) dest; | |
6251 | } | |
6252 | ||
9416aa89 RD |
6253 | static void *SwigwxNotifyEventTowxObject(void *ptr) { |
6254 | wxNotifyEvent *src; | |
6255 | wxObject *dest; | |
6256 | src = (wxNotifyEvent *) ptr; | |
6257 | dest = (wxObject *) src; | |
6258 | return (void *) dest; | |
6259 | } | |
6260 | ||
48115f4a RD |
6261 | #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1)) |
6262 | static PyObject *_wrap_new_wxNotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6263 | PyObject * _resultobj; |
48115f4a RD |
6264 | wxNotifyEvent * _result; |
6265 | int _arg0 = (int ) wxEVT_NULL; | |
6266 | int _arg1 = (int ) 0; | |
6267 | char *_kwnames[] = { "commandType","id", NULL }; | |
6268 | char _ptemp[128]; | |
8ab979d7 RD |
6269 | |
6270 | self = self; | |
48115f4a | 6271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxNotifyEvent",_kwnames,&_arg0,&_arg1)) |
8ab979d7 | 6272 | return NULL; |
cf694132 | 6273 | { |
4268f798 | 6274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6275 | _result = (wxNotifyEvent *)new_wxNotifyEvent(_arg0,_arg1); |
cf694132 | 6276 | |
4268f798 | 6277 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6278 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6279 | } if (_result) { |
6280 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotifyEvent_p"); | |
6281 | _resultobj = Py_BuildValue("s",_ptemp); | |
6282 | } else { | |
6283 | Py_INCREF(Py_None); | |
6284 | _resultobj = Py_None; | |
6285 | } | |
8ab979d7 RD |
6286 | return _resultobj; |
6287 | } | |
48115f4a RD |
6288 | |
6289 | #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed()) | |
6290 | static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
6291 | PyObject * _resultobj; |
6292 | bool _result; | |
48115f4a | 6293 | wxNotifyEvent * _arg0; |
1d99702e | 6294 | PyObject * _argo0 = 0; |
efc5f224 | 6295 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6296 | |
6297 | self = self; | |
48115f4a | 6298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_IsAllowed",_kwnames,&_argo0)) |
8ab979d7 | 6299 | return NULL; |
1d99702e RD |
6300 | if (_argo0) { |
6301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) { |
6303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p."); | |
8ab979d7 RD |
6304 | return NULL; |
6305 | } | |
6306 | } | |
cf694132 | 6307 | { |
4268f798 | 6308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6309 | _result = (bool )wxNotifyEvent_IsAllowed(_arg0); |
cf694132 | 6310 | |
4268f798 | 6311 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6312 | if (PyErr_Occurred()) return NULL; |
cf694132 | 6313 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
6314 | return _resultobj; |
6315 | } | |
6316 | ||
185d7c3e RD |
6317 | #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow()) |
6318 | static PyObject *_wrap_wxNotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6319 | PyObject * _resultobj; | |
6320 | wxNotifyEvent * _arg0; | |
6321 | PyObject * _argo0 = 0; | |
6322 | char *_kwnames[] = { "self", NULL }; | |
6323 | ||
6324 | self = self; | |
6325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Allow",_kwnames,&_argo0)) | |
6326 | return NULL; | |
6327 | if (_argo0) { | |
6328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) { | |
6330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p."); | |
6331 | return NULL; | |
6332 | } | |
6333 | } | |
6334 | { | |
4268f798 | 6335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6336 | wxNotifyEvent_Allow(_arg0); |
185d7c3e | 6337 | |
4268f798 | 6338 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6339 | if (PyErr_Occurred()) return NULL; |
185d7c3e RD |
6340 | } Py_INCREF(Py_None); |
6341 | _resultobj = Py_None; | |
6342 | return _resultobj; | |
6343 | } | |
6344 | ||
48115f4a RD |
6345 | #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto()) |
6346 | static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6347 | PyObject * _resultobj; |
48115f4a | 6348 | wxNotifyEvent * _arg0; |
1d99702e | 6349 | PyObject * _argo0 = 0; |
efc5f224 | 6350 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6351 | |
6352 | self = self; | |
48115f4a | 6353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotifyEvent_Veto",_kwnames,&_argo0)) |
8ab979d7 | 6354 | return NULL; |
1d99702e RD |
6355 | if (_argo0) { |
6356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotifyEvent_p")) { |
6358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p."); | |
8ab979d7 RD |
6359 | return NULL; |
6360 | } | |
6361 | } | |
cf694132 | 6362 | { |
4268f798 | 6363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6364 | wxNotifyEvent_Veto(_arg0); |
cf694132 | 6365 | |
4268f798 | 6366 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6367 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6368 | } Py_INCREF(Py_None); |
6369 | _resultobj = Py_None; | |
8ab979d7 RD |
6370 | return _resultobj; |
6371 | } | |
6372 | ||
be43cc44 RD |
6373 | static void *SwigwxDisplayChangedEventTowxEvent(void *ptr) { |
6374 | wxDisplayChangedEvent *src; | |
6375 | wxEvent *dest; | |
6376 | src = (wxDisplayChangedEvent *) ptr; | |
6377 | dest = (wxEvent *) src; | |
6378 | return (void *) dest; | |
6379 | } | |
6380 | ||
6381 | static void *SwigwxDisplayChangedEventTowxObject(void *ptr) { | |
6382 | wxDisplayChangedEvent *src; | |
6383 | wxObject *dest; | |
6384 | src = (wxDisplayChangedEvent *) ptr; | |
6385 | dest = (wxObject *) src; | |
6386 | return (void *) dest; | |
6387 | } | |
6388 | ||
6389 | #define new_wxDisplayChangedEvent() (new wxDisplayChangedEvent()) | |
6390 | static PyObject *_wrap_new_wxDisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6391 | PyObject * _resultobj; | |
6392 | wxDisplayChangedEvent * _result; | |
6393 | char *_kwnames[] = { NULL }; | |
6394 | char _ptemp[128]; | |
6395 | ||
6396 | self = self; | |
6397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxDisplayChangedEvent",_kwnames)) | |
6398 | return NULL; | |
6399 | { | |
6400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 6401 | _result = (wxDisplayChangedEvent *)new_wxDisplayChangedEvent(); |
be43cc44 RD |
6402 | |
6403 | wxPyEndAllowThreads(__tstate); | |
6404 | if (PyErr_Occurred()) return NULL; | |
6405 | } if (_result) { | |
6406 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDisplayChangedEvent_p"); | |
6407 | _resultobj = Py_BuildValue("s",_ptemp); | |
6408 | } else { | |
6409 | Py_INCREF(Py_None); | |
6410 | _resultobj = Py_None; | |
6411 | } | |
6412 | return _resultobj; | |
6413 | } | |
6414 | ||
48115f4a RD |
6415 | static void *SwigwxPaletteChangedEventTowxEvent(void *ptr) { |
6416 | wxPaletteChangedEvent *src; | |
6417 | wxEvent *dest; | |
6418 | src = (wxPaletteChangedEvent *) ptr; | |
6419 | dest = (wxEvent *) src; | |
6420 | return (void *) dest; | |
6421 | } | |
6422 | ||
9416aa89 RD |
6423 | static void *SwigwxPaletteChangedEventTowxObject(void *ptr) { |
6424 | wxPaletteChangedEvent *src; | |
6425 | wxObject *dest; | |
6426 | src = (wxPaletteChangedEvent *) ptr; | |
6427 | dest = (wxObject *) src; | |
6428 | return (void *) dest; | |
6429 | } | |
6430 | ||
48115f4a RD |
6431 | #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0)) |
6432 | static PyObject *_wrap_new_wxPaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6433 | PyObject * _resultobj; |
48115f4a RD |
6434 | wxPaletteChangedEvent * _result; |
6435 | wxWindowID _arg0 = (wxWindowID ) 0; | |
6436 | char *_kwnames[] = { "id", NULL }; | |
6437 | char _ptemp[128]; | |
8ab979d7 RD |
6438 | |
6439 | self = self; | |
48115f4a | 6440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPaletteChangedEvent",_kwnames,&_arg0)) |
8ab979d7 | 6441 | return NULL; |
8ab979d7 | 6442 | { |
4268f798 | 6443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6444 | _result = (wxPaletteChangedEvent *)new_wxPaletteChangedEvent(_arg0); |
cf694132 | 6445 | |
4268f798 | 6446 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6447 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6448 | } if (_result) { |
6449 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaletteChangedEvent_p"); | |
6450 | _resultobj = Py_BuildValue("s",_ptemp); | |
6451 | } else { | |
6452 | Py_INCREF(Py_None); | |
6453 | _resultobj = Py_None; | |
6454 | } | |
8ab979d7 RD |
6455 | return _resultobj; |
6456 | } | |
6457 | ||
48115f4a RD |
6458 | #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0)) |
6459 | static PyObject *_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6460 | PyObject * _resultobj; |
48115f4a RD |
6461 | wxPaletteChangedEvent * _arg0; |
6462 | wxWindow * _arg1; | |
1d99702e | 6463 | PyObject * _argo0 = 0; |
48115f4a RD |
6464 | PyObject * _argo1 = 0; |
6465 | char *_kwnames[] = { "self","win", NULL }; | |
8ab979d7 RD |
6466 | |
6467 | self = self; | |
48115f4a | 6468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6469 | return NULL; |
1d99702e RD |
6470 | if (_argo0) { |
6471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) { |
6473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p."); | |
6474 | return NULL; | |
6475 | } | |
6476 | } | |
6477 | if (_argo1) { | |
6478 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6479 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
6480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p."); | |
8ab979d7 RD |
6481 | return NULL; |
6482 | } | |
6483 | } | |
cf694132 | 6484 | { |
4268f798 | 6485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6486 | wxPaletteChangedEvent_SetChangedWindow(_arg0,_arg1); |
cf694132 | 6487 | |
4268f798 | 6488 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6489 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6490 | } Py_INCREF(Py_None); |
6491 | _resultobj = Py_None; | |
8ab979d7 RD |
6492 | return _resultobj; |
6493 | } | |
6494 | ||
48115f4a RD |
6495 | #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow()) |
6496 | static PyObject *_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6497 | PyObject * _resultobj; |
48115f4a RD |
6498 | wxWindow * _result; |
6499 | wxPaletteChangedEvent * _arg0; | |
1d99702e | 6500 | PyObject * _argo0 = 0; |
efc5f224 | 6501 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6502 | |
6503 | self = self; | |
48115f4a | 6504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames,&_argo0)) |
8ab979d7 | 6505 | return NULL; |
1d99702e RD |
6506 | if (_argo0) { |
6507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPaletteChangedEvent_p")) { |
6509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p."); | |
8ab979d7 RD |
6510 | return NULL; |
6511 | } | |
6512 | } | |
cf694132 | 6513 | { |
4268f798 | 6514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6515 | _result = (wxWindow *)wxPaletteChangedEvent_GetChangedWindow(_arg0); |
cf694132 | 6516 | |
4268f798 | 6517 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6518 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 6519 | }{ _resultobj = wxPyMake_wxObject(_result); } |
8ab979d7 RD |
6520 | return _resultobj; |
6521 | } | |
6522 | ||
48115f4a RD |
6523 | static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr) { |
6524 | wxQueryNewPaletteEvent *src; | |
6525 | wxEvent *dest; | |
6526 | src = (wxQueryNewPaletteEvent *) ptr; | |
6527 | dest = (wxEvent *) src; | |
6528 | return (void *) dest; | |
6529 | } | |
6530 | ||
9416aa89 RD |
6531 | static void *SwigwxQueryNewPaletteEventTowxObject(void *ptr) { |
6532 | wxQueryNewPaletteEvent *src; | |
6533 | wxObject *dest; | |
6534 | src = (wxQueryNewPaletteEvent *) ptr; | |
6535 | dest = (wxObject *) src; | |
6536 | return (void *) dest; | |
6537 | } | |
6538 | ||
48115f4a RD |
6539 | #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0)) |
6540 | static PyObject *_wrap_new_wxQueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6541 | PyObject * _resultobj; |
48115f4a RD |
6542 | wxQueryNewPaletteEvent * _result; |
6543 | wxWindowID _arg0 = (wxWindowID ) 0; | |
6544 | char *_kwnames[] = { "id", NULL }; | |
6545 | char _ptemp[128]; | |
8ab979d7 RD |
6546 | |
6547 | self = self; | |
48115f4a | 6548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxQueryNewPaletteEvent",_kwnames,&_arg0)) |
8ab979d7 | 6549 | return NULL; |
cf694132 | 6550 | { |
4268f798 | 6551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6552 | _result = (wxQueryNewPaletteEvent *)new_wxQueryNewPaletteEvent(_arg0); |
cf694132 | 6553 | |
4268f798 | 6554 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6555 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6556 | } if (_result) { |
6557 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxQueryNewPaletteEvent_p"); | |
6558 | _resultobj = Py_BuildValue("s",_ptemp); | |
6559 | } else { | |
6560 | Py_INCREF(Py_None); | |
6561 | _resultobj = Py_None; | |
6562 | } | |
8ab979d7 RD |
6563 | return _resultobj; |
6564 | } | |
6565 | ||
48115f4a RD |
6566 | #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0)) |
6567 | static PyObject *_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6568 | PyObject * _resultobj; |
48115f4a | 6569 | wxQueryNewPaletteEvent * _arg0; |
8ab979d7 | 6570 | bool _arg1; |
1d99702e | 6571 | PyObject * _argo0 = 0; |
8ab979d7 | 6572 | int tempbool1; |
48115f4a | 6573 | char *_kwnames[] = { "self","realized", NULL }; |
8ab979d7 RD |
6574 | |
6575 | self = self; | |
48115f4a | 6576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 6577 | return NULL; |
1d99702e RD |
6578 | if (_argo0) { |
6579 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6580 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) { |
6581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p."); | |
8ab979d7 RD |
6582 | return NULL; |
6583 | } | |
6584 | } | |
6585 | _arg1 = (bool ) tempbool1; | |
cf694132 | 6586 | { |
4268f798 | 6587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6588 | wxQueryNewPaletteEvent_SetPaletteRealized(_arg0,_arg1); |
cf694132 | 6589 | |
4268f798 | 6590 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6591 | if (PyErr_Occurred()) return NULL; |
cf694132 | 6592 | } Py_INCREF(Py_None); |
8ab979d7 RD |
6593 | _resultobj = Py_None; |
6594 | return _resultobj; | |
6595 | } | |
6596 | ||
48115f4a RD |
6597 | #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized()) |
6598 | static PyObject *_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6599 | PyObject * _resultobj; |
48115f4a RD |
6600 | bool _result; |
6601 | wxQueryNewPaletteEvent * _arg0; | |
1d99702e | 6602 | PyObject * _argo0 = 0; |
48115f4a | 6603 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6604 | |
6605 | self = self; | |
48115f4a | 6606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames,&_argo0)) |
8ab979d7 | 6607 | return NULL; |
1d99702e RD |
6608 | if (_argo0) { |
6609 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6610 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxQueryNewPaletteEvent_p")) { |
6611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p."); | |
8ab979d7 RD |
6612 | return NULL; |
6613 | } | |
6614 | } | |
cf694132 | 6615 | { |
4268f798 | 6616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6617 | _result = (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0); |
cf694132 | 6618 | |
4268f798 | 6619 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6620 | if (PyErr_Occurred()) return NULL; |
48115f4a | 6621 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
6622 | return _resultobj; |
6623 | } | |
6624 | ||
f6bcfd97 BP |
6625 | static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr) { |
6626 | wxWindowCreateEvent *src; | |
6627 | wxCommandEvent *dest; | |
6628 | src = (wxWindowCreateEvent *) ptr; | |
6629 | dest = (wxCommandEvent *) src; | |
6630 | return (void *) dest; | |
6631 | } | |
6632 | ||
48115f4a RD |
6633 | static void *SwigwxWindowCreateEventTowxEvent(void *ptr) { |
6634 | wxWindowCreateEvent *src; | |
6635 | wxEvent *dest; | |
6636 | src = (wxWindowCreateEvent *) ptr; | |
6637 | dest = (wxEvent *) src; | |
6638 | return (void *) dest; | |
6639 | } | |
6640 | ||
9416aa89 RD |
6641 | static void *SwigwxWindowCreateEventTowxObject(void *ptr) { |
6642 | wxWindowCreateEvent *src; | |
6643 | wxObject *dest; | |
6644 | src = (wxWindowCreateEvent *) ptr; | |
6645 | dest = (wxObject *) src; | |
6646 | return (void *) dest; | |
6647 | } | |
6648 | ||
48115f4a RD |
6649 | #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0)) |
6650 | static PyObject *_wrap_new_wxWindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6651 | PyObject * _resultobj; |
48115f4a RD |
6652 | wxWindowCreateEvent * _result; |
6653 | wxWindow * _arg0 = (wxWindow *) NULL; | |
1d99702e | 6654 | PyObject * _argo0 = 0; |
48115f4a RD |
6655 | char *_kwnames[] = { "win", NULL }; |
6656 | char _ptemp[128]; | |
8ab979d7 RD |
6657 | |
6658 | self = self; | |
48115f4a | 6659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowCreateEvent",_kwnames,&_argo0)) |
8ab979d7 | 6660 | return NULL; |
1d99702e RD |
6661 | if (_argo0) { |
6662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { |
6664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p."); | |
8ab979d7 RD |
6665 | return NULL; |
6666 | } | |
6667 | } | |
cf694132 | 6668 | { |
4268f798 | 6669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6670 | _result = (wxWindowCreateEvent *)new_wxWindowCreateEvent(_arg0); |
cf694132 | 6671 | |
4268f798 | 6672 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6673 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6674 | } if (_result) { |
6675 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowCreateEvent_p"); | |
6676 | _resultobj = Py_BuildValue("s",_ptemp); | |
6677 | } else { | |
6678 | Py_INCREF(Py_None); | |
6679 | _resultobj = Py_None; | |
6680 | } | |
8ab979d7 RD |
6681 | return _resultobj; |
6682 | } | |
6683 | ||
48115f4a RD |
6684 | #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow()) |
6685 | static PyObject *_wrap_wxWindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6686 | PyObject * _resultobj; | |
6687 | wxWindow * _result; | |
6688 | wxWindowCreateEvent * _arg0; | |
6689 | PyObject * _argo0 = 0; | |
6690 | char *_kwnames[] = { "self", NULL }; | |
8ab979d7 | 6691 | |
48115f4a RD |
6692 | self = self; |
6693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowCreateEvent_GetWindow",_kwnames,&_argo0)) | |
6694 | return NULL; | |
6695 | if (_argo0) { | |
6696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowCreateEvent_p")) { | |
6698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p."); | |
6699 | return NULL; | |
6700 | } | |
6701 | } | |
6702 | { | |
4268f798 | 6703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6704 | _result = (wxWindow *)wxWindowCreateEvent_GetWindow(_arg0); |
48115f4a | 6705 | |
4268f798 | 6706 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6707 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 6708 | }{ _resultobj = wxPyMake_wxObject(_result); } |
48115f4a | 6709 | return _resultobj; |
cf694132 RD |
6710 | } |
6711 | ||
f6bcfd97 BP |
6712 | static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr) { |
6713 | wxWindowDestroyEvent *src; | |
6714 | wxCommandEvent *dest; | |
6715 | src = (wxWindowDestroyEvent *) ptr; | |
6716 | dest = (wxCommandEvent *) src; | |
6717 | return (void *) dest; | |
6718 | } | |
6719 | ||
48115f4a RD |
6720 | static void *SwigwxWindowDestroyEventTowxEvent(void *ptr) { |
6721 | wxWindowDestroyEvent *src; | |
2f90df85 | 6722 | wxEvent *dest; |
48115f4a | 6723 | src = (wxWindowDestroyEvent *) ptr; |
2f90df85 RD |
6724 | dest = (wxEvent *) src; |
6725 | return (void *) dest; | |
6726 | } | |
6727 | ||
9416aa89 RD |
6728 | static void *SwigwxWindowDestroyEventTowxObject(void *ptr) { |
6729 | wxWindowDestroyEvent *src; | |
6730 | wxObject *dest; | |
6731 | src = (wxWindowDestroyEvent *) ptr; | |
6732 | dest = (wxObject *) src; | |
6733 | return (void *) dest; | |
6734 | } | |
6735 | ||
48115f4a RD |
6736 | #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0)) |
6737 | static PyObject *_wrap_new_wxWindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2f90df85 | 6738 | PyObject * _resultobj; |
48115f4a RD |
6739 | wxWindowDestroyEvent * _result; |
6740 | wxWindow * _arg0 = (wxWindow *) NULL; | |
2f90df85 | 6741 | PyObject * _argo0 = 0; |
48115f4a RD |
6742 | char *_kwnames[] = { "win", NULL }; |
6743 | char _ptemp[128]; | |
2f90df85 RD |
6744 | |
6745 | self = self; | |
48115f4a | 6746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDestroyEvent",_kwnames,&_argo0)) |
2f90df85 RD |
6747 | return NULL; |
6748 | if (_argo0) { | |
6749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { |
6751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p."); | |
2f90df85 RD |
6752 | return NULL; |
6753 | } | |
6754 | } | |
6755 | { | |
4268f798 | 6756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6757 | _result = (wxWindowDestroyEvent *)new_wxWindowDestroyEvent(_arg0); |
2f90df85 | 6758 | |
4268f798 | 6759 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6760 | if (PyErr_Occurred()) return NULL; |
48115f4a RD |
6761 | } if (_result) { |
6762 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDestroyEvent_p"); | |
6763 | _resultobj = Py_BuildValue("s",_ptemp); | |
6764 | } else { | |
6765 | Py_INCREF(Py_None); | |
6766 | _resultobj = Py_None; | |
6767 | } | |
2f90df85 RD |
6768 | return _resultobj; |
6769 | } | |
6770 | ||
48115f4a RD |
6771 | #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow()) |
6772 | static PyObject *_wrap_wxWindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2f90df85 | 6773 | PyObject * _resultobj; |
48115f4a RD |
6774 | wxWindow * _result; |
6775 | wxWindowDestroyEvent * _arg0; | |
2f90df85 RD |
6776 | PyObject * _argo0 = 0; |
6777 | char *_kwnames[] = { "self", NULL }; | |
6778 | ||
6779 | self = self; | |
48115f4a | 6780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindowDestroyEvent_GetWindow",_kwnames,&_argo0)) |
2f90df85 RD |
6781 | return NULL; |
6782 | if (_argo0) { | |
6783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
48115f4a RD |
6784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDestroyEvent_p")) { |
6785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p."); | |
2f90df85 RD |
6786 | return NULL; |
6787 | } | |
6788 | } | |
6789 | { | |
4268f798 | 6790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6791 | _result = (wxWindow *)wxWindowDestroyEvent_GetWindow(_arg0); |
2f90df85 | 6792 | |
4268f798 | 6793 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6794 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 6795 | }{ _resultobj = wxPyMake_wxObject(_result); } |
2f90df85 RD |
6796 | return _resultobj; |
6797 | } | |
6798 | ||
f6bcfd97 BP |
6799 | static void *SwigwxTimerEventTowxEvent(void *ptr) { |
6800 | wxTimerEvent *src; | |
6801 | wxEvent *dest; | |
6802 | src = (wxTimerEvent *) ptr; | |
6803 | dest = (wxEvent *) src; | |
6804 | return (void *) dest; | |
6805 | } | |
6806 | ||
9416aa89 RD |
6807 | static void *SwigwxTimerEventTowxObject(void *ptr) { |
6808 | wxTimerEvent *src; | |
6809 | wxObject *dest; | |
6810 | src = (wxTimerEvent *) ptr; | |
6811 | dest = (wxObject *) src; | |
6812 | return (void *) dest; | |
6813 | } | |
6814 | ||
f6bcfd97 BP |
6815 | #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1)) |
6816 | static PyObject *_wrap_new_wxTimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6817 | PyObject * _resultobj; | |
6818 | wxTimerEvent * _result; | |
6819 | int _arg0 = (int ) 0; | |
6820 | int _arg1 = (int ) 0; | |
6821 | char *_kwnames[] = { "id","interval", NULL }; | |
6822 | char _ptemp[128]; | |
6823 | ||
6824 | self = self; | |
6825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTimerEvent",_kwnames,&_arg0,&_arg1)) | |
6826 | return NULL; | |
6827 | { | |
4268f798 | 6828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6829 | _result = (wxTimerEvent *)new_wxTimerEvent(_arg0,_arg1); |
f6bcfd97 | 6830 | |
4268f798 | 6831 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6832 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6833 | } if (_result) { |
6834 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTimerEvent_p"); | |
6835 | _resultobj = Py_BuildValue("s",_ptemp); | |
6836 | } else { | |
6837 | Py_INCREF(Py_None); | |
6838 | _resultobj = Py_None; | |
6839 | } | |
6840 | return _resultobj; | |
6841 | } | |
6842 | ||
6843 | #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval()) | |
6844 | static PyObject *_wrap_wxTimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6845 | PyObject * _resultobj; | |
6846 | int _result; | |
6847 | wxTimerEvent * _arg0; | |
6848 | PyObject * _argo0 = 0; | |
6849 | char *_kwnames[] = { "self", NULL }; | |
6850 | ||
6851 | self = self; | |
6852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTimerEvent_GetInterval",_kwnames,&_argo0)) | |
6853 | return NULL; | |
6854 | if (_argo0) { | |
6855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTimerEvent_p")) { | |
6857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p."); | |
6858 | return NULL; | |
6859 | } | |
6860 | } | |
6861 | { | |
4268f798 | 6862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6863 | _result = (int )wxTimerEvent_GetInterval(_arg0); |
f6bcfd97 | 6864 | |
4268f798 | 6865 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6866 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6867 | } _resultobj = Py_BuildValue("i",_result); |
6868 | return _resultobj; | |
6869 | } | |
6870 | ||
c7e7022c RD |
6871 | static void *SwigwxTextUrlEventTowxCommandEvent(void *ptr) { |
6872 | wxTextUrlEvent *src; | |
6873 | wxCommandEvent *dest; | |
6874 | src = (wxTextUrlEvent *) ptr; | |
6875 | dest = (wxCommandEvent *) src; | |
6876 | return (void *) dest; | |
6877 | } | |
6878 | ||
6879 | static void *SwigwxTextUrlEventTowxEvent(void *ptr) { | |
6880 | wxTextUrlEvent *src; | |
6881 | wxEvent *dest; | |
6882 | src = (wxTextUrlEvent *) ptr; | |
6883 | dest = (wxEvent *) src; | |
6884 | return (void *) dest; | |
6885 | } | |
6886 | ||
6887 | static void *SwigwxTextUrlEventTowxObject(void *ptr) { | |
6888 | wxTextUrlEvent *src; | |
6889 | wxObject *dest; | |
6890 | src = (wxTextUrlEvent *) ptr; | |
6891 | dest = (wxObject *) src; | |
6892 | return (void *) dest; | |
6893 | } | |
6894 | ||
6895 | #define new_wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6896 | static PyObject *_wrap_new_wxTextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6897 | PyObject * _resultobj; | |
6898 | wxTextUrlEvent * _result; | |
6899 | int _arg0; | |
6900 | wxMouseEvent * _arg1; | |
6901 | long _arg2; | |
6902 | long _arg3; | |
6903 | PyObject * _argo1 = 0; | |
6904 | char *_kwnames[] = { "id","evtMouse","start","end", NULL }; | |
6905 | char _ptemp[128]; | |
6906 | ||
6907 | self = self; | |
6908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOll:new_wxTextUrlEvent",_kwnames,&_arg0,&_argo1,&_arg2,&_arg3)) | |
6909 | return NULL; | |
6910 | if (_argo1) { | |
6911 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6912 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMouseEvent_p")) { | |
6913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxTextUrlEvent. Expected _wxMouseEvent_p."); | |
6914 | return NULL; | |
6915 | } | |
6916 | } | |
6917 | { | |
4268f798 | 6918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6919 | _result = (wxTextUrlEvent *)new_wxTextUrlEvent(_arg0,*_arg1,_arg2,_arg3); |
c7e7022c | 6920 | |
4268f798 | 6921 | wxPyEndAllowThreads(__tstate); |
c7e7022c RD |
6922 | if (PyErr_Occurred()) return NULL; |
6923 | } if (_result) { | |
6924 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextUrlEvent_p"); | |
6925 | _resultobj = Py_BuildValue("s",_ptemp); | |
6926 | } else { | |
6927 | Py_INCREF(Py_None); | |
6928 | _resultobj = Py_None; | |
6929 | } | |
6930 | return _resultobj; | |
6931 | } | |
6932 | ||
6933 | #define wxTextUrlEvent_GetMouseEvent(_swigobj) (_swigobj->GetMouseEvent()) | |
6934 | static PyObject *_wrap_wxTextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6935 | PyObject * _resultobj; | |
6936 | wxMouseEvent * _result; | |
6937 | wxTextUrlEvent * _arg0; | |
6938 | PyObject * _argo0 = 0; | |
6939 | char *_kwnames[] = { "self", NULL }; | |
6940 | ||
6941 | self = self; | |
6942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextUrlEvent_GetMouseEvent",_kwnames,&_argo0)) | |
6943 | return NULL; | |
6944 | if (_argo0) { | |
6945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextUrlEvent_p")) { | |
6947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextUrlEvent_GetMouseEvent. Expected _wxTextUrlEvent_p."); | |
6948 | return NULL; | |
6949 | } | |
6950 | } | |
6951 | { | |
4268f798 | 6952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6953 | const wxMouseEvent & _result_ref = wxTextUrlEvent_GetMouseEvent(_arg0); |
c7e7022c RD |
6954 | _result = (wxMouseEvent *) &_result_ref; |
6955 | ||
4268f798 | 6956 | wxPyEndAllowThreads(__tstate); |
c7e7022c RD |
6957 | if (PyErr_Occurred()) return NULL; |
6958 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
6959 | return _resultobj; | |
6960 | } | |
6961 | ||
6962 | #define wxTextUrlEvent_GetURLStart(_swigobj) (_swigobj->GetURLStart()) | |
6963 | static PyObject *_wrap_wxTextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6964 | PyObject * _resultobj; | |
6965 | long _result; | |
6966 | wxTextUrlEvent * _arg0; | |
6967 | PyObject * _argo0 = 0; | |
6968 | char *_kwnames[] = { "self", NULL }; | |
6969 | ||
6970 | self = self; | |
6971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextUrlEvent_GetURLStart",_kwnames,&_argo0)) | |
6972 | return NULL; | |
6973 | if (_argo0) { | |
6974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextUrlEvent_p")) { | |
6976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextUrlEvent_GetURLStart. Expected _wxTextUrlEvent_p."); | |
6977 | return NULL; | |
6978 | } | |
6979 | } | |
6980 | { | |
4268f798 | 6981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6982 | _result = (long )wxTextUrlEvent_GetURLStart(_arg0); |
c7e7022c | 6983 | |
4268f798 | 6984 | wxPyEndAllowThreads(__tstate); |
c7e7022c RD |
6985 | if (PyErr_Occurred()) return NULL; |
6986 | } _resultobj = Py_BuildValue("l",_result); | |
6987 | return _resultobj; | |
6988 | } | |
6989 | ||
6990 | #define wxTextUrlEvent_GetURLEnd(_swigobj) (_swigobj->GetURLEnd()) | |
6991 | static PyObject *_wrap_wxTextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6992 | PyObject * _resultobj; | |
6993 | long _result; | |
6994 | wxTextUrlEvent * _arg0; | |
6995 | PyObject * _argo0 = 0; | |
6996 | char *_kwnames[] = { "self", NULL }; | |
6997 | ||
6998 | self = self; | |
6999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextUrlEvent_GetURLEnd",_kwnames,&_argo0)) | |
7000 | return NULL; | |
7001 | if (_argo0) { | |
7002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextUrlEvent_p")) { | |
7004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextUrlEvent_GetURLEnd. Expected _wxTextUrlEvent_p."); | |
7005 | return NULL; | |
7006 | } | |
7007 | } | |
7008 | { | |
4268f798 | 7009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7010 | _result = (long )wxTextUrlEvent_GetURLEnd(_arg0); |
c7e7022c | 7011 | |
4268f798 | 7012 | wxPyEndAllowThreads(__tstate); |
c7e7022c RD |
7013 | if (PyErr_Occurred()) return NULL; |
7014 | } _resultobj = Py_BuildValue("l",_result); | |
7015 | return _resultobj; | |
7016 | } | |
7017 | ||
cf694132 RD |
7018 | static void *SwigwxPyEventTowxEvent(void *ptr) { |
7019 | wxPyEvent *src; | |
7020 | wxEvent *dest; | |
7021 | src = (wxPyEvent *) ptr; | |
7022 | dest = (wxEvent *) src; | |
7023 | return (void *) dest; | |
7024 | } | |
7025 | ||
9416aa89 RD |
7026 | static void *SwigwxPyEventTowxObject(void *ptr) { |
7027 | wxPyEvent *src; | |
7028 | wxObject *dest; | |
7029 | src = (wxPyEvent *) ptr; | |
7030 | dest = (wxObject *) src; | |
7031 | return (void *) dest; | |
7032 | } | |
7033 | ||
65dd82cb | 7034 | #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0)) |
efc5f224 | 7035 | static PyObject *_wrap_new_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
7036 | PyObject * _resultobj; |
7037 | wxPyEvent * _result; | |
2f90df85 | 7038 | int _arg0 = (int ) 0; |
65dd82cb | 7039 | char *_kwnames[] = { "id", NULL }; |
cf694132 RD |
7040 | char _ptemp[128]; |
7041 | ||
7042 | self = self; | |
65dd82cb | 7043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxPyEvent",_kwnames,&_arg0)) |
cf694132 | 7044 | return NULL; |
cf694132 | 7045 | { |
4268f798 | 7046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7047 | _result = (wxPyEvent *)new_wxPyEvent(_arg0); |
cf694132 | 7048 | |
4268f798 | 7049 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7050 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
7051 | } if (_result) { |
7052 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEvent_p"); | |
7053 | _resultobj = Py_BuildValue("s",_ptemp); | |
7054 | } else { | |
7055 | Py_INCREF(Py_None); | |
7056 | _resultobj = Py_None; | |
7057 | } | |
cf694132 RD |
7058 | return _resultobj; |
7059 | } | |
7060 | ||
7061 | #define delete_wxPyEvent(_swigobj) (delete _swigobj) | |
efc5f224 | 7062 | static PyObject *_wrap_delete_wxPyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
7063 | PyObject * _resultobj; |
7064 | wxPyEvent * _arg0; | |
1d99702e | 7065 | PyObject * _argo0 = 0; |
efc5f224 | 7066 | char *_kwnames[] = { "self", NULL }; |
cf694132 RD |
7067 | |
7068 | self = self; | |
efc5f224 | 7069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyEvent",_kwnames,&_argo0)) |
cf694132 | 7070 | return NULL; |
1d99702e RD |
7071 | if (_argo0) { |
7072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
cf694132 RD |
7074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p."); |
7075 | return NULL; | |
7076 | } | |
7077 | } | |
7078 | { | |
4268f798 | 7079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7080 | delete_wxPyEvent(_arg0); |
cf694132 | 7081 | |
4268f798 | 7082 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7083 | if (PyErr_Occurred()) return NULL; |
cf694132 RD |
7084 | } Py_INCREF(Py_None); |
7085 | _resultobj = Py_None; | |
7086 | return _resultobj; | |
7087 | } | |
7088 | ||
65dd82cb RD |
7089 | #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0)) |
7090 | static PyObject *_wrap_wxPyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
cf694132 RD |
7091 | PyObject * _resultobj; |
7092 | wxPyEvent * _arg0; | |
7093 | PyObject * _arg1; | |
1d99702e | 7094 | PyObject * _argo0 = 0; |
cf694132 | 7095 | PyObject * _obj1 = 0; |
65dd82cb | 7096 | char *_kwnames[] = { "self","self", NULL }; |
cf694132 RD |
7097 | |
7098 | self = self; | |
65dd82cb | 7099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEvent_SetSelf",_kwnames,&_argo0,&_obj1)) |
cf694132 | 7100 | return NULL; |
1d99702e RD |
7101 | if (_argo0) { |
7102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
65dd82cb | 7104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p."); |
cf694132 RD |
7105 | return NULL; |
7106 | } | |
7107 | } | |
7108 | { | |
7109 | _arg1 = _obj1; | |
7110 | } | |
7111 | { | |
4268f798 | 7112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7113 | wxPyEvent_SetSelf(_arg0,_arg1); |
cf694132 | 7114 | |
4268f798 | 7115 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7116 | if (PyErr_Occurred()) return NULL; |
cf694132 RD |
7117 | } Py_INCREF(Py_None); |
7118 | _resultobj = Py_None; | |
7119 | return _resultobj; | |
7120 | } | |
7121 | ||
65dd82cb RD |
7122 | #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf()) |
7123 | static PyObject *_wrap_wxPyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
cf694132 RD |
7124 | PyObject * _resultobj; |
7125 | PyObject * _result; | |
7126 | wxPyEvent * _arg0; | |
1d99702e | 7127 | PyObject * _argo0 = 0; |
efc5f224 | 7128 | char *_kwnames[] = { "self", NULL }; |
cf694132 RD |
7129 | |
7130 | self = self; | |
65dd82cb | 7131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyEvent_GetSelf",_kwnames,&_argo0)) |
cf694132 | 7132 | return NULL; |
1d99702e RD |
7133 | if (_argo0) { |
7134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEvent_p")) { | |
65dd82cb | 7136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p."); |
cf694132 RD |
7137 | return NULL; |
7138 | } | |
7139 | } | |
7140 | { | |
4268f798 | 7141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7142 | _result = (PyObject *)wxPyEvent_GetSelf(_arg0); |
cf694132 | 7143 | |
4268f798 | 7144 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7145 | if (PyErr_Occurred()) return NULL; |
cf694132 RD |
7146 | }{ |
7147 | _resultobj = _result; | |
7148 | } | |
7149 | return _resultobj; | |
7150 | } | |
7151 | ||
2f90df85 RD |
7152 | static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr) { |
7153 | wxPyCommandEvent *src; | |
bb0054cd | 7154 | wxCommandEvent *dest; |
2f90df85 | 7155 | src = (wxPyCommandEvent *) ptr; |
bb0054cd RD |
7156 | dest = (wxCommandEvent *) src; |
7157 | return (void *) dest; | |
7158 | } | |
7159 | ||
2f90df85 RD |
7160 | static void *SwigwxPyCommandEventTowxEvent(void *ptr) { |
7161 | wxPyCommandEvent *src; | |
bb0054cd | 7162 | wxEvent *dest; |
2f90df85 | 7163 | src = (wxPyCommandEvent *) ptr; |
bb0054cd RD |
7164 | dest = (wxEvent *) src; |
7165 | return (void *) dest; | |
7166 | } | |
7167 | ||
9416aa89 RD |
7168 | static void *SwigwxPyCommandEventTowxObject(void *ptr) { |
7169 | wxPyCommandEvent *src; | |
7170 | wxObject *dest; | |
7171 | src = (wxPyCommandEvent *) ptr; | |
7172 | dest = (wxObject *) src; | |
7173 | return (void *) dest; | |
7174 | } | |
7175 | ||
65dd82cb | 7176 | #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1)) |
2f90df85 | 7177 | static PyObject *_wrap_new_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd | 7178 | PyObject * _resultobj; |
2f90df85 RD |
7179 | wxPyCommandEvent * _result; |
7180 | wxEventType _arg0 = (wxEventType ) wxEVT_NULL; | |
7181 | int _arg1 = (int ) 0; | |
65dd82cb | 7182 | char *_kwnames[] = { "commandType","id", NULL }; |
2f90df85 RD |
7183 | char _ptemp[128]; |
7184 | ||
7185 | self = self; | |
65dd82cb | 7186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxPyCommandEvent",_kwnames,&_arg0,&_arg1)) |
2f90df85 | 7187 | return NULL; |
2f90df85 | 7188 | { |
4268f798 | 7189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7190 | _result = (wxPyCommandEvent *)new_wxPyCommandEvent(_arg0,_arg1); |
2f90df85 | 7191 | |
4268f798 | 7192 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7193 | if (PyErr_Occurred()) return NULL; |
2f90df85 RD |
7194 | } if (_result) { |
7195 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCommandEvent_p"); | |
7196 | _resultobj = Py_BuildValue("s",_ptemp); | |
7197 | } else { | |
7198 | Py_INCREF(Py_None); | |
7199 | _resultobj = Py_None; | |
7200 | } | |
7201 | return _resultobj; | |
7202 | } | |
7203 | ||
7204 | #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj) | |
7205 | static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7206 | PyObject * _resultobj; | |
7207 | wxPyCommandEvent * _arg0; | |
1d99702e | 7208 | PyObject * _argo0 = 0; |
efc5f224 | 7209 | char *_kwnames[] = { "self", NULL }; |
bb0054cd RD |
7210 | |
7211 | self = self; | |
2f90df85 | 7212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyCommandEvent",_kwnames,&_argo0)) |
bb0054cd | 7213 | return NULL; |
1d99702e RD |
7214 | if (_argo0) { |
7215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2f90df85 RD |
7216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) { |
7217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p."); | |
bb0054cd RD |
7218 | return NULL; |
7219 | } | |
7220 | } | |
7221 | { | |
4268f798 | 7222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7223 | delete_wxPyCommandEvent(_arg0); |
bb0054cd | 7224 | |
4268f798 | 7225 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7226 | if (PyErr_Occurred()) return NULL; |
2f90df85 RD |
7227 | } Py_INCREF(Py_None); |
7228 | _resultobj = Py_None; | |
bb0054cd RD |
7229 | return _resultobj; |
7230 | } | |
7231 | ||
65dd82cb RD |
7232 | #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0)) |
7233 | static PyObject *_wrap_wxPyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
bb0054cd | 7234 | PyObject * _resultobj; |
2f90df85 RD |
7235 | wxPyCommandEvent * _arg0; |
7236 | PyObject * _arg1; | |
1d99702e | 7237 | PyObject * _argo0 = 0; |
2f90df85 | 7238 | PyObject * _obj1 = 0; |
65dd82cb | 7239 | char *_kwnames[] = { "self","self", NULL }; |
bb0054cd RD |
7240 | |
7241 | self = self; | |
65dd82cb | 7242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCommandEvent_SetSelf",_kwnames,&_argo0,&_obj1)) |
bb0054cd | 7243 | return NULL; |
1d99702e RD |
7244 | if (_argo0) { |
7245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2f90df85 | 7246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) { |
65dd82cb | 7247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p."); |
bb0054cd RD |
7248 | return NULL; |
7249 | } | |
7250 | } | |
2f90df85 RD |
7251 | { |
7252 | _arg1 = _obj1; | |
7253 | } | |
bb0054cd | 7254 | { |
4268f798 | 7255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7256 | wxPyCommandEvent_SetSelf(_arg0,_arg1); |
bb0054cd | 7257 | |
4268f798 | 7258 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7259 | if (PyErr_Occurred()) return NULL; |
bb0054cd RD |
7260 | } Py_INCREF(Py_None); |
7261 | _resultobj = Py_None; | |
7262 | return _resultobj; | |
7263 | } | |
7264 | ||
65dd82cb RD |
7265 | #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf()) |
7266 | static PyObject *_wrap_wxPyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2f90df85 RD |
7267 | PyObject * _resultobj; |
7268 | PyObject * _result; | |
7269 | wxPyCommandEvent * _arg0; | |
7270 | PyObject * _argo0 = 0; | |
7271 | char *_kwnames[] = { "self", NULL }; | |
7272 | ||
7273 | self = self; | |
65dd82cb | 7274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCommandEvent_GetSelf",_kwnames,&_argo0)) |
2f90df85 RD |
7275 | return NULL; |
7276 | if (_argo0) { | |
7277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCommandEvent_p")) { | |
65dd82cb | 7279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p."); |
2f90df85 RD |
7280 | return NULL; |
7281 | } | |
7282 | } | |
7283 | { | |
4268f798 | 7284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7285 | _result = (PyObject *)wxPyCommandEvent_GetSelf(_arg0); |
2f90df85 | 7286 | |
4268f798 | 7287 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7288 | if (PyErr_Occurred()) return NULL; |
2f90df85 RD |
7289 | }{ |
7290 | _resultobj = _result; | |
7291 | } | |
7292 | return _resultobj; | |
7293 | } | |
7294 | ||
8ab979d7 | 7295 | static PyMethodDef eventscMethods[] = { |
65dd82cb RD |
7296 | { "wxPyCommandEvent_GetSelf", (PyCFunction) _wrap_wxPyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS }, |
7297 | { "wxPyCommandEvent_SetSelf", (PyCFunction) _wrap_wxPyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS }, | |
2f90df85 RD |
7298 | { "delete_wxPyCommandEvent", (PyCFunction) _wrap_delete_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS }, |
7299 | { "new_wxPyCommandEvent", (PyCFunction) _wrap_new_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS }, | |
65dd82cb RD |
7300 | { "wxPyEvent_GetSelf", (PyCFunction) _wrap_wxPyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS }, |
7301 | { "wxPyEvent_SetSelf", (PyCFunction) _wrap_wxPyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7302 | { "delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS }, |
7303 | { "new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS }, | |
c7e7022c RD |
7304 | { "wxTextUrlEvent_GetURLEnd", (PyCFunction) _wrap_wxTextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS }, |
7305 | { "wxTextUrlEvent_GetURLStart", (PyCFunction) _wrap_wxTextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS }, | |
7306 | { "wxTextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_wxTextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS }, | |
7307 | { "new_wxTextUrlEvent", (PyCFunction) _wrap_new_wxTextUrlEvent, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
7308 | { "wxTimerEvent_GetInterval", (PyCFunction) _wrap_wxTimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS }, |
7309 | { "new_wxTimerEvent", (PyCFunction) _wrap_new_wxTimerEvent, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a RD |
7310 | { "wxWindowDestroyEvent_GetWindow", (PyCFunction) _wrap_wxWindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS }, |
7311 | { "new_wxWindowDestroyEvent", (PyCFunction) _wrap_new_wxWindowDestroyEvent, METH_VARARGS | METH_KEYWORDS }, | |
7312 | { "wxWindowCreateEvent_GetWindow", (PyCFunction) _wrap_wxWindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
7313 | { "new_wxWindowCreateEvent", (PyCFunction) _wrap_new_wxWindowCreateEvent, METH_VARARGS | METH_KEYWORDS }, | |
7314 | { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS }, | |
7315 | { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS }, | |
7316 | { "new_wxQueryNewPaletteEvent", (PyCFunction) _wrap_new_wxQueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS }, | |
7317 | { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS }, | |
7318 | { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS }, | |
7319 | { "new_wxPaletteChangedEvent", (PyCFunction) _wrap_new_wxPaletteChangedEvent, METH_VARARGS | METH_KEYWORDS }, | |
be43cc44 | 7320 | { "new_wxDisplayChangedEvent", (PyCFunction) _wrap_new_wxDisplayChangedEvent, METH_VARARGS | METH_KEYWORDS }, |
2f90df85 | 7321 | { "wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS }, |
185d7c3e | 7322 | { "wxNotifyEvent_Allow", (PyCFunction) _wrap_wxNotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS }, |
2f90df85 | 7323 | { "wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS }, |
48115f4a RD |
7324 | { "new_wxNotifyEvent", (PyCFunction) _wrap_new_wxNotifyEvent, METH_VARARGS | METH_KEYWORDS }, |
7325 | { "new_wxSysColourChangedEvent", (PyCFunction) _wrap_new_wxSysColourChangedEvent, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7326 | { "wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS }, |
7327 | { "wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS }, | |
7328 | { "wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS }, | |
7329 | { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS }, | |
7330 | { "wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS }, | |
7331 | { "wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS }, | |
7332 | { "wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
7333 | { "wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS }, | |
7334 | { "wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7335 | { "new_wxUpdateUIEvent", (PyCFunction) _wrap_new_wxUpdateUIEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7336 | { "wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS }, |
7337 | { "wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7338 | { "new_wxIdleEvent", (PyCFunction) _wrap_new_wxIdleEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7339 | { "wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS }, |
7340 | { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS }, | |
7341 | { "wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7342 | { "wxJoystickEvent_ButtonIsDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS }, | |
7343 | { "wxJoystickEvent_ButtonUp", (PyCFunction) _wrap_wxJoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS }, | |
7344 | { "wxJoystickEvent_ButtonDown", (PyCFunction) _wrap_wxJoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS }, | |
7345 | { "wxJoystickEvent_IsZMove", (PyCFunction) _wrap_wxJoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS }, | |
7346 | { "wxJoystickEvent_IsMove", (PyCFunction) _wrap_wxJoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS }, | |
7347 | { "wxJoystickEvent_IsButton", (PyCFunction) _wrap_wxJoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS }, | |
7348 | { "wxJoystickEvent_SetZPosition", (PyCFunction) _wrap_wxJoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS }, | |
7349 | { "wxJoystickEvent_SetPosition", (PyCFunction) _wrap_wxJoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7350 | { "wxJoystickEvent_SetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS }, | |
7351 | { "wxJoystickEvent_SetButtonState", (PyCFunction) _wrap_wxJoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS }, | |
7352 | { "wxJoystickEvent_SetJoystick", (PyCFunction) _wrap_wxJoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS }, | |
7353 | { "wxJoystickEvent_GetJoystick", (PyCFunction) _wrap_wxJoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS }, | |
7354 | { "wxJoystickEvent_GetButtonChange", (PyCFunction) _wrap_wxJoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS }, | |
7355 | { "wxJoystickEvent_GetButtonState", (PyCFunction) _wrap_wxJoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS }, | |
7356 | { "wxJoystickEvent_GetZPosition", (PyCFunction) _wrap_wxJoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS }, | |
7357 | { "wxJoystickEvent_GetPosition", (PyCFunction) _wrap_wxJoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a RD |
7358 | { "new_wxJoystickEvent", (PyCFunction) _wrap_new_wxJoystickEvent, METH_VARARGS | METH_KEYWORDS }, |
7359 | { "new_wxMaximizeEvent", (PyCFunction) _wrap_new_wxMaximizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
d56cebe7 | 7360 | { "wxIconizeEvent_Iconized", (PyCFunction) _wrap_wxIconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS }, |
48115f4a | 7361 | { "new_wxIconizeEvent", (PyCFunction) _wrap_new_wxIconizeEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7362 | { "wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS }, |
7363 | { "wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7364 | { "new_wxShowEvent", (PyCFunction) _wrap_new_wxShowEvent, METH_VARARGS | METH_KEYWORDS }, |
afb810d9 | 7365 | { "wxMenuEvent_IsPopup", (PyCFunction) _wrap_wxMenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 | 7366 | { "wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS }, |
48115f4a RD |
7367 | { "new_wxMenuEvent", (PyCFunction) _wrap_new_wxMenuEvent, METH_VARARGS | METH_KEYWORDS }, |
7368 | { "new_wxInitDialogEvent", (PyCFunction) _wrap_new_wxInitDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 7369 | { "wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS }, |
48115f4a | 7370 | { "new_wxActivateEvent", (PyCFunction) _wrap_new_wxActivateEvent, METH_VARARGS | METH_KEYWORDS }, |
7b7ac0ab RD |
7371 | { "wxChildFocusEvent_GetWindow", (PyCFunction) _wrap_wxChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS }, |
7372 | { "new_wxChildFocusEvent", (PyCFunction) _wrap_new_wxChildFocusEvent, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7373 | { "new_wxFocusEvent", (PyCFunction) _wrap_new_wxFocusEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 | 7374 | { "wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS }, |
48115f4a RD |
7375 | { "new_wxEraseEvent", (PyCFunction) _wrap_new_wxEraseEvent, METH_VARARGS | METH_KEYWORDS }, |
7376 | { "new_wxPaintEvent", (PyCFunction) _wrap_new_wxPaintEvent, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 7377 | { "wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
48115f4a RD |
7378 | { "new_wxMoveEvent", (PyCFunction) _wrap_new_wxMoveEvent, METH_VARARGS | METH_KEYWORDS }, |
7379 | { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS }, | |
7380 | { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS }, | |
7381 | { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS }, | |
7382 | { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS }, | |
7383 | { "wxNavigationKeyEvent_SetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS }, | |
7384 | { "wxNavigationKeyEvent_GetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS }, | |
7385 | { "new_wxNavigationKeyEvent", (PyCFunction) _wrap_new_wxNavigationKeyEvent, METH_VARARGS | METH_KEYWORDS }, | |
db0ff83e RD |
7386 | { "wxKeyEvent_m_rawFlags_get", (PyCFunction) _wrap_wxKeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS }, |
7387 | { "wxKeyEvent_m_rawFlags_set", (PyCFunction) _wrap_wxKeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS }, | |
7388 | { "wxKeyEvent_m_rawCode_get", (PyCFunction) _wrap_wxKeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS }, | |
7389 | { "wxKeyEvent_m_rawCode_set", (PyCFunction) _wrap_wxKeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS }, | |
c368d904 RD |
7390 | { "wxKeyEvent_m_scanCode_get", (PyCFunction) _wrap_wxKeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS }, |
7391 | { "wxKeyEvent_m_scanCode_set", (PyCFunction) _wrap_wxKeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS }, | |
7392 | { "wxKeyEvent_m_metaDown_get", (PyCFunction) _wrap_wxKeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7393 | { "wxKeyEvent_m_metaDown_set", (PyCFunction) _wrap_wxKeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7394 | { "wxKeyEvent_m_altDown_get", (PyCFunction) _wrap_wxKeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7395 | { "wxKeyEvent_m_altDown_set", (PyCFunction) _wrap_wxKeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7396 | { "wxKeyEvent_m_shiftDown_get", (PyCFunction) _wrap_wxKeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7397 | { "wxKeyEvent_m_shiftDown_set", (PyCFunction) _wrap_wxKeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7398 | { "wxKeyEvent_m_controlDown_get", (PyCFunction) _wrap_wxKeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7399 | { "wxKeyEvent_m_controlDown_set", (PyCFunction) _wrap_wxKeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7400 | { "wxKeyEvent_m_keyCode_get", (PyCFunction) _wrap_wxKeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS }, | |
7401 | { "wxKeyEvent_m_keyCode_set", (PyCFunction) _wrap_wxKeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS }, | |
7402 | { "wxKeyEvent_m_y_get", (PyCFunction) _wrap_wxKeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS }, | |
7403 | { "wxKeyEvent_m_y_set", (PyCFunction) _wrap_wxKeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS }, | |
7404 | { "wxKeyEvent_m_x_get", (PyCFunction) _wrap_wxKeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS }, | |
7405 | { "wxKeyEvent_m_x_set", (PyCFunction) _wrap_wxKeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a RD |
7406 | { "wxKeyEvent_GetPositionTuple", (PyCFunction) _wrap_wxKeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS }, |
7407 | { "wxKeyEvent_GetPosition", (PyCFunction) _wrap_wxKeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7408 | { "wxKeyEvent_GetY", (PyCFunction) _wrap_wxKeyEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
7409 | { "wxKeyEvent_GetX", (PyCFunction) _wrap_wxKeyEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
db0ff83e RD |
7410 | { "wxKeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_wxKeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS }, |
7411 | { "wxKeyEvent_GetRawKeyCode", (PyCFunction) _wrap_wxKeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
7412 | { "wxKeyEvent_HasModifiers", (PyCFunction) _wrap_wxKeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS }, |
7413 | { "wxKeyEvent_GetKeyCode", (PyCFunction) _wrap_wxKeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7414 | { "wxKeyEvent_KeyCode", (PyCFunction) _wrap_wxKeyEvent_KeyCode, METH_VARARGS | METH_KEYWORDS }, |
7415 | { "wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
7416 | { "wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
7417 | { "wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
7418 | { "wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7419 | { "new_wxKeyEvent", (PyCFunction) _wrap_new_wxKeyEvent, METH_VARARGS | METH_KEYWORDS }, |
d1679124 RD |
7420 | { "wxMouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_wxMouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS }, |
7421 | { "wxMouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_wxMouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS }, | |
7422 | { "wxMouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_wxMouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS }, | |
7423 | { "wxMouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_wxMouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS }, | |
7424 | { "wxMouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_wxMouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS }, | |
7425 | { "wxMouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_wxMouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS }, | |
c368d904 RD |
7426 | { "wxMouseEvent_m_metaDown_get", (PyCFunction) _wrap_wxMouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS }, |
7427 | { "wxMouseEvent_m_metaDown_set", (PyCFunction) _wrap_wxMouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7428 | { "wxMouseEvent_m_altDown_get", (PyCFunction) _wrap_wxMouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7429 | { "wxMouseEvent_m_altDown_set", (PyCFunction) _wrap_wxMouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7430 | { "wxMouseEvent_m_shiftDown_get", (PyCFunction) _wrap_wxMouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7431 | { "wxMouseEvent_m_shiftDown_set", (PyCFunction) _wrap_wxMouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7432 | { "wxMouseEvent_m_controlDown_get", (PyCFunction) _wrap_wxMouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7433 | { "wxMouseEvent_m_controlDown_set", (PyCFunction) _wrap_wxMouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7434 | { "wxMouseEvent_m_rightDown_get", (PyCFunction) _wrap_wxMouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7435 | { "wxMouseEvent_m_rightDown_set", (PyCFunction) _wrap_wxMouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7436 | { "wxMouseEvent_m_middleDown_get", (PyCFunction) _wrap_wxMouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7437 | { "wxMouseEvent_m_middleDown_set", (PyCFunction) _wrap_wxMouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7438 | { "wxMouseEvent_m_leftDown_get", (PyCFunction) _wrap_wxMouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS }, | |
7439 | { "wxMouseEvent_m_leftDown_set", (PyCFunction) _wrap_wxMouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS }, | |
7440 | { "wxMouseEvent_m_y_get", (PyCFunction) _wrap_wxMouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS }, | |
7441 | { "wxMouseEvent_m_y_set", (PyCFunction) _wrap_wxMouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS }, | |
7442 | { "wxMouseEvent_m_x_get", (PyCFunction) _wrap_wxMouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS }, | |
7443 | { "wxMouseEvent_m_x_set", (PyCFunction) _wrap_wxMouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS }, | |
d1679124 RD |
7444 | { "wxMouseEvent_GetLinesPerAction", (PyCFunction) _wrap_wxMouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS }, |
7445 | { "wxMouseEvent_GetWheelDelta", (PyCFunction) _wrap_wxMouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS }, | |
7446 | { "wxMouseEvent_GetWheelRotation", (PyCFunction) _wrap_wxMouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7447 | { "wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS }, |
7448 | { "wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
7449 | { "wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS }, | |
b1462dfa | 7450 | { "wxMouseEvent_GetPositionTuple", (PyCFunction) _wrap_wxMouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 | 7451 | { "wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7452 | { "wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS }, |
7453 | { "wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS }, | |
7454 | { "wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS }, | |
7455 | { "wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS }, | |
7456 | { "wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS }, | |
7457 | { "wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS }, | |
7458 | { "wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS }, | |
7459 | { "wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS }, | |
7460 | { "wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS }, | |
7461 | { "wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS }, | |
7462 | { "wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS }, | |
7463 | { "wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS }, | |
7464 | { "wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS }, | |
7465 | { "wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS }, | |
7466 | { "wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS }, | |
7467 | { "wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS }, | |
7468 | { "wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
7469 | { "wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
7470 | { "wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
7471 | { "wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
7472 | { "wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS }, | |
7473 | { "wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS }, | |
7474 | { "wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS }, | |
7475 | { "wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS }, | |
7476 | { "wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS }, | |
7477 | { "wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a RD |
7478 | { "new_wxMouseEvent", (PyCFunction) _wrap_new_wxMouseEvent, METH_VARARGS | METH_KEYWORDS }, |
7479 | { "new_wxSpinEvent", (PyCFunction) _wrap_new_wxSpinEvent, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e RD |
7480 | { "wxScrollWinEvent_GetPosition", (PyCFunction) _wrap_wxScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
7481 | { "wxScrollWinEvent_GetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7482 | { "new_wxScrollWinEvent", (PyCFunction) _wrap_new_wxScrollWinEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7483 | { "wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
7484 | { "wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7485 | { "new_wxScrollEvent", (PyCFunction) _wrap_new_wxScrollEvent, METH_VARARGS | METH_KEYWORDS }, |
900d9886 | 7486 | { "wxCommandEvent_GetClientData", (PyCFunction) _wrap_wxCommandEvent_GetClientData, METH_VARARGS | METH_KEYWORDS }, |
6999b0d8 RD |
7487 | { "wxCommandEvent_SetInt", (PyCFunction) _wrap_wxCommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS }, |
7488 | { "wxCommandEvent_SetExtraLong", (PyCFunction) _wrap_wxCommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS }, | |
7489 | { "wxCommandEvent_SetString", (PyCFunction) _wrap_wxCommandEvent_SetString, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7490 | { "wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS }, |
7491 | { "wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS }, | |
7492 | { "wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7493 | { "wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS }, | |
7494 | { "wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS }, | |
3ca6a5f0 BP |
7495 | { "wxCommandEvent_Checked", (PyCFunction) _wrap_wxCommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS }, |
7496 | { "wxCommandEvent_IsChecked", (PyCFunction) _wrap_wxCommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7497 | { "new_wxCommandEvent", (PyCFunction) _wrap_new_wxCommandEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7498 | { "wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS }, |
7499 | { "wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS }, | |
7500 | { "wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS }, | |
7501 | { "wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS }, | |
7502 | { "wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS }, | |
7503 | { "wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7504 | { "new_wxCloseEvent", (PyCFunction) _wrap_new_wxCloseEvent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 | 7505 | { "wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, |
48115f4a | 7506 | { "new_wxSizeEvent", (PyCFunction) _wrap_new_wxSizeEvent, METH_VARARGS | METH_KEYWORDS }, |
07b2e1cd | 7507 | { "wxEvent_Clone", (PyCFunction) _wrap_wxEvent_Clone, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7508 | { "wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS }, |
7509 | { "wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS }, | |
7510 | { "wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS }, | |
7511 | { "wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS }, | |
7512 | { "wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS }, | |
7513 | { "wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS }, | |
7514 | { "wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS }, | |
7515 | { "wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS }, | |
7516 | { "wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS }, | |
7517 | { "wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS }, | |
48115f4a | 7518 | { "delete_wxEvent", (PyCFunction) _wrap_delete_wxEvent, METH_VARARGS | METH_KEYWORDS }, |
83b18bab | 7519 | { "wxNewEventType", (PyCFunction) _wrap_wxNewEventType, METH_VARARGS | METH_KEYWORDS }, |
8ab979d7 RD |
7520 | { NULL, NULL } |
7521 | }; | |
1d99702e RD |
7522 | #ifdef __cplusplus |
7523 | } | |
7524 | #endif | |
7525 | /* | |
7526 | * This table is used by the pointer type-checker | |
7527 | */ | |
7528 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
2f90df85 | 7529 | { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent}, |
1d99702e | 7530 | { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent}, |
c7e7022c | 7531 | { "_wxEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxEvent}, |
f6bcfd97 | 7532 | { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent}, |
48115f4a | 7533 | { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent}, |
48115f4a | 7534 | { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent}, |
48115f4a | 7535 | { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent}, |
48115f4a | 7536 | { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent}, |
be43cc44 | 7537 | { "_wxEvent","_wxDisplayChangedEvent",SwigwxDisplayChangedEventTowxEvent}, |
2f90df85 | 7538 | { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent}, |
1d99702e | 7539 | { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent}, |
1d99702e | 7540 | { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent}, |
1d99702e | 7541 | { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent}, |
1d99702e | 7542 | { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent}, |
1d99702e | 7543 | { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent}, |
1d99702e | 7544 | { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent}, |
1d99702e | 7545 | { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent}, |
1d99702e | 7546 | { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent}, |
1d99702e | 7547 | { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent}, |
1d99702e | 7548 | { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent}, |
1d99702e | 7549 | { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent}, |
7b7ac0ab | 7550 | { "_wxEvent","_wxChildFocusEvent",SwigwxChildFocusEventTowxEvent}, |
1d99702e | 7551 | { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent}, |
1d99702e | 7552 | { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent}, |
1d99702e | 7553 | { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent}, |
1d99702e | 7554 | { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent}, |
48115f4a | 7555 | { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent}, |
1d99702e | 7556 | { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent}, |
1d99702e | 7557 | { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent}, |
1d99702e | 7558 | { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent}, |
d426c97e | 7559 | { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent}, |
1d99702e | 7560 | { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent}, |
1d99702e | 7561 | { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent}, |
1d99702e | 7562 | { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent}, |
1d99702e | 7563 | { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent}, |
1d99702e | 7564 | { "_signed_long","_long",0}, |
b1462dfa | 7565 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
7566 | { "_wxPrintQuality","_int",0}, |
7567 | { "_wxPrintQuality","_signed_int",0}, | |
7568 | { "_wxPrintQuality","_unsigned_int",0}, | |
7569 | { "_wxPrintQuality","_wxWindowID",0}, | |
7570 | { "_wxPrintQuality","_uint",0}, | |
7571 | { "_wxPrintQuality","_EBool",0}, | |
7572 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 7573 | { "_wxPrintQuality","_time_t",0}, |
1d99702e RD |
7574 | { "_byte","_unsigned_char",0}, |
7575 | { "_long","_unsigned_long",0}, | |
7576 | { "_long","_signed_long",0}, | |
b1462dfa | 7577 | { "_size_t","_wxCoord",0}, |
1d99702e | 7578 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 7579 | { "_size_t","_time_t",0}, |
1d99702e RD |
7580 | { "_size_t","_unsigned_int",0}, |
7581 | { "_size_t","_int",0}, | |
7582 | { "_size_t","_wxWindowID",0}, | |
7583 | { "_size_t","_uint",0}, | |
b1462dfa | 7584 | { "_uint","_wxCoord",0}, |
1d99702e | 7585 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 7586 | { "_uint","_time_t",0}, |
1d99702e RD |
7587 | { "_uint","_size_t",0}, |
7588 | { "_uint","_unsigned_int",0}, | |
7589 | { "_uint","_int",0}, | |
7590 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 7591 | { "_wxChar","_char",0}, |
2f90df85 | 7592 | { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent}, |
c7e7022c | 7593 | { "_wxCommandEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxCommandEvent}, |
f6bcfd97 | 7594 | { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent}, |
f6bcfd97 | 7595 | { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent}, |
1d99702e | 7596 | { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent}, |
7b7ac0ab | 7597 | { "_wxCommandEvent","_wxChildFocusEvent",SwigwxChildFocusEventTowxCommandEvent}, |
1d99702e | 7598 | { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent}, |
1d99702e | 7599 | { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent}, |
f6bcfd97 | 7600 | { "_char","_wxChar",0}, |
cdf14688 | 7601 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
1d99702e | 7602 | { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent}, |
b1462dfa | 7603 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
7604 | { "_EBool","_wxPrintQuality",0}, |
7605 | { "_EBool","_signed_int",0}, | |
7606 | { "_EBool","_int",0}, | |
7607 | { "_EBool","_wxWindowID",0}, | |
1d99702e | 7608 | { "_unsigned_long","_long",0}, |
cdf14688 | 7609 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
b1462dfa | 7610 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
7611 | { "_signed_int","_wxPrintQuality",0}, |
7612 | { "_signed_int","_EBool",0}, | |
7613 | { "_signed_int","_wxWindowID",0}, | |
7614 | { "_signed_int","_int",0}, | |
1d99702e RD |
7615 | { "_WXTYPE","_short",0}, |
7616 | { "_WXTYPE","_signed_short",0}, | |
7617 | { "_WXTYPE","_unsigned_short",0}, | |
7618 | { "_unsigned_short","_WXTYPE",0}, | |
7619 | { "_unsigned_short","_short",0}, | |
9416aa89 | 7620 | { "_wxObject","_wxPyCommandEvent",SwigwxPyCommandEventTowxObject}, |
9416aa89 | 7621 | { "_wxObject","_wxPyEvent",SwigwxPyEventTowxObject}, |
c7e7022c | 7622 | { "_wxObject","_wxTextUrlEvent",SwigwxTextUrlEventTowxObject}, |
9416aa89 | 7623 | { "_wxObject","_wxTimerEvent",SwigwxTimerEventTowxObject}, |
9416aa89 | 7624 | { "_wxObject","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject}, |
9416aa89 | 7625 | { "_wxObject","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject}, |
9416aa89 | 7626 | { "_wxObject","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject}, |
9416aa89 | 7627 | { "_wxObject","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject}, |
be43cc44 | 7628 | { "_wxObject","_wxDisplayChangedEvent",SwigwxDisplayChangedEventTowxObject}, |
9416aa89 | 7629 | { "_wxObject","_wxNotifyEvent",SwigwxNotifyEventTowxObject}, |
9416aa89 | 7630 | { "_wxObject","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject}, |
9416aa89 | 7631 | { "_wxObject","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject}, |
9416aa89 | 7632 | { "_wxObject","_wxIdleEvent",SwigwxIdleEventTowxObject}, |
9416aa89 | 7633 | { "_wxObject","_wxDropFilesEvent",SwigwxDropFilesEventTowxObject}, |
9416aa89 | 7634 | { "_wxObject","_wxJoystickEvent",SwigwxJoystickEventTowxObject}, |
9416aa89 | 7635 | { "_wxObject","_wxMaximizeEvent",SwigwxMaximizeEventTowxObject}, |
9416aa89 | 7636 | { "_wxObject","_wxIconizeEvent",SwigwxIconizeEventTowxObject}, |
9416aa89 | 7637 | { "_wxObject","_wxShowEvent",SwigwxShowEventTowxObject}, |
9416aa89 | 7638 | { "_wxObject","_wxMenuEvent",SwigwxMenuEventTowxObject}, |
9416aa89 | 7639 | { "_wxObject","_wxInitDialogEvent",SwigwxInitDialogEventTowxObject}, |
9416aa89 | 7640 | { "_wxObject","_wxActivateEvent",SwigwxActivateEventTowxObject}, |
7b7ac0ab | 7641 | { "_wxObject","_wxChildFocusEvent",SwigwxChildFocusEventTowxObject}, |
9416aa89 | 7642 | { "_wxObject","_wxFocusEvent",SwigwxFocusEventTowxObject}, |
9416aa89 | 7643 | { "_wxObject","_wxEraseEvent",SwigwxEraseEventTowxObject}, |
9416aa89 | 7644 | { "_wxObject","_wxPaintEvent",SwigwxPaintEventTowxObject}, |
9416aa89 | 7645 | { "_wxObject","_wxMoveEvent",SwigwxMoveEventTowxObject}, |
9416aa89 | 7646 | { "_wxObject","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject}, |
9416aa89 | 7647 | { "_wxObject","_wxKeyEvent",SwigwxKeyEventTowxObject}, |
9416aa89 | 7648 | { "_wxObject","_wxMouseEvent",SwigwxMouseEventTowxObject}, |
9416aa89 | 7649 | { "_wxObject","_wxSpinEvent",SwigwxSpinEventTowxObject}, |
9416aa89 | 7650 | { "_wxObject","_wxScrollWinEvent",SwigwxScrollWinEventTowxObject}, |
9416aa89 | 7651 | { "_wxObject","_wxScrollEvent",SwigwxScrollEventTowxObject}, |
9416aa89 | 7652 | { "_wxObject","_wxCommandEvent",SwigwxCommandEventTowxObject}, |
9416aa89 | 7653 | { "_wxObject","_wxCloseEvent",SwigwxCloseEventTowxObject}, |
9416aa89 | 7654 | { "_wxObject","_wxSizeEvent",SwigwxSizeEventTowxObject}, |
9416aa89 | 7655 | { "_wxObject","_wxEvent",SwigwxEventTowxObject}, |
1d99702e RD |
7656 | { "_signed_short","_WXTYPE",0}, |
7657 | { "_signed_short","_short",0}, | |
1d99702e | 7658 | { "_unsigned_char","_byte",0}, |
b1462dfa | 7659 | { "_unsigned_int","_wxCoord",0}, |
1d99702e | 7660 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 7661 | { "_unsigned_int","_time_t",0}, |
1d99702e RD |
7662 | { "_unsigned_int","_size_t",0}, |
7663 | { "_unsigned_int","_uint",0}, | |
7664 | { "_unsigned_int","_wxWindowID",0}, | |
7665 | { "_unsigned_int","_int",0}, | |
7666 | { "_short","_WXTYPE",0}, | |
7667 | { "_short","_unsigned_short",0}, | |
7668 | { "_short","_signed_short",0}, | |
b1462dfa | 7669 | { "_wxWindowID","_wxCoord",0}, |
1d99702e | 7670 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 7671 | { "_wxWindowID","_time_t",0}, |
1d99702e RD |
7672 | { "_wxWindowID","_size_t",0}, |
7673 | { "_wxWindowID","_EBool",0}, | |
7674 | { "_wxWindowID","_uint",0}, | |
7675 | { "_wxWindowID","_int",0}, | |
7676 | { "_wxWindowID","_signed_int",0}, | |
7677 | { "_wxWindowID","_unsigned_int",0}, | |
b1462dfa | 7678 | { "_int","_wxCoord",0}, |
1d99702e | 7679 | { "_int","_wxPrintQuality",0}, |
c368d904 | 7680 | { "_int","_time_t",0}, |
1d99702e RD |
7681 | { "_int","_size_t",0}, |
7682 | { "_int","_EBool",0}, | |
7683 | { "_int","_uint",0}, | |
7684 | { "_int","_wxWindowID",0}, | |
7685 | { "_int","_unsigned_int",0}, | |
7686 | { "_int","_signed_int",0}, | |
c368d904 RD |
7687 | { "_time_t","_wxCoord",0}, |
7688 | { "_time_t","_wxPrintQuality",0}, | |
7689 | { "_time_t","_unsigned_int",0}, | |
7690 | { "_time_t","_int",0}, | |
7691 | { "_time_t","_wxWindowID",0}, | |
7692 | { "_time_t","_uint",0}, | |
7693 | { "_time_t","_size_t",0}, | |
b1462dfa RD |
7694 | { "_wxCoord","_int",0}, |
7695 | { "_wxCoord","_signed_int",0}, | |
7696 | { "_wxCoord","_unsigned_int",0}, | |
7697 | { "_wxCoord","_wxWindowID",0}, | |
7698 | { "_wxCoord","_uint",0}, | |
7699 | { "_wxCoord","_EBool",0}, | |
7700 | { "_wxCoord","_size_t",0}, | |
c368d904 | 7701 | { "_wxCoord","_time_t",0}, |
b1462dfa | 7702 | { "_wxCoord","_wxPrintQuality",0}, |
1d99702e RD |
7703 | {0,0,0}}; |
7704 | ||
8ab979d7 RD |
7705 | static PyObject *SWIG_globals; |
7706 | #ifdef __cplusplus | |
7707 | extern "C" | |
7708 | #endif | |
1d99702e | 7709 | SWIGEXPORT(void) initeventsc() { |
8ab979d7 RD |
7710 | PyObject *m, *d; |
7711 | SWIG_globals = SWIG_newvarlink(); | |
7712 | m = Py_InitModule("eventsc", eventscMethods); | |
7713 | d = PyModule_GetDict(m); | |
1d99702e RD |
7714 | { |
7715 | int i; | |
7716 | for (i = 0; _swig_mapping[i].n1; i++) | |
7717 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
7718 | } | |
8ab979d7 | 7719 | } |