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