2 * FILE : src/msw/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initeventsc
56 #define SWIG_name "eventsc"
59 #include <wx/spinbutt.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "String type required";
96 static PyObject
*_wrap_wxNewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
97 PyObject
* _resultobj
;
99 char *_kwnames
[] = { NULL
};
102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewEventType",_kwnames
))
105 wxPy_BEGIN_ALLOW_THREADS
;
106 _result
= (int )wxNewEventType();
108 wxPy_END_ALLOW_THREADS
;
109 if (PyErr_Occurred()) return NULL
;
110 } _resultobj
= Py_BuildValue("i",_result
);
114 static void *SwigwxEventTowxObject(void *ptr
) {
117 src
= (wxEvent
*) ptr
;
118 dest
= (wxObject
*) src
;
119 return (void *) dest
;
122 #define new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
123 static PyObject
*_wrap_new_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
124 PyObject
* _resultobj
;
126 int _arg0
= (int ) 0;
127 char *_kwnames
[] = { "id", NULL
};
131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxEvent",_kwnames
,&_arg0
))
134 wxPy_BEGIN_ALLOW_THREADS
;
135 _result
= (wxEvent
*)new_wxEvent(_arg0
);
137 wxPy_END_ALLOW_THREADS
;
138 if (PyErr_Occurred()) return NULL
;
140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
141 _resultobj
= Py_BuildValue("s",_ptemp
);
144 _resultobj
= Py_None
;
149 #define delete_wxEvent(_swigobj) (delete _swigobj)
150 static PyObject
*_wrap_delete_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
153 PyObject
* _argo0
= 0;
154 char *_kwnames
[] = { "self", NULL
};
157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEvent",_kwnames
,&_argo0
))
160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
167 wxPy_BEGIN_ALLOW_THREADS
;
168 delete_wxEvent(_arg0
);
170 wxPy_END_ALLOW_THREADS
;
171 if (PyErr_Occurred()) return NULL
;
172 } Py_INCREF(Py_None
);
173 _resultobj
= Py_None
;
177 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
178 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
179 PyObject
* _resultobj
;
182 PyObject
* _argo0
= 0;
183 char *_kwnames
[] = { "self", NULL
};
186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
196 wxPy_BEGIN_ALLOW_THREADS
;
197 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
199 wxPy_END_ALLOW_THREADS
;
200 if (PyErr_Occurred()) return NULL
;
201 }{ _resultobj
= wxPyMake_wxObject(_result
); }
205 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
206 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
210 PyObject
* _argo0
= 0;
211 char *_kwnames
[] = { "self", NULL
};
214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
224 wxPy_BEGIN_ALLOW_THREADS
;
225 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
227 wxPy_END_ALLOW_THREADS
;
228 if (PyErr_Occurred()) return NULL
;
229 } _resultobj
= Py_BuildValue("i",_result
);
233 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
234 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
238 PyObject
* _argo0
= 0;
239 char *_kwnames
[] = { "self", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
252 wxPy_BEGIN_ALLOW_THREADS
;
253 _result
= (int )wxEvent_GetId(_arg0
);
255 wxPy_END_ALLOW_THREADS
;
256 if (PyErr_Occurred()) return NULL
;
257 } _resultobj
= Py_BuildValue("i",_result
);
261 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
262 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
266 PyObject
* _argo0
= 0;
267 char *_kwnames
[] = { "self", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
280 wxPy_BEGIN_ALLOW_THREADS
;
281 _result
= (bool )wxEvent_GetSkipped(_arg0
);
283 wxPy_END_ALLOW_THREADS
;
284 if (PyErr_Occurred()) return NULL
;
285 } _resultobj
= Py_BuildValue("i",_result
);
289 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
290 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
291 PyObject
* _resultobj
;
294 PyObject
* _argo0
= 0;
295 char *_kwnames
[] = { "self", NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
308 wxPy_BEGIN_ALLOW_THREADS
;
309 _result
= (long )wxEvent_GetTimestamp(_arg0
);
311 wxPy_END_ALLOW_THREADS
;
312 if (PyErr_Occurred()) return NULL
;
313 } _resultobj
= Py_BuildValue("l",_result
);
317 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
318 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
322 PyObject
* _argo0
= 0;
323 PyObject
* _argo1
= 0;
324 char *_kwnames
[] = { "self","object", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
344 wxPy_BEGIN_ALLOW_THREADS
;
345 wxEvent_SetEventObject(_arg0
,_arg1
);
347 wxPy_END_ALLOW_THREADS
;
348 if (PyErr_Occurred()) return NULL
;
349 } Py_INCREF(Py_None
);
350 _resultobj
= Py_None
;
354 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
355 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
359 PyObject
* _argo0
= 0;
360 char *_kwnames
[] = { "self","typ", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
373 wxPy_BEGIN_ALLOW_THREADS
;
374 wxEvent_SetEventType(_arg0
,_arg1
);
376 wxPy_END_ALLOW_THREADS
;
377 if (PyErr_Occurred()) return NULL
;
378 } Py_INCREF(Py_None
);
379 _resultobj
= Py_None
;
383 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
384 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
385 PyObject
* _resultobj
;
388 PyObject
* _argo0
= 0;
389 char *_kwnames
[] = { "self","id", NULL
};
392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
402 wxPy_BEGIN_ALLOW_THREADS
;
403 wxEvent_SetId(_arg0
,_arg1
);
405 wxPy_END_ALLOW_THREADS
;
406 if (PyErr_Occurred()) return NULL
;
407 } Py_INCREF(Py_None
);
408 _resultobj
= Py_None
;
412 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
413 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
414 PyObject
* _resultobj
;
417 PyObject
* _argo0
= 0;
418 char *_kwnames
[] = { "self","timeStamp", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
431 wxPy_BEGIN_ALLOW_THREADS
;
432 wxEvent_SetTimestamp(_arg0
,_arg1
);
434 wxPy_END_ALLOW_THREADS
;
435 if (PyErr_Occurred()) return NULL
;
436 } Py_INCREF(Py_None
);
437 _resultobj
= Py_None
;
441 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
442 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
445 bool _arg1
= (bool ) TRUE
;
446 PyObject
* _argo0
= 0;
447 int tempbool1
= (int) TRUE
;
448 char *_kwnames
[] = { "self","skip", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
460 _arg1
= (bool ) tempbool1
;
462 wxPy_BEGIN_ALLOW_THREADS
;
463 wxEvent_Skip(_arg0
,_arg1
);
465 wxPy_END_ALLOW_THREADS
;
466 if (PyErr_Occurred()) return NULL
;
467 } Py_INCREF(Py_None
);
468 _resultobj
= Py_None
;
472 #define wxEvent_Clone(_swigobj) (_swigobj->Clone())
473 static PyObject
*_wrap_wxEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
477 PyObject
* _argo0
= 0;
478 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_Clone",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Clone. Expected _wxEvent_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 _result
= (wxEvent
*)wxEvent_Clone(_arg0
);
495 wxPy_END_ALLOW_THREADS
;
496 if (PyErr_Occurred()) return NULL
;
498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
499 _resultobj
= Py_BuildValue("s",_ptemp
);
502 _resultobj
= Py_None
;
507 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
510 src
= (wxSizeEvent
*) ptr
;
511 dest
= (wxEvent
*) src
;
512 return (void *) dest
;
515 static void *SwigwxSizeEventTowxObject(void *ptr
) {
518 src
= (wxSizeEvent
*) ptr
;
519 dest
= (wxObject
*) src
;
520 return (void *) dest
;
523 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
524 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
526 wxSizeEvent
* _result
;
528 int _arg1
= (int ) 0;
530 PyObject
* _obj0
= 0;
531 char *_kwnames
[] = { "sz","id", NULL
};
535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxSizeEvent",_kwnames
,&_obj0
,&_arg1
))
539 if (! wxSize_helper(_obj0
, &_arg0
))
543 wxPy_BEGIN_ALLOW_THREADS
;
544 _result
= (wxSizeEvent
*)new_wxSizeEvent(*_arg0
,_arg1
);
546 wxPy_END_ALLOW_THREADS
;
547 if (PyErr_Occurred()) return NULL
;
549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizeEvent_p");
550 _resultobj
= Py_BuildValue("s",_ptemp
);
553 _resultobj
= Py_None
;
558 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
559 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
563 PyObject
* _argo0
= 0;
564 char *_kwnames
[] = { "self", NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
578 wxPy_BEGIN_ALLOW_THREADS
;
579 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
581 wxPy_END_ALLOW_THREADS
;
582 if (PyErr_Occurred()) return NULL
;
583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
584 _resultobj
= Py_BuildValue("s",_ptemp
);
588 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
591 src
= (wxCloseEvent
*) ptr
;
592 dest
= (wxEvent
*) src
;
593 return (void *) dest
;
596 static void *SwigwxCloseEventTowxObject(void *ptr
) {
599 src
= (wxCloseEvent
*) ptr
;
600 dest
= (wxObject
*) src
;
601 return (void *) dest
;
604 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
605 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
607 wxCloseEvent
* _result
;
608 int _arg0
= (int ) 0;
609 int _arg1
= (int ) 0;
610 char *_kwnames
[] = { "commandEventType","id", NULL
};
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCloseEvent",_kwnames
,&_arg0
,&_arg1
))
617 wxPy_BEGIN_ALLOW_THREADS
;
618 _result
= (wxCloseEvent
*)new_wxCloseEvent(_arg0
,_arg1
);
620 wxPy_END_ALLOW_THREADS
;
621 if (PyErr_Occurred()) return NULL
;
623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCloseEvent_p");
624 _resultobj
= Py_BuildValue("s",_ptemp
);
627 _resultobj
= Py_None
;
632 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
633 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
634 PyObject
* _resultobj
;
635 wxCloseEvent
* _arg0
;
637 PyObject
* _argo0
= 0;
639 char *_kwnames
[] = { "self","loggingOff", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
651 _arg1
= (bool ) tempbool1
;
653 wxPy_BEGIN_ALLOW_THREADS
;
654 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
656 wxPy_END_ALLOW_THREADS
;
657 if (PyErr_Occurred()) return NULL
;
658 } Py_INCREF(Py_None
);
659 _resultobj
= Py_None
;
663 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
664 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
667 wxCloseEvent
* _arg0
;
668 PyObject
* _argo0
= 0;
669 char *_kwnames
[] = { "self", NULL
};
672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
682 wxPy_BEGIN_ALLOW_THREADS
;
683 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
685 wxPy_END_ALLOW_THREADS
;
686 if (PyErr_Occurred()) return NULL
;
687 } _resultobj
= Py_BuildValue("i",_result
);
691 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
692 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
694 wxCloseEvent
* _arg0
;
695 bool _arg1
= (bool ) TRUE
;
696 PyObject
* _argo0
= 0;
697 int tempbool1
= (int) TRUE
;
698 char *_kwnames
[] = { "self","veto", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
710 _arg1
= (bool ) tempbool1
;
712 wxPy_BEGIN_ALLOW_THREADS
;
713 wxCloseEvent_Veto(_arg0
,_arg1
);
715 wxPy_END_ALLOW_THREADS
;
716 if (PyErr_Occurred()) return NULL
;
717 } Py_INCREF(Py_None
);
718 _resultobj
= Py_None
;
722 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
723 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
726 wxCloseEvent
* _arg0
;
727 PyObject
* _argo0
= 0;
728 char *_kwnames
[] = { "self", NULL
};
731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
741 wxPy_BEGIN_ALLOW_THREADS
;
742 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
744 wxPy_END_ALLOW_THREADS
;
745 if (PyErr_Occurred()) return NULL
;
746 } _resultobj
= Py_BuildValue("i",_result
);
750 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
751 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
754 wxCloseEvent
* _arg0
;
755 PyObject
* _argo0
= 0;
756 char *_kwnames
[] = { "self", NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
769 wxPy_BEGIN_ALLOW_THREADS
;
770 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
772 wxPy_END_ALLOW_THREADS
;
773 if (PyErr_Occurred()) return NULL
;
774 } _resultobj
= Py_BuildValue("i",_result
);
778 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
779 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
781 wxCloseEvent
* _arg0
;
783 PyObject
* _argo0
= 0;
785 char *_kwnames
[] = { "self","canVeto", NULL
};
788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
797 _arg1
= (bool ) tempbool1
;
799 wxPy_BEGIN_ALLOW_THREADS
;
800 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
802 wxPy_END_ALLOW_THREADS
;
803 if (PyErr_Occurred()) return NULL
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
809 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
812 src
= (wxCommandEvent
*) ptr
;
813 dest
= (wxEvent
*) src
;
814 return (void *) dest
;
817 static void *SwigwxCommandEventTowxObject(void *ptr
) {
820 src
= (wxCommandEvent
*) ptr
;
821 dest
= (wxObject
*) src
;
822 return (void *) dest
;
825 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
826 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
828 wxCommandEvent
* _result
;
829 int _arg0
= (int ) 0;
830 int _arg1
= (int ) 0;
831 char *_kwnames
[] = { "commandEventType","id", NULL
};
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCommandEvent",_kwnames
,&_arg0
,&_arg1
))
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= (wxCommandEvent
*)new_wxCommandEvent(_arg0
,_arg1
);
841 wxPy_END_ALLOW_THREADS
;
842 if (PyErr_Occurred()) return NULL
;
844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCommandEvent_p");
845 _resultobj
= Py_BuildValue("s",_ptemp
);
848 _resultobj
= Py_None
;
853 #define wxCommandEvent_IsChecked(_swigobj) (_swigobj->IsChecked())
854 static PyObject
*_wrap_wxCommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 PyObject
* _resultobj
;
857 wxCommandEvent
* _arg0
;
858 PyObject
* _argo0
= 0;
859 char *_kwnames
[] = { "self", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsChecked",_kwnames
,&_argo0
))
865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsChecked. Expected _wxCommandEvent_p.");
872 wxPy_BEGIN_ALLOW_THREADS
;
873 _result
= (bool )wxCommandEvent_IsChecked(_arg0
);
875 wxPy_END_ALLOW_THREADS
;
876 if (PyErr_Occurred()) return NULL
;
877 } _resultobj
= Py_BuildValue("i",_result
);
881 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
882 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
885 wxCommandEvent
* _arg0
;
886 PyObject
* _argo0
= 0;
887 char *_kwnames
[] = { "self", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
900 wxPy_BEGIN_ALLOW_THREADS
;
901 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
903 wxPy_END_ALLOW_THREADS
;
904 if (PyErr_Occurred()) return NULL
;
905 } _resultobj
= Py_BuildValue("l",_result
);
909 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
910 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
913 wxCommandEvent
* _arg0
;
914 PyObject
* _argo0
= 0;
915 char *_kwnames
[] = { "self", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
928 wxPy_BEGIN_ALLOW_THREADS
;
929 _result
= (int )wxCommandEvent_GetInt(_arg0
);
931 wxPy_END_ALLOW_THREADS
;
932 if (PyErr_Occurred()) return NULL
;
933 } _resultobj
= Py_BuildValue("i",_result
);
937 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
938 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
941 wxCommandEvent
* _arg0
;
942 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
956 wxPy_BEGIN_ALLOW_THREADS
;
957 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
959 wxPy_END_ALLOW_THREADS
;
960 if (PyErr_Occurred()) return NULL
;
961 } _resultobj
= Py_BuildValue("i",_result
);
965 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
966 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
967 PyObject
* _resultobj
;
969 wxCommandEvent
* _arg0
;
970 PyObject
* _argo0
= 0;
971 char *_kwnames
[] = { "self", NULL
};
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
984 wxPy_BEGIN_ALLOW_THREADS
;
985 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
987 wxPy_END_ALLOW_THREADS
;
988 if (PyErr_Occurred()) return NULL
;
990 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
998 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
999 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 wxCommandEvent
* _arg0
;
1003 PyObject
* _argo0
= 0;
1004 char *_kwnames
[] = { "self", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
1017 wxPy_BEGIN_ALLOW_THREADS
;
1018 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
1020 wxPy_END_ALLOW_THREADS
;
1021 if (PyErr_Occurred()) return NULL
;
1022 } _resultobj
= Py_BuildValue("i",_result
);
1026 #define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
1027 static PyObject
*_wrap_wxCommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1029 wxCommandEvent
* _arg0
;
1031 PyObject
* _argo0
= 0;
1032 PyObject
* _obj1
= 0;
1033 char *_kwnames
[] = { "self","s", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCommandEvent_SetString",_kwnames
,&_argo0
,&_obj1
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
1046 #if PYTHON_API_VERSION >= 1009
1047 char* tmpPtr
; int tmpSize
;
1048 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1052 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1054 _arg1
= new wxString(tmpPtr
, tmpSize
);
1056 if (!PyString_Check(_obj1
)) {
1057 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1060 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1064 wxPy_BEGIN_ALLOW_THREADS
;
1065 wxCommandEvent_SetString(_arg0
,*_arg1
);
1067 wxPy_END_ALLOW_THREADS
;
1068 if (PyErr_Occurred()) return NULL
;
1069 } Py_INCREF(Py_None
);
1070 _resultobj
= Py_None
;
1078 #define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
1079 static PyObject
*_wrap_wxCommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1081 wxCommandEvent
* _arg0
;
1083 PyObject
* _argo0
= 0;
1084 char *_kwnames
[] = { "self","extraLong", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCommandEvent_SetExtraLong",_kwnames
,&_argo0
,&_arg1
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 wxCommandEvent_SetExtraLong(_arg0
,_arg1
);
1100 wxPy_END_ALLOW_THREADS
;
1101 if (PyErr_Occurred()) return NULL
;
1102 } Py_INCREF(Py_None
);
1103 _resultobj
= Py_None
;
1107 #define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1108 static PyObject
*_wrap_wxCommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1110 wxCommandEvent
* _arg0
;
1112 PyObject
* _argo0
= 0;
1113 char *_kwnames
[] = { "self","i", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCommandEvent_SetInt",_kwnames
,&_argo0
,&_arg1
))
1119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1126 wxPy_BEGIN_ALLOW_THREADS
;
1127 wxCommandEvent_SetInt(_arg0
,_arg1
);
1129 wxPy_END_ALLOW_THREADS
;
1130 if (PyErr_Occurred()) return NULL
;
1131 } Py_INCREF(Py_None
);
1132 _resultobj
= Py_None
;
1136 static PyObject
* wxCommandEvent_GetClientData(wxCommandEvent
*self
) {
1137 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
1139 Py_INCREF(data
->m_obj
);
1146 static PyObject
*_wrap_wxCommandEvent_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1149 wxCommandEvent
* _arg0
;
1150 PyObject
* _argo0
= 0;
1151 char *_kwnames
[] = { "self", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetClientData",_kwnames
,&_argo0
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetClientData. Expected _wxCommandEvent_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 _result
= (PyObject
*)wxCommandEvent_GetClientData(_arg0
);
1167 wxPy_END_ALLOW_THREADS
;
1168 if (PyErr_Occurred()) return NULL
;
1170 _resultobj
= _result
;
1175 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1177 wxCommandEvent
*dest
;
1178 src
= (wxScrollEvent
*) ptr
;
1179 dest
= (wxCommandEvent
*) src
;
1180 return (void *) dest
;
1183 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1186 src
= (wxScrollEvent
*) ptr
;
1187 dest
= (wxEvent
*) src
;
1188 return (void *) dest
;
1191 static void *SwigwxScrollEventTowxObject(void *ptr
) {
1194 src
= (wxScrollEvent
*) ptr
;
1195 dest
= (wxObject
*) src
;
1196 return (void *) dest
;
1199 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1200 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1202 wxScrollEvent
* _result
;
1203 int _arg0
= (int ) 0;
1204 int _arg1
= (int ) 0;
1205 int _arg2
= (int ) 0;
1206 int _arg3
= (int ) 0;
1207 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1217 wxPy_END_ALLOW_THREADS
;
1218 if (PyErr_Occurred()) return NULL
;
1220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1221 _resultobj
= Py_BuildValue("s",_ptemp
);
1224 _resultobj
= Py_None
;
1229 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1230 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1233 wxScrollEvent
* _arg0
;
1234 PyObject
* _argo0
= 0;
1235 char *_kwnames
[] = { "self", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1251 wxPy_END_ALLOW_THREADS
;
1252 if (PyErr_Occurred()) return NULL
;
1253 } _resultobj
= Py_BuildValue("i",_result
);
1257 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1258 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1261 wxScrollEvent
* _arg0
;
1262 PyObject
* _argo0
= 0;
1263 char *_kwnames
[] = { "self", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1276 wxPy_BEGIN_ALLOW_THREADS
;
1277 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1279 wxPy_END_ALLOW_THREADS
;
1280 if (PyErr_Occurred()) return NULL
;
1281 } _resultobj
= Py_BuildValue("i",_result
);
1285 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1286 wxScrollWinEvent
*src
;
1288 src
= (wxScrollWinEvent
*) ptr
;
1289 dest
= (wxEvent
*) src
;
1290 return (void *) dest
;
1293 static void *SwigwxScrollWinEventTowxObject(void *ptr
) {
1294 wxScrollWinEvent
*src
;
1296 src
= (wxScrollWinEvent
*) ptr
;
1297 dest
= (wxObject
*) src
;
1298 return (void *) dest
;
1301 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1302 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1304 wxScrollWinEvent
* _result
;
1305 int _arg0
= (int ) 0;
1306 int _arg1
= (int ) 0;
1307 int _arg2
= (int ) 0;
1308 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1315 wxPy_BEGIN_ALLOW_THREADS
;
1316 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1318 wxPy_END_ALLOW_THREADS
;
1319 if (PyErr_Occurred()) return NULL
;
1321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1322 _resultobj
= Py_BuildValue("s",_ptemp
);
1325 _resultobj
= Py_None
;
1330 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1331 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1334 wxScrollWinEvent
* _arg0
;
1335 PyObject
* _argo0
= 0;
1336 char *_kwnames
[] = { "self", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1352 wxPy_END_ALLOW_THREADS
;
1353 if (PyErr_Occurred()) return NULL
;
1354 } _resultobj
= Py_BuildValue("i",_result
);
1358 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1359 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
* _resultobj
;
1362 wxScrollWinEvent
* _arg0
;
1363 PyObject
* _argo0
= 0;
1364 char *_kwnames
[] = { "self", NULL
};
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1377 wxPy_BEGIN_ALLOW_THREADS
;
1378 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1380 wxPy_END_ALLOW_THREADS
;
1381 if (PyErr_Occurred()) return NULL
;
1382 } _resultobj
= Py_BuildValue("i",_result
);
1386 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1388 wxScrollEvent
*dest
;
1389 src
= (wxSpinEvent
*) ptr
;
1390 dest
= (wxScrollEvent
*) src
;
1391 return (void *) dest
;
1394 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1396 wxCommandEvent
*dest
;
1397 src
= (wxSpinEvent
*) ptr
;
1398 dest
= (wxCommandEvent
*) src
;
1399 return (void *) dest
;
1402 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1405 src
= (wxSpinEvent
*) ptr
;
1406 dest
= (wxEvent
*) src
;
1407 return (void *) dest
;
1410 static void *SwigwxSpinEventTowxObject(void *ptr
) {
1413 src
= (wxSpinEvent
*) ptr
;
1414 dest
= (wxObject
*) src
;
1415 return (void *) dest
;
1418 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1419 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1421 wxSpinEvent
* _result
;
1422 int _arg0
= (int ) 0;
1423 int _arg1
= (int ) 0;
1424 char *_kwnames
[] = { "commandType","id", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1431 wxPy_BEGIN_ALLOW_THREADS
;
1432 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1434 wxPy_END_ALLOW_THREADS
;
1435 if (PyErr_Occurred()) return NULL
;
1437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1438 _resultobj
= Py_BuildValue("s",_ptemp
);
1441 _resultobj
= Py_None
;
1446 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1449 src
= (wxMouseEvent
*) ptr
;
1450 dest
= (wxEvent
*) src
;
1451 return (void *) dest
;
1454 static void *SwigwxMouseEventTowxObject(void *ptr
) {
1457 src
= (wxMouseEvent
*) ptr
;
1458 dest
= (wxObject
*) src
;
1459 return (void *) dest
;
1462 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1463 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1465 wxMouseEvent
* _result
;
1466 int _arg0
= (int ) 0;
1467 char *_kwnames
[] = { "mouseEventType", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1474 wxPy_BEGIN_ALLOW_THREADS
;
1475 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1477 wxPy_END_ALLOW_THREADS
;
1478 if (PyErr_Occurred()) return NULL
;
1480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1481 _resultobj
= Py_BuildValue("s",_ptemp
);
1484 _resultobj
= Py_None
;
1489 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1490 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1493 wxMouseEvent
* _arg0
;
1494 PyObject
* _argo0
= 0;
1495 char *_kwnames
[] = { "self", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1508 wxPy_BEGIN_ALLOW_THREADS
;
1509 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1511 wxPy_END_ALLOW_THREADS
;
1512 if (PyErr_Occurred()) return NULL
;
1513 } _resultobj
= Py_BuildValue("i",_result
);
1517 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1518 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1521 wxMouseEvent
* _arg0
;
1522 int _arg1
= (int ) -1;
1523 PyObject
* _argo0
= 0;
1524 char *_kwnames
[] = { "self","but", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1540 wxPy_END_ALLOW_THREADS
;
1541 if (PyErr_Occurred()) return NULL
;
1542 } _resultobj
= Py_BuildValue("i",_result
);
1546 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1547 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1550 wxMouseEvent
* _arg0
;
1551 int _arg1
= (int ) -1;
1552 PyObject
* _argo0
= 0;
1553 char *_kwnames
[] = { "self","but", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1566 wxPy_BEGIN_ALLOW_THREADS
;
1567 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1569 wxPy_END_ALLOW_THREADS
;
1570 if (PyErr_Occurred()) return NULL
;
1571 } _resultobj
= Py_BuildValue("i",_result
);
1575 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1576 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1579 wxMouseEvent
* _arg0
;
1580 int _arg1
= (int ) -1;
1581 PyObject
* _argo0
= 0;
1582 char *_kwnames
[] = { "self","but", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1595 wxPy_BEGIN_ALLOW_THREADS
;
1596 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1598 wxPy_END_ALLOW_THREADS
;
1599 if (PyErr_Occurred()) return NULL
;
1600 } _resultobj
= Py_BuildValue("i",_result
);
1604 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1605 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1608 wxMouseEvent
* _arg0
;
1610 PyObject
* _argo0
= 0;
1611 char *_kwnames
[] = { "self","but", NULL
};
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1624 wxPy_BEGIN_ALLOW_THREADS
;
1625 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1627 wxPy_END_ALLOW_THREADS
;
1628 if (PyErr_Occurred()) return NULL
;
1629 } _resultobj
= Py_BuildValue("i",_result
);
1633 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1634 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1637 wxMouseEvent
* _arg0
;
1639 PyObject
* _argo0
= 0;
1640 char *_kwnames
[] = { "self","but", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1656 wxPy_END_ALLOW_THREADS
;
1657 if (PyErr_Occurred()) return NULL
;
1658 } _resultobj
= Py_BuildValue("i",_result
);
1662 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1663 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1666 wxMouseEvent
* _arg0
;
1667 PyObject
* _argo0
= 0;
1668 char *_kwnames
[] = { "self", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1681 wxPy_BEGIN_ALLOW_THREADS
;
1682 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1684 wxPy_END_ALLOW_THREADS
;
1685 if (PyErr_Occurred()) return NULL
;
1686 } _resultobj
= Py_BuildValue("i",_result
);
1690 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1691 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
* _resultobj
;
1694 wxMouseEvent
* _arg0
;
1695 PyObject
* _argo0
= 0;
1696 char *_kwnames
[] = { "self", NULL
};
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1712 wxPy_END_ALLOW_THREADS
;
1713 if (PyErr_Occurred()) return NULL
;
1714 } _resultobj
= Py_BuildValue("i",_result
);
1718 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1719 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
* _resultobj
;
1722 wxMouseEvent
* _arg0
;
1723 PyObject
* _argo0
= 0;
1724 char *_kwnames
[] = { "self", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1737 wxPy_BEGIN_ALLOW_THREADS
;
1738 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1740 wxPy_END_ALLOW_THREADS
;
1741 if (PyErr_Occurred()) return NULL
;
1742 } _resultobj
= Py_BuildValue("i",_result
);
1746 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1747 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1750 wxMouseEvent
* _arg0
;
1751 PyObject
* _argo0
= 0;
1752 char *_kwnames
[] = { "self", NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1765 wxPy_BEGIN_ALLOW_THREADS
;
1766 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1768 wxPy_END_ALLOW_THREADS
;
1769 if (PyErr_Occurred()) return NULL
;
1770 } _resultobj
= Py_BuildValue("i",_result
);
1774 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1775 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1778 wxMouseEvent
* _arg0
;
1779 PyObject
* _argo0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1796 wxPy_END_ALLOW_THREADS
;
1797 if (PyErr_Occurred()) return NULL
;
1798 } _resultobj
= Py_BuildValue("i",_result
);
1802 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1803 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1806 wxMouseEvent
* _arg0
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1824 wxPy_END_ALLOW_THREADS
;
1825 if (PyErr_Occurred()) return NULL
;
1826 } _resultobj
= Py_BuildValue("i",_result
);
1830 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1831 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1834 wxMouseEvent
* _arg0
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1852 wxPy_END_ALLOW_THREADS
;
1853 if (PyErr_Occurred()) return NULL
;
1854 } _resultobj
= Py_BuildValue("i",_result
);
1858 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1859 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1862 wxMouseEvent
* _arg0
;
1863 PyObject
* _argo0
= 0;
1864 char *_kwnames
[] = { "self", NULL
};
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1877 wxPy_BEGIN_ALLOW_THREADS
;
1878 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1880 wxPy_END_ALLOW_THREADS
;
1881 if (PyErr_Occurred()) return NULL
;
1882 } _resultobj
= Py_BuildValue("i",_result
);
1886 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1887 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1890 wxMouseEvent
* _arg0
;
1891 PyObject
* _argo0
= 0;
1892 char *_kwnames
[] = { "self", NULL
};
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1905 wxPy_BEGIN_ALLOW_THREADS
;
1906 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1908 wxPy_END_ALLOW_THREADS
;
1909 if (PyErr_Occurred()) return NULL
;
1910 } _resultobj
= Py_BuildValue("i",_result
);
1914 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1915 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
* _resultobj
;
1918 wxMouseEvent
* _arg0
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1936 wxPy_END_ALLOW_THREADS
;
1937 if (PyErr_Occurred()) return NULL
;
1938 } _resultobj
= Py_BuildValue("i",_result
);
1942 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1943 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1946 wxMouseEvent
* _arg0
;
1947 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1964 wxPy_END_ALLOW_THREADS
;
1965 if (PyErr_Occurred()) return NULL
;
1966 } _resultobj
= Py_BuildValue("i",_result
);
1970 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1971 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1974 wxMouseEvent
* _arg0
;
1975 PyObject
* _argo0
= 0;
1976 char *_kwnames
[] = { "self", NULL
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1989 wxPy_BEGIN_ALLOW_THREADS
;
1990 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1992 wxPy_END_ALLOW_THREADS
;
1993 if (PyErr_Occurred()) return NULL
;
1994 } _resultobj
= Py_BuildValue("i",_result
);
1998 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1999 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
* _resultobj
;
2002 wxMouseEvent
* _arg0
;
2003 PyObject
* _argo0
= 0;
2004 char *_kwnames
[] = { "self", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
2010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
2020 wxPy_END_ALLOW_THREADS
;
2021 if (PyErr_Occurred()) return NULL
;
2022 } _resultobj
= Py_BuildValue("i",_result
);
2026 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
2027 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2030 wxMouseEvent
* _arg0
;
2031 PyObject
* _argo0
= 0;
2032 char *_kwnames
[] = { "self", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
2048 wxPy_END_ALLOW_THREADS
;
2049 if (PyErr_Occurred()) return NULL
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
2055 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2058 wxMouseEvent
* _arg0
;
2059 PyObject
* _argo0
= 0;
2060 char *_kwnames
[] = { "self", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
2073 wxPy_BEGIN_ALLOW_THREADS
;
2074 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
2076 wxPy_END_ALLOW_THREADS
;
2077 if (PyErr_Occurred()) return NULL
;
2078 } _resultobj
= Py_BuildValue("i",_result
);
2082 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
2083 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2086 wxMouseEvent
* _arg0
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
2104 wxPy_END_ALLOW_THREADS
;
2105 if (PyErr_Occurred()) return NULL
;
2106 } _resultobj
= Py_BuildValue("i",_result
);
2110 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
2111 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2114 wxMouseEvent
* _arg0
;
2115 PyObject
* _argo0
= 0;
2116 char *_kwnames
[] = { "self", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
2122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
2129 wxPy_BEGIN_ALLOW_THREADS
;
2130 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
2132 wxPy_END_ALLOW_THREADS
;
2133 if (PyErr_Occurred()) return NULL
;
2134 } _resultobj
= Py_BuildValue("i",_result
);
2138 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
2139 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2142 wxMouseEvent
* _arg0
;
2143 PyObject
* _argo0
= 0;
2144 char *_kwnames
[] = { "self", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 _result
= (bool )wxMouseEvent_Moving(_arg0
);
2160 wxPy_END_ALLOW_THREADS
;
2161 if (PyErr_Occurred()) return NULL
;
2162 } _resultobj
= Py_BuildValue("i",_result
);
2166 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
2167 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2170 wxMouseEvent
* _arg0
;
2171 PyObject
* _argo0
= 0;
2172 char *_kwnames
[] = { "self", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
2178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
2185 wxPy_BEGIN_ALLOW_THREADS
;
2186 _result
= (bool )wxMouseEvent_Entering(_arg0
);
2188 wxPy_END_ALLOW_THREADS
;
2189 if (PyErr_Occurred()) return NULL
;
2190 } _resultobj
= Py_BuildValue("i",_result
);
2194 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
2195 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2198 wxMouseEvent
* _arg0
;
2199 PyObject
* _argo0
= 0;
2200 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2213 wxPy_BEGIN_ALLOW_THREADS
;
2214 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
2216 wxPy_END_ALLOW_THREADS
;
2217 if (PyErr_Occurred()) return NULL
;
2218 } _resultobj
= Py_BuildValue("i",_result
);
2222 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2223 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2226 wxMouseEvent
* _arg0
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self", NULL
};
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2242 wxPy_BEGIN_ALLOW_THREADS
;
2243 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2245 wxPy_END_ALLOW_THREADS
;
2246 if (PyErr_Occurred()) return NULL
;
2247 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2248 _resultobj
= Py_BuildValue("s",_ptemp
);
2252 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2253 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2255 wxMouseEvent
* _arg0
;
2260 PyObject
* _argo0
= 0;
2261 char *_kwnames
[] = { "self", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2280 wxPy_BEGIN_ALLOW_THREADS
;
2281 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2283 wxPy_END_ALLOW_THREADS
;
2284 if (PyErr_Occurred()) return NULL
;
2285 } Py_INCREF(Py_None
);
2286 _resultobj
= Py_None
;
2289 o
= PyInt_FromLong((long) (*_arg1
));
2290 _resultobj
= t_output_helper(_resultobj
, o
);
2294 o
= PyInt_FromLong((long) (*_arg2
));
2295 _resultobj
= t_output_helper(_resultobj
, o
);
2300 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2301 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2304 wxMouseEvent
* _arg0
;
2306 PyObject
* _argo0
= 0;
2307 PyObject
* _argo1
= 0;
2308 char *_kwnames
[] = { "self","dc", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2332 wxPy_END_ALLOW_THREADS
;
2333 if (PyErr_Occurred()) return NULL
;
2334 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2335 _resultobj
= Py_BuildValue("s",_ptemp
);
2339 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2340 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2343 wxMouseEvent
* _arg0
;
2344 PyObject
* _argo0
= 0;
2345 char *_kwnames
[] = { "self", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 _result
= (long )wxMouseEvent_GetX(_arg0
);
2361 wxPy_END_ALLOW_THREADS
;
2362 if (PyErr_Occurred()) return NULL
;
2363 } _resultobj
= Py_BuildValue("l",_result
);
2367 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2368 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2371 wxMouseEvent
* _arg0
;
2372 PyObject
* _argo0
= 0;
2373 char *_kwnames
[] = { "self", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2386 wxPy_BEGIN_ALLOW_THREADS
;
2387 _result
= (long )wxMouseEvent_GetY(_arg0
);
2389 wxPy_END_ALLOW_THREADS
;
2390 if (PyErr_Occurred()) return NULL
;
2391 } _resultobj
= Py_BuildValue("l",_result
);
2395 #define wxMouseEvent_GetWheelRotation(_swigobj) (_swigobj->GetWheelRotation())
2396 static PyObject
*_wrap_wxMouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2399 wxMouseEvent
* _arg0
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelRotation",_kwnames
,&_argo0
))
2407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelRotation. Expected _wxMouseEvent_p.");
2414 wxPy_BEGIN_ALLOW_THREADS
;
2415 _result
= (int )wxMouseEvent_GetWheelRotation(_arg0
);
2417 wxPy_END_ALLOW_THREADS
;
2418 if (PyErr_Occurred()) return NULL
;
2419 } _resultobj
= Py_BuildValue("i",_result
);
2423 #define wxMouseEvent_GetWheelDelta(_swigobj) (_swigobj->GetWheelDelta())
2424 static PyObject
*_wrap_wxMouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2427 wxMouseEvent
* _arg0
;
2428 PyObject
* _argo0
= 0;
2429 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelDelta",_kwnames
,&_argo0
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelDelta. Expected _wxMouseEvent_p.");
2442 wxPy_BEGIN_ALLOW_THREADS
;
2443 _result
= (int )wxMouseEvent_GetWheelDelta(_arg0
);
2445 wxPy_END_ALLOW_THREADS
;
2446 if (PyErr_Occurred()) return NULL
;
2447 } _resultobj
= Py_BuildValue("i",_result
);
2451 #define wxMouseEvent_GetLinesPerAction(_swigobj) (_swigobj->GetLinesPerAction())
2452 static PyObject
*_wrap_wxMouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
* _resultobj
;
2455 wxMouseEvent
* _arg0
;
2456 PyObject
* _argo0
= 0;
2457 char *_kwnames
[] = { "self", NULL
};
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetLinesPerAction",_kwnames
,&_argo0
))
2463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLinesPerAction. Expected _wxMouseEvent_p.");
2470 wxPy_BEGIN_ALLOW_THREADS
;
2471 _result
= (int )wxMouseEvent_GetLinesPerAction(_arg0
);
2473 wxPy_END_ALLOW_THREADS
;
2474 if (PyErr_Occurred()) return NULL
;
2475 } _resultobj
= Py_BuildValue("i",_result
);
2479 #define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2480 static PyObject
*_wrap_wxMouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2483 wxMouseEvent
* _arg0
;
2485 PyObject
* _argo0
= 0;
2486 char *_kwnames
[] = { "self","m_x", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2499 wxPy_BEGIN_ALLOW_THREADS
;
2500 _result
= (long )wxMouseEvent_m_x_set(_arg0
,_arg1
);
2502 wxPy_END_ALLOW_THREADS
;
2503 if (PyErr_Occurred()) return NULL
;
2504 } _resultobj
= Py_BuildValue("l",_result
);
2508 #define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2509 static PyObject
*_wrap_wxMouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2512 wxMouseEvent
* _arg0
;
2513 PyObject
* _argo0
= 0;
2514 char *_kwnames
[] = { "self", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_x_get",_kwnames
,&_argo0
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
2527 wxPy_BEGIN_ALLOW_THREADS
;
2528 _result
= (long )wxMouseEvent_m_x_get(_arg0
);
2530 wxPy_END_ALLOW_THREADS
;
2531 if (PyErr_Occurred()) return NULL
;
2532 } _resultobj
= Py_BuildValue("l",_result
);
2536 #define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2537 static PyObject
*_wrap_wxMouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
* _resultobj
;
2540 wxMouseEvent
* _arg0
;
2542 PyObject
* _argo0
= 0;
2543 char *_kwnames
[] = { "self","m_y", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 _result
= (long )wxMouseEvent_m_y_set(_arg0
,_arg1
);
2559 wxPy_END_ALLOW_THREADS
;
2560 if (PyErr_Occurred()) return NULL
;
2561 } _resultobj
= Py_BuildValue("l",_result
);
2565 #define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2566 static PyObject
*_wrap_wxMouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2569 wxMouseEvent
* _arg0
;
2570 PyObject
* _argo0
= 0;
2571 char *_kwnames
[] = { "self", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_y_get",_kwnames
,&_argo0
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
2584 wxPy_BEGIN_ALLOW_THREADS
;
2585 _result
= (long )wxMouseEvent_m_y_get(_arg0
);
2587 wxPy_END_ALLOW_THREADS
;
2588 if (PyErr_Occurred()) return NULL
;
2589 } _resultobj
= Py_BuildValue("l",_result
);
2593 #define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2594 static PyObject
*_wrap_wxMouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
* _resultobj
;
2597 wxMouseEvent
* _arg0
;
2599 PyObject
* _argo0
= 0;
2601 char *_kwnames
[] = { "self","m_leftDown", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_leftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
2613 _arg1
= (bool ) tempbool1
;
2615 wxPy_BEGIN_ALLOW_THREADS
;
2616 _result
= (bool )wxMouseEvent_m_leftDown_set(_arg0
,_arg1
);
2618 wxPy_END_ALLOW_THREADS
;
2619 if (PyErr_Occurred()) return NULL
;
2620 } _resultobj
= Py_BuildValue("i",_result
);
2624 #define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2625 static PyObject
*_wrap_wxMouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2628 wxMouseEvent
* _arg0
;
2629 PyObject
* _argo0
= 0;
2630 char *_kwnames
[] = { "self", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_leftDown_get",_kwnames
,&_argo0
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
2643 wxPy_BEGIN_ALLOW_THREADS
;
2644 _result
= (bool )wxMouseEvent_m_leftDown_get(_arg0
);
2646 wxPy_END_ALLOW_THREADS
;
2647 if (PyErr_Occurred()) return NULL
;
2648 } _resultobj
= Py_BuildValue("i",_result
);
2652 #define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2653 static PyObject
*_wrap_wxMouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
* _resultobj
;
2656 wxMouseEvent
* _arg0
;
2658 PyObject
* _argo0
= 0;
2660 char *_kwnames
[] = { "self","m_middleDown", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_middleDown_set",_kwnames
,&_argo0
,&tempbool1
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
2672 _arg1
= (bool ) tempbool1
;
2674 wxPy_BEGIN_ALLOW_THREADS
;
2675 _result
= (bool )wxMouseEvent_m_middleDown_set(_arg0
,_arg1
);
2677 wxPy_END_ALLOW_THREADS
;
2678 if (PyErr_Occurred()) return NULL
;
2679 } _resultobj
= Py_BuildValue("i",_result
);
2683 #define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2684 static PyObject
*_wrap_wxMouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2687 wxMouseEvent
* _arg0
;
2688 PyObject
* _argo0
= 0;
2689 char *_kwnames
[] = { "self", NULL
};
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_middleDown_get",_kwnames
,&_argo0
))
2695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
2702 wxPy_BEGIN_ALLOW_THREADS
;
2703 _result
= (bool )wxMouseEvent_m_middleDown_get(_arg0
);
2705 wxPy_END_ALLOW_THREADS
;
2706 if (PyErr_Occurred()) return NULL
;
2707 } _resultobj
= Py_BuildValue("i",_result
);
2711 #define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2712 static PyObject
*_wrap_wxMouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
* _resultobj
;
2715 wxMouseEvent
* _arg0
;
2717 PyObject
* _argo0
= 0;
2719 char *_kwnames
[] = { "self","m_rightDown", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_rightDown_set",_kwnames
,&_argo0
,&tempbool1
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
2731 _arg1
= (bool ) tempbool1
;
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 _result
= (bool )wxMouseEvent_m_rightDown_set(_arg0
,_arg1
);
2736 wxPy_END_ALLOW_THREADS
;
2737 if (PyErr_Occurred()) return NULL
;
2738 } _resultobj
= Py_BuildValue("i",_result
);
2742 #define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2743 static PyObject
*_wrap_wxMouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2746 wxMouseEvent
* _arg0
;
2747 PyObject
* _argo0
= 0;
2748 char *_kwnames
[] = { "self", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_rightDown_get",_kwnames
,&_argo0
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
2761 wxPy_BEGIN_ALLOW_THREADS
;
2762 _result
= (bool )wxMouseEvent_m_rightDown_get(_arg0
);
2764 wxPy_END_ALLOW_THREADS
;
2765 if (PyErr_Occurred()) return NULL
;
2766 } _resultobj
= Py_BuildValue("i",_result
);
2770 #define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2771 static PyObject
*_wrap_wxMouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2774 wxMouseEvent
* _arg0
;
2776 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self","m_controlDown", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
2790 _arg1
= (bool ) tempbool1
;
2792 wxPy_BEGIN_ALLOW_THREADS
;
2793 _result
= (bool )wxMouseEvent_m_controlDown_set(_arg0
,_arg1
);
2795 wxPy_END_ALLOW_THREADS
;
2796 if (PyErr_Occurred()) return NULL
;
2797 } _resultobj
= Py_BuildValue("i",_result
);
2801 #define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2802 static PyObject
*_wrap_wxMouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2805 wxMouseEvent
* _arg0
;
2806 PyObject
* _argo0
= 0;
2807 char *_kwnames
[] = { "self", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_controlDown_get",_kwnames
,&_argo0
))
2813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
2820 wxPy_BEGIN_ALLOW_THREADS
;
2821 _result
= (bool )wxMouseEvent_m_controlDown_get(_arg0
);
2823 wxPy_END_ALLOW_THREADS
;
2824 if (PyErr_Occurred()) return NULL
;
2825 } _resultobj
= Py_BuildValue("i",_result
);
2829 #define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2830 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2833 wxMouseEvent
* _arg0
;
2835 PyObject
* _argo0
= 0;
2837 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
2849 _arg1
= (bool ) tempbool1
;
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 _result
= (bool )wxMouseEvent_m_shiftDown_set(_arg0
,_arg1
);
2854 wxPy_END_ALLOW_THREADS
;
2855 if (PyErr_Occurred()) return NULL
;
2856 } _resultobj
= Py_BuildValue("i",_result
);
2860 #define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2861 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
* _resultobj
;
2864 wxMouseEvent
* _arg0
;
2865 PyObject
* _argo0
= 0;
2866 char *_kwnames
[] = { "self", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_shiftDown_get",_kwnames
,&_argo0
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2879 wxPy_BEGIN_ALLOW_THREADS
;
2880 _result
= (bool )wxMouseEvent_m_shiftDown_get(_arg0
);
2882 wxPy_END_ALLOW_THREADS
;
2883 if (PyErr_Occurred()) return NULL
;
2884 } _resultobj
= Py_BuildValue("i",_result
);
2888 #define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2889 static PyObject
*_wrap_wxMouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2892 wxMouseEvent
* _arg0
;
2894 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self","m_altDown", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
2908 _arg1
= (bool ) tempbool1
;
2910 wxPy_BEGIN_ALLOW_THREADS
;
2911 _result
= (bool )wxMouseEvent_m_altDown_set(_arg0
,_arg1
);
2913 wxPy_END_ALLOW_THREADS
;
2914 if (PyErr_Occurred()) return NULL
;
2915 } _resultobj
= Py_BuildValue("i",_result
);
2919 #define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2920 static PyObject
*_wrap_wxMouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2923 wxMouseEvent
* _arg0
;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_altDown_get",_kwnames
,&_argo0
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2938 wxPy_BEGIN_ALLOW_THREADS
;
2939 _result
= (bool )wxMouseEvent_m_altDown_get(_arg0
);
2941 wxPy_END_ALLOW_THREADS
;
2942 if (PyErr_Occurred()) return NULL
;
2943 } _resultobj
= Py_BuildValue("i",_result
);
2947 #define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2948 static PyObject
*_wrap_wxMouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2951 wxMouseEvent
* _arg0
;
2953 PyObject
* _argo0
= 0;
2955 char *_kwnames
[] = { "self","m_metaDown", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2967 _arg1
= (bool ) tempbool1
;
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 _result
= (bool )wxMouseEvent_m_metaDown_set(_arg0
,_arg1
);
2972 wxPy_END_ALLOW_THREADS
;
2973 if (PyErr_Occurred()) return NULL
;
2974 } _resultobj
= Py_BuildValue("i",_result
);
2978 #define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2979 static PyObject
*_wrap_wxMouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2982 wxMouseEvent
* _arg0
;
2983 PyObject
* _argo0
= 0;
2984 char *_kwnames
[] = { "self", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_metaDown_get",_kwnames
,&_argo0
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 _result
= (bool )wxMouseEvent_m_metaDown_get(_arg0
);
3000 wxPy_END_ALLOW_THREADS
;
3001 if (PyErr_Occurred()) return NULL
;
3002 } _resultobj
= Py_BuildValue("i",_result
);
3006 #define wxMouseEvent_m_wheelRotation_set(_swigobj,_swigval) (_swigobj->m_wheelRotation = _swigval,_swigval)
3007 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3010 wxMouseEvent
* _arg0
;
3012 PyObject
* _argo0
= 0;
3013 char *_kwnames
[] = { "self","m_wheelRotation", NULL
};
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelRotation_set",_kwnames
,&_argo0
,&_arg1
))
3019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_set. Expected _wxMouseEvent_p.");
3026 wxPy_BEGIN_ALLOW_THREADS
;
3027 _result
= (int )wxMouseEvent_m_wheelRotation_set(_arg0
,_arg1
);
3029 wxPy_END_ALLOW_THREADS
;
3030 if (PyErr_Occurred()) return NULL
;
3031 } _resultobj
= Py_BuildValue("i",_result
);
3035 #define wxMouseEvent_m_wheelRotation_get(_swigobj) ((int ) _swigobj->m_wheelRotation)
3036 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3039 wxMouseEvent
* _arg0
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelRotation_get",_kwnames
,&_argo0
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_get. Expected _wxMouseEvent_p.");
3054 wxPy_BEGIN_ALLOW_THREADS
;
3055 _result
= (int )wxMouseEvent_m_wheelRotation_get(_arg0
);
3057 wxPy_END_ALLOW_THREADS
;
3058 if (PyErr_Occurred()) return NULL
;
3059 } _resultobj
= Py_BuildValue("i",_result
);
3063 #define wxMouseEvent_m_wheelDelta_set(_swigobj,_swigval) (_swigobj->m_wheelDelta = _swigval,_swigval)
3064 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
* _resultobj
;
3067 wxMouseEvent
* _arg0
;
3069 PyObject
* _argo0
= 0;
3070 char *_kwnames
[] = { "self","m_wheelDelta", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelDelta_set",_kwnames
,&_argo0
,&_arg1
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_set. Expected _wxMouseEvent_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 _result
= (int )wxMouseEvent_m_wheelDelta_set(_arg0
,_arg1
);
3086 wxPy_END_ALLOW_THREADS
;
3087 if (PyErr_Occurred()) return NULL
;
3088 } _resultobj
= Py_BuildValue("i",_result
);
3092 #define wxMouseEvent_m_wheelDelta_get(_swigobj) ((int ) _swigobj->m_wheelDelta)
3093 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
* _resultobj
;
3096 wxMouseEvent
* _arg0
;
3097 PyObject
* _argo0
= 0;
3098 char *_kwnames
[] = { "self", NULL
};
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelDelta_get",_kwnames
,&_argo0
))
3104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_get. Expected _wxMouseEvent_p.");
3111 wxPy_BEGIN_ALLOW_THREADS
;
3112 _result
= (int )wxMouseEvent_m_wheelDelta_get(_arg0
);
3114 wxPy_END_ALLOW_THREADS
;
3115 if (PyErr_Occurred()) return NULL
;
3116 } _resultobj
= Py_BuildValue("i",_result
);
3120 #define wxMouseEvent_m_linesPerAction_set(_swigobj,_swigval) (_swigobj->m_linesPerAction = _swigval,_swigval)
3121 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
* _resultobj
;
3124 wxMouseEvent
* _arg0
;
3126 PyObject
* _argo0
= 0;
3127 char *_kwnames
[] = { "self","m_linesPerAction", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_linesPerAction_set",_kwnames
,&_argo0
,&_arg1
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_set. Expected _wxMouseEvent_p.");
3140 wxPy_BEGIN_ALLOW_THREADS
;
3141 _result
= (int )wxMouseEvent_m_linesPerAction_set(_arg0
,_arg1
);
3143 wxPy_END_ALLOW_THREADS
;
3144 if (PyErr_Occurred()) return NULL
;
3145 } _resultobj
= Py_BuildValue("i",_result
);
3149 #define wxMouseEvent_m_linesPerAction_get(_swigobj) ((int ) _swigobj->m_linesPerAction)
3150 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3153 wxMouseEvent
* _arg0
;
3154 PyObject
* _argo0
= 0;
3155 char *_kwnames
[] = { "self", NULL
};
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_linesPerAction_get",_kwnames
,&_argo0
))
3161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_get. Expected _wxMouseEvent_p.");
3168 wxPy_BEGIN_ALLOW_THREADS
;
3169 _result
= (int )wxMouseEvent_m_linesPerAction_get(_arg0
);
3171 wxPy_END_ALLOW_THREADS
;
3172 if (PyErr_Occurred()) return NULL
;
3173 } _resultobj
= Py_BuildValue("i",_result
);
3177 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
3180 src
= (wxKeyEvent
*) ptr
;
3181 dest
= (wxEvent
*) src
;
3182 return (void *) dest
;
3185 static void *SwigwxKeyEventTowxObject(void *ptr
) {
3188 src
= (wxKeyEvent
*) ptr
;
3189 dest
= (wxObject
*) src
;
3190 return (void *) dest
;
3193 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
3194 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3196 wxKeyEvent
* _result
;
3198 char *_kwnames
[] = { "keyEventType", NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
3205 wxPy_BEGIN_ALLOW_THREADS
;
3206 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
3208 wxPy_END_ALLOW_THREADS
;
3209 if (PyErr_Occurred()) return NULL
;
3211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
3212 _resultobj
= Py_BuildValue("s",_ptemp
);
3215 _resultobj
= Py_None
;
3220 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3221 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3225 PyObject
* _argo0
= 0;
3226 char *_kwnames
[] = { "self", NULL
};
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
3232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
3239 wxPy_BEGIN_ALLOW_THREADS
;
3240 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
3242 wxPy_END_ALLOW_THREADS
;
3243 if (PyErr_Occurred()) return NULL
;
3244 } _resultobj
= Py_BuildValue("i",_result
);
3248 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
3249 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
* _resultobj
;
3253 PyObject
* _argo0
= 0;
3254 char *_kwnames
[] = { "self", NULL
};
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
3260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
3267 wxPy_BEGIN_ALLOW_THREADS
;
3268 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
3270 wxPy_END_ALLOW_THREADS
;
3271 if (PyErr_Occurred()) return NULL
;
3272 } _resultobj
= Py_BuildValue("i",_result
);
3276 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
3277 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3281 PyObject
* _argo0
= 0;
3282 char *_kwnames
[] = { "self", NULL
};
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
3288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
3295 wxPy_BEGIN_ALLOW_THREADS
;
3296 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
3298 wxPy_END_ALLOW_THREADS
;
3299 if (PyErr_Occurred()) return NULL
;
3300 } _resultobj
= Py_BuildValue("i",_result
);
3304 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3305 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
* _resultobj
;
3309 PyObject
* _argo0
= 0;
3310 char *_kwnames
[] = { "self", NULL
};
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
3316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
3323 wxPy_BEGIN_ALLOW_THREADS
;
3324 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
3326 wxPy_END_ALLOW_THREADS
;
3327 if (PyErr_Occurred()) return NULL
;
3328 } _resultobj
= Py_BuildValue("i",_result
);
3332 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
3333 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
3354 wxPy_END_ALLOW_THREADS
;
3355 if (PyErr_Occurred()) return NULL
;
3356 } _resultobj
= Py_BuildValue("l",_result
);
3360 #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3361 static PyObject
*_wrap_wxKeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3365 PyObject
* _argo0
= 0;
3366 char *_kwnames
[] = { "self", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetKeyCode",_kwnames
,&_argo0
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
3379 wxPy_BEGIN_ALLOW_THREADS
;
3380 _result
= (long )wxKeyEvent_GetKeyCode(_arg0
);
3382 wxPy_END_ALLOW_THREADS
;
3383 if (PyErr_Occurred()) return NULL
;
3384 } _resultobj
= Py_BuildValue("l",_result
);
3388 #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
3389 static PyObject
*_wrap_wxKeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
* _resultobj
;
3393 PyObject
* _argo0
= 0;
3394 char *_kwnames
[] = { "self", NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_HasModifiers",_kwnames
,&_argo0
))
3400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
3407 wxPy_BEGIN_ALLOW_THREADS
;
3408 _result
= (bool )wxKeyEvent_HasModifiers(_arg0
);
3410 wxPy_END_ALLOW_THREADS
;
3411 if (PyErr_Occurred()) return NULL
;
3412 } _resultobj
= Py_BuildValue("i",_result
);
3416 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
3417 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
* _resultobj
;
3421 PyObject
* _argo0
= 0;
3422 char *_kwnames
[] = { "self", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
3435 wxPy_BEGIN_ALLOW_THREADS
;
3436 _result
= (long )wxKeyEvent_GetX(_arg0
);
3438 wxPy_END_ALLOW_THREADS
;
3439 if (PyErr_Occurred()) return NULL
;
3440 } _resultobj
= Py_BuildValue("l",_result
);
3444 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
3445 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3449 PyObject
* _argo0
= 0;
3450 char *_kwnames
[] = { "self", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
3463 wxPy_BEGIN_ALLOW_THREADS
;
3464 _result
= (long )wxKeyEvent_GetY(_arg0
);
3466 wxPy_END_ALLOW_THREADS
;
3467 if (PyErr_Occurred()) return NULL
;
3468 } _resultobj
= Py_BuildValue("l",_result
);
3472 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3473 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3477 PyObject
* _argo0
= 0;
3478 char *_kwnames
[] = { "self", NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
3485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
3492 wxPy_BEGIN_ALLOW_THREADS
;
3493 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
3495 wxPy_END_ALLOW_THREADS
;
3496 if (PyErr_Occurred()) return NULL
;
3497 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3498 _resultobj
= Py_BuildValue("s",_ptemp
);
3502 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3503 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3510 PyObject
* _argo0
= 0;
3511 char *_kwnames
[] = { "self", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3530 wxPy_BEGIN_ALLOW_THREADS
;
3531 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3533 wxPy_END_ALLOW_THREADS
;
3534 if (PyErr_Occurred()) return NULL
;
3535 } Py_INCREF(Py_None
);
3536 _resultobj
= Py_None
;
3539 o
= PyInt_FromLong((long) (*_arg1
));
3540 _resultobj
= t_output_helper(_resultobj
, o
);
3544 o
= PyInt_FromLong((long) (*_arg2
));
3545 _resultobj
= t_output_helper(_resultobj
, o
);
3550 #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3551 static PyObject
*_wrap_wxKeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3556 PyObject
* _argo0
= 0;
3557 char *_kwnames
[] = { "self","m_x", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3570 wxPy_BEGIN_ALLOW_THREADS
;
3571 _result
= (long )wxKeyEvent_m_x_set(_arg0
,_arg1
);
3573 wxPy_END_ALLOW_THREADS
;
3574 if (PyErr_Occurred()) return NULL
;
3575 } _resultobj
= Py_BuildValue("l",_result
);
3579 #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3580 static PyObject
*_wrap_wxKeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3584 PyObject
* _argo0
= 0;
3585 char *_kwnames
[] = { "self", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_x_get",_kwnames
,&_argo0
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3598 wxPy_BEGIN_ALLOW_THREADS
;
3599 _result
= (long )wxKeyEvent_m_x_get(_arg0
);
3601 wxPy_END_ALLOW_THREADS
;
3602 if (PyErr_Occurred()) return NULL
;
3603 } _resultobj
= Py_BuildValue("l",_result
);
3607 #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3608 static PyObject
*_wrap_wxKeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
* _resultobj
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self","m_y", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p.");
3627 wxPy_BEGIN_ALLOW_THREADS
;
3628 _result
= (long )wxKeyEvent_m_y_set(_arg0
,_arg1
);
3630 wxPy_END_ALLOW_THREADS
;
3631 if (PyErr_Occurred()) return NULL
;
3632 } _resultobj
= Py_BuildValue("l",_result
);
3636 #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3637 static PyObject
*_wrap_wxKeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_y_get",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 _result
= (long )wxKeyEvent_m_y_get(_arg0
);
3658 wxPy_END_ALLOW_THREADS
;
3659 if (PyErr_Occurred()) return NULL
;
3660 } _resultobj
= Py_BuildValue("l",_result
);
3664 #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3665 static PyObject
*_wrap_wxKeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3670 PyObject
* _argo0
= 0;
3671 char *_kwnames
[] = { "self","m_keyCode", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_keyCode_set",_kwnames
,&_argo0
,&_arg1
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3684 wxPy_BEGIN_ALLOW_THREADS
;
3685 _result
= (long )wxKeyEvent_m_keyCode_set(_arg0
,_arg1
);
3687 wxPy_END_ALLOW_THREADS
;
3688 if (PyErr_Occurred()) return NULL
;
3689 } _resultobj
= Py_BuildValue("l",_result
);
3693 #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3694 static PyObject
*_wrap_wxKeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3698 PyObject
* _argo0
= 0;
3699 char *_kwnames
[] = { "self", NULL
};
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_keyCode_get",_kwnames
,&_argo0
))
3705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3712 wxPy_BEGIN_ALLOW_THREADS
;
3713 _result
= (long )wxKeyEvent_m_keyCode_get(_arg0
);
3715 wxPy_END_ALLOW_THREADS
;
3716 if (PyErr_Occurred()) return NULL
;
3717 } _resultobj
= Py_BuildValue("l",_result
);
3721 #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3722 static PyObject
*_wrap_wxKeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
* _resultobj
;
3727 PyObject
* _argo0
= 0;
3729 char *_kwnames
[] = { "self","m_controlDown", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
3735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
3741 _arg1
= (bool ) tempbool1
;
3743 wxPy_BEGIN_ALLOW_THREADS
;
3744 _result
= (bool )wxKeyEvent_m_controlDown_set(_arg0
,_arg1
);
3746 wxPy_END_ALLOW_THREADS
;
3747 if (PyErr_Occurred()) return NULL
;
3748 } _resultobj
= Py_BuildValue("i",_result
);
3752 #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
3753 static PyObject
*_wrap_wxKeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3757 PyObject
* _argo0
= 0;
3758 char *_kwnames
[] = { "self", NULL
};
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_controlDown_get",_kwnames
,&_argo0
))
3764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
3771 wxPy_BEGIN_ALLOW_THREADS
;
3772 _result
= (bool )wxKeyEvent_m_controlDown_get(_arg0
);
3774 wxPy_END_ALLOW_THREADS
;
3775 if (PyErr_Occurred()) return NULL
;
3776 } _resultobj
= Py_BuildValue("i",_result
);
3780 #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
3781 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3786 PyObject
* _argo0
= 0;
3788 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
3800 _arg1
= (bool ) tempbool1
;
3802 wxPy_BEGIN_ALLOW_THREADS
;
3803 _result
= (bool )wxKeyEvent_m_shiftDown_set(_arg0
,_arg1
);
3805 wxPy_END_ALLOW_THREADS
;
3806 if (PyErr_Occurred()) return NULL
;
3807 } _resultobj
= Py_BuildValue("i",_result
);
3811 #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
3812 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3816 PyObject
* _argo0
= 0;
3817 char *_kwnames
[] = { "self", NULL
};
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_shiftDown_get",_kwnames
,&_argo0
))
3823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
3830 wxPy_BEGIN_ALLOW_THREADS
;
3831 _result
= (bool )wxKeyEvent_m_shiftDown_get(_arg0
);
3833 wxPy_END_ALLOW_THREADS
;
3834 if (PyErr_Occurred()) return NULL
;
3835 } _resultobj
= Py_BuildValue("i",_result
);
3839 #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
3840 static PyObject
*_wrap_wxKeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3845 PyObject
* _argo0
= 0;
3847 char *_kwnames
[] = { "self","m_altDown", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
3853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
3859 _arg1
= (bool ) tempbool1
;
3861 wxPy_BEGIN_ALLOW_THREADS
;
3862 _result
= (bool )wxKeyEvent_m_altDown_set(_arg0
,_arg1
);
3864 wxPy_END_ALLOW_THREADS
;
3865 if (PyErr_Occurred()) return NULL
;
3866 } _resultobj
= Py_BuildValue("i",_result
);
3870 #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
3871 static PyObject
*_wrap_wxKeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3875 PyObject
* _argo0
= 0;
3876 char *_kwnames
[] = { "self", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_altDown_get",_kwnames
,&_argo0
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
3889 wxPy_BEGIN_ALLOW_THREADS
;
3890 _result
= (bool )wxKeyEvent_m_altDown_get(_arg0
);
3892 wxPy_END_ALLOW_THREADS
;
3893 if (PyErr_Occurred()) return NULL
;
3894 } _resultobj
= Py_BuildValue("i",_result
);
3898 #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
3899 static PyObject
*_wrap_wxKeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3904 PyObject
* _argo0
= 0;
3906 char *_kwnames
[] = { "self","m_metaDown", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
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_metaDown_set. Expected _wxKeyEvent_p.");
3918 _arg1
= (bool ) tempbool1
;
3920 wxPy_BEGIN_ALLOW_THREADS
;
3921 _result
= (bool )wxKeyEvent_m_metaDown_set(_arg0
,_arg1
);
3923 wxPy_END_ALLOW_THREADS
;
3924 if (PyErr_Occurred()) return NULL
;
3925 } _resultobj
= Py_BuildValue("i",_result
);
3929 #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
3930 static PyObject
*_wrap_wxKeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3934 PyObject
* _argo0
= 0;
3935 char *_kwnames
[] = { "self", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_metaDown_get",_kwnames
,&_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_metaDown_get. Expected _wxKeyEvent_p.");
3948 wxPy_BEGIN_ALLOW_THREADS
;
3949 _result
= (bool )wxKeyEvent_m_metaDown_get(_arg0
);
3951 wxPy_END_ALLOW_THREADS
;
3952 if (PyErr_Occurred()) return NULL
;
3953 } _resultobj
= Py_BuildValue("i",_result
);
3957 #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
3958 static PyObject
*_wrap_wxKeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3963 PyObject
* _argo0
= 0;
3965 char *_kwnames
[] = { "self","m_scanCode", NULL
};
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_scanCode_set",_kwnames
,&_argo0
,&tempbool1
))
3971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
3977 _arg1
= (bool ) tempbool1
;
3979 wxPy_BEGIN_ALLOW_THREADS
;
3980 _result
= (bool )wxKeyEvent_m_scanCode_set(_arg0
,_arg1
);
3982 wxPy_END_ALLOW_THREADS
;
3983 if (PyErr_Occurred()) return NULL
;
3984 } _resultobj
= Py_BuildValue("i",_result
);
3988 #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
3989 static PyObject
*_wrap_wxKeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3993 PyObject
* _argo0
= 0;
3994 char *_kwnames
[] = { "self", NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_scanCode_get",_kwnames
,&_argo0
))
4000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
4007 wxPy_BEGIN_ALLOW_THREADS
;
4008 _result
= (bool )wxKeyEvent_m_scanCode_get(_arg0
);
4010 wxPy_END_ALLOW_THREADS
;
4011 if (PyErr_Occurred()) return NULL
;
4012 } _resultobj
= Py_BuildValue("i",_result
);
4016 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
4017 wxNavigationKeyEvent
*src
;
4019 src
= (wxNavigationKeyEvent
*) ptr
;
4020 dest
= (wxEvent
*) src
;
4021 return (void *) dest
;
4024 static void *SwigwxNavigationKeyEventTowxObject(void *ptr
) {
4025 wxNavigationKeyEvent
*src
;
4027 src
= (wxNavigationKeyEvent
*) ptr
;
4028 dest
= (wxObject
*) src
;
4029 return (void *) dest
;
4032 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
4033 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
* _resultobj
;
4035 wxNavigationKeyEvent
* _result
;
4036 char *_kwnames
[] = { NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
4043 wxPy_BEGIN_ALLOW_THREADS
;
4044 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
4046 wxPy_END_ALLOW_THREADS
;
4047 if (PyErr_Occurred()) return NULL
;
4049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
4050 _resultobj
= Py_BuildValue("s",_ptemp
);
4053 _resultobj
= Py_None
;
4058 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
4059 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
* _resultobj
;
4062 wxNavigationKeyEvent
* _arg0
;
4063 PyObject
* _argo0
= 0;
4064 char *_kwnames
[] = { "self", NULL
};
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
4070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
4077 wxPy_BEGIN_ALLOW_THREADS
;
4078 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
4080 wxPy_END_ALLOW_THREADS
;
4081 if (PyErr_Occurred()) return NULL
;
4082 } _resultobj
= Py_BuildValue("i",_result
);
4086 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
4087 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4089 wxNavigationKeyEvent
* _arg0
;
4091 PyObject
* _argo0
= 0;
4093 char *_kwnames
[] = { "self","bForward", NULL
};
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
4099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
4105 _arg1
= (bool ) tempbool1
;
4107 wxPy_BEGIN_ALLOW_THREADS
;
4108 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
4110 wxPy_END_ALLOW_THREADS
;
4111 if (PyErr_Occurred()) return NULL
;
4112 } Py_INCREF(Py_None
);
4113 _resultobj
= Py_None
;
4117 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
4118 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4121 wxNavigationKeyEvent
* _arg0
;
4122 PyObject
* _argo0
= 0;
4123 char *_kwnames
[] = { "self", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
4136 wxPy_BEGIN_ALLOW_THREADS
;
4137 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
4139 wxPy_END_ALLOW_THREADS
;
4140 if (PyErr_Occurred()) return NULL
;
4141 } _resultobj
= Py_BuildValue("i",_result
);
4145 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
4146 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
* _resultobj
;
4148 wxNavigationKeyEvent
* _arg0
;
4150 PyObject
* _argo0
= 0;
4152 char *_kwnames
[] = { "self","bIs", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
4164 _arg1
= (bool ) tempbool1
;
4166 wxPy_BEGIN_ALLOW_THREADS
;
4167 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
4169 wxPy_END_ALLOW_THREADS
;
4170 if (PyErr_Occurred()) return NULL
;
4171 } Py_INCREF(Py_None
);
4172 _resultobj
= Py_None
;
4176 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
4177 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
* _resultobj
;
4180 wxNavigationKeyEvent
* _arg0
;
4181 PyObject
* _argo0
= 0;
4182 char *_kwnames
[] = { "self", NULL
};
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
4188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4195 wxPy_BEGIN_ALLOW_THREADS
;
4196 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
4198 wxPy_END_ALLOW_THREADS
;
4199 if (PyErr_Occurred()) return NULL
;
4200 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4204 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
4205 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4207 wxNavigationKeyEvent
* _arg0
;
4209 PyObject
* _argo0
= 0;
4210 PyObject
* _argo1
= 0;
4211 char *_kwnames
[] = { "self","win", NULL
};
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
4217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4224 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
4231 wxPy_BEGIN_ALLOW_THREADS
;
4232 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
4234 wxPy_END_ALLOW_THREADS
;
4235 if (PyErr_Occurred()) return NULL
;
4236 } Py_INCREF(Py_None
);
4237 _resultobj
= Py_None
;
4241 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
4244 src
= (wxMoveEvent
*) ptr
;
4245 dest
= (wxEvent
*) src
;
4246 return (void *) dest
;
4249 static void *SwigwxMoveEventTowxObject(void *ptr
) {
4252 src
= (wxMoveEvent
*) ptr
;
4253 dest
= (wxObject
*) src
;
4254 return (void *) dest
;
4257 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
4258 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4260 wxMoveEvent
* _result
;
4262 int _arg1
= (int ) 0;
4264 PyObject
* _obj0
= 0;
4265 char *_kwnames
[] = { "pt","id", NULL
};
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
4273 if (! wxPoint_helper(_obj0
, &_arg0
))
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
4280 wxPy_END_ALLOW_THREADS
;
4281 if (PyErr_Occurred()) return NULL
;
4283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
4284 _resultobj
= Py_BuildValue("s",_ptemp
);
4287 _resultobj
= Py_None
;
4292 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4293 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
* _resultobj
;
4296 wxMoveEvent
* _arg0
;
4297 PyObject
* _argo0
= 0;
4298 char *_kwnames
[] = { "self", NULL
};
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
4305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
4312 wxPy_BEGIN_ALLOW_THREADS
;
4313 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
4315 wxPy_END_ALLOW_THREADS
;
4316 if (PyErr_Occurred()) return NULL
;
4317 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4318 _resultobj
= Py_BuildValue("s",_ptemp
);
4322 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
4325 src
= (wxPaintEvent
*) ptr
;
4326 dest
= (wxEvent
*) src
;
4327 return (void *) dest
;
4330 static void *SwigwxPaintEventTowxObject(void *ptr
) {
4333 src
= (wxPaintEvent
*) ptr
;
4334 dest
= (wxObject
*) src
;
4335 return (void *) dest
;
4338 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
4339 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4341 wxPaintEvent
* _result
;
4342 int _arg0
= (int ) 0;
4343 char *_kwnames
[] = { "id", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
4350 wxPy_BEGIN_ALLOW_THREADS
;
4351 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
4353 wxPy_END_ALLOW_THREADS
;
4354 if (PyErr_Occurred()) return NULL
;
4356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
4357 _resultobj
= Py_BuildValue("s",_ptemp
);
4360 _resultobj
= Py_None
;
4365 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
4368 src
= (wxEraseEvent
*) ptr
;
4369 dest
= (wxEvent
*) src
;
4370 return (void *) dest
;
4373 static void *SwigwxEraseEventTowxObject(void *ptr
) {
4376 src
= (wxEraseEvent
*) ptr
;
4377 dest
= (wxObject
*) src
;
4378 return (void *) dest
;
4381 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
4382 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
* _resultobj
;
4384 wxEraseEvent
* _result
;
4385 int _arg0
= (int ) 0;
4386 wxDC
* _arg1
= (wxDC
*) NULL
;
4387 PyObject
* _argo1
= 0;
4388 char *_kwnames
[] = { "id","dc", NULL
};
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
4395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
4405 wxPy_END_ALLOW_THREADS
;
4406 if (PyErr_Occurred()) return NULL
;
4408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
4409 _resultobj
= Py_BuildValue("s",_ptemp
);
4412 _resultobj
= Py_None
;
4417 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
4418 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
* _resultobj
;
4421 wxEraseEvent
* _arg0
;
4422 PyObject
* _argo0
= 0;
4423 char *_kwnames
[] = { "self", NULL
};
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
4429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
4436 wxPy_BEGIN_ALLOW_THREADS
;
4437 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
4439 wxPy_END_ALLOW_THREADS
;
4440 if (PyErr_Occurred()) return NULL
;
4441 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4445 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
4448 src
= (wxFocusEvent
*) ptr
;
4449 dest
= (wxEvent
*) src
;
4450 return (void *) dest
;
4453 static void *SwigwxFocusEventTowxObject(void *ptr
) {
4456 src
= (wxFocusEvent
*) ptr
;
4457 dest
= (wxObject
*) src
;
4458 return (void *) dest
;
4461 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
4462 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
* _resultobj
;
4464 wxFocusEvent
* _result
;
4465 WXTYPE _arg0
= (WXTYPE
) 0;
4466 int _arg1
= (int ) 0;
4467 char *_kwnames
[] = { "eventType","id", NULL
};
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
4474 wxPy_BEGIN_ALLOW_THREADS
;
4475 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
4477 wxPy_END_ALLOW_THREADS
;
4478 if (PyErr_Occurred()) return NULL
;
4480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
4481 _resultobj
= Py_BuildValue("s",_ptemp
);
4484 _resultobj
= Py_None
;
4489 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
4490 wxActivateEvent
*src
;
4492 src
= (wxActivateEvent
*) ptr
;
4493 dest
= (wxEvent
*) src
;
4494 return (void *) dest
;
4497 static void *SwigwxActivateEventTowxObject(void *ptr
) {
4498 wxActivateEvent
*src
;
4500 src
= (wxActivateEvent
*) ptr
;
4501 dest
= (wxObject
*) src
;
4502 return (void *) dest
;
4505 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
4506 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4508 wxActivateEvent
* _result
;
4509 WXTYPE _arg0
= (WXTYPE
) 0;
4510 int _arg1
= (int ) TRUE
;
4511 int _arg2
= (int ) 0;
4512 char *_kwnames
[] = { "eventType","active","id", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4519 wxPy_BEGIN_ALLOW_THREADS
;
4520 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
4522 wxPy_END_ALLOW_THREADS
;
4523 if (PyErr_Occurred()) return NULL
;
4525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
4526 _resultobj
= Py_BuildValue("s",_ptemp
);
4529 _resultobj
= Py_None
;
4534 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
4535 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
* _resultobj
;
4538 wxActivateEvent
* _arg0
;
4539 PyObject
* _argo0
= 0;
4540 char *_kwnames
[] = { "self", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
4553 wxPy_BEGIN_ALLOW_THREADS
;
4554 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
4556 wxPy_END_ALLOW_THREADS
;
4557 if (PyErr_Occurred()) return NULL
;
4558 } _resultobj
= Py_BuildValue("i",_result
);
4562 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
4563 wxInitDialogEvent
*src
;
4565 src
= (wxInitDialogEvent
*) ptr
;
4566 dest
= (wxEvent
*) src
;
4567 return (void *) dest
;
4570 static void *SwigwxInitDialogEventTowxObject(void *ptr
) {
4571 wxInitDialogEvent
*src
;
4573 src
= (wxInitDialogEvent
*) ptr
;
4574 dest
= (wxObject
*) src
;
4575 return (void *) dest
;
4578 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
4579 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4581 wxInitDialogEvent
* _result
;
4582 int _arg0
= (int ) 0;
4583 char *_kwnames
[] = { "id", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
4590 wxPy_BEGIN_ALLOW_THREADS
;
4591 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
4593 wxPy_END_ALLOW_THREADS
;
4594 if (PyErr_Occurred()) return NULL
;
4596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
4597 _resultobj
= Py_BuildValue("s",_ptemp
);
4600 _resultobj
= Py_None
;
4605 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
4608 src
= (wxMenuEvent
*) ptr
;
4609 dest
= (wxEvent
*) src
;
4610 return (void *) dest
;
4613 static void *SwigwxMenuEventTowxObject(void *ptr
) {
4616 src
= (wxMenuEvent
*) ptr
;
4617 dest
= (wxObject
*) src
;
4618 return (void *) dest
;
4621 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
4622 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
* _resultobj
;
4624 wxMenuEvent
* _result
;
4625 WXTYPE _arg0
= (WXTYPE
) 0;
4626 int _arg1
= (int ) 0;
4627 char *_kwnames
[] = { "id","id", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
4634 wxPy_BEGIN_ALLOW_THREADS
;
4635 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
4637 wxPy_END_ALLOW_THREADS
;
4638 if (PyErr_Occurred()) return NULL
;
4640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
4641 _resultobj
= Py_BuildValue("s",_ptemp
);
4644 _resultobj
= Py_None
;
4649 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
4650 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
* _resultobj
;
4653 wxMenuEvent
* _arg0
;
4654 PyObject
* _argo0
= 0;
4655 char *_kwnames
[] = { "self", NULL
};
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
4661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
4668 wxPy_BEGIN_ALLOW_THREADS
;
4669 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
4671 wxPy_END_ALLOW_THREADS
;
4672 if (PyErr_Occurred()) return NULL
;
4673 } _resultobj
= Py_BuildValue("i",_result
);
4677 static void *SwigwxShowEventTowxEvent(void *ptr
) {
4680 src
= (wxShowEvent
*) ptr
;
4681 dest
= (wxEvent
*) src
;
4682 return (void *) dest
;
4685 static void *SwigwxShowEventTowxObject(void *ptr
) {
4688 src
= (wxShowEvent
*) ptr
;
4689 dest
= (wxObject
*) src
;
4690 return (void *) dest
;
4693 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
4694 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4696 wxShowEvent
* _result
;
4697 int _arg0
= (int ) 0;
4698 int _arg1
= (int ) FALSE
;
4699 char *_kwnames
[] = { "id","show", NULL
};
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
4709 wxPy_END_ALLOW_THREADS
;
4710 if (PyErr_Occurred()) return NULL
;
4712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
4713 _resultobj
= Py_BuildValue("s",_ptemp
);
4716 _resultobj
= Py_None
;
4721 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
4722 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4724 wxShowEvent
* _arg0
;
4726 PyObject
* _argo0
= 0;
4728 char *_kwnames
[] = { "self","show", NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
4734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
4740 _arg1
= (bool ) tempbool1
;
4742 wxPy_BEGIN_ALLOW_THREADS
;
4743 wxShowEvent_SetShow(_arg0
,_arg1
);
4745 wxPy_END_ALLOW_THREADS
;
4746 if (PyErr_Occurred()) return NULL
;
4747 } Py_INCREF(Py_None
);
4748 _resultobj
= Py_None
;
4752 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
4753 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4756 wxShowEvent
* _arg0
;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
4771 wxPy_BEGIN_ALLOW_THREADS
;
4772 _result
= (bool )wxShowEvent_GetShow(_arg0
);
4774 wxPy_END_ALLOW_THREADS
;
4775 if (PyErr_Occurred()) return NULL
;
4776 } _resultobj
= Py_BuildValue("i",_result
);
4780 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
4781 wxIconizeEvent
*src
;
4783 src
= (wxIconizeEvent
*) ptr
;
4784 dest
= (wxEvent
*) src
;
4785 return (void *) dest
;
4788 static void *SwigwxIconizeEventTowxObject(void *ptr
) {
4789 wxIconizeEvent
*src
;
4791 src
= (wxIconizeEvent
*) ptr
;
4792 dest
= (wxObject
*) src
;
4793 return (void *) dest
;
4796 #define new_wxIconizeEvent(_swigarg0,_swigarg1) (new wxIconizeEvent(_swigarg0,_swigarg1))
4797 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4799 wxIconizeEvent
* _result
;
4800 int _arg0
= (int ) 0;
4801 bool _arg1
= (bool ) TRUE
;
4802 int tempbool1
= (int) TRUE
;
4803 char *_kwnames
[] = { "id","iconized", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxIconizeEvent",_kwnames
,&_arg0
,&tempbool1
))
4809 _arg1
= (bool ) tempbool1
;
4811 wxPy_BEGIN_ALLOW_THREADS
;
4812 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
,_arg1
);
4814 wxPy_END_ALLOW_THREADS
;
4815 if (PyErr_Occurred()) return NULL
;
4817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
4818 _resultobj
= Py_BuildValue("s",_ptemp
);
4821 _resultobj
= Py_None
;
4826 #define wxIconizeEvent_Iconized(_swigobj) (_swigobj->Iconized())
4827 static PyObject
*_wrap_wxIconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4830 wxIconizeEvent
* _arg0
;
4831 PyObject
* _argo0
= 0;
4832 char *_kwnames
[] = { "self", NULL
};
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconizeEvent_Iconized",_kwnames
,&_argo0
))
4838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconizeEvent_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconizeEvent_Iconized. Expected _wxIconizeEvent_p.");
4845 wxPy_BEGIN_ALLOW_THREADS
;
4846 _result
= (bool )wxIconizeEvent_Iconized(_arg0
);
4848 wxPy_END_ALLOW_THREADS
;
4849 if (PyErr_Occurred()) return NULL
;
4850 } _resultobj
= Py_BuildValue("i",_result
);
4854 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
4855 wxMaximizeEvent
*src
;
4857 src
= (wxMaximizeEvent
*) ptr
;
4858 dest
= (wxEvent
*) src
;
4859 return (void *) dest
;
4862 static void *SwigwxMaximizeEventTowxObject(void *ptr
) {
4863 wxMaximizeEvent
*src
;
4865 src
= (wxMaximizeEvent
*) ptr
;
4866 dest
= (wxObject
*) src
;
4867 return (void *) dest
;
4870 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4871 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
* _resultobj
;
4873 wxMaximizeEvent
* _result
;
4874 int _arg0
= (int ) 0;
4875 char *_kwnames
[] = { "id", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
4882 wxPy_BEGIN_ALLOW_THREADS
;
4883 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
4885 wxPy_END_ALLOW_THREADS
;
4886 if (PyErr_Occurred()) return NULL
;
4888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
4889 _resultobj
= Py_BuildValue("s",_ptemp
);
4892 _resultobj
= Py_None
;
4897 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
4898 wxJoystickEvent
*src
;
4900 src
= (wxJoystickEvent
*) ptr
;
4901 dest
= (wxEvent
*) src
;
4902 return (void *) dest
;
4905 static void *SwigwxJoystickEventTowxObject(void *ptr
) {
4906 wxJoystickEvent
*src
;
4908 src
= (wxJoystickEvent
*) ptr
;
4909 dest
= (wxObject
*) src
;
4910 return (void *) dest
;
4913 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4914 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4916 wxJoystickEvent
* _result
;
4917 int _arg0
= (int ) wxEVT_NULL
;
4918 int _arg1
= (int ) 0;
4919 int _arg2
= (int ) wxJOYSTICK1
;
4920 int _arg3
= (int ) 0;
4921 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
4928 wxPy_BEGIN_ALLOW_THREADS
;
4929 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
4931 wxPy_END_ALLOW_THREADS
;
4932 if (PyErr_Occurred()) return NULL
;
4934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
4935 _resultobj
= Py_BuildValue("s",_ptemp
);
4938 _resultobj
= Py_None
;
4943 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4944 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
* _resultobj
;
4947 wxJoystickEvent
* _arg0
;
4948 PyObject
* _argo0
= 0;
4949 char *_kwnames
[] = { "self", NULL
};
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
4956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4963 wxPy_BEGIN_ALLOW_THREADS
;
4964 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
4966 wxPy_END_ALLOW_THREADS
;
4967 if (PyErr_Occurred()) return NULL
;
4968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4969 _resultobj
= Py_BuildValue("s",_ptemp
);
4973 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4974 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
* _resultobj
;
4977 wxJoystickEvent
* _arg0
;
4978 PyObject
* _argo0
= 0;
4979 char *_kwnames
[] = { "self", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
4995 wxPy_END_ALLOW_THREADS
;
4996 if (PyErr_Occurred()) return NULL
;
4997 } _resultobj
= Py_BuildValue("i",_result
);
5001 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5002 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
* _resultobj
;
5005 wxJoystickEvent
* _arg0
;
5006 PyObject
* _argo0
= 0;
5007 char *_kwnames
[] = { "self", NULL
};
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
5013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
5020 wxPy_BEGIN_ALLOW_THREADS
;
5021 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
5023 wxPy_END_ALLOW_THREADS
;
5024 if (PyErr_Occurred()) return NULL
;
5025 } _resultobj
= Py_BuildValue("i",_result
);
5029 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
5030 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5033 wxJoystickEvent
* _arg0
;
5034 PyObject
* _argo0
= 0;
5035 char *_kwnames
[] = { "self", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
5051 wxPy_END_ALLOW_THREADS
;
5052 if (PyErr_Occurred()) return NULL
;
5053 } _resultobj
= Py_BuildValue("i",_result
);
5057 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
5058 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5061 wxJoystickEvent
* _arg0
;
5062 PyObject
* _argo0
= 0;
5063 char *_kwnames
[] = { "self", NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
5069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
5076 wxPy_BEGIN_ALLOW_THREADS
;
5077 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
5079 wxPy_END_ALLOW_THREADS
;
5080 if (PyErr_Occurred()) return NULL
;
5081 } _resultobj
= Py_BuildValue("i",_result
);
5085 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
5086 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
* _resultobj
;
5088 wxJoystickEvent
* _arg0
;
5090 PyObject
* _argo0
= 0;
5091 char *_kwnames
[] = { "self","stick", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
5104 wxPy_BEGIN_ALLOW_THREADS
;
5105 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
5107 wxPy_END_ALLOW_THREADS
;
5108 if (PyErr_Occurred()) return NULL
;
5109 } Py_INCREF(Py_None
);
5110 _resultobj
= Py_None
;
5114 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
5115 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5117 wxJoystickEvent
* _arg0
;
5119 PyObject
* _argo0
= 0;
5120 char *_kwnames
[] = { "self","state", NULL
};
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
5126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
5133 wxPy_BEGIN_ALLOW_THREADS
;
5134 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
5136 wxPy_END_ALLOW_THREADS
;
5137 if (PyErr_Occurred()) return NULL
;
5138 } Py_INCREF(Py_None
);
5139 _resultobj
= Py_None
;
5143 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
5144 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
* _resultobj
;
5146 wxJoystickEvent
* _arg0
;
5148 PyObject
* _argo0
= 0;
5149 char *_kwnames
[] = { "self","change", NULL
};
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
5155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
5162 wxPy_BEGIN_ALLOW_THREADS
;
5163 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
5165 wxPy_END_ALLOW_THREADS
;
5166 if (PyErr_Occurred()) return NULL
;
5167 } Py_INCREF(Py_None
);
5168 _resultobj
= Py_None
;
5172 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
5173 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
* _resultobj
;
5175 wxJoystickEvent
* _arg0
;
5177 PyObject
* _argo0
= 0;
5179 PyObject
* _obj1
= 0;
5180 char *_kwnames
[] = { "self","pos", NULL
};
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
5186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
5194 if (! wxPoint_helper(_obj1
, &_arg1
))
5198 wxPy_BEGIN_ALLOW_THREADS
;
5199 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
5201 wxPy_END_ALLOW_THREADS
;
5202 if (PyErr_Occurred()) return NULL
;
5203 } Py_INCREF(Py_None
);
5204 _resultobj
= Py_None
;
5208 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
5209 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5211 wxJoystickEvent
* _arg0
;
5213 PyObject
* _argo0
= 0;
5214 char *_kwnames
[] = { "self","zPos", NULL
};
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
5220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
5227 wxPy_BEGIN_ALLOW_THREADS
;
5228 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
5230 wxPy_END_ALLOW_THREADS
;
5231 if (PyErr_Occurred()) return NULL
;
5232 } Py_INCREF(Py_None
);
5233 _resultobj
= Py_None
;
5237 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
5238 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
* _resultobj
;
5241 wxJoystickEvent
* _arg0
;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "self", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
5256 wxPy_BEGIN_ALLOW_THREADS
;
5257 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
5259 wxPy_END_ALLOW_THREADS
;
5260 if (PyErr_Occurred()) return NULL
;
5261 } _resultobj
= Py_BuildValue("i",_result
);
5265 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
5266 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
* _resultobj
;
5269 wxJoystickEvent
* _arg0
;
5270 PyObject
* _argo0
= 0;
5271 char *_kwnames
[] = { "self", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
5284 wxPy_BEGIN_ALLOW_THREADS
;
5285 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
5287 wxPy_END_ALLOW_THREADS
;
5288 if (PyErr_Occurred()) return NULL
;
5289 } _resultobj
= Py_BuildValue("i",_result
);
5293 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
5294 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5297 wxJoystickEvent
* _arg0
;
5298 PyObject
* _argo0
= 0;
5299 char *_kwnames
[] = { "self", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
5312 wxPy_BEGIN_ALLOW_THREADS
;
5313 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
5315 wxPy_END_ALLOW_THREADS
;
5316 if (PyErr_Occurred()) return NULL
;
5317 } _resultobj
= Py_BuildValue("i",_result
);
5321 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
5322 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
* _resultobj
;
5325 wxJoystickEvent
* _arg0
;
5326 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5327 PyObject
* _argo0
= 0;
5328 char *_kwnames
[] = { "self","but", NULL
};
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
5334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
5341 wxPy_BEGIN_ALLOW_THREADS
;
5342 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
5344 wxPy_END_ALLOW_THREADS
;
5345 if (PyErr_Occurred()) return NULL
;
5346 } _resultobj
= Py_BuildValue("i",_result
);
5350 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
5351 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5354 wxJoystickEvent
* _arg0
;
5355 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5356 PyObject
* _argo0
= 0;
5357 char *_kwnames
[] = { "self","but", NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
5363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
5370 wxPy_BEGIN_ALLOW_THREADS
;
5371 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
5373 wxPy_END_ALLOW_THREADS
;
5374 if (PyErr_Occurred()) return NULL
;
5375 } _resultobj
= Py_BuildValue("i",_result
);
5379 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
5380 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
* _resultobj
;
5383 wxJoystickEvent
* _arg0
;
5384 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5385 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self","but", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
5399 wxPy_BEGIN_ALLOW_THREADS
;
5400 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
5402 wxPy_END_ALLOW_THREADS
;
5403 if (PyErr_Occurred()) return NULL
;
5404 } _resultobj
= Py_BuildValue("i",_result
);
5408 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
5409 wxDropFilesEvent
*src
;
5411 src
= (wxDropFilesEvent
*) ptr
;
5412 dest
= (wxEvent
*) src
;
5413 return (void *) dest
;
5416 static void *SwigwxDropFilesEventTowxObject(void *ptr
) {
5417 wxDropFilesEvent
*src
;
5419 src
= (wxDropFilesEvent
*) ptr
;
5420 dest
= (wxObject
*) src
;
5421 return (void *) dest
;
5424 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
5425 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5428 wxDropFilesEvent
* _arg0
;
5429 PyObject
* _argo0
= 0;
5430 char *_kwnames
[] = { "self", NULL
};
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
5437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
5444 wxPy_BEGIN_ALLOW_THREADS
;
5445 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
5447 wxPy_END_ALLOW_THREADS
;
5448 if (PyErr_Occurred()) return NULL
;
5449 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5450 _resultobj
= Py_BuildValue("s",_ptemp
);
5454 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
5455 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
* _resultobj
;
5458 wxDropFilesEvent
* _arg0
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self", NULL
};
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
5466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
5473 wxPy_BEGIN_ALLOW_THREADS
;
5474 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
5476 wxPy_END_ALLOW_THREADS
;
5477 if (PyErr_Occurred()) return NULL
;
5478 } _resultobj
= Py_BuildValue("i",_result
);
5482 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
5483 int count
= self
->GetNumberOfFiles();
5484 wxString
* files
= self
->GetFiles();
5485 PyObject
* list
= PyList_New(count
);
5488 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
5492 for (int i
=0; i
<count
; i
++) {
5493 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
5497 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
* _resultobj
;
5500 wxDropFilesEvent
* _arg0
;
5501 PyObject
* _argo0
= 0;
5502 char *_kwnames
[] = { "self", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
5518 wxPy_END_ALLOW_THREADS
;
5519 if (PyErr_Occurred()) return NULL
;
5521 _resultobj
= _result
;
5526 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
5529 src
= (wxIdleEvent
*) ptr
;
5530 dest
= (wxEvent
*) src
;
5531 return (void *) dest
;
5534 static void *SwigwxIdleEventTowxObject(void *ptr
) {
5537 src
= (wxIdleEvent
*) ptr
;
5538 dest
= (wxObject
*) src
;
5539 return (void *) dest
;
5542 #define new_wxIdleEvent() (new wxIdleEvent())
5543 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
* _resultobj
;
5545 wxIdleEvent
* _result
;
5546 char *_kwnames
[] = { NULL
};
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
5553 wxPy_BEGIN_ALLOW_THREADS
;
5554 _result
= (wxIdleEvent
*)new_wxIdleEvent();
5556 wxPy_END_ALLOW_THREADS
;
5557 if (PyErr_Occurred()) return NULL
;
5559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
5560 _resultobj
= Py_BuildValue("s",_ptemp
);
5563 _resultobj
= Py_None
;
5568 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
5569 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5571 wxIdleEvent
* _arg0
;
5572 bool _arg1
= (bool ) TRUE
;
5573 PyObject
* _argo0
= 0;
5574 int tempbool1
= (int) TRUE
;
5575 char *_kwnames
[] = { "self","needMore", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
5587 _arg1
= (bool ) tempbool1
;
5589 wxPy_BEGIN_ALLOW_THREADS
;
5590 wxIdleEvent_RequestMore(_arg0
,_arg1
);
5592 wxPy_END_ALLOW_THREADS
;
5593 if (PyErr_Occurred()) return NULL
;
5594 } Py_INCREF(Py_None
);
5595 _resultobj
= Py_None
;
5599 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
5600 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5603 wxIdleEvent
* _arg0
;
5604 PyObject
* _argo0
= 0;
5605 char *_kwnames
[] = { "self", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
5611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
5618 wxPy_BEGIN_ALLOW_THREADS
;
5619 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
5621 wxPy_END_ALLOW_THREADS
;
5622 if (PyErr_Occurred()) return NULL
;
5623 } _resultobj
= Py_BuildValue("i",_result
);
5627 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
5628 wxUpdateUIEvent
*src
;
5630 src
= (wxUpdateUIEvent
*) ptr
;
5631 dest
= (wxEvent
*) src
;
5632 return (void *) dest
;
5635 static void *SwigwxUpdateUIEventTowxObject(void *ptr
) {
5636 wxUpdateUIEvent
*src
;
5638 src
= (wxUpdateUIEvent
*) ptr
;
5639 dest
= (wxObject
*) src
;
5640 return (void *) dest
;
5643 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
5644 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
* _resultobj
;
5646 wxUpdateUIEvent
* _result
;
5647 wxWindowID _arg0
= (wxWindowID
) 0;
5648 char *_kwnames
[] = { "commandId", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
5655 wxPy_BEGIN_ALLOW_THREADS
;
5656 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
5658 wxPy_END_ALLOW_THREADS
;
5659 if (PyErr_Occurred()) return NULL
;
5661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
5662 _resultobj
= Py_BuildValue("s",_ptemp
);
5665 _resultobj
= Py_None
;
5670 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
5671 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5674 wxUpdateUIEvent
* _arg0
;
5675 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
5689 wxPy_BEGIN_ALLOW_THREADS
;
5690 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
5692 wxPy_END_ALLOW_THREADS
;
5693 if (PyErr_Occurred()) return NULL
;
5694 } _resultobj
= Py_BuildValue("i",_result
);
5698 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5699 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
* _resultobj
;
5702 wxUpdateUIEvent
* _arg0
;
5703 PyObject
* _argo0
= 0;
5704 char *_kwnames
[] = { "self", NULL
};
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
5710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
5717 wxPy_BEGIN_ALLOW_THREADS
;
5718 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
5720 wxPy_END_ALLOW_THREADS
;
5721 if (PyErr_Occurred()) return NULL
;
5722 } _resultobj
= Py_BuildValue("i",_result
);
5726 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5727 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5730 wxUpdateUIEvent
* _arg0
;
5731 PyObject
* _argo0
= 0;
5732 char *_kwnames
[] = { "self", NULL
};
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
5738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
5745 wxPy_BEGIN_ALLOW_THREADS
;
5746 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
5748 wxPy_END_ALLOW_THREADS
;
5749 if (PyErr_Occurred()) return NULL
;
5751 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5759 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5760 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
* _resultobj
;
5763 wxUpdateUIEvent
* _arg0
;
5764 PyObject
* _argo0
= 0;
5765 char *_kwnames
[] = { "self", NULL
};
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
5771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
5778 wxPy_BEGIN_ALLOW_THREADS
;
5779 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
5781 wxPy_END_ALLOW_THREADS
;
5782 if (PyErr_Occurred()) return NULL
;
5783 } _resultobj
= Py_BuildValue("i",_result
);
5787 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5788 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5791 wxUpdateUIEvent
* _arg0
;
5792 PyObject
* _argo0
= 0;
5793 char *_kwnames
[] = { "self", NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
5799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
5806 wxPy_BEGIN_ALLOW_THREADS
;
5807 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
5809 wxPy_END_ALLOW_THREADS
;
5810 if (PyErr_Occurred()) return NULL
;
5811 } _resultobj
= Py_BuildValue("i",_result
);
5815 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5816 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
* _resultobj
;
5819 wxUpdateUIEvent
* _arg0
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self", NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
5827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
5834 wxPy_BEGIN_ALLOW_THREADS
;
5835 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
5837 wxPy_END_ALLOW_THREADS
;
5838 if (PyErr_Occurred()) return NULL
;
5839 } _resultobj
= Py_BuildValue("i",_result
);
5843 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5844 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5846 wxUpdateUIEvent
* _arg0
;
5848 PyObject
* _argo0
= 0;
5850 char *_kwnames
[] = { "self","check", NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
5856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
5862 _arg1
= (bool ) tempbool1
;
5864 wxPy_BEGIN_ALLOW_THREADS
;
5865 wxUpdateUIEvent_Check(_arg0
,_arg1
);
5867 wxPy_END_ALLOW_THREADS
;
5868 if (PyErr_Occurred()) return NULL
;
5869 } Py_INCREF(Py_None
);
5870 _resultobj
= Py_None
;
5874 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5875 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5877 wxUpdateUIEvent
* _arg0
;
5879 PyObject
* _argo0
= 0;
5881 char *_kwnames
[] = { "self","enable", NULL
};
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
5887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
5893 _arg1
= (bool ) tempbool1
;
5895 wxPy_BEGIN_ALLOW_THREADS
;
5896 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
5898 wxPy_END_ALLOW_THREADS
;
5899 if (PyErr_Occurred()) return NULL
;
5900 } Py_INCREF(Py_None
);
5901 _resultobj
= Py_None
;
5905 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5906 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
* _resultobj
;
5908 wxUpdateUIEvent
* _arg0
;
5910 PyObject
* _argo0
= 0;
5911 PyObject
* _obj1
= 0;
5912 char *_kwnames
[] = { "self","text", NULL
};
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
5918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
5925 #if PYTHON_API_VERSION >= 1009
5926 char* tmpPtr
; int tmpSize
;
5927 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5931 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5933 _arg1
= new wxString(tmpPtr
, tmpSize
);
5935 if (!PyString_Check(_obj1
)) {
5936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5939 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5943 wxPy_BEGIN_ALLOW_THREADS
;
5944 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
5946 wxPy_END_ALLOW_THREADS
;
5947 if (PyErr_Occurred()) return NULL
;
5948 } Py_INCREF(Py_None
);
5949 _resultobj
= Py_None
;
5957 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
5958 wxSysColourChangedEvent
*src
;
5960 src
= (wxSysColourChangedEvent
*) ptr
;
5961 dest
= (wxEvent
*) src
;
5962 return (void *) dest
;
5965 static void *SwigwxSysColourChangedEventTowxObject(void *ptr
) {
5966 wxSysColourChangedEvent
*src
;
5968 src
= (wxSysColourChangedEvent
*) ptr
;
5969 dest
= (wxObject
*) src
;
5970 return (void *) dest
;
5973 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5974 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
* _resultobj
;
5976 wxSysColourChangedEvent
* _result
;
5977 char *_kwnames
[] = { NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
5984 wxPy_BEGIN_ALLOW_THREADS
;
5985 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
5987 wxPy_END_ALLOW_THREADS
;
5988 if (PyErr_Occurred()) return NULL
;
5990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
5991 _resultobj
= Py_BuildValue("s",_ptemp
);
5994 _resultobj
= Py_None
;
5999 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
6001 wxCommandEvent
*dest
;
6002 src
= (wxNotifyEvent
*) ptr
;
6003 dest
= (wxCommandEvent
*) src
;
6004 return (void *) dest
;
6007 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
6010 src
= (wxNotifyEvent
*) ptr
;
6011 dest
= (wxEvent
*) src
;
6012 return (void *) dest
;
6015 static void *SwigwxNotifyEventTowxObject(void *ptr
) {
6018 src
= (wxNotifyEvent
*) ptr
;
6019 dest
= (wxObject
*) src
;
6020 return (void *) dest
;
6023 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
6024 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6026 wxNotifyEvent
* _result
;
6027 int _arg0
= (int ) wxEVT_NULL
;
6028 int _arg1
= (int ) 0;
6029 char *_kwnames
[] = { "commandType","id", NULL
};
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
6036 wxPy_BEGIN_ALLOW_THREADS
;
6037 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
6039 wxPy_END_ALLOW_THREADS
;
6040 if (PyErr_Occurred()) return NULL
;
6042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
6043 _resultobj
= Py_BuildValue("s",_ptemp
);
6046 _resultobj
= Py_None
;
6051 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
6052 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6055 wxNotifyEvent
* _arg0
;
6056 PyObject
* _argo0
= 0;
6057 char *_kwnames
[] = { "self", NULL
};
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
6063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
6070 wxPy_BEGIN_ALLOW_THREADS
;
6071 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
6073 wxPy_END_ALLOW_THREADS
;
6074 if (PyErr_Occurred()) return NULL
;
6075 } _resultobj
= Py_BuildValue("i",_result
);
6079 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
6080 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6082 wxNotifyEvent
* _arg0
;
6083 PyObject
* _argo0
= 0;
6084 char *_kwnames
[] = { "self", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Allow",_kwnames
,&_argo0
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 wxNotifyEvent_Allow(_arg0
);
6100 wxPy_END_ALLOW_THREADS
;
6101 if (PyErr_Occurred()) return NULL
;
6102 } Py_INCREF(Py_None
);
6103 _resultobj
= Py_None
;
6107 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
6108 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
* _resultobj
;
6110 wxNotifyEvent
* _arg0
;
6111 PyObject
* _argo0
= 0;
6112 char *_kwnames
[] = { "self", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
6125 wxPy_BEGIN_ALLOW_THREADS
;
6126 wxNotifyEvent_Veto(_arg0
);
6128 wxPy_END_ALLOW_THREADS
;
6129 if (PyErr_Occurred()) return NULL
;
6130 } Py_INCREF(Py_None
);
6131 _resultobj
= Py_None
;
6135 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
6136 wxPaletteChangedEvent
*src
;
6138 src
= (wxPaletteChangedEvent
*) ptr
;
6139 dest
= (wxEvent
*) src
;
6140 return (void *) dest
;
6143 static void *SwigwxPaletteChangedEventTowxObject(void *ptr
) {
6144 wxPaletteChangedEvent
*src
;
6146 src
= (wxPaletteChangedEvent
*) ptr
;
6147 dest
= (wxObject
*) src
;
6148 return (void *) dest
;
6151 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
6152 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6154 wxPaletteChangedEvent
* _result
;
6155 wxWindowID _arg0
= (wxWindowID
) 0;
6156 char *_kwnames
[] = { "id", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
6163 wxPy_BEGIN_ALLOW_THREADS
;
6164 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
6166 wxPy_END_ALLOW_THREADS
;
6167 if (PyErr_Occurred()) return NULL
;
6169 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
6170 _resultobj
= Py_BuildValue("s",_ptemp
);
6173 _resultobj
= Py_None
;
6178 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
6179 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6181 wxPaletteChangedEvent
* _arg0
;
6183 PyObject
* _argo0
= 0;
6184 PyObject
* _argo1
= 0;
6185 char *_kwnames
[] = { "self","win", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
6191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
6205 wxPy_BEGIN_ALLOW_THREADS
;
6206 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
6208 wxPy_END_ALLOW_THREADS
;
6209 if (PyErr_Occurred()) return NULL
;
6210 } Py_INCREF(Py_None
);
6211 _resultobj
= Py_None
;
6215 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
6216 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6219 wxPaletteChangedEvent
* _arg0
;
6220 PyObject
* _argo0
= 0;
6221 char *_kwnames
[] = { "self", NULL
};
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
6227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6234 wxPy_BEGIN_ALLOW_THREADS
;
6235 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
6237 wxPy_END_ALLOW_THREADS
;
6238 if (PyErr_Occurred()) return NULL
;
6239 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6243 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
6244 wxQueryNewPaletteEvent
*src
;
6246 src
= (wxQueryNewPaletteEvent
*) ptr
;
6247 dest
= (wxEvent
*) src
;
6248 return (void *) dest
;
6251 static void *SwigwxQueryNewPaletteEventTowxObject(void *ptr
) {
6252 wxQueryNewPaletteEvent
*src
;
6254 src
= (wxQueryNewPaletteEvent
*) ptr
;
6255 dest
= (wxObject
*) src
;
6256 return (void *) dest
;
6259 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
6260 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6262 wxQueryNewPaletteEvent
* _result
;
6263 wxWindowID _arg0
= (wxWindowID
) 0;
6264 char *_kwnames
[] = { "id", NULL
};
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
6271 wxPy_BEGIN_ALLOW_THREADS
;
6272 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
6274 wxPy_END_ALLOW_THREADS
;
6275 if (PyErr_Occurred()) return NULL
;
6277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
6278 _resultobj
= Py_BuildValue("s",_ptemp
);
6281 _resultobj
= Py_None
;
6286 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
6287 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6289 wxQueryNewPaletteEvent
* _arg0
;
6291 PyObject
* _argo0
= 0;
6293 char *_kwnames
[] = { "self","realized", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6305 _arg1
= (bool ) tempbool1
;
6307 wxPy_BEGIN_ALLOW_THREADS
;
6308 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
6310 wxPy_END_ALLOW_THREADS
;
6311 if (PyErr_Occurred()) return NULL
;
6312 } Py_INCREF(Py_None
);
6313 _resultobj
= Py_None
;
6317 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
6318 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
* _resultobj
;
6321 wxQueryNewPaletteEvent
* _arg0
;
6322 PyObject
* _argo0
= 0;
6323 char *_kwnames
[] = { "self", NULL
};
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
6329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6336 wxPy_BEGIN_ALLOW_THREADS
;
6337 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
6339 wxPy_END_ALLOW_THREADS
;
6340 if (PyErr_Occurred()) return NULL
;
6341 } _resultobj
= Py_BuildValue("i",_result
);
6345 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr
) {
6346 wxWindowCreateEvent
*src
;
6347 wxCommandEvent
*dest
;
6348 src
= (wxWindowCreateEvent
*) ptr
;
6349 dest
= (wxCommandEvent
*) src
;
6350 return (void *) dest
;
6353 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
6354 wxWindowCreateEvent
*src
;
6356 src
= (wxWindowCreateEvent
*) ptr
;
6357 dest
= (wxEvent
*) src
;
6358 return (void *) dest
;
6361 static void *SwigwxWindowCreateEventTowxObject(void *ptr
) {
6362 wxWindowCreateEvent
*src
;
6364 src
= (wxWindowCreateEvent
*) ptr
;
6365 dest
= (wxObject
*) src
;
6366 return (void *) dest
;
6369 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
6370 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
* _resultobj
;
6372 wxWindowCreateEvent
* _result
;
6373 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6374 PyObject
* _argo0
= 0;
6375 char *_kwnames
[] = { "win", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
6389 wxPy_BEGIN_ALLOW_THREADS
;
6390 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
6392 wxPy_END_ALLOW_THREADS
;
6393 if (PyErr_Occurred()) return NULL
;
6395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
6396 _resultobj
= Py_BuildValue("s",_ptemp
);
6399 _resultobj
= Py_None
;
6404 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6405 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6408 wxWindowCreateEvent
* _arg0
;
6409 PyObject
* _argo0
= 0;
6410 char *_kwnames
[] = { "self", NULL
};
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
6416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
6418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
6423 wxPy_BEGIN_ALLOW_THREADS
;
6424 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
6426 wxPy_END_ALLOW_THREADS
;
6427 if (PyErr_Occurred()) return NULL
;
6428 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6432 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr
) {
6433 wxWindowDestroyEvent
*src
;
6434 wxCommandEvent
*dest
;
6435 src
= (wxWindowDestroyEvent
*) ptr
;
6436 dest
= (wxCommandEvent
*) src
;
6437 return (void *) dest
;
6440 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
6441 wxWindowDestroyEvent
*src
;
6443 src
= (wxWindowDestroyEvent
*) ptr
;
6444 dest
= (wxEvent
*) src
;
6445 return (void *) dest
;
6448 static void *SwigwxWindowDestroyEventTowxObject(void *ptr
) {
6449 wxWindowDestroyEvent
*src
;
6451 src
= (wxWindowDestroyEvent
*) ptr
;
6452 dest
= (wxObject
*) src
;
6453 return (void *) dest
;
6456 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
6457 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
* _resultobj
;
6459 wxWindowDestroyEvent
* _result
;
6460 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6461 PyObject
* _argo0
= 0;
6462 char *_kwnames
[] = { "win", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
6476 wxPy_BEGIN_ALLOW_THREADS
;
6477 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
6479 wxPy_END_ALLOW_THREADS
;
6480 if (PyErr_Occurred()) return NULL
;
6482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
6483 _resultobj
= Py_BuildValue("s",_ptemp
);
6486 _resultobj
= Py_None
;
6491 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6492 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6495 wxWindowDestroyEvent
* _arg0
;
6496 PyObject
* _argo0
= 0;
6497 char *_kwnames
[] = { "self", NULL
};
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
6503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
6510 wxPy_BEGIN_ALLOW_THREADS
;
6511 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
6513 wxPy_END_ALLOW_THREADS
;
6514 if (PyErr_Occurred()) return NULL
;
6515 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6519 static void *SwigwxTimerEventTowxEvent(void *ptr
) {
6522 src
= (wxTimerEvent
*) ptr
;
6523 dest
= (wxEvent
*) src
;
6524 return (void *) dest
;
6527 static void *SwigwxTimerEventTowxObject(void *ptr
) {
6530 src
= (wxTimerEvent
*) ptr
;
6531 dest
= (wxObject
*) src
;
6532 return (void *) dest
;
6535 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
6536 static PyObject
*_wrap_new_wxTimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6538 wxTimerEvent
* _result
;
6539 int _arg0
= (int ) 0;
6540 int _arg1
= (int ) 0;
6541 char *_kwnames
[] = { "id","interval", NULL
};
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTimerEvent",_kwnames
,&_arg0
,&_arg1
))
6548 wxPy_BEGIN_ALLOW_THREADS
;
6549 _result
= (wxTimerEvent
*)new_wxTimerEvent(_arg0
,_arg1
);
6551 wxPy_END_ALLOW_THREADS
;
6552 if (PyErr_Occurred()) return NULL
;
6554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimerEvent_p");
6555 _resultobj
= Py_BuildValue("s",_ptemp
);
6558 _resultobj
= Py_None
;
6563 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
6564 static PyObject
*_wrap_wxTimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6567 wxTimerEvent
* _arg0
;
6568 PyObject
* _argo0
= 0;
6569 char *_kwnames
[] = { "self", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimerEvent_GetInterval",_kwnames
,&_argo0
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimerEvent_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
6582 wxPy_BEGIN_ALLOW_THREADS
;
6583 _result
= (int )wxTimerEvent_GetInterval(_arg0
);
6585 wxPy_END_ALLOW_THREADS
;
6586 if (PyErr_Occurred()) return NULL
;
6587 } _resultobj
= Py_BuildValue("i",_result
);
6591 static void *SwigwxTextUrlEventTowxCommandEvent(void *ptr
) {
6592 wxTextUrlEvent
*src
;
6593 wxCommandEvent
*dest
;
6594 src
= (wxTextUrlEvent
*) ptr
;
6595 dest
= (wxCommandEvent
*) src
;
6596 return (void *) dest
;
6599 static void *SwigwxTextUrlEventTowxEvent(void *ptr
) {
6600 wxTextUrlEvent
*src
;
6602 src
= (wxTextUrlEvent
*) ptr
;
6603 dest
= (wxEvent
*) src
;
6604 return (void *) dest
;
6607 static void *SwigwxTextUrlEventTowxObject(void *ptr
) {
6608 wxTextUrlEvent
*src
;
6610 src
= (wxTextUrlEvent
*) ptr
;
6611 dest
= (wxObject
*) src
;
6612 return (void *) dest
;
6615 #define new_wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6616 static PyObject
*_wrap_new_wxTextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6618 wxTextUrlEvent
* _result
;
6620 wxMouseEvent
* _arg1
;
6623 PyObject
* _argo1
= 0;
6624 char *_kwnames
[] = { "id","evtMouse","start","end", NULL
};
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iOll:new_wxTextUrlEvent",_kwnames
,&_arg0
,&_argo1
,&_arg2
,&_arg3
))
6631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
6633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxTextUrlEvent. Expected _wxMouseEvent_p.");
6638 wxPy_BEGIN_ALLOW_THREADS
;
6639 _result
= (wxTextUrlEvent
*)new_wxTextUrlEvent(_arg0
,*_arg1
,_arg2
,_arg3
);
6641 wxPy_END_ALLOW_THREADS
;
6642 if (PyErr_Occurred()) return NULL
;
6644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextUrlEvent_p");
6645 _resultobj
= Py_BuildValue("s",_ptemp
);
6648 _resultobj
= Py_None
;
6653 #define wxTextUrlEvent_GetMouseEvent(_swigobj) (_swigobj->GetMouseEvent())
6654 static PyObject
*_wrap_wxTextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
* _resultobj
;
6656 wxMouseEvent
* _result
;
6657 wxTextUrlEvent
* _arg0
;
6658 PyObject
* _argo0
= 0;
6659 char *_kwnames
[] = { "self", NULL
};
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetMouseEvent",_kwnames
,&_argo0
))
6665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
6667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetMouseEvent. Expected _wxTextUrlEvent_p.");
6672 wxPy_BEGIN_ALLOW_THREADS
;
6673 const wxMouseEvent
& _result_ref
= wxTextUrlEvent_GetMouseEvent(_arg0
);
6674 _result
= (wxMouseEvent
*) &_result_ref
;
6676 wxPy_END_ALLOW_THREADS
;
6677 if (PyErr_Occurred()) return NULL
;
6678 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6682 #define wxTextUrlEvent_GetURLStart(_swigobj) (_swigobj->GetURLStart())
6683 static PyObject
*_wrap_wxTextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
* _resultobj
;
6686 wxTextUrlEvent
* _arg0
;
6687 PyObject
* _argo0
= 0;
6688 char *_kwnames
[] = { "self", NULL
};
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetURLStart",_kwnames
,&_argo0
))
6694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
6696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetURLStart. Expected _wxTextUrlEvent_p.");
6701 wxPy_BEGIN_ALLOW_THREADS
;
6702 _result
= (long )wxTextUrlEvent_GetURLStart(_arg0
);
6704 wxPy_END_ALLOW_THREADS
;
6705 if (PyErr_Occurred()) return NULL
;
6706 } _resultobj
= Py_BuildValue("l",_result
);
6710 #define wxTextUrlEvent_GetURLEnd(_swigobj) (_swigobj->GetURLEnd())
6711 static PyObject
*_wrap_wxTextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
* _resultobj
;
6714 wxTextUrlEvent
* _arg0
;
6715 PyObject
* _argo0
= 0;
6716 char *_kwnames
[] = { "self", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetURLEnd",_kwnames
,&_argo0
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetURLEnd. Expected _wxTextUrlEvent_p.");
6729 wxPy_BEGIN_ALLOW_THREADS
;
6730 _result
= (long )wxTextUrlEvent_GetURLEnd(_arg0
);
6732 wxPy_END_ALLOW_THREADS
;
6733 if (PyErr_Occurred()) return NULL
;
6734 } _resultobj
= Py_BuildValue("l",_result
);
6738 static void *SwigwxPyEventTowxEvent(void *ptr
) {
6741 src
= (wxPyEvent
*) ptr
;
6742 dest
= (wxEvent
*) src
;
6743 return (void *) dest
;
6746 static void *SwigwxPyEventTowxObject(void *ptr
) {
6749 src
= (wxPyEvent
*) ptr
;
6750 dest
= (wxObject
*) src
;
6751 return (void *) dest
;
6754 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
6755 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
* _resultobj
;
6757 wxPyEvent
* _result
;
6758 int _arg0
= (int ) 0;
6759 char *_kwnames
[] = { "id", NULL
};
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
6766 wxPy_BEGIN_ALLOW_THREADS
;
6767 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
6769 wxPy_END_ALLOW_THREADS
;
6770 if (PyErr_Occurred()) return NULL
;
6772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
6773 _resultobj
= Py_BuildValue("s",_ptemp
);
6776 _resultobj
= Py_None
;
6781 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
6782 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
* _resultobj
;
6785 PyObject
* _argo0
= 0;
6786 char *_kwnames
[] = { "self", NULL
};
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
6792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
6799 wxPy_BEGIN_ALLOW_THREADS
;
6800 delete_wxPyEvent(_arg0
);
6802 wxPy_END_ALLOW_THREADS
;
6803 if (PyErr_Occurred()) return NULL
;
6804 } Py_INCREF(Py_None
);
6805 _resultobj
= Py_None
;
6809 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6810 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
* _resultobj
;
6814 PyObject
* _argo0
= 0;
6815 PyObject
* _obj1
= 0;
6816 char *_kwnames
[] = { "self","self", NULL
};
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
6832 wxPy_BEGIN_ALLOW_THREADS
;
6833 wxPyEvent_SetSelf(_arg0
,_arg1
);
6835 wxPy_END_ALLOW_THREADS
;
6836 if (PyErr_Occurred()) return NULL
;
6837 } Py_INCREF(Py_None
);
6838 _resultobj
= Py_None
;
6842 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6843 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
* _resultobj
;
6847 PyObject
* _argo0
= 0;
6848 char *_kwnames
[] = { "self", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
6861 wxPy_BEGIN_ALLOW_THREADS
;
6862 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
6864 wxPy_END_ALLOW_THREADS
;
6865 if (PyErr_Occurred()) return NULL
;
6867 _resultobj
= _result
;
6872 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
6873 wxPyCommandEvent
*src
;
6874 wxCommandEvent
*dest
;
6875 src
= (wxPyCommandEvent
*) ptr
;
6876 dest
= (wxCommandEvent
*) src
;
6877 return (void *) dest
;
6880 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
6881 wxPyCommandEvent
*src
;
6883 src
= (wxPyCommandEvent
*) ptr
;
6884 dest
= (wxEvent
*) src
;
6885 return (void *) dest
;
6888 static void *SwigwxPyCommandEventTowxObject(void *ptr
) {
6889 wxPyCommandEvent
*src
;
6891 src
= (wxPyCommandEvent
*) ptr
;
6892 dest
= (wxObject
*) src
;
6893 return (void *) dest
;
6896 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
6897 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
* _resultobj
;
6899 wxPyCommandEvent
* _result
;
6900 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6901 int _arg1
= (int ) 0;
6902 char *_kwnames
[] = { "commandType","id", NULL
};
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
6909 wxPy_BEGIN_ALLOW_THREADS
;
6910 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
6912 wxPy_END_ALLOW_THREADS
;
6913 if (PyErr_Occurred()) return NULL
;
6915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
6916 _resultobj
= Py_BuildValue("s",_ptemp
);
6919 _resultobj
= Py_None
;
6924 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
6925 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
* _resultobj
;
6927 wxPyCommandEvent
* _arg0
;
6928 PyObject
* _argo0
= 0;
6929 char *_kwnames
[] = { "self", NULL
};
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
6935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
6942 wxPy_BEGIN_ALLOW_THREADS
;
6943 delete_wxPyCommandEvent(_arg0
);
6945 wxPy_END_ALLOW_THREADS
;
6946 if (PyErr_Occurred()) return NULL
;
6947 } Py_INCREF(Py_None
);
6948 _resultobj
= Py_None
;
6952 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6953 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
* _resultobj
;
6955 wxPyCommandEvent
* _arg0
;
6957 PyObject
* _argo0
= 0;
6958 PyObject
* _obj1
= 0;
6959 char *_kwnames
[] = { "self","self", NULL
};
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
6975 wxPy_BEGIN_ALLOW_THREADS
;
6976 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
6978 wxPy_END_ALLOW_THREADS
;
6979 if (PyErr_Occurred()) return NULL
;
6980 } Py_INCREF(Py_None
);
6981 _resultobj
= Py_None
;
6985 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6986 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
* _resultobj
;
6989 wxPyCommandEvent
* _arg0
;
6990 PyObject
* _argo0
= 0;
6991 char *_kwnames
[] = { "self", NULL
};
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
6997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
7004 wxPy_BEGIN_ALLOW_THREADS
;
7005 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
7007 wxPy_END_ALLOW_THREADS
;
7008 if (PyErr_Occurred()) return NULL
;
7010 _resultobj
= _result
;
7015 static PyMethodDef eventscMethods
[] = {
7016 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxTextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_wxTextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "wxTextUrlEvent_GetURLStart", (PyCFunction
) _wrap_wxTextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxTextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_wxTextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "new_wxTextUrlEvent", (PyCFunction
) _wrap_new_wxTextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxTimerEvent_GetInterval", (PyCFunction
) _wrap_wxTimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "new_wxTimerEvent", (PyCFunction
) _wrap_new_wxTimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxIconizeEvent_Iconized", (PyCFunction
) _wrap_wxIconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxMouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxMouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxMouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxMouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxMouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxMouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxMouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_wxMouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxMouseEvent_GetWheelDelta", (PyCFunction
) _wrap_wxMouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxMouseEvent_GetWheelRotation", (PyCFunction
) _wrap_wxMouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxCommandEvent_GetClientData", (PyCFunction
) _wrap_wxCommandEvent_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxEvent_Clone", (PyCFunction
) _wrap_wxEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxNewEventType", (PyCFunction
) _wrap_wxNewEventType
, METH_VARARGS
| METH_KEYWORDS
},
7237 * This table is used by the pointer type-checker
7239 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7240 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
7241 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
7242 { "_wxEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxEvent
},
7243 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
7244 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
7245 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
7246 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
7247 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
7248 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
7249 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
7250 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
7251 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
7252 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
7253 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
7254 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
7255 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
7256 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
7257 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
7258 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
7259 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
7260 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
7261 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
7262 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
7263 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
7264 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
7265 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
7266 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
7267 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
7268 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
7269 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
7270 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
7271 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
7272 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
7273 { "_signed_long","_long",0},
7274 { "_wxPrintQuality","_wxCoord",0},
7275 { "_wxPrintQuality","_int",0},
7276 { "_wxPrintQuality","_signed_int",0},
7277 { "_wxPrintQuality","_unsigned_int",0},
7278 { "_wxPrintQuality","_wxWindowID",0},
7279 { "_wxPrintQuality","_uint",0},
7280 { "_wxPrintQuality","_EBool",0},
7281 { "_wxPrintQuality","_size_t",0},
7282 { "_wxPrintQuality","_time_t",0},
7283 { "_byte","_unsigned_char",0},
7284 { "_long","_unsigned_long",0},
7285 { "_long","_signed_long",0},
7286 { "_size_t","_wxCoord",0},
7287 { "_size_t","_wxPrintQuality",0},
7288 { "_size_t","_time_t",0},
7289 { "_size_t","_unsigned_int",0},
7290 { "_size_t","_int",0},
7291 { "_size_t","_wxWindowID",0},
7292 { "_size_t","_uint",0},
7293 { "_uint","_wxCoord",0},
7294 { "_uint","_wxPrintQuality",0},
7295 { "_uint","_time_t",0},
7296 { "_uint","_size_t",0},
7297 { "_uint","_unsigned_int",0},
7298 { "_uint","_int",0},
7299 { "_uint","_wxWindowID",0},
7300 { "_wxChar","_char",0},
7301 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
7302 { "_wxCommandEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxCommandEvent
},
7303 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
7304 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
7305 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
7306 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
7307 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
7308 { "_char","_wxChar",0},
7309 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7310 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
7311 { "_EBool","_wxCoord",0},
7312 { "_EBool","_wxPrintQuality",0},
7313 { "_EBool","_signed_int",0},
7314 { "_EBool","_int",0},
7315 { "_EBool","_wxWindowID",0},
7316 { "_unsigned_long","_long",0},
7317 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7318 { "_signed_int","_wxCoord",0},
7319 { "_signed_int","_wxPrintQuality",0},
7320 { "_signed_int","_EBool",0},
7321 { "_signed_int","_wxWindowID",0},
7322 { "_signed_int","_int",0},
7323 { "_WXTYPE","_short",0},
7324 { "_WXTYPE","_signed_short",0},
7325 { "_WXTYPE","_unsigned_short",0},
7326 { "_unsigned_short","_WXTYPE",0},
7327 { "_unsigned_short","_short",0},
7328 { "_wxObject","_wxPyCommandEvent",SwigwxPyCommandEventTowxObject
},
7329 { "_wxObject","_wxPyEvent",SwigwxPyEventTowxObject
},
7330 { "_wxObject","_wxTextUrlEvent",SwigwxTextUrlEventTowxObject
},
7331 { "_wxObject","_wxTimerEvent",SwigwxTimerEventTowxObject
},
7332 { "_wxObject","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject
},
7333 { "_wxObject","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject
},
7334 { "_wxObject","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject
},
7335 { "_wxObject","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject
},
7336 { "_wxObject","_wxNotifyEvent",SwigwxNotifyEventTowxObject
},
7337 { "_wxObject","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject
},
7338 { "_wxObject","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject
},
7339 { "_wxObject","_wxIdleEvent",SwigwxIdleEventTowxObject
},
7340 { "_wxObject","_wxDropFilesEvent",SwigwxDropFilesEventTowxObject
},
7341 { "_wxObject","_wxJoystickEvent",SwigwxJoystickEventTowxObject
},
7342 { "_wxObject","_wxMaximizeEvent",SwigwxMaximizeEventTowxObject
},
7343 { "_wxObject","_wxIconizeEvent",SwigwxIconizeEventTowxObject
},
7344 { "_wxObject","_wxShowEvent",SwigwxShowEventTowxObject
},
7345 { "_wxObject","_wxMenuEvent",SwigwxMenuEventTowxObject
},
7346 { "_wxObject","_wxInitDialogEvent",SwigwxInitDialogEventTowxObject
},
7347 { "_wxObject","_wxActivateEvent",SwigwxActivateEventTowxObject
},
7348 { "_wxObject","_wxFocusEvent",SwigwxFocusEventTowxObject
},
7349 { "_wxObject","_wxEraseEvent",SwigwxEraseEventTowxObject
},
7350 { "_wxObject","_wxPaintEvent",SwigwxPaintEventTowxObject
},
7351 { "_wxObject","_wxMoveEvent",SwigwxMoveEventTowxObject
},
7352 { "_wxObject","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject
},
7353 { "_wxObject","_wxKeyEvent",SwigwxKeyEventTowxObject
},
7354 { "_wxObject","_wxMouseEvent",SwigwxMouseEventTowxObject
},
7355 { "_wxObject","_wxSpinEvent",SwigwxSpinEventTowxObject
},
7356 { "_wxObject","_wxScrollWinEvent",SwigwxScrollWinEventTowxObject
},
7357 { "_wxObject","_wxScrollEvent",SwigwxScrollEventTowxObject
},
7358 { "_wxObject","_wxCommandEvent",SwigwxCommandEventTowxObject
},
7359 { "_wxObject","_wxCloseEvent",SwigwxCloseEventTowxObject
},
7360 { "_wxObject","_wxSizeEvent",SwigwxSizeEventTowxObject
},
7361 { "_wxObject","_wxEvent",SwigwxEventTowxObject
},
7362 { "_signed_short","_WXTYPE",0},
7363 { "_signed_short","_short",0},
7364 { "_unsigned_char","_byte",0},
7365 { "_unsigned_int","_wxCoord",0},
7366 { "_unsigned_int","_wxPrintQuality",0},
7367 { "_unsigned_int","_time_t",0},
7368 { "_unsigned_int","_size_t",0},
7369 { "_unsigned_int","_uint",0},
7370 { "_unsigned_int","_wxWindowID",0},
7371 { "_unsigned_int","_int",0},
7372 { "_short","_WXTYPE",0},
7373 { "_short","_unsigned_short",0},
7374 { "_short","_signed_short",0},
7375 { "_wxWindowID","_wxCoord",0},
7376 { "_wxWindowID","_wxPrintQuality",0},
7377 { "_wxWindowID","_time_t",0},
7378 { "_wxWindowID","_size_t",0},
7379 { "_wxWindowID","_EBool",0},
7380 { "_wxWindowID","_uint",0},
7381 { "_wxWindowID","_int",0},
7382 { "_wxWindowID","_signed_int",0},
7383 { "_wxWindowID","_unsigned_int",0},
7384 { "_int","_wxCoord",0},
7385 { "_int","_wxPrintQuality",0},
7386 { "_int","_time_t",0},
7387 { "_int","_size_t",0},
7388 { "_int","_EBool",0},
7389 { "_int","_uint",0},
7390 { "_int","_wxWindowID",0},
7391 { "_int","_unsigned_int",0},
7392 { "_int","_signed_int",0},
7393 { "_time_t","_wxCoord",0},
7394 { "_time_t","_wxPrintQuality",0},
7395 { "_time_t","_unsigned_int",0},
7396 { "_time_t","_int",0},
7397 { "_time_t","_wxWindowID",0},
7398 { "_time_t","_uint",0},
7399 { "_time_t","_size_t",0},
7400 { "_wxCoord","_int",0},
7401 { "_wxCoord","_signed_int",0},
7402 { "_wxCoord","_unsigned_int",0},
7403 { "_wxCoord","_wxWindowID",0},
7404 { "_wxCoord","_uint",0},
7405 { "_wxCoord","_EBool",0},
7406 { "_wxCoord","_size_t",0},
7407 { "_wxCoord","_time_t",0},
7408 { "_wxCoord","_wxPrintQuality",0},
7411 static PyObject
*SWIG_globals
;
7415 SWIGEXPORT(void) initeventsc() {
7417 SWIG_globals
= SWIG_newvarlink();
7418 m
= Py_InitModule("eventsc", eventscMethods
);
7419 d
= PyModule_GetDict(m
);
7422 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7423 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);