2 * FILE : src/mac/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 delete_wxEvent(_swigobj) (delete _swigobj)
123 static PyObject
*_wrap_delete_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
124 PyObject
* _resultobj
;
126 PyObject
* _argo0
= 0;
127 char *_kwnames
[] = { "self", NULL
};
130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEvent",_kwnames
,&_argo0
))
133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
140 wxPy_BEGIN_ALLOW_THREADS
;
141 delete_wxEvent(_arg0
);
143 wxPy_END_ALLOW_THREADS
;
144 if (PyErr_Occurred()) return NULL
;
145 } Py_INCREF(Py_None
);
146 _resultobj
= Py_None
;
150 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
151 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
152 PyObject
* _resultobj
;
155 PyObject
* _argo0
= 0;
156 char *_kwnames
[] = { "self", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
169 wxPy_BEGIN_ALLOW_THREADS
;
170 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
172 wxPy_END_ALLOW_THREADS
;
173 if (PyErr_Occurred()) return NULL
;
174 }{ _resultobj
= wxPyMake_wxObject(_result
); }
178 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
179 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
180 PyObject
* _resultobj
;
183 PyObject
* _argo0
= 0;
184 char *_kwnames
[] = { "self", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
197 wxPy_BEGIN_ALLOW_THREADS
;
198 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
200 wxPy_END_ALLOW_THREADS
;
201 if (PyErr_Occurred()) return NULL
;
202 } _resultobj
= Py_BuildValue("i",_result
);
206 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
207 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
211 PyObject
* _argo0
= 0;
212 char *_kwnames
[] = { "self", NULL
};
215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
225 wxPy_BEGIN_ALLOW_THREADS
;
226 _result
= (int )wxEvent_GetId(_arg0
);
228 wxPy_END_ALLOW_THREADS
;
229 if (PyErr_Occurred()) return NULL
;
230 } _resultobj
= Py_BuildValue("i",_result
);
234 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
235 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
236 PyObject
* _resultobj
;
239 PyObject
* _argo0
= 0;
240 char *_kwnames
[] = { "self", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
253 wxPy_BEGIN_ALLOW_THREADS
;
254 _result
= (bool )wxEvent_GetSkipped(_arg0
);
256 wxPy_END_ALLOW_THREADS
;
257 if (PyErr_Occurred()) return NULL
;
258 } _resultobj
= Py_BuildValue("i",_result
);
262 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
263 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
267 PyObject
* _argo0
= 0;
268 char *_kwnames
[] = { "self", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
281 wxPy_BEGIN_ALLOW_THREADS
;
282 _result
= (long )wxEvent_GetTimestamp(_arg0
);
284 wxPy_END_ALLOW_THREADS
;
285 if (PyErr_Occurred()) return NULL
;
286 } _resultobj
= Py_BuildValue("l",_result
);
290 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
291 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
292 PyObject
* _resultobj
;
295 PyObject
* _argo0
= 0;
296 PyObject
* _argo1
= 0;
297 char *_kwnames
[] = { "self","object", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
317 wxPy_BEGIN_ALLOW_THREADS
;
318 wxEvent_SetEventObject(_arg0
,_arg1
);
320 wxPy_END_ALLOW_THREADS
;
321 if (PyErr_Occurred()) return NULL
;
322 } Py_INCREF(Py_None
);
323 _resultobj
= Py_None
;
327 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
328 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
332 PyObject
* _argo0
= 0;
333 char *_kwnames
[] = { "self","typ", NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
346 wxPy_BEGIN_ALLOW_THREADS
;
347 wxEvent_SetEventType(_arg0
,_arg1
);
349 wxPy_END_ALLOW_THREADS
;
350 if (PyErr_Occurred()) return NULL
;
351 } Py_INCREF(Py_None
);
352 _resultobj
= Py_None
;
356 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
357 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
361 PyObject
* _argo0
= 0;
362 char *_kwnames
[] = { "self","id", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
375 wxPy_BEGIN_ALLOW_THREADS
;
376 wxEvent_SetId(_arg0
,_arg1
);
378 wxPy_END_ALLOW_THREADS
;
379 if (PyErr_Occurred()) return NULL
;
380 } Py_INCREF(Py_None
);
381 _resultobj
= Py_None
;
385 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
386 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
387 PyObject
* _resultobj
;
390 PyObject
* _argo0
= 0;
391 char *_kwnames
[] = { "self","timeStamp", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
404 wxPy_BEGIN_ALLOW_THREADS
;
405 wxEvent_SetTimestamp(_arg0
,_arg1
);
407 wxPy_END_ALLOW_THREADS
;
408 if (PyErr_Occurred()) return NULL
;
409 } Py_INCREF(Py_None
);
410 _resultobj
= Py_None
;
414 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
415 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
418 bool _arg1
= (bool ) TRUE
;
419 PyObject
* _argo0
= 0;
420 int tempbool1
= (int) TRUE
;
421 char *_kwnames
[] = { "self","skip", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
433 _arg1
= (bool ) tempbool1
;
435 wxPy_BEGIN_ALLOW_THREADS
;
436 wxEvent_Skip(_arg0
,_arg1
);
438 wxPy_END_ALLOW_THREADS
;
439 if (PyErr_Occurred()) return NULL
;
440 } Py_INCREF(Py_None
);
441 _resultobj
= Py_None
;
445 #define wxEvent_Clone(_swigobj) (_swigobj->Clone())
446 static PyObject
*_wrap_wxEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
450 PyObject
* _argo0
= 0;
451 char *_kwnames
[] = { "self", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_Clone",_kwnames
,&_argo0
))
458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Clone. Expected _wxEvent_p.");
465 wxPy_BEGIN_ALLOW_THREADS
;
466 _result
= (wxEvent
*)wxEvent_Clone(_arg0
);
468 wxPy_END_ALLOW_THREADS
;
469 if (PyErr_Occurred()) return NULL
;
471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
472 _resultobj
= Py_BuildValue("s",_ptemp
);
475 _resultobj
= Py_None
;
480 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
483 src
= (wxSizeEvent
*) ptr
;
484 dest
= (wxEvent
*) src
;
485 return (void *) dest
;
488 static void *SwigwxSizeEventTowxObject(void *ptr
) {
491 src
= (wxSizeEvent
*) ptr
;
492 dest
= (wxObject
*) src
;
493 return (void *) dest
;
496 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
497 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
498 PyObject
* _resultobj
;
499 wxSizeEvent
* _result
;
501 int _arg1
= (int ) 0;
503 PyObject
* _obj0
= 0;
504 char *_kwnames
[] = { "sz","id", NULL
};
508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxSizeEvent",_kwnames
,&_obj0
,&_arg1
))
512 if (! wxSize_helper(_obj0
, &_arg0
))
516 wxPy_BEGIN_ALLOW_THREADS
;
517 _result
= (wxSizeEvent
*)new_wxSizeEvent(*_arg0
,_arg1
);
519 wxPy_END_ALLOW_THREADS
;
520 if (PyErr_Occurred()) return NULL
;
522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizeEvent_p");
523 _resultobj
= Py_BuildValue("s",_ptemp
);
526 _resultobj
= Py_None
;
531 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
532 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
533 PyObject
* _resultobj
;
536 PyObject
* _argo0
= 0;
537 char *_kwnames
[] = { "self", NULL
};
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
551 wxPy_BEGIN_ALLOW_THREADS
;
552 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
554 wxPy_END_ALLOW_THREADS
;
555 if (PyErr_Occurred()) return NULL
;
556 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
557 _resultobj
= Py_BuildValue("s",_ptemp
);
561 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
564 src
= (wxCloseEvent
*) ptr
;
565 dest
= (wxEvent
*) src
;
566 return (void *) dest
;
569 static void *SwigwxCloseEventTowxObject(void *ptr
) {
572 src
= (wxCloseEvent
*) ptr
;
573 dest
= (wxObject
*) src
;
574 return (void *) dest
;
577 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
578 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
580 wxCloseEvent
* _result
;
581 int _arg0
= (int ) 0;
582 int _arg1
= (int ) 0;
583 char *_kwnames
[] = { "commandEventType","id", NULL
};
587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCloseEvent",_kwnames
,&_arg0
,&_arg1
))
590 wxPy_BEGIN_ALLOW_THREADS
;
591 _result
= (wxCloseEvent
*)new_wxCloseEvent(_arg0
,_arg1
);
593 wxPy_END_ALLOW_THREADS
;
594 if (PyErr_Occurred()) return NULL
;
596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCloseEvent_p");
597 _resultobj
= Py_BuildValue("s",_ptemp
);
600 _resultobj
= Py_None
;
605 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
606 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
608 wxCloseEvent
* _arg0
;
610 PyObject
* _argo0
= 0;
612 char *_kwnames
[] = { "self","loggingOff", NULL
};
615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
624 _arg1
= (bool ) tempbool1
;
626 wxPy_BEGIN_ALLOW_THREADS
;
627 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
629 wxPy_END_ALLOW_THREADS
;
630 if (PyErr_Occurred()) return NULL
;
631 } Py_INCREF(Py_None
);
632 _resultobj
= Py_None
;
636 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
637 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
640 wxCloseEvent
* _arg0
;
641 PyObject
* _argo0
= 0;
642 char *_kwnames
[] = { "self", NULL
};
645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
655 wxPy_BEGIN_ALLOW_THREADS
;
656 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
658 wxPy_END_ALLOW_THREADS
;
659 if (PyErr_Occurred()) return NULL
;
660 } _resultobj
= Py_BuildValue("i",_result
);
664 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
665 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
667 wxCloseEvent
* _arg0
;
668 bool _arg1
= (bool ) TRUE
;
669 PyObject
* _argo0
= 0;
670 int tempbool1
= (int) TRUE
;
671 char *_kwnames
[] = { "self","veto", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
683 _arg1
= (bool ) tempbool1
;
685 wxPy_BEGIN_ALLOW_THREADS
;
686 wxCloseEvent_Veto(_arg0
,_arg1
);
688 wxPy_END_ALLOW_THREADS
;
689 if (PyErr_Occurred()) return NULL
;
690 } Py_INCREF(Py_None
);
691 _resultobj
= Py_None
;
695 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
696 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
697 PyObject
* _resultobj
;
699 wxCloseEvent
* _arg0
;
700 PyObject
* _argo0
= 0;
701 char *_kwnames
[] = { "self", NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
714 wxPy_BEGIN_ALLOW_THREADS
;
715 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
717 wxPy_END_ALLOW_THREADS
;
718 if (PyErr_Occurred()) return NULL
;
719 } _resultobj
= Py_BuildValue("i",_result
);
723 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
724 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
727 wxCloseEvent
* _arg0
;
728 PyObject
* _argo0
= 0;
729 char *_kwnames
[] = { "self", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
742 wxPy_BEGIN_ALLOW_THREADS
;
743 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
745 wxPy_END_ALLOW_THREADS
;
746 if (PyErr_Occurred()) return NULL
;
747 } _resultobj
= Py_BuildValue("i",_result
);
751 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
752 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
754 wxCloseEvent
* _arg0
;
756 PyObject
* _argo0
= 0;
758 char *_kwnames
[] = { "self","canVeto", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
770 _arg1
= (bool ) tempbool1
;
772 wxPy_BEGIN_ALLOW_THREADS
;
773 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
775 wxPy_END_ALLOW_THREADS
;
776 if (PyErr_Occurred()) return NULL
;
777 } Py_INCREF(Py_None
);
778 _resultobj
= Py_None
;
782 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
785 src
= (wxCommandEvent
*) ptr
;
786 dest
= (wxEvent
*) src
;
787 return (void *) dest
;
790 static void *SwigwxCommandEventTowxObject(void *ptr
) {
793 src
= (wxCommandEvent
*) ptr
;
794 dest
= (wxObject
*) src
;
795 return (void *) dest
;
798 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
799 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
801 wxCommandEvent
* _result
;
802 int _arg0
= (int ) 0;
803 int _arg1
= (int ) 0;
804 char *_kwnames
[] = { "commandEventType","id", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCommandEvent",_kwnames
,&_arg0
,&_arg1
))
811 wxPy_BEGIN_ALLOW_THREADS
;
812 _result
= (wxCommandEvent
*)new_wxCommandEvent(_arg0
,_arg1
);
814 wxPy_END_ALLOW_THREADS
;
815 if (PyErr_Occurred()) return NULL
;
817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCommandEvent_p");
818 _resultobj
= Py_BuildValue("s",_ptemp
);
821 _resultobj
= Py_None
;
826 #define wxCommandEvent_IsChecked(_swigobj) (_swigobj->IsChecked())
827 static PyObject
*_wrap_wxCommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
828 PyObject
* _resultobj
;
830 wxCommandEvent
* _arg0
;
831 PyObject
* _argo0
= 0;
832 char *_kwnames
[] = { "self", NULL
};
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsChecked",_kwnames
,&_argo0
))
838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsChecked. Expected _wxCommandEvent_p.");
845 wxPy_BEGIN_ALLOW_THREADS
;
846 _result
= (bool )wxCommandEvent_IsChecked(_arg0
);
848 wxPy_END_ALLOW_THREADS
;
849 if (PyErr_Occurred()) return NULL
;
850 } _resultobj
= Py_BuildValue("i",_result
);
854 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
855 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
858 wxCommandEvent
* _arg0
;
859 PyObject
* _argo0
= 0;
860 char *_kwnames
[] = { "self", NULL
};
863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
873 wxPy_BEGIN_ALLOW_THREADS
;
874 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
876 wxPy_END_ALLOW_THREADS
;
877 if (PyErr_Occurred()) return NULL
;
878 } _resultobj
= Py_BuildValue("l",_result
);
882 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
883 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
886 wxCommandEvent
* _arg0
;
887 PyObject
* _argo0
= 0;
888 char *_kwnames
[] = { "self", NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
901 wxPy_BEGIN_ALLOW_THREADS
;
902 _result
= (int )wxCommandEvent_GetInt(_arg0
);
904 wxPy_END_ALLOW_THREADS
;
905 if (PyErr_Occurred()) return NULL
;
906 } _resultobj
= Py_BuildValue("i",_result
);
910 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
911 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
914 wxCommandEvent
* _arg0
;
915 PyObject
* _argo0
= 0;
916 char *_kwnames
[] = { "self", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
929 wxPy_BEGIN_ALLOW_THREADS
;
930 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
932 wxPy_END_ALLOW_THREADS
;
933 if (PyErr_Occurred()) return NULL
;
934 } _resultobj
= Py_BuildValue("i",_result
);
938 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
939 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 PyObject
* _resultobj
;
942 wxCommandEvent
* _arg0
;
943 PyObject
* _argo0
= 0;
944 char *_kwnames
[] = { "self", NULL
};
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
957 wxPy_BEGIN_ALLOW_THREADS
;
958 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
960 wxPy_END_ALLOW_THREADS
;
961 if (PyErr_Occurred()) return NULL
;
963 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
971 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
972 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
975 wxCommandEvent
* _arg0
;
976 PyObject
* _argo0
= 0;
977 char *_kwnames
[] = { "self", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
990 wxPy_BEGIN_ALLOW_THREADS
;
991 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
993 wxPy_END_ALLOW_THREADS
;
994 if (PyErr_Occurred()) return NULL
;
995 } _resultobj
= Py_BuildValue("i",_result
);
999 #define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
1000 static PyObject
*_wrap_wxCommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1002 wxCommandEvent
* _arg0
;
1004 PyObject
* _argo0
= 0;
1005 PyObject
* _obj1
= 0;
1006 char *_kwnames
[] = { "self","s", NULL
};
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCommandEvent_SetString",_kwnames
,&_argo0
,&_obj1
))
1012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
1019 #if PYTHON_API_VERSION >= 1009
1020 char* tmpPtr
; int tmpSize
;
1021 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1025 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1027 _arg1
= new wxString(tmpPtr
, tmpSize
);
1029 if (!PyString_Check(_obj1
)) {
1030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1033 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 wxCommandEvent_SetString(_arg0
,*_arg1
);
1040 wxPy_END_ALLOW_THREADS
;
1041 if (PyErr_Occurred()) return NULL
;
1042 } Py_INCREF(Py_None
);
1043 _resultobj
= Py_None
;
1051 #define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
1052 static PyObject
*_wrap_wxCommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
* _resultobj
;
1054 wxCommandEvent
* _arg0
;
1056 PyObject
* _argo0
= 0;
1057 char *_kwnames
[] = { "self","extraLong", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCommandEvent_SetExtraLong",_kwnames
,&_argo0
,&_arg1
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 wxCommandEvent_SetExtraLong(_arg0
,_arg1
);
1073 wxPy_END_ALLOW_THREADS
;
1074 if (PyErr_Occurred()) return NULL
;
1075 } Py_INCREF(Py_None
);
1076 _resultobj
= Py_None
;
1080 #define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1081 static PyObject
*_wrap_wxCommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1083 wxCommandEvent
* _arg0
;
1085 PyObject
* _argo0
= 0;
1086 char *_kwnames
[] = { "self","i", NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCommandEvent_SetInt",_kwnames
,&_argo0
,&_arg1
))
1092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1099 wxPy_BEGIN_ALLOW_THREADS
;
1100 wxCommandEvent_SetInt(_arg0
,_arg1
);
1102 wxPy_END_ALLOW_THREADS
;
1103 if (PyErr_Occurred()) return NULL
;
1104 } Py_INCREF(Py_None
);
1105 _resultobj
= Py_None
;
1109 static PyObject
* wxCommandEvent_GetClientData(wxCommandEvent
*self
) {
1110 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
1112 Py_INCREF(data
->m_obj
);
1119 static PyObject
*_wrap_wxCommandEvent_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
* _resultobj
;
1122 wxCommandEvent
* _arg0
;
1123 PyObject
* _argo0
= 0;
1124 char *_kwnames
[] = { "self", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetClientData",_kwnames
,&_argo0
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetClientData. Expected _wxCommandEvent_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (PyObject
*)wxCommandEvent_GetClientData(_arg0
);
1140 wxPy_END_ALLOW_THREADS
;
1141 if (PyErr_Occurred()) return NULL
;
1143 _resultobj
= _result
;
1148 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1150 wxCommandEvent
*dest
;
1151 src
= (wxScrollEvent
*) ptr
;
1152 dest
= (wxCommandEvent
*) src
;
1153 return (void *) dest
;
1156 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1159 src
= (wxScrollEvent
*) ptr
;
1160 dest
= (wxEvent
*) src
;
1161 return (void *) dest
;
1164 static void *SwigwxScrollEventTowxObject(void *ptr
) {
1167 src
= (wxScrollEvent
*) ptr
;
1168 dest
= (wxObject
*) src
;
1169 return (void *) dest
;
1172 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1173 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1175 wxScrollEvent
* _result
;
1176 int _arg0
= (int ) 0;
1177 int _arg1
= (int ) 0;
1178 int _arg2
= (int ) 0;
1179 int _arg3
= (int ) 0;
1180 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1187 wxPy_BEGIN_ALLOW_THREADS
;
1188 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1190 wxPy_END_ALLOW_THREADS
;
1191 if (PyErr_Occurred()) return NULL
;
1193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1194 _resultobj
= Py_BuildValue("s",_ptemp
);
1197 _resultobj
= Py_None
;
1202 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1203 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1206 wxScrollEvent
* _arg0
;
1207 PyObject
* _argo0
= 0;
1208 char *_kwnames
[] = { "self", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1224 wxPy_END_ALLOW_THREADS
;
1225 if (PyErr_Occurred()) return NULL
;
1226 } _resultobj
= Py_BuildValue("i",_result
);
1230 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1231 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1234 wxScrollEvent
* _arg0
;
1235 PyObject
* _argo0
= 0;
1236 char *_kwnames
[] = { "self", NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1249 wxPy_BEGIN_ALLOW_THREADS
;
1250 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1252 wxPy_END_ALLOW_THREADS
;
1253 if (PyErr_Occurred()) return NULL
;
1254 } _resultobj
= Py_BuildValue("i",_result
);
1258 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1259 wxScrollWinEvent
*src
;
1261 src
= (wxScrollWinEvent
*) ptr
;
1262 dest
= (wxEvent
*) src
;
1263 return (void *) dest
;
1266 static void *SwigwxScrollWinEventTowxObject(void *ptr
) {
1267 wxScrollWinEvent
*src
;
1269 src
= (wxScrollWinEvent
*) ptr
;
1270 dest
= (wxObject
*) src
;
1271 return (void *) dest
;
1274 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1275 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1277 wxScrollWinEvent
* _result
;
1278 int _arg0
= (int ) 0;
1279 int _arg1
= (int ) 0;
1280 int _arg2
= (int ) 0;
1281 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1291 wxPy_END_ALLOW_THREADS
;
1292 if (PyErr_Occurred()) return NULL
;
1294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1295 _resultobj
= Py_BuildValue("s",_ptemp
);
1298 _resultobj
= Py_None
;
1303 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1304 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1307 wxScrollWinEvent
* _arg0
;
1308 PyObject
* _argo0
= 0;
1309 char *_kwnames
[] = { "self", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1322 wxPy_BEGIN_ALLOW_THREADS
;
1323 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1325 wxPy_END_ALLOW_THREADS
;
1326 if (PyErr_Occurred()) return NULL
;
1327 } _resultobj
= Py_BuildValue("i",_result
);
1331 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1332 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1335 wxScrollWinEvent
* _arg0
;
1336 PyObject
* _argo0
= 0;
1337 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1350 wxPy_BEGIN_ALLOW_THREADS
;
1351 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1353 wxPy_END_ALLOW_THREADS
;
1354 if (PyErr_Occurred()) return NULL
;
1355 } _resultobj
= Py_BuildValue("i",_result
);
1359 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1361 wxScrollEvent
*dest
;
1362 src
= (wxSpinEvent
*) ptr
;
1363 dest
= (wxScrollEvent
*) src
;
1364 return (void *) dest
;
1367 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1369 wxCommandEvent
*dest
;
1370 src
= (wxSpinEvent
*) ptr
;
1371 dest
= (wxCommandEvent
*) src
;
1372 return (void *) dest
;
1375 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1378 src
= (wxSpinEvent
*) ptr
;
1379 dest
= (wxEvent
*) src
;
1380 return (void *) dest
;
1383 static void *SwigwxSpinEventTowxObject(void *ptr
) {
1386 src
= (wxSpinEvent
*) ptr
;
1387 dest
= (wxObject
*) src
;
1388 return (void *) dest
;
1391 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1392 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1394 wxSpinEvent
* _result
;
1395 int _arg0
= (int ) 0;
1396 int _arg1
= (int ) 0;
1397 char *_kwnames
[] = { "commandType","id", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1404 wxPy_BEGIN_ALLOW_THREADS
;
1405 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1407 wxPy_END_ALLOW_THREADS
;
1408 if (PyErr_Occurred()) return NULL
;
1410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1411 _resultobj
= Py_BuildValue("s",_ptemp
);
1414 _resultobj
= Py_None
;
1419 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1422 src
= (wxMouseEvent
*) ptr
;
1423 dest
= (wxEvent
*) src
;
1424 return (void *) dest
;
1427 static void *SwigwxMouseEventTowxObject(void *ptr
) {
1430 src
= (wxMouseEvent
*) ptr
;
1431 dest
= (wxObject
*) src
;
1432 return (void *) dest
;
1435 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1436 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1438 wxMouseEvent
* _result
;
1439 int _arg0
= (int ) 0;
1440 char *_kwnames
[] = { "mouseEventType", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1447 wxPy_BEGIN_ALLOW_THREADS
;
1448 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1450 wxPy_END_ALLOW_THREADS
;
1451 if (PyErr_Occurred()) return NULL
;
1453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1454 _resultobj
= Py_BuildValue("s",_ptemp
);
1457 _resultobj
= Py_None
;
1462 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1463 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1466 wxMouseEvent
* _arg0
;
1467 PyObject
* _argo0
= 0;
1468 char *_kwnames
[] = { "self", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1481 wxPy_BEGIN_ALLOW_THREADS
;
1482 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1484 wxPy_END_ALLOW_THREADS
;
1485 if (PyErr_Occurred()) return NULL
;
1486 } _resultobj
= Py_BuildValue("i",_result
);
1490 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1491 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1494 wxMouseEvent
* _arg0
;
1495 int _arg1
= (int ) -1;
1496 PyObject
* _argo0
= 0;
1497 char *_kwnames
[] = { "self","but", NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1510 wxPy_BEGIN_ALLOW_THREADS
;
1511 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1513 wxPy_END_ALLOW_THREADS
;
1514 if (PyErr_Occurred()) return NULL
;
1515 } _resultobj
= Py_BuildValue("i",_result
);
1519 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1520 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1523 wxMouseEvent
* _arg0
;
1524 int _arg1
= (int ) -1;
1525 PyObject
* _argo0
= 0;
1526 char *_kwnames
[] = { "self","but", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1542 wxPy_END_ALLOW_THREADS
;
1543 if (PyErr_Occurred()) return NULL
;
1544 } _resultobj
= Py_BuildValue("i",_result
);
1548 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1549 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1552 wxMouseEvent
* _arg0
;
1553 int _arg1
= (int ) -1;
1554 PyObject
* _argo0
= 0;
1555 char *_kwnames
[] = { "self","but", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1568 wxPy_BEGIN_ALLOW_THREADS
;
1569 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1571 wxPy_END_ALLOW_THREADS
;
1572 if (PyErr_Occurred()) return NULL
;
1573 } _resultobj
= Py_BuildValue("i",_result
);
1577 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1578 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1581 wxMouseEvent
* _arg0
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self","but", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1600 wxPy_END_ALLOW_THREADS
;
1601 if (PyErr_Occurred()) return NULL
;
1602 } _resultobj
= Py_BuildValue("i",_result
);
1606 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1607 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1610 wxMouseEvent
* _arg0
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "self","but", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1629 wxPy_END_ALLOW_THREADS
;
1630 if (PyErr_Occurred()) return NULL
;
1631 } _resultobj
= Py_BuildValue("i",_result
);
1635 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1636 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1639 wxMouseEvent
* _arg0
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1657 wxPy_END_ALLOW_THREADS
;
1658 if (PyErr_Occurred()) return NULL
;
1659 } _resultobj
= Py_BuildValue("i",_result
);
1663 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1664 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1667 wxMouseEvent
* _arg0
;
1668 PyObject
* _argo0
= 0;
1669 char *_kwnames
[] = { "self", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1682 wxPy_BEGIN_ALLOW_THREADS
;
1683 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1685 wxPy_END_ALLOW_THREADS
;
1686 if (PyErr_Occurred()) return NULL
;
1687 } _resultobj
= Py_BuildValue("i",_result
);
1691 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1692 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
* _resultobj
;
1695 wxMouseEvent
* _arg0
;
1696 PyObject
* _argo0
= 0;
1697 char *_kwnames
[] = { "self", NULL
};
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1710 wxPy_BEGIN_ALLOW_THREADS
;
1711 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1713 wxPy_END_ALLOW_THREADS
;
1714 if (PyErr_Occurred()) return NULL
;
1715 } _resultobj
= Py_BuildValue("i",_result
);
1719 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1720 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1723 wxMouseEvent
* _arg0
;
1724 PyObject
* _argo0
= 0;
1725 char *_kwnames
[] = { "self", NULL
};
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1741 wxPy_END_ALLOW_THREADS
;
1742 if (PyErr_Occurred()) return NULL
;
1743 } _resultobj
= Py_BuildValue("i",_result
);
1747 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1748 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1751 wxMouseEvent
* _arg0
;
1752 PyObject
* _argo0
= 0;
1753 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1769 wxPy_END_ALLOW_THREADS
;
1770 if (PyErr_Occurred()) return NULL
;
1771 } _resultobj
= Py_BuildValue("i",_result
);
1775 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1776 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
* _resultobj
;
1779 wxMouseEvent
* _arg0
;
1780 PyObject
* _argo0
= 0;
1781 char *_kwnames
[] = { "self", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1794 wxPy_BEGIN_ALLOW_THREADS
;
1795 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1797 wxPy_END_ALLOW_THREADS
;
1798 if (PyErr_Occurred()) return NULL
;
1799 } _resultobj
= Py_BuildValue("i",_result
);
1803 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1804 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1807 wxMouseEvent
* _arg0
;
1808 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1825 wxPy_END_ALLOW_THREADS
;
1826 if (PyErr_Occurred()) return NULL
;
1827 } _resultobj
= Py_BuildValue("i",_result
);
1831 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1832 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1835 wxMouseEvent
* _arg0
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1853 wxPy_END_ALLOW_THREADS
;
1854 if (PyErr_Occurred()) return NULL
;
1855 } _resultobj
= Py_BuildValue("i",_result
);
1859 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1860 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1863 wxMouseEvent
* _arg0
;
1864 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1878 wxPy_BEGIN_ALLOW_THREADS
;
1879 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1881 wxPy_END_ALLOW_THREADS
;
1882 if (PyErr_Occurred()) return NULL
;
1883 } _resultobj
= Py_BuildValue("i",_result
);
1887 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1888 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1891 wxMouseEvent
* _arg0
;
1892 PyObject
* _argo0
= 0;
1893 char *_kwnames
[] = { "self", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1909 wxPy_END_ALLOW_THREADS
;
1910 if (PyErr_Occurred()) return NULL
;
1911 } _resultobj
= Py_BuildValue("i",_result
);
1915 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1916 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1919 wxMouseEvent
* _arg0
;
1920 PyObject
* _argo0
= 0;
1921 char *_kwnames
[] = { "self", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1934 wxPy_BEGIN_ALLOW_THREADS
;
1935 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1937 wxPy_END_ALLOW_THREADS
;
1938 if (PyErr_Occurred()) return NULL
;
1939 } _resultobj
= Py_BuildValue("i",_result
);
1943 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1944 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1947 wxMouseEvent
* _arg0
;
1948 PyObject
* _argo0
= 0;
1949 char *_kwnames
[] = { "self", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1962 wxPy_BEGIN_ALLOW_THREADS
;
1963 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1965 wxPy_END_ALLOW_THREADS
;
1966 if (PyErr_Occurred()) return NULL
;
1967 } _resultobj
= Py_BuildValue("i",_result
);
1971 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1972 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1975 wxMouseEvent
* _arg0
;
1976 PyObject
* _argo0
= 0;
1977 char *_kwnames
[] = { "self", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1993 wxPy_END_ALLOW_THREADS
;
1994 if (PyErr_Occurred()) return NULL
;
1995 } _resultobj
= Py_BuildValue("i",_result
);
1999 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
2000 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 wxMouseEvent
* _arg0
;
2004 PyObject
* _argo0
= 0;
2005 char *_kwnames
[] = { "self", NULL
};
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
2011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
2018 wxPy_BEGIN_ALLOW_THREADS
;
2019 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
2021 wxPy_END_ALLOW_THREADS
;
2022 if (PyErr_Occurred()) return NULL
;
2023 } _resultobj
= Py_BuildValue("i",_result
);
2027 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
2028 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2031 wxMouseEvent
* _arg0
;
2032 PyObject
* _argo0
= 0;
2033 char *_kwnames
[] = { "self", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
2049 wxPy_END_ALLOW_THREADS
;
2050 if (PyErr_Occurred()) return NULL
;
2051 } _resultobj
= Py_BuildValue("i",_result
);
2055 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
2056 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2059 wxMouseEvent
* _arg0
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
2074 wxPy_BEGIN_ALLOW_THREADS
;
2075 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
2077 wxPy_END_ALLOW_THREADS
;
2078 if (PyErr_Occurred()) return NULL
;
2079 } _resultobj
= Py_BuildValue("i",_result
);
2083 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
2084 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2087 wxMouseEvent
* _arg0
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
2102 wxPy_BEGIN_ALLOW_THREADS
;
2103 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
2105 wxPy_END_ALLOW_THREADS
;
2106 if (PyErr_Occurred()) return NULL
;
2107 } _resultobj
= Py_BuildValue("i",_result
);
2111 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
2112 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2115 wxMouseEvent
* _arg0
;
2116 PyObject
* _argo0
= 0;
2117 char *_kwnames
[] = { "self", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 _result
= (bool )wxMouseEvent_Moving(_arg0
);
2133 wxPy_END_ALLOW_THREADS
;
2134 if (PyErr_Occurred()) return NULL
;
2135 } _resultobj
= Py_BuildValue("i",_result
);
2139 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
2140 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
* _resultobj
;
2143 wxMouseEvent
* _arg0
;
2144 PyObject
* _argo0
= 0;
2145 char *_kwnames
[] = { "self", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
2151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
2158 wxPy_BEGIN_ALLOW_THREADS
;
2159 _result
= (bool )wxMouseEvent_Entering(_arg0
);
2161 wxPy_END_ALLOW_THREADS
;
2162 if (PyErr_Occurred()) return NULL
;
2163 } _resultobj
= Py_BuildValue("i",_result
);
2167 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
2168 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2171 wxMouseEvent
* _arg0
;
2172 PyObject
* _argo0
= 0;
2173 char *_kwnames
[] = { "self", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
2179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2186 wxPy_BEGIN_ALLOW_THREADS
;
2187 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
2189 wxPy_END_ALLOW_THREADS
;
2190 if (PyErr_Occurred()) return NULL
;
2191 } _resultobj
= Py_BuildValue("i",_result
);
2195 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2196 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2199 wxMouseEvent
* _arg0
;
2200 PyObject
* _argo0
= 0;
2201 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2218 wxPy_END_ALLOW_THREADS
;
2219 if (PyErr_Occurred()) return NULL
;
2220 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2221 _resultobj
= Py_BuildValue("s",_ptemp
);
2225 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2226 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2228 wxMouseEvent
* _arg0
;
2233 PyObject
* _argo0
= 0;
2234 char *_kwnames
[] = { "self", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
2246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2253 wxPy_BEGIN_ALLOW_THREADS
;
2254 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2256 wxPy_END_ALLOW_THREADS
;
2257 if (PyErr_Occurred()) return NULL
;
2258 } Py_INCREF(Py_None
);
2259 _resultobj
= Py_None
;
2262 o
= PyInt_FromLong((long) (*_arg1
));
2263 _resultobj
= t_output_helper(_resultobj
, o
);
2267 o
= PyInt_FromLong((long) (*_arg2
));
2268 _resultobj
= t_output_helper(_resultobj
, o
);
2273 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2274 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
* _resultobj
;
2277 wxMouseEvent
* _arg0
;
2279 PyObject
* _argo0
= 0;
2280 PyObject
* _argo1
= 0;
2281 char *_kwnames
[] = { "self","dc", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2302 wxPy_BEGIN_ALLOW_THREADS
;
2303 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2305 wxPy_END_ALLOW_THREADS
;
2306 if (PyErr_Occurred()) return NULL
;
2307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2308 _resultobj
= Py_BuildValue("s",_ptemp
);
2312 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2313 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2316 wxMouseEvent
* _arg0
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 _result
= (long )wxMouseEvent_GetX(_arg0
);
2334 wxPy_END_ALLOW_THREADS
;
2335 if (PyErr_Occurred()) return NULL
;
2336 } _resultobj
= Py_BuildValue("l",_result
);
2340 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2341 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2344 wxMouseEvent
* _arg0
;
2345 PyObject
* _argo0
= 0;
2346 char *_kwnames
[] = { "self", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2359 wxPy_BEGIN_ALLOW_THREADS
;
2360 _result
= (long )wxMouseEvent_GetY(_arg0
);
2362 wxPy_END_ALLOW_THREADS
;
2363 if (PyErr_Occurred()) return NULL
;
2364 } _resultobj
= Py_BuildValue("l",_result
);
2368 #define wxMouseEvent_GetWheelRotation(_swigobj) (_swigobj->GetWheelRotation())
2369 static PyObject
*_wrap_wxMouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2372 wxMouseEvent
* _arg0
;
2373 PyObject
* _argo0
= 0;
2374 char *_kwnames
[] = { "self", NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelRotation",_kwnames
,&_argo0
))
2380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelRotation. Expected _wxMouseEvent_p.");
2387 wxPy_BEGIN_ALLOW_THREADS
;
2388 _result
= (int )wxMouseEvent_GetWheelRotation(_arg0
);
2390 wxPy_END_ALLOW_THREADS
;
2391 if (PyErr_Occurred()) return NULL
;
2392 } _resultobj
= Py_BuildValue("i",_result
);
2396 #define wxMouseEvent_GetWheelDelta(_swigobj) (_swigobj->GetWheelDelta())
2397 static PyObject
*_wrap_wxMouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2400 wxMouseEvent
* _arg0
;
2401 PyObject
* _argo0
= 0;
2402 char *_kwnames
[] = { "self", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelDelta",_kwnames
,&_argo0
))
2408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelDelta. Expected _wxMouseEvent_p.");
2415 wxPy_BEGIN_ALLOW_THREADS
;
2416 _result
= (int )wxMouseEvent_GetWheelDelta(_arg0
);
2418 wxPy_END_ALLOW_THREADS
;
2419 if (PyErr_Occurred()) return NULL
;
2420 } _resultobj
= Py_BuildValue("i",_result
);
2424 #define wxMouseEvent_GetLinesPerAction(_swigobj) (_swigobj->GetLinesPerAction())
2425 static PyObject
*_wrap_wxMouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2428 wxMouseEvent
* _arg0
;
2429 PyObject
* _argo0
= 0;
2430 char *_kwnames
[] = { "self", NULL
};
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetLinesPerAction",_kwnames
,&_argo0
))
2436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLinesPerAction. Expected _wxMouseEvent_p.");
2443 wxPy_BEGIN_ALLOW_THREADS
;
2444 _result
= (int )wxMouseEvent_GetLinesPerAction(_arg0
);
2446 wxPy_END_ALLOW_THREADS
;
2447 if (PyErr_Occurred()) return NULL
;
2448 } _resultobj
= Py_BuildValue("i",_result
);
2452 #define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2453 static PyObject
*_wrap_wxMouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2456 wxMouseEvent
* _arg0
;
2458 PyObject
* _argo0
= 0;
2459 char *_kwnames
[] = { "self","m_x", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 _result
= (long )wxMouseEvent_m_x_set(_arg0
,_arg1
);
2475 wxPy_END_ALLOW_THREADS
;
2476 if (PyErr_Occurred()) return NULL
;
2477 } _resultobj
= Py_BuildValue("l",_result
);
2481 #define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2482 static PyObject
*_wrap_wxMouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2485 wxMouseEvent
* _arg0
;
2486 PyObject
* _argo0
= 0;
2487 char *_kwnames
[] = { "self", NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_x_get",_kwnames
,&_argo0
))
2493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
2500 wxPy_BEGIN_ALLOW_THREADS
;
2501 _result
= (long )wxMouseEvent_m_x_get(_arg0
);
2503 wxPy_END_ALLOW_THREADS
;
2504 if (PyErr_Occurred()) return NULL
;
2505 } _resultobj
= Py_BuildValue("l",_result
);
2509 #define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2510 static PyObject
*_wrap_wxMouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
* _resultobj
;
2513 wxMouseEvent
* _arg0
;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "self","m_y", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2529 wxPy_BEGIN_ALLOW_THREADS
;
2530 _result
= (long )wxMouseEvent_m_y_set(_arg0
,_arg1
);
2532 wxPy_END_ALLOW_THREADS
;
2533 if (PyErr_Occurred()) return NULL
;
2534 } _resultobj
= Py_BuildValue("l",_result
);
2538 #define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2539 static PyObject
*_wrap_wxMouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2542 wxMouseEvent
* _arg0
;
2543 PyObject
* _argo0
= 0;
2544 char *_kwnames
[] = { "self", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_y_get",_kwnames
,&_argo0
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
2557 wxPy_BEGIN_ALLOW_THREADS
;
2558 _result
= (long )wxMouseEvent_m_y_get(_arg0
);
2560 wxPy_END_ALLOW_THREADS
;
2561 if (PyErr_Occurred()) return NULL
;
2562 } _resultobj
= Py_BuildValue("l",_result
);
2566 #define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2567 static PyObject
*_wrap_wxMouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2570 wxMouseEvent
* _arg0
;
2572 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self","m_leftDown", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_leftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
2586 _arg1
= (bool ) tempbool1
;
2588 wxPy_BEGIN_ALLOW_THREADS
;
2589 _result
= (bool )wxMouseEvent_m_leftDown_set(_arg0
,_arg1
);
2591 wxPy_END_ALLOW_THREADS
;
2592 if (PyErr_Occurred()) return NULL
;
2593 } _resultobj
= Py_BuildValue("i",_result
);
2597 #define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2598 static PyObject
*_wrap_wxMouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2601 wxMouseEvent
* _arg0
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_leftDown_get",_kwnames
,&_argo0
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
2616 wxPy_BEGIN_ALLOW_THREADS
;
2617 _result
= (bool )wxMouseEvent_m_leftDown_get(_arg0
);
2619 wxPy_END_ALLOW_THREADS
;
2620 if (PyErr_Occurred()) return NULL
;
2621 } _resultobj
= Py_BuildValue("i",_result
);
2625 #define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2626 static PyObject
*_wrap_wxMouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
* _resultobj
;
2629 wxMouseEvent
* _arg0
;
2631 PyObject
* _argo0
= 0;
2633 char *_kwnames
[] = { "self","m_middleDown", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_middleDown_set",_kwnames
,&_argo0
,&tempbool1
))
2639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
2645 _arg1
= (bool ) tempbool1
;
2647 wxPy_BEGIN_ALLOW_THREADS
;
2648 _result
= (bool )wxMouseEvent_m_middleDown_set(_arg0
,_arg1
);
2650 wxPy_END_ALLOW_THREADS
;
2651 if (PyErr_Occurred()) return NULL
;
2652 } _resultobj
= Py_BuildValue("i",_result
);
2656 #define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2657 static PyObject
*_wrap_wxMouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2660 wxMouseEvent
* _arg0
;
2661 PyObject
* _argo0
= 0;
2662 char *_kwnames
[] = { "self", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_middleDown_get",_kwnames
,&_argo0
))
2668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
2675 wxPy_BEGIN_ALLOW_THREADS
;
2676 _result
= (bool )wxMouseEvent_m_middleDown_get(_arg0
);
2678 wxPy_END_ALLOW_THREADS
;
2679 if (PyErr_Occurred()) return NULL
;
2680 } _resultobj
= Py_BuildValue("i",_result
);
2684 #define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2685 static PyObject
*_wrap_wxMouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2688 wxMouseEvent
* _arg0
;
2690 PyObject
* _argo0
= 0;
2692 char *_kwnames
[] = { "self","m_rightDown", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_rightDown_set",_kwnames
,&_argo0
,&tempbool1
))
2698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
2704 _arg1
= (bool ) tempbool1
;
2706 wxPy_BEGIN_ALLOW_THREADS
;
2707 _result
= (bool )wxMouseEvent_m_rightDown_set(_arg0
,_arg1
);
2709 wxPy_END_ALLOW_THREADS
;
2710 if (PyErr_Occurred()) return NULL
;
2711 } _resultobj
= Py_BuildValue("i",_result
);
2715 #define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2716 static PyObject
*_wrap_wxMouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2719 wxMouseEvent
* _arg0
;
2720 PyObject
* _argo0
= 0;
2721 char *_kwnames
[] = { "self", NULL
};
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_rightDown_get",_kwnames
,&_argo0
))
2727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
2734 wxPy_BEGIN_ALLOW_THREADS
;
2735 _result
= (bool )wxMouseEvent_m_rightDown_get(_arg0
);
2737 wxPy_END_ALLOW_THREADS
;
2738 if (PyErr_Occurred()) return NULL
;
2739 } _resultobj
= Py_BuildValue("i",_result
);
2743 #define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2744 static PyObject
*_wrap_wxMouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2747 wxMouseEvent
* _arg0
;
2749 PyObject
* _argo0
= 0;
2751 char *_kwnames
[] = { "self","m_controlDown", NULL
};
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
2757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
2763 _arg1
= (bool ) tempbool1
;
2765 wxPy_BEGIN_ALLOW_THREADS
;
2766 _result
= (bool )wxMouseEvent_m_controlDown_set(_arg0
,_arg1
);
2768 wxPy_END_ALLOW_THREADS
;
2769 if (PyErr_Occurred()) return NULL
;
2770 } _resultobj
= Py_BuildValue("i",_result
);
2774 #define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2775 static PyObject
*_wrap_wxMouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2778 wxMouseEvent
* _arg0
;
2779 PyObject
* _argo0
= 0;
2780 char *_kwnames
[] = { "self", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_controlDown_get",_kwnames
,&_argo0
))
2786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 _result
= (bool )wxMouseEvent_m_controlDown_get(_arg0
);
2796 wxPy_END_ALLOW_THREADS
;
2797 if (PyErr_Occurred()) return NULL
;
2798 } _resultobj
= Py_BuildValue("i",_result
);
2802 #define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2803 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2806 wxMouseEvent
* _arg0
;
2808 PyObject
* _argo0
= 0;
2810 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
2822 _arg1
= (bool ) tempbool1
;
2824 wxPy_BEGIN_ALLOW_THREADS
;
2825 _result
= (bool )wxMouseEvent_m_shiftDown_set(_arg0
,_arg1
);
2827 wxPy_END_ALLOW_THREADS
;
2828 if (PyErr_Occurred()) return NULL
;
2829 } _resultobj
= Py_BuildValue("i",_result
);
2833 #define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2834 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2837 wxMouseEvent
* _arg0
;
2838 PyObject
* _argo0
= 0;
2839 char *_kwnames
[] = { "self", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_shiftDown_get",_kwnames
,&_argo0
))
2845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2852 wxPy_BEGIN_ALLOW_THREADS
;
2853 _result
= (bool )wxMouseEvent_m_shiftDown_get(_arg0
);
2855 wxPy_END_ALLOW_THREADS
;
2856 if (PyErr_Occurred()) return NULL
;
2857 } _resultobj
= Py_BuildValue("i",_result
);
2861 #define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2862 static PyObject
*_wrap_wxMouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2865 wxMouseEvent
* _arg0
;
2867 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self","m_altDown", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
2881 _arg1
= (bool ) tempbool1
;
2883 wxPy_BEGIN_ALLOW_THREADS
;
2884 _result
= (bool )wxMouseEvent_m_altDown_set(_arg0
,_arg1
);
2886 wxPy_END_ALLOW_THREADS
;
2887 if (PyErr_Occurred()) return NULL
;
2888 } _resultobj
= Py_BuildValue("i",_result
);
2892 #define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2893 static PyObject
*_wrap_wxMouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2896 wxMouseEvent
* _arg0
;
2897 PyObject
* _argo0
= 0;
2898 char *_kwnames
[] = { "self", NULL
};
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_altDown_get",_kwnames
,&_argo0
))
2904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2911 wxPy_BEGIN_ALLOW_THREADS
;
2912 _result
= (bool )wxMouseEvent_m_altDown_get(_arg0
);
2914 wxPy_END_ALLOW_THREADS
;
2915 if (PyErr_Occurred()) return NULL
;
2916 } _resultobj
= Py_BuildValue("i",_result
);
2920 #define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2921 static PyObject
*_wrap_wxMouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2924 wxMouseEvent
* _arg0
;
2926 PyObject
* _argo0
= 0;
2928 char *_kwnames
[] = { "self","m_metaDown", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2940 _arg1
= (bool ) tempbool1
;
2942 wxPy_BEGIN_ALLOW_THREADS
;
2943 _result
= (bool )wxMouseEvent_m_metaDown_set(_arg0
,_arg1
);
2945 wxPy_END_ALLOW_THREADS
;
2946 if (PyErr_Occurred()) return NULL
;
2947 } _resultobj
= Py_BuildValue("i",_result
);
2951 #define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2952 static PyObject
*_wrap_wxMouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2955 wxMouseEvent
* _arg0
;
2956 PyObject
* _argo0
= 0;
2957 char *_kwnames
[] = { "self", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_metaDown_get",_kwnames
,&_argo0
))
2963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2970 wxPy_BEGIN_ALLOW_THREADS
;
2971 _result
= (bool )wxMouseEvent_m_metaDown_get(_arg0
);
2973 wxPy_END_ALLOW_THREADS
;
2974 if (PyErr_Occurred()) return NULL
;
2975 } _resultobj
= Py_BuildValue("i",_result
);
2979 #define wxMouseEvent_m_wheelRotation_set(_swigobj,_swigval) (_swigobj->m_wheelRotation = _swigval,_swigval)
2980 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2983 wxMouseEvent
* _arg0
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self","m_wheelRotation", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelRotation_set",_kwnames
,&_argo0
,&_arg1
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_set. Expected _wxMouseEvent_p.");
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 _result
= (int )wxMouseEvent_m_wheelRotation_set(_arg0
,_arg1
);
3002 wxPy_END_ALLOW_THREADS
;
3003 if (PyErr_Occurred()) return NULL
;
3004 } _resultobj
= Py_BuildValue("i",_result
);
3008 #define wxMouseEvent_m_wheelRotation_get(_swigobj) ((int ) _swigobj->m_wheelRotation)
3009 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3012 wxMouseEvent
* _arg0
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelRotation_get",_kwnames
,&_argo0
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_get. Expected _wxMouseEvent_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 _result
= (int )wxMouseEvent_m_wheelRotation_get(_arg0
);
3030 wxPy_END_ALLOW_THREADS
;
3031 if (PyErr_Occurred()) return NULL
;
3032 } _resultobj
= Py_BuildValue("i",_result
);
3036 #define wxMouseEvent_m_wheelDelta_set(_swigobj,_swigval) (_swigobj->m_wheelDelta = _swigval,_swigval)
3037 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3040 wxMouseEvent
* _arg0
;
3042 PyObject
* _argo0
= 0;
3043 char *_kwnames
[] = { "self","m_wheelDelta", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelDelta_set",_kwnames
,&_argo0
,&_arg1
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_set. Expected _wxMouseEvent_p.");
3056 wxPy_BEGIN_ALLOW_THREADS
;
3057 _result
= (int )wxMouseEvent_m_wheelDelta_set(_arg0
,_arg1
);
3059 wxPy_END_ALLOW_THREADS
;
3060 if (PyErr_Occurred()) return NULL
;
3061 } _resultobj
= Py_BuildValue("i",_result
);
3065 #define wxMouseEvent_m_wheelDelta_get(_swigobj) ((int ) _swigobj->m_wheelDelta)
3066 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3069 wxMouseEvent
* _arg0
;
3070 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelDelta_get",_kwnames
,&_argo0
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_get. Expected _wxMouseEvent_p.");
3084 wxPy_BEGIN_ALLOW_THREADS
;
3085 _result
= (int )wxMouseEvent_m_wheelDelta_get(_arg0
);
3087 wxPy_END_ALLOW_THREADS
;
3088 if (PyErr_Occurred()) return NULL
;
3089 } _resultobj
= Py_BuildValue("i",_result
);
3093 #define wxMouseEvent_m_linesPerAction_set(_swigobj,_swigval) (_swigobj->m_linesPerAction = _swigval,_swigval)
3094 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
* _resultobj
;
3097 wxMouseEvent
* _arg0
;
3099 PyObject
* _argo0
= 0;
3100 char *_kwnames
[] = { "self","m_linesPerAction", NULL
};
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_linesPerAction_set",_kwnames
,&_argo0
,&_arg1
))
3106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_set. Expected _wxMouseEvent_p.");
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 _result
= (int )wxMouseEvent_m_linesPerAction_set(_arg0
,_arg1
);
3116 wxPy_END_ALLOW_THREADS
;
3117 if (PyErr_Occurred()) return NULL
;
3118 } _resultobj
= Py_BuildValue("i",_result
);
3122 #define wxMouseEvent_m_linesPerAction_get(_swigobj) ((int ) _swigobj->m_linesPerAction)
3123 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3126 wxMouseEvent
* _arg0
;
3127 PyObject
* _argo0
= 0;
3128 char *_kwnames
[] = { "self", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_linesPerAction_get",_kwnames
,&_argo0
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_get. Expected _wxMouseEvent_p.");
3141 wxPy_BEGIN_ALLOW_THREADS
;
3142 _result
= (int )wxMouseEvent_m_linesPerAction_get(_arg0
);
3144 wxPy_END_ALLOW_THREADS
;
3145 if (PyErr_Occurred()) return NULL
;
3146 } _resultobj
= Py_BuildValue("i",_result
);
3150 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
3153 src
= (wxKeyEvent
*) ptr
;
3154 dest
= (wxEvent
*) src
;
3155 return (void *) dest
;
3158 static void *SwigwxKeyEventTowxObject(void *ptr
) {
3161 src
= (wxKeyEvent
*) ptr
;
3162 dest
= (wxObject
*) src
;
3163 return (void *) dest
;
3166 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
3167 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3169 wxKeyEvent
* _result
;
3171 char *_kwnames
[] = { "keyEventType", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
3178 wxPy_BEGIN_ALLOW_THREADS
;
3179 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
3181 wxPy_END_ALLOW_THREADS
;
3182 if (PyErr_Occurred()) return NULL
;
3184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
3185 _resultobj
= Py_BuildValue("s",_ptemp
);
3188 _resultobj
= Py_None
;
3193 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3194 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3198 PyObject
* _argo0
= 0;
3199 char *_kwnames
[] = { "self", NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
3205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
3212 wxPy_BEGIN_ALLOW_THREADS
;
3213 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
3215 wxPy_END_ALLOW_THREADS
;
3216 if (PyErr_Occurred()) return NULL
;
3217 } _resultobj
= Py_BuildValue("i",_result
);
3221 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
3222 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
* _resultobj
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
3240 wxPy_BEGIN_ALLOW_THREADS
;
3241 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
3243 wxPy_END_ALLOW_THREADS
;
3244 if (PyErr_Occurred()) return NULL
;
3245 } _resultobj
= Py_BuildValue("i",_result
);
3249 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
3250 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3254 PyObject
* _argo0
= 0;
3255 char *_kwnames
[] = { "self", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
3268 wxPy_BEGIN_ALLOW_THREADS
;
3269 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
3271 wxPy_END_ALLOW_THREADS
;
3272 if (PyErr_Occurred()) return NULL
;
3273 } _resultobj
= Py_BuildValue("i",_result
);
3277 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3278 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
* _resultobj
;
3282 PyObject
* _argo0
= 0;
3283 char *_kwnames
[] = { "self", NULL
};
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
3289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
3296 wxPy_BEGIN_ALLOW_THREADS
;
3297 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
3299 wxPy_END_ALLOW_THREADS
;
3300 if (PyErr_Occurred()) return NULL
;
3301 } _resultobj
= Py_BuildValue("i",_result
);
3305 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
3306 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self", NULL
};
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
3324 wxPy_BEGIN_ALLOW_THREADS
;
3325 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
3327 wxPy_END_ALLOW_THREADS
;
3328 if (PyErr_Occurred()) return NULL
;
3329 } _resultobj
= Py_BuildValue("l",_result
);
3333 #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3334 static PyObject
*_wrap_wxKeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self", NULL
};
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetKeyCode",_kwnames
,&_argo0
))
3345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
3352 wxPy_BEGIN_ALLOW_THREADS
;
3353 _result
= (long )wxKeyEvent_GetKeyCode(_arg0
);
3355 wxPy_END_ALLOW_THREADS
;
3356 if (PyErr_Occurred()) return NULL
;
3357 } _resultobj
= Py_BuildValue("l",_result
);
3361 #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
3362 static PyObject
*_wrap_wxKeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3366 PyObject
* _argo0
= 0;
3367 char *_kwnames
[] = { "self", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_HasModifiers",_kwnames
,&_argo0
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
3380 wxPy_BEGIN_ALLOW_THREADS
;
3381 _result
= (bool )wxKeyEvent_HasModifiers(_arg0
);
3383 wxPy_END_ALLOW_THREADS
;
3384 if (PyErr_Occurred()) return NULL
;
3385 } _resultobj
= Py_BuildValue("i",_result
);
3389 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
3390 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 _result
= (long )wxKeyEvent_GetX(_arg0
);
3411 wxPy_END_ALLOW_THREADS
;
3412 if (PyErr_Occurred()) return NULL
;
3413 } _resultobj
= Py_BuildValue("l",_result
);
3417 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
3418 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3422 PyObject
* _argo0
= 0;
3423 char *_kwnames
[] = { "self", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
3436 wxPy_BEGIN_ALLOW_THREADS
;
3437 _result
= (long )wxKeyEvent_GetY(_arg0
);
3439 wxPy_END_ALLOW_THREADS
;
3440 if (PyErr_Occurred()) return NULL
;
3441 } _resultobj
= Py_BuildValue("l",_result
);
3445 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3446 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
* _resultobj
;
3450 PyObject
* _argo0
= 0;
3451 char *_kwnames
[] = { "self", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
3458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
3465 wxPy_BEGIN_ALLOW_THREADS
;
3466 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
3468 wxPy_END_ALLOW_THREADS
;
3469 if (PyErr_Occurred()) return NULL
;
3470 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3471 _resultobj
= Py_BuildValue("s",_ptemp
);
3475 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3476 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3483 PyObject
* _argo0
= 0;
3484 char *_kwnames
[] = { "self", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3503 wxPy_BEGIN_ALLOW_THREADS
;
3504 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3506 wxPy_END_ALLOW_THREADS
;
3507 if (PyErr_Occurred()) return NULL
;
3508 } Py_INCREF(Py_None
);
3509 _resultobj
= Py_None
;
3512 o
= PyInt_FromLong((long) (*_arg1
));
3513 _resultobj
= t_output_helper(_resultobj
, o
);
3517 o
= PyInt_FromLong((long) (*_arg2
));
3518 _resultobj
= t_output_helper(_resultobj
, o
);
3523 #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3524 static PyObject
*_wrap_wxKeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3529 PyObject
* _argo0
= 0;
3530 char *_kwnames
[] = { "self","m_x", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
3536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3543 wxPy_BEGIN_ALLOW_THREADS
;
3544 _result
= (long )wxKeyEvent_m_x_set(_arg0
,_arg1
);
3546 wxPy_END_ALLOW_THREADS
;
3547 if (PyErr_Occurred()) return NULL
;
3548 } _resultobj
= Py_BuildValue("l",_result
);
3552 #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3553 static PyObject
*_wrap_wxKeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_x_get",_kwnames
,&_argo0
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3571 wxPy_BEGIN_ALLOW_THREADS
;
3572 _result
= (long )wxKeyEvent_m_x_get(_arg0
);
3574 wxPy_END_ALLOW_THREADS
;
3575 if (PyErr_Occurred()) return NULL
;
3576 } _resultobj
= Py_BuildValue("l",_result
);
3580 #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3581 static PyObject
*_wrap_wxKeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3586 PyObject
* _argo0
= 0;
3587 char *_kwnames
[] = { "self","m_y", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 _result
= (long )wxKeyEvent_m_y_set(_arg0
,_arg1
);
3603 wxPy_END_ALLOW_THREADS
;
3604 if (PyErr_Occurred()) return NULL
;
3605 } _resultobj
= Py_BuildValue("l",_result
);
3609 #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3610 static PyObject
*_wrap_wxKeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
* _resultobj
;
3614 PyObject
* _argo0
= 0;
3615 char *_kwnames
[] = { "self", NULL
};
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_y_get",_kwnames
,&_argo0
))
3621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p.");
3628 wxPy_BEGIN_ALLOW_THREADS
;
3629 _result
= (long )wxKeyEvent_m_y_get(_arg0
);
3631 wxPy_END_ALLOW_THREADS
;
3632 if (PyErr_Occurred()) return NULL
;
3633 } _resultobj
= Py_BuildValue("l",_result
);
3637 #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3638 static PyObject
*_wrap_wxKeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self","m_keyCode", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_keyCode_set",_kwnames
,&_argo0
,&_arg1
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3657 wxPy_BEGIN_ALLOW_THREADS
;
3658 _result
= (long )wxKeyEvent_m_keyCode_set(_arg0
,_arg1
);
3660 wxPy_END_ALLOW_THREADS
;
3661 if (PyErr_Occurred()) return NULL
;
3662 } _resultobj
= Py_BuildValue("l",_result
);
3666 #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3667 static PyObject
*_wrap_wxKeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3671 PyObject
* _argo0
= 0;
3672 char *_kwnames
[] = { "self", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_keyCode_get",_kwnames
,&_argo0
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 _result
= (long )wxKeyEvent_m_keyCode_get(_arg0
);
3688 wxPy_END_ALLOW_THREADS
;
3689 if (PyErr_Occurred()) return NULL
;
3690 } _resultobj
= Py_BuildValue("l",_result
);
3694 #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3695 static PyObject
*_wrap_wxKeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3700 PyObject
* _argo0
= 0;
3702 char *_kwnames
[] = { "self","m_controlDown", NULL
};
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
3708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
3714 _arg1
= (bool ) tempbool1
;
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= (bool )wxKeyEvent_m_controlDown_set(_arg0
,_arg1
);
3719 wxPy_END_ALLOW_THREADS
;
3720 if (PyErr_Occurred()) return NULL
;
3721 } _resultobj
= Py_BuildValue("i",_result
);
3725 #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
3726 static PyObject
*_wrap_wxKeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3730 PyObject
* _argo0
= 0;
3731 char *_kwnames
[] = { "self", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_controlDown_get",_kwnames
,&_argo0
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 _result
= (bool )wxKeyEvent_m_controlDown_get(_arg0
);
3747 wxPy_END_ALLOW_THREADS
;
3748 if (PyErr_Occurred()) return NULL
;
3749 } _resultobj
= Py_BuildValue("i",_result
);
3753 #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
3754 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3759 PyObject
* _argo0
= 0;
3761 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
3767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
3773 _arg1
= (bool ) tempbool1
;
3775 wxPy_BEGIN_ALLOW_THREADS
;
3776 _result
= (bool )wxKeyEvent_m_shiftDown_set(_arg0
,_arg1
);
3778 wxPy_END_ALLOW_THREADS
;
3779 if (PyErr_Occurred()) return NULL
;
3780 } _resultobj
= Py_BuildValue("i",_result
);
3784 #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
3785 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3789 PyObject
* _argo0
= 0;
3790 char *_kwnames
[] = { "self", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_shiftDown_get",_kwnames
,&_argo0
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
3803 wxPy_BEGIN_ALLOW_THREADS
;
3804 _result
= (bool )wxKeyEvent_m_shiftDown_get(_arg0
);
3806 wxPy_END_ALLOW_THREADS
;
3807 if (PyErr_Occurred()) return NULL
;
3808 } _resultobj
= Py_BuildValue("i",_result
);
3812 #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
3813 static PyObject
*_wrap_wxKeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
* _resultobj
;
3818 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self","m_altDown", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
3832 _arg1
= (bool ) tempbool1
;
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 _result
= (bool )wxKeyEvent_m_altDown_set(_arg0
,_arg1
);
3837 wxPy_END_ALLOW_THREADS
;
3838 if (PyErr_Occurred()) return NULL
;
3839 } _resultobj
= Py_BuildValue("i",_result
);
3843 #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
3844 static PyObject
*_wrap_wxKeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3848 PyObject
* _argo0
= 0;
3849 char *_kwnames
[] = { "self", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_altDown_get",_kwnames
,&_argo0
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
3862 wxPy_BEGIN_ALLOW_THREADS
;
3863 _result
= (bool )wxKeyEvent_m_altDown_get(_arg0
);
3865 wxPy_END_ALLOW_THREADS
;
3866 if (PyErr_Occurred()) return NULL
;
3867 } _resultobj
= Py_BuildValue("i",_result
);
3871 #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
3872 static PyObject
*_wrap_wxKeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3877 PyObject
* _argo0
= 0;
3879 char *_kwnames
[] = { "self","m_metaDown", NULL
};
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
3885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p.");
3891 _arg1
= (bool ) tempbool1
;
3893 wxPy_BEGIN_ALLOW_THREADS
;
3894 _result
= (bool )wxKeyEvent_m_metaDown_set(_arg0
,_arg1
);
3896 wxPy_END_ALLOW_THREADS
;
3897 if (PyErr_Occurred()) return NULL
;
3898 } _resultobj
= Py_BuildValue("i",_result
);
3902 #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
3903 static PyObject
*_wrap_wxKeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3907 PyObject
* _argo0
= 0;
3908 char *_kwnames
[] = { "self", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_metaDown_get",_kwnames
,&_argo0
))
3914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p.");
3921 wxPy_BEGIN_ALLOW_THREADS
;
3922 _result
= (bool )wxKeyEvent_m_metaDown_get(_arg0
);
3924 wxPy_END_ALLOW_THREADS
;
3925 if (PyErr_Occurred()) return NULL
;
3926 } _resultobj
= Py_BuildValue("i",_result
);
3930 #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
3931 static PyObject
*_wrap_wxKeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
* _resultobj
;
3936 PyObject
* _argo0
= 0;
3938 char *_kwnames
[] = { "self","m_scanCode", NULL
};
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_scanCode_set",_kwnames
,&_argo0
,&tempbool1
))
3944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
3950 _arg1
= (bool ) tempbool1
;
3952 wxPy_BEGIN_ALLOW_THREADS
;
3953 _result
= (bool )wxKeyEvent_m_scanCode_set(_arg0
,_arg1
);
3955 wxPy_END_ALLOW_THREADS
;
3956 if (PyErr_Occurred()) return NULL
;
3957 } _resultobj
= Py_BuildValue("i",_result
);
3961 #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
3962 static PyObject
*_wrap_wxKeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
* _resultobj
;
3966 PyObject
* _argo0
= 0;
3967 char *_kwnames
[] = { "self", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_scanCode_get",_kwnames
,&_argo0
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
3980 wxPy_BEGIN_ALLOW_THREADS
;
3981 _result
= (bool )wxKeyEvent_m_scanCode_get(_arg0
);
3983 wxPy_END_ALLOW_THREADS
;
3984 if (PyErr_Occurred()) return NULL
;
3985 } _resultobj
= Py_BuildValue("i",_result
);
3989 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
3990 wxNavigationKeyEvent
*src
;
3992 src
= (wxNavigationKeyEvent
*) ptr
;
3993 dest
= (wxEvent
*) src
;
3994 return (void *) dest
;
3997 static void *SwigwxNavigationKeyEventTowxObject(void *ptr
) {
3998 wxNavigationKeyEvent
*src
;
4000 src
= (wxNavigationKeyEvent
*) ptr
;
4001 dest
= (wxObject
*) src
;
4002 return (void *) dest
;
4005 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
4006 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4008 wxNavigationKeyEvent
* _result
;
4009 char *_kwnames
[] = { NULL
};
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
4016 wxPy_BEGIN_ALLOW_THREADS
;
4017 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
4019 wxPy_END_ALLOW_THREADS
;
4020 if (PyErr_Occurred()) return NULL
;
4022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
4023 _resultobj
= Py_BuildValue("s",_ptemp
);
4026 _resultobj
= Py_None
;
4031 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
4032 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4035 wxNavigationKeyEvent
* _arg0
;
4036 PyObject
* _argo0
= 0;
4037 char *_kwnames
[] = { "self", NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
4043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
4050 wxPy_BEGIN_ALLOW_THREADS
;
4051 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
4053 wxPy_END_ALLOW_THREADS
;
4054 if (PyErr_Occurred()) return NULL
;
4055 } _resultobj
= Py_BuildValue("i",_result
);
4059 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
4060 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4062 wxNavigationKeyEvent
* _arg0
;
4064 PyObject
* _argo0
= 0;
4066 char *_kwnames
[] = { "self","bForward", NULL
};
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
4072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
4078 _arg1
= (bool ) tempbool1
;
4080 wxPy_BEGIN_ALLOW_THREADS
;
4081 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
4083 wxPy_END_ALLOW_THREADS
;
4084 if (PyErr_Occurred()) return NULL
;
4085 } Py_INCREF(Py_None
);
4086 _resultobj
= Py_None
;
4090 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
4091 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4094 wxNavigationKeyEvent
* _arg0
;
4095 PyObject
* _argo0
= 0;
4096 char *_kwnames
[] = { "self", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
4109 wxPy_BEGIN_ALLOW_THREADS
;
4110 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
4112 wxPy_END_ALLOW_THREADS
;
4113 if (PyErr_Occurred()) return NULL
;
4114 } _resultobj
= Py_BuildValue("i",_result
);
4118 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
4119 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
* _resultobj
;
4121 wxNavigationKeyEvent
* _arg0
;
4123 PyObject
* _argo0
= 0;
4125 char *_kwnames
[] = { "self","bIs", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
4131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
4137 _arg1
= (bool ) tempbool1
;
4139 wxPy_BEGIN_ALLOW_THREADS
;
4140 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
4142 wxPy_END_ALLOW_THREADS
;
4143 if (PyErr_Occurred()) return NULL
;
4144 } Py_INCREF(Py_None
);
4145 _resultobj
= Py_None
;
4149 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
4150 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4153 wxNavigationKeyEvent
* _arg0
;
4154 PyObject
* _argo0
= 0;
4155 char *_kwnames
[] = { "self", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4168 wxPy_BEGIN_ALLOW_THREADS
;
4169 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
4171 wxPy_END_ALLOW_THREADS
;
4172 if (PyErr_Occurred()) return NULL
;
4173 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4177 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
4178 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
* _resultobj
;
4180 wxNavigationKeyEvent
* _arg0
;
4182 PyObject
* _argo0
= 0;
4183 PyObject
* _argo1
= 0;
4184 char *_kwnames
[] = { "self","win", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
4204 wxPy_BEGIN_ALLOW_THREADS
;
4205 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
4207 wxPy_END_ALLOW_THREADS
;
4208 if (PyErr_Occurred()) return NULL
;
4209 } Py_INCREF(Py_None
);
4210 _resultobj
= Py_None
;
4214 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
4217 src
= (wxMoveEvent
*) ptr
;
4218 dest
= (wxEvent
*) src
;
4219 return (void *) dest
;
4222 static void *SwigwxMoveEventTowxObject(void *ptr
) {
4225 src
= (wxMoveEvent
*) ptr
;
4226 dest
= (wxObject
*) src
;
4227 return (void *) dest
;
4230 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
4231 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4233 wxMoveEvent
* _result
;
4235 int _arg1
= (int ) 0;
4237 PyObject
* _obj0
= 0;
4238 char *_kwnames
[] = { "pt","id", NULL
};
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
4246 if (! wxPoint_helper(_obj0
, &_arg0
))
4250 wxPy_BEGIN_ALLOW_THREADS
;
4251 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
4253 wxPy_END_ALLOW_THREADS
;
4254 if (PyErr_Occurred()) return NULL
;
4256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
4257 _resultobj
= Py_BuildValue("s",_ptemp
);
4260 _resultobj
= Py_None
;
4265 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4266 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
* _resultobj
;
4269 wxMoveEvent
* _arg0
;
4270 PyObject
* _argo0
= 0;
4271 char *_kwnames
[] = { "self", NULL
};
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
4278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
4285 wxPy_BEGIN_ALLOW_THREADS
;
4286 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
4288 wxPy_END_ALLOW_THREADS
;
4289 if (PyErr_Occurred()) return NULL
;
4290 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4291 _resultobj
= Py_BuildValue("s",_ptemp
);
4295 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
4298 src
= (wxPaintEvent
*) ptr
;
4299 dest
= (wxEvent
*) src
;
4300 return (void *) dest
;
4303 static void *SwigwxPaintEventTowxObject(void *ptr
) {
4306 src
= (wxPaintEvent
*) ptr
;
4307 dest
= (wxObject
*) src
;
4308 return (void *) dest
;
4311 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
4312 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4314 wxPaintEvent
* _result
;
4315 int _arg0
= (int ) 0;
4316 char *_kwnames
[] = { "id", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
4323 wxPy_BEGIN_ALLOW_THREADS
;
4324 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
4326 wxPy_END_ALLOW_THREADS
;
4327 if (PyErr_Occurred()) return NULL
;
4329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
4330 _resultobj
= Py_BuildValue("s",_ptemp
);
4333 _resultobj
= Py_None
;
4338 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
4341 src
= (wxEraseEvent
*) ptr
;
4342 dest
= (wxEvent
*) src
;
4343 return (void *) dest
;
4346 static void *SwigwxEraseEventTowxObject(void *ptr
) {
4349 src
= (wxEraseEvent
*) ptr
;
4350 dest
= (wxObject
*) src
;
4351 return (void *) dest
;
4354 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
4355 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4357 wxEraseEvent
* _result
;
4358 int _arg0
= (int ) 0;
4359 wxDC
* _arg1
= (wxDC
*) NULL
;
4360 PyObject
* _argo1
= 0;
4361 char *_kwnames
[] = { "id","dc", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
4368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
4375 wxPy_BEGIN_ALLOW_THREADS
;
4376 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
4378 wxPy_END_ALLOW_THREADS
;
4379 if (PyErr_Occurred()) return NULL
;
4381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
4382 _resultobj
= Py_BuildValue("s",_ptemp
);
4385 _resultobj
= Py_None
;
4390 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
4391 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
* _resultobj
;
4394 wxEraseEvent
* _arg0
;
4395 PyObject
* _argo0
= 0;
4396 char *_kwnames
[] = { "self", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
4409 wxPy_BEGIN_ALLOW_THREADS
;
4410 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
4412 wxPy_END_ALLOW_THREADS
;
4413 if (PyErr_Occurred()) return NULL
;
4414 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4418 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
4421 src
= (wxFocusEvent
*) ptr
;
4422 dest
= (wxEvent
*) src
;
4423 return (void *) dest
;
4426 static void *SwigwxFocusEventTowxObject(void *ptr
) {
4429 src
= (wxFocusEvent
*) ptr
;
4430 dest
= (wxObject
*) src
;
4431 return (void *) dest
;
4434 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
4435 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4437 wxFocusEvent
* _result
;
4438 WXTYPE _arg0
= (WXTYPE
) 0;
4439 int _arg1
= (int ) 0;
4440 char *_kwnames
[] = { "eventType","id", NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
4447 wxPy_BEGIN_ALLOW_THREADS
;
4448 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
4450 wxPy_END_ALLOW_THREADS
;
4451 if (PyErr_Occurred()) return NULL
;
4453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
4454 _resultobj
= Py_BuildValue("s",_ptemp
);
4457 _resultobj
= Py_None
;
4462 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
4463 wxActivateEvent
*src
;
4465 src
= (wxActivateEvent
*) ptr
;
4466 dest
= (wxEvent
*) src
;
4467 return (void *) dest
;
4470 static void *SwigwxActivateEventTowxObject(void *ptr
) {
4471 wxActivateEvent
*src
;
4473 src
= (wxActivateEvent
*) ptr
;
4474 dest
= (wxObject
*) src
;
4475 return (void *) dest
;
4478 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
4479 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4481 wxActivateEvent
* _result
;
4482 WXTYPE _arg0
= (WXTYPE
) 0;
4483 int _arg1
= (int ) TRUE
;
4484 int _arg2
= (int ) 0;
4485 char *_kwnames
[] = { "eventType","active","id", NULL
};
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4492 wxPy_BEGIN_ALLOW_THREADS
;
4493 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
4495 wxPy_END_ALLOW_THREADS
;
4496 if (PyErr_Occurred()) return NULL
;
4498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
4499 _resultobj
= Py_BuildValue("s",_ptemp
);
4502 _resultobj
= Py_None
;
4507 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
4508 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4511 wxActivateEvent
* _arg0
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
4529 wxPy_END_ALLOW_THREADS
;
4530 if (PyErr_Occurred()) return NULL
;
4531 } _resultobj
= Py_BuildValue("i",_result
);
4535 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
4536 wxInitDialogEvent
*src
;
4538 src
= (wxInitDialogEvent
*) ptr
;
4539 dest
= (wxEvent
*) src
;
4540 return (void *) dest
;
4543 static void *SwigwxInitDialogEventTowxObject(void *ptr
) {
4544 wxInitDialogEvent
*src
;
4546 src
= (wxInitDialogEvent
*) ptr
;
4547 dest
= (wxObject
*) src
;
4548 return (void *) dest
;
4551 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
4552 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4554 wxInitDialogEvent
* _result
;
4555 int _arg0
= (int ) 0;
4556 char *_kwnames
[] = { "id", NULL
};
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
4566 wxPy_END_ALLOW_THREADS
;
4567 if (PyErr_Occurred()) return NULL
;
4569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
4570 _resultobj
= Py_BuildValue("s",_ptemp
);
4573 _resultobj
= Py_None
;
4578 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
4581 src
= (wxMenuEvent
*) ptr
;
4582 dest
= (wxEvent
*) src
;
4583 return (void *) dest
;
4586 static void *SwigwxMenuEventTowxObject(void *ptr
) {
4589 src
= (wxMenuEvent
*) ptr
;
4590 dest
= (wxObject
*) src
;
4591 return (void *) dest
;
4594 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
4595 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4597 wxMenuEvent
* _result
;
4598 WXTYPE _arg0
= (WXTYPE
) 0;
4599 int _arg1
= (int ) 0;
4600 char *_kwnames
[] = { "id","id", NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
4607 wxPy_BEGIN_ALLOW_THREADS
;
4608 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
4610 wxPy_END_ALLOW_THREADS
;
4611 if (PyErr_Occurred()) return NULL
;
4613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
4614 _resultobj
= Py_BuildValue("s",_ptemp
);
4617 _resultobj
= Py_None
;
4622 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
4623 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4626 wxMenuEvent
* _arg0
;
4627 PyObject
* _argo0
= 0;
4628 char *_kwnames
[] = { "self", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
4634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
4641 wxPy_BEGIN_ALLOW_THREADS
;
4642 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
4644 wxPy_END_ALLOW_THREADS
;
4645 if (PyErr_Occurred()) return NULL
;
4646 } _resultobj
= Py_BuildValue("i",_result
);
4650 static void *SwigwxShowEventTowxEvent(void *ptr
) {
4653 src
= (wxShowEvent
*) ptr
;
4654 dest
= (wxEvent
*) src
;
4655 return (void *) dest
;
4658 static void *SwigwxShowEventTowxObject(void *ptr
) {
4661 src
= (wxShowEvent
*) ptr
;
4662 dest
= (wxObject
*) src
;
4663 return (void *) dest
;
4666 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
4667 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
* _resultobj
;
4669 wxShowEvent
* _result
;
4670 int _arg0
= (int ) 0;
4671 int _arg1
= (int ) FALSE
;
4672 char *_kwnames
[] = { "id","show", NULL
};
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
4679 wxPy_BEGIN_ALLOW_THREADS
;
4680 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
4682 wxPy_END_ALLOW_THREADS
;
4683 if (PyErr_Occurred()) return NULL
;
4685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
4686 _resultobj
= Py_BuildValue("s",_ptemp
);
4689 _resultobj
= Py_None
;
4694 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
4695 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4697 wxShowEvent
* _arg0
;
4699 PyObject
* _argo0
= 0;
4701 char *_kwnames
[] = { "self","show", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
4713 _arg1
= (bool ) tempbool1
;
4715 wxPy_BEGIN_ALLOW_THREADS
;
4716 wxShowEvent_SetShow(_arg0
,_arg1
);
4718 wxPy_END_ALLOW_THREADS
;
4719 if (PyErr_Occurred()) return NULL
;
4720 } Py_INCREF(Py_None
);
4721 _resultobj
= Py_None
;
4725 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
4726 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
* _resultobj
;
4729 wxShowEvent
* _arg0
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4745 _result
= (bool )wxShowEvent_GetShow(_arg0
);
4747 wxPy_END_ALLOW_THREADS
;
4748 if (PyErr_Occurred()) return NULL
;
4749 } _resultobj
= Py_BuildValue("i",_result
);
4753 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
4754 wxIconizeEvent
*src
;
4756 src
= (wxIconizeEvent
*) ptr
;
4757 dest
= (wxEvent
*) src
;
4758 return (void *) dest
;
4761 static void *SwigwxIconizeEventTowxObject(void *ptr
) {
4762 wxIconizeEvent
*src
;
4764 src
= (wxIconizeEvent
*) ptr
;
4765 dest
= (wxObject
*) src
;
4766 return (void *) dest
;
4769 #define new_wxIconizeEvent(_swigarg0,_swigarg1) (new wxIconizeEvent(_swigarg0,_swigarg1))
4770 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4772 wxIconizeEvent
* _result
;
4773 int _arg0
= (int ) 0;
4774 bool _arg1
= (bool ) TRUE
;
4775 int tempbool1
= (int) TRUE
;
4776 char *_kwnames
[] = { "id","iconized", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxIconizeEvent",_kwnames
,&_arg0
,&tempbool1
))
4782 _arg1
= (bool ) tempbool1
;
4784 wxPy_BEGIN_ALLOW_THREADS
;
4785 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
,_arg1
);
4787 wxPy_END_ALLOW_THREADS
;
4788 if (PyErr_Occurred()) return NULL
;
4790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
4791 _resultobj
= Py_BuildValue("s",_ptemp
);
4794 _resultobj
= Py_None
;
4799 #define wxIconizeEvent_Iconized(_swigobj) (_swigobj->Iconized())
4800 static PyObject
*_wrap_wxIconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4803 wxIconizeEvent
* _arg0
;
4804 PyObject
* _argo0
= 0;
4805 char *_kwnames
[] = { "self", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconizeEvent_Iconized",_kwnames
,&_argo0
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconizeEvent_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconizeEvent_Iconized. Expected _wxIconizeEvent_p.");
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 _result
= (bool )wxIconizeEvent_Iconized(_arg0
);
4821 wxPy_END_ALLOW_THREADS
;
4822 if (PyErr_Occurred()) return NULL
;
4823 } _resultobj
= Py_BuildValue("i",_result
);
4827 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
4828 wxMaximizeEvent
*src
;
4830 src
= (wxMaximizeEvent
*) ptr
;
4831 dest
= (wxEvent
*) src
;
4832 return (void *) dest
;
4835 static void *SwigwxMaximizeEventTowxObject(void *ptr
) {
4836 wxMaximizeEvent
*src
;
4838 src
= (wxMaximizeEvent
*) ptr
;
4839 dest
= (wxObject
*) src
;
4840 return (void *) dest
;
4843 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4844 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
* _resultobj
;
4846 wxMaximizeEvent
* _result
;
4847 int _arg0
= (int ) 0;
4848 char *_kwnames
[] = { "id", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
4855 wxPy_BEGIN_ALLOW_THREADS
;
4856 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
4858 wxPy_END_ALLOW_THREADS
;
4859 if (PyErr_Occurred()) return NULL
;
4861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
4862 _resultobj
= Py_BuildValue("s",_ptemp
);
4865 _resultobj
= Py_None
;
4870 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
4871 wxJoystickEvent
*src
;
4873 src
= (wxJoystickEvent
*) ptr
;
4874 dest
= (wxEvent
*) src
;
4875 return (void *) dest
;
4878 static void *SwigwxJoystickEventTowxObject(void *ptr
) {
4879 wxJoystickEvent
*src
;
4881 src
= (wxJoystickEvent
*) ptr
;
4882 dest
= (wxObject
*) src
;
4883 return (void *) dest
;
4886 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4887 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
* _resultobj
;
4889 wxJoystickEvent
* _result
;
4890 int _arg0
= (int ) wxEVT_NULL
;
4891 int _arg1
= (int ) 0;
4892 int _arg2
= (int ) wxJOYSTICK1
;
4893 int _arg3
= (int ) 0;
4894 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
4901 wxPy_BEGIN_ALLOW_THREADS
;
4902 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
4904 wxPy_END_ALLOW_THREADS
;
4905 if (PyErr_Occurred()) return NULL
;
4907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
4908 _resultobj
= Py_BuildValue("s",_ptemp
);
4911 _resultobj
= Py_None
;
4916 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4917 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4920 wxJoystickEvent
* _arg0
;
4921 PyObject
* _argo0
= 0;
4922 char *_kwnames
[] = { "self", NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
4929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4936 wxPy_BEGIN_ALLOW_THREADS
;
4937 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
4939 wxPy_END_ALLOW_THREADS
;
4940 if (PyErr_Occurred()) return NULL
;
4941 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4942 _resultobj
= Py_BuildValue("s",_ptemp
);
4946 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4947 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4950 wxJoystickEvent
* _arg0
;
4951 PyObject
* _argo0
= 0;
4952 char *_kwnames
[] = { "self", NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
4958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4965 wxPy_BEGIN_ALLOW_THREADS
;
4966 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
4968 wxPy_END_ALLOW_THREADS
;
4969 if (PyErr_Occurred()) return NULL
;
4970 } _resultobj
= Py_BuildValue("i",_result
);
4974 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
4975 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
* _resultobj
;
4978 wxJoystickEvent
* _arg0
;
4979 PyObject
* _argo0
= 0;
4980 char *_kwnames
[] = { "self", NULL
};
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
4986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
4993 wxPy_BEGIN_ALLOW_THREADS
;
4994 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
4996 wxPy_END_ALLOW_THREADS
;
4997 if (PyErr_Occurred()) return NULL
;
4998 } _resultobj
= Py_BuildValue("i",_result
);
5002 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
5003 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5006 wxJoystickEvent
* _arg0
;
5007 PyObject
* _argo0
= 0;
5008 char *_kwnames
[] = { "self", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
5021 wxPy_BEGIN_ALLOW_THREADS
;
5022 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
5024 wxPy_END_ALLOW_THREADS
;
5025 if (PyErr_Occurred()) return NULL
;
5026 } _resultobj
= Py_BuildValue("i",_result
);
5030 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
5031 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5034 wxJoystickEvent
* _arg0
;
5035 PyObject
* _argo0
= 0;
5036 char *_kwnames
[] = { "self", NULL
};
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
5042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
5049 wxPy_BEGIN_ALLOW_THREADS
;
5050 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
5052 wxPy_END_ALLOW_THREADS
;
5053 if (PyErr_Occurred()) return NULL
;
5054 } _resultobj
= Py_BuildValue("i",_result
);
5058 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
5059 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5061 wxJoystickEvent
* _arg0
;
5063 PyObject
* _argo0
= 0;
5064 char *_kwnames
[] = { "self","stick", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
5077 wxPy_BEGIN_ALLOW_THREADS
;
5078 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
5080 wxPy_END_ALLOW_THREADS
;
5081 if (PyErr_Occurred()) return NULL
;
5082 } Py_INCREF(Py_None
);
5083 _resultobj
= Py_None
;
5087 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
5088 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5090 wxJoystickEvent
* _arg0
;
5092 PyObject
* _argo0
= 0;
5093 char *_kwnames
[] = { "self","state", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
5099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
5106 wxPy_BEGIN_ALLOW_THREADS
;
5107 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
5109 wxPy_END_ALLOW_THREADS
;
5110 if (PyErr_Occurred()) return NULL
;
5111 } Py_INCREF(Py_None
);
5112 _resultobj
= Py_None
;
5116 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
5117 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5119 wxJoystickEvent
* _arg0
;
5121 PyObject
* _argo0
= 0;
5122 char *_kwnames
[] = { "self","change", NULL
};
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
5128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
5135 wxPy_BEGIN_ALLOW_THREADS
;
5136 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
5138 wxPy_END_ALLOW_THREADS
;
5139 if (PyErr_Occurred()) return NULL
;
5140 } Py_INCREF(Py_None
);
5141 _resultobj
= Py_None
;
5145 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
5146 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5148 wxJoystickEvent
* _arg0
;
5150 PyObject
* _argo0
= 0;
5152 PyObject
* _obj1
= 0;
5153 char *_kwnames
[] = { "self","pos", NULL
};
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
5159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
5167 if (! wxPoint_helper(_obj1
, &_arg1
))
5171 wxPy_BEGIN_ALLOW_THREADS
;
5172 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
5174 wxPy_END_ALLOW_THREADS
;
5175 if (PyErr_Occurred()) return NULL
;
5176 } Py_INCREF(Py_None
);
5177 _resultobj
= Py_None
;
5181 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
5182 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5184 wxJoystickEvent
* _arg0
;
5186 PyObject
* _argo0
= 0;
5187 char *_kwnames
[] = { "self","zPos", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
5193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
5200 wxPy_BEGIN_ALLOW_THREADS
;
5201 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
5203 wxPy_END_ALLOW_THREADS
;
5204 if (PyErr_Occurred()) return NULL
;
5205 } Py_INCREF(Py_None
);
5206 _resultobj
= Py_None
;
5210 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
5211 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5214 wxJoystickEvent
* _arg0
;
5215 PyObject
* _argo0
= 0;
5216 char *_kwnames
[] = { "self", NULL
};
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
5222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
5229 wxPy_BEGIN_ALLOW_THREADS
;
5230 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
5232 wxPy_END_ALLOW_THREADS
;
5233 if (PyErr_Occurred()) return NULL
;
5234 } _resultobj
= Py_BuildValue("i",_result
);
5238 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
5239 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5242 wxJoystickEvent
* _arg0
;
5243 PyObject
* _argo0
= 0;
5244 char *_kwnames
[] = { "self", NULL
};
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
5250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
5257 wxPy_BEGIN_ALLOW_THREADS
;
5258 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
5260 wxPy_END_ALLOW_THREADS
;
5261 if (PyErr_Occurred()) return NULL
;
5262 } _resultobj
= Py_BuildValue("i",_result
);
5266 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
5267 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5270 wxJoystickEvent
* _arg0
;
5271 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "self", NULL
};
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
5278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
5285 wxPy_BEGIN_ALLOW_THREADS
;
5286 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
5288 wxPy_END_ALLOW_THREADS
;
5289 if (PyErr_Occurred()) return NULL
;
5290 } _resultobj
= Py_BuildValue("i",_result
);
5294 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
5295 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
* _resultobj
;
5298 wxJoystickEvent
* _arg0
;
5299 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5300 PyObject
* _argo0
= 0;
5301 char *_kwnames
[] = { "self","but", NULL
};
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
5307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
5314 wxPy_BEGIN_ALLOW_THREADS
;
5315 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
5317 wxPy_END_ALLOW_THREADS
;
5318 if (PyErr_Occurred()) return NULL
;
5319 } _resultobj
= Py_BuildValue("i",_result
);
5323 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
5324 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
* _resultobj
;
5327 wxJoystickEvent
* _arg0
;
5328 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5329 PyObject
* _argo0
= 0;
5330 char *_kwnames
[] = { "self","but", NULL
};
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
5336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
5343 wxPy_BEGIN_ALLOW_THREADS
;
5344 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
5346 wxPy_END_ALLOW_THREADS
;
5347 if (PyErr_Occurred()) return NULL
;
5348 } _resultobj
= Py_BuildValue("i",_result
);
5352 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
5353 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
* _resultobj
;
5356 wxJoystickEvent
* _arg0
;
5357 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5358 PyObject
* _argo0
= 0;
5359 char *_kwnames
[] = { "self","but", NULL
};
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
5365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
5372 wxPy_BEGIN_ALLOW_THREADS
;
5373 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
5375 wxPy_END_ALLOW_THREADS
;
5376 if (PyErr_Occurred()) return NULL
;
5377 } _resultobj
= Py_BuildValue("i",_result
);
5381 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
5382 wxDropFilesEvent
*src
;
5384 src
= (wxDropFilesEvent
*) ptr
;
5385 dest
= (wxEvent
*) src
;
5386 return (void *) dest
;
5389 static void *SwigwxDropFilesEventTowxObject(void *ptr
) {
5390 wxDropFilesEvent
*src
;
5392 src
= (wxDropFilesEvent
*) ptr
;
5393 dest
= (wxObject
*) src
;
5394 return (void *) dest
;
5397 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
5398 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5401 wxDropFilesEvent
* _arg0
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self", NULL
};
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
5410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
5417 wxPy_BEGIN_ALLOW_THREADS
;
5418 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
5420 wxPy_END_ALLOW_THREADS
;
5421 if (PyErr_Occurred()) return NULL
;
5422 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5423 _resultobj
= Py_BuildValue("s",_ptemp
);
5427 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
5428 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5431 wxDropFilesEvent
* _arg0
;
5432 PyObject
* _argo0
= 0;
5433 char *_kwnames
[] = { "self", NULL
};
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
5439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
5446 wxPy_BEGIN_ALLOW_THREADS
;
5447 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
5449 wxPy_END_ALLOW_THREADS
;
5450 if (PyErr_Occurred()) return NULL
;
5451 } _resultobj
= Py_BuildValue("i",_result
);
5455 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
5456 int count
= self
->GetNumberOfFiles();
5457 wxString
* files
= self
->GetFiles();
5458 PyObject
* list
= PyList_New(count
);
5461 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
5465 for (int i
=0; i
<count
; i
++) {
5466 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
5470 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
* _resultobj
;
5473 wxDropFilesEvent
* _arg0
;
5474 PyObject
* _argo0
= 0;
5475 char *_kwnames
[] = { "self", NULL
};
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
5481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
5488 wxPy_BEGIN_ALLOW_THREADS
;
5489 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
5491 wxPy_END_ALLOW_THREADS
;
5492 if (PyErr_Occurred()) return NULL
;
5494 _resultobj
= _result
;
5499 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
5502 src
= (wxIdleEvent
*) ptr
;
5503 dest
= (wxEvent
*) src
;
5504 return (void *) dest
;
5507 static void *SwigwxIdleEventTowxObject(void *ptr
) {
5510 src
= (wxIdleEvent
*) ptr
;
5511 dest
= (wxObject
*) src
;
5512 return (void *) dest
;
5515 #define new_wxIdleEvent() (new wxIdleEvent())
5516 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
* _resultobj
;
5518 wxIdleEvent
* _result
;
5519 char *_kwnames
[] = { NULL
};
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
5526 wxPy_BEGIN_ALLOW_THREADS
;
5527 _result
= (wxIdleEvent
*)new_wxIdleEvent();
5529 wxPy_END_ALLOW_THREADS
;
5530 if (PyErr_Occurred()) return NULL
;
5532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
5533 _resultobj
= Py_BuildValue("s",_ptemp
);
5536 _resultobj
= Py_None
;
5541 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
5542 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
* _resultobj
;
5544 wxIdleEvent
* _arg0
;
5545 bool _arg1
= (bool ) TRUE
;
5546 PyObject
* _argo0
= 0;
5547 int tempbool1
= (int) TRUE
;
5548 char *_kwnames
[] = { "self","needMore", NULL
};
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
5554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
5560 _arg1
= (bool ) tempbool1
;
5562 wxPy_BEGIN_ALLOW_THREADS
;
5563 wxIdleEvent_RequestMore(_arg0
,_arg1
);
5565 wxPy_END_ALLOW_THREADS
;
5566 if (PyErr_Occurred()) return NULL
;
5567 } Py_INCREF(Py_None
);
5568 _resultobj
= Py_None
;
5572 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
5573 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
* _resultobj
;
5576 wxIdleEvent
* _arg0
;
5577 PyObject
* _argo0
= 0;
5578 char *_kwnames
[] = { "self", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
5591 wxPy_BEGIN_ALLOW_THREADS
;
5592 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
5594 wxPy_END_ALLOW_THREADS
;
5595 if (PyErr_Occurred()) return NULL
;
5596 } _resultobj
= Py_BuildValue("i",_result
);
5600 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
5601 wxUpdateUIEvent
*src
;
5603 src
= (wxUpdateUIEvent
*) ptr
;
5604 dest
= (wxEvent
*) src
;
5605 return (void *) dest
;
5608 static void *SwigwxUpdateUIEventTowxObject(void *ptr
) {
5609 wxUpdateUIEvent
*src
;
5611 src
= (wxUpdateUIEvent
*) ptr
;
5612 dest
= (wxObject
*) src
;
5613 return (void *) dest
;
5616 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
5617 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
* _resultobj
;
5619 wxUpdateUIEvent
* _result
;
5620 wxWindowID _arg0
= (wxWindowID
) 0;
5621 char *_kwnames
[] = { "commandId", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
5628 wxPy_BEGIN_ALLOW_THREADS
;
5629 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
5631 wxPy_END_ALLOW_THREADS
;
5632 if (PyErr_Occurred()) return NULL
;
5634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
5635 _resultobj
= Py_BuildValue("s",_ptemp
);
5638 _resultobj
= Py_None
;
5643 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
5644 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
* _resultobj
;
5647 wxUpdateUIEvent
* _arg0
;
5648 PyObject
* _argo0
= 0;
5649 char *_kwnames
[] = { "self", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
5655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
5662 wxPy_BEGIN_ALLOW_THREADS
;
5663 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
5665 wxPy_END_ALLOW_THREADS
;
5666 if (PyErr_Occurred()) return NULL
;
5667 } _resultobj
= Py_BuildValue("i",_result
);
5671 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5672 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5675 wxUpdateUIEvent
* _arg0
;
5676 PyObject
* _argo0
= 0;
5677 char *_kwnames
[] = { "self", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
5690 wxPy_BEGIN_ALLOW_THREADS
;
5691 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
5693 wxPy_END_ALLOW_THREADS
;
5694 if (PyErr_Occurred()) return NULL
;
5695 } _resultobj
= Py_BuildValue("i",_result
);
5699 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5700 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5703 wxUpdateUIEvent
* _arg0
;
5704 PyObject
* _argo0
= 0;
5705 char *_kwnames
[] = { "self", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
5718 wxPy_BEGIN_ALLOW_THREADS
;
5719 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
5721 wxPy_END_ALLOW_THREADS
;
5722 if (PyErr_Occurred()) return NULL
;
5724 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5732 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5733 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
* _resultobj
;
5736 wxUpdateUIEvent
* _arg0
;
5737 PyObject
* _argo0
= 0;
5738 char *_kwnames
[] = { "self", NULL
};
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
5744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
5751 wxPy_BEGIN_ALLOW_THREADS
;
5752 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
5754 wxPy_END_ALLOW_THREADS
;
5755 if (PyErr_Occurred()) return NULL
;
5756 } _resultobj
= Py_BuildValue("i",_result
);
5760 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5761 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5764 wxUpdateUIEvent
* _arg0
;
5765 PyObject
* _argo0
= 0;
5766 char *_kwnames
[] = { "self", NULL
};
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
5772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
5779 wxPy_BEGIN_ALLOW_THREADS
;
5780 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
5782 wxPy_END_ALLOW_THREADS
;
5783 if (PyErr_Occurred()) return NULL
;
5784 } _resultobj
= Py_BuildValue("i",_result
);
5788 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5789 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5792 wxUpdateUIEvent
* _arg0
;
5793 PyObject
* _argo0
= 0;
5794 char *_kwnames
[] = { "self", NULL
};
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
5800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
5807 wxPy_BEGIN_ALLOW_THREADS
;
5808 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
5810 wxPy_END_ALLOW_THREADS
;
5811 if (PyErr_Occurred()) return NULL
;
5812 } _resultobj
= Py_BuildValue("i",_result
);
5816 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5817 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5819 wxUpdateUIEvent
* _arg0
;
5821 PyObject
* _argo0
= 0;
5823 char *_kwnames
[] = { "self","check", NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
5829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
5835 _arg1
= (bool ) tempbool1
;
5837 wxPy_BEGIN_ALLOW_THREADS
;
5838 wxUpdateUIEvent_Check(_arg0
,_arg1
);
5840 wxPy_END_ALLOW_THREADS
;
5841 if (PyErr_Occurred()) return NULL
;
5842 } Py_INCREF(Py_None
);
5843 _resultobj
= Py_None
;
5847 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5848 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5850 wxUpdateUIEvent
* _arg0
;
5852 PyObject
* _argo0
= 0;
5854 char *_kwnames
[] = { "self","enable", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
5866 _arg1
= (bool ) tempbool1
;
5868 wxPy_BEGIN_ALLOW_THREADS
;
5869 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
5871 wxPy_END_ALLOW_THREADS
;
5872 if (PyErr_Occurred()) return NULL
;
5873 } Py_INCREF(Py_None
);
5874 _resultobj
= Py_None
;
5878 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5879 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
* _resultobj
;
5881 wxUpdateUIEvent
* _arg0
;
5883 PyObject
* _argo0
= 0;
5884 PyObject
* _obj1
= 0;
5885 char *_kwnames
[] = { "self","text", NULL
};
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
5891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
5898 #if PYTHON_API_VERSION >= 1009
5899 char* tmpPtr
; int tmpSize
;
5900 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5901 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5904 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5906 _arg1
= new wxString(tmpPtr
, tmpSize
);
5908 if (!PyString_Check(_obj1
)) {
5909 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5912 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5916 wxPy_BEGIN_ALLOW_THREADS
;
5917 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
5919 wxPy_END_ALLOW_THREADS
;
5920 if (PyErr_Occurred()) return NULL
;
5921 } Py_INCREF(Py_None
);
5922 _resultobj
= Py_None
;
5930 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
5931 wxSysColourChangedEvent
*src
;
5933 src
= (wxSysColourChangedEvent
*) ptr
;
5934 dest
= (wxEvent
*) src
;
5935 return (void *) dest
;
5938 static void *SwigwxSysColourChangedEventTowxObject(void *ptr
) {
5939 wxSysColourChangedEvent
*src
;
5941 src
= (wxSysColourChangedEvent
*) ptr
;
5942 dest
= (wxObject
*) src
;
5943 return (void *) dest
;
5946 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5947 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5949 wxSysColourChangedEvent
* _result
;
5950 char *_kwnames
[] = { NULL
};
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
5957 wxPy_BEGIN_ALLOW_THREADS
;
5958 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
5960 wxPy_END_ALLOW_THREADS
;
5961 if (PyErr_Occurred()) return NULL
;
5963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
5964 _resultobj
= Py_BuildValue("s",_ptemp
);
5967 _resultobj
= Py_None
;
5972 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
5974 wxCommandEvent
*dest
;
5975 src
= (wxNotifyEvent
*) ptr
;
5976 dest
= (wxCommandEvent
*) src
;
5977 return (void *) dest
;
5980 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
5983 src
= (wxNotifyEvent
*) ptr
;
5984 dest
= (wxEvent
*) src
;
5985 return (void *) dest
;
5988 static void *SwigwxNotifyEventTowxObject(void *ptr
) {
5991 src
= (wxNotifyEvent
*) ptr
;
5992 dest
= (wxObject
*) src
;
5993 return (void *) dest
;
5996 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
5997 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
* _resultobj
;
5999 wxNotifyEvent
* _result
;
6000 int _arg0
= (int ) wxEVT_NULL
;
6001 int _arg1
= (int ) 0;
6002 char *_kwnames
[] = { "commandType","id", NULL
};
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
6009 wxPy_BEGIN_ALLOW_THREADS
;
6010 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
6012 wxPy_END_ALLOW_THREADS
;
6013 if (PyErr_Occurred()) return NULL
;
6015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
6016 _resultobj
= Py_BuildValue("s",_ptemp
);
6019 _resultobj
= Py_None
;
6024 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
6025 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
* _resultobj
;
6028 wxNotifyEvent
* _arg0
;
6029 PyObject
* _argo0
= 0;
6030 char *_kwnames
[] = { "self", NULL
};
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
6036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
6043 wxPy_BEGIN_ALLOW_THREADS
;
6044 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
6046 wxPy_END_ALLOW_THREADS
;
6047 if (PyErr_Occurred()) return NULL
;
6048 } _resultobj
= Py_BuildValue("i",_result
);
6052 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
6053 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
* _resultobj
;
6055 wxNotifyEvent
* _arg0
;
6056 PyObject
* _argo0
= 0;
6057 char *_kwnames
[] = { "self", NULL
};
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Allow",_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_Allow. Expected _wxNotifyEvent_p.");
6070 wxPy_BEGIN_ALLOW_THREADS
;
6071 wxNotifyEvent_Allow(_arg0
);
6073 wxPy_END_ALLOW_THREADS
;
6074 if (PyErr_Occurred()) return NULL
;
6075 } Py_INCREF(Py_None
);
6076 _resultobj
= Py_None
;
6080 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
6081 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
* _resultobj
;
6083 wxNotifyEvent
* _arg0
;
6084 PyObject
* _argo0
= 0;
6085 char *_kwnames
[] = { "self", NULL
};
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
6091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
6098 wxPy_BEGIN_ALLOW_THREADS
;
6099 wxNotifyEvent_Veto(_arg0
);
6101 wxPy_END_ALLOW_THREADS
;
6102 if (PyErr_Occurred()) return NULL
;
6103 } Py_INCREF(Py_None
);
6104 _resultobj
= Py_None
;
6108 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
6109 wxPaletteChangedEvent
*src
;
6111 src
= (wxPaletteChangedEvent
*) ptr
;
6112 dest
= (wxEvent
*) src
;
6113 return (void *) dest
;
6116 static void *SwigwxPaletteChangedEventTowxObject(void *ptr
) {
6117 wxPaletteChangedEvent
*src
;
6119 src
= (wxPaletteChangedEvent
*) ptr
;
6120 dest
= (wxObject
*) src
;
6121 return (void *) dest
;
6124 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
6125 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6127 wxPaletteChangedEvent
* _result
;
6128 wxWindowID _arg0
= (wxWindowID
) 0;
6129 char *_kwnames
[] = { "id", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
6136 wxPy_BEGIN_ALLOW_THREADS
;
6137 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
6139 wxPy_END_ALLOW_THREADS
;
6140 if (PyErr_Occurred()) return NULL
;
6142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
6143 _resultobj
= Py_BuildValue("s",_ptemp
);
6146 _resultobj
= Py_None
;
6151 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
6152 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6154 wxPaletteChangedEvent
* _arg0
;
6156 PyObject
* _argo0
= 0;
6157 PyObject
* _argo1
= 0;
6158 char *_kwnames
[] = { "self","win", NULL
};
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
6164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
6178 wxPy_BEGIN_ALLOW_THREADS
;
6179 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
6181 wxPy_END_ALLOW_THREADS
;
6182 if (PyErr_Occurred()) return NULL
;
6183 } Py_INCREF(Py_None
);
6184 _resultobj
= Py_None
;
6188 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
6189 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6192 wxPaletteChangedEvent
* _arg0
;
6193 PyObject
* _argo0
= 0;
6194 char *_kwnames
[] = { "self", NULL
};
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
6200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6207 wxPy_BEGIN_ALLOW_THREADS
;
6208 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
6210 wxPy_END_ALLOW_THREADS
;
6211 if (PyErr_Occurred()) return NULL
;
6212 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6216 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
6217 wxQueryNewPaletteEvent
*src
;
6219 src
= (wxQueryNewPaletteEvent
*) ptr
;
6220 dest
= (wxEvent
*) src
;
6221 return (void *) dest
;
6224 static void *SwigwxQueryNewPaletteEventTowxObject(void *ptr
) {
6225 wxQueryNewPaletteEvent
*src
;
6227 src
= (wxQueryNewPaletteEvent
*) ptr
;
6228 dest
= (wxObject
*) src
;
6229 return (void *) dest
;
6232 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
6233 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
* _resultobj
;
6235 wxQueryNewPaletteEvent
* _result
;
6236 wxWindowID _arg0
= (wxWindowID
) 0;
6237 char *_kwnames
[] = { "id", NULL
};
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
6244 wxPy_BEGIN_ALLOW_THREADS
;
6245 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
6247 wxPy_END_ALLOW_THREADS
;
6248 if (PyErr_Occurred()) return NULL
;
6250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
6251 _resultobj
= Py_BuildValue("s",_ptemp
);
6254 _resultobj
= Py_None
;
6259 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
6260 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6262 wxQueryNewPaletteEvent
* _arg0
;
6264 PyObject
* _argo0
= 0;
6266 char *_kwnames
[] = { "self","realized", NULL
};
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
6272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6278 _arg1
= (bool ) tempbool1
;
6280 wxPy_BEGIN_ALLOW_THREADS
;
6281 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
6283 wxPy_END_ALLOW_THREADS
;
6284 if (PyErr_Occurred()) return NULL
;
6285 } Py_INCREF(Py_None
);
6286 _resultobj
= Py_None
;
6290 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
6291 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6294 wxQueryNewPaletteEvent
* _arg0
;
6295 PyObject
* _argo0
= 0;
6296 char *_kwnames
[] = { "self", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
6302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6309 wxPy_BEGIN_ALLOW_THREADS
;
6310 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
6312 wxPy_END_ALLOW_THREADS
;
6313 if (PyErr_Occurred()) return NULL
;
6314 } _resultobj
= Py_BuildValue("i",_result
);
6318 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr
) {
6319 wxWindowCreateEvent
*src
;
6320 wxCommandEvent
*dest
;
6321 src
= (wxWindowCreateEvent
*) ptr
;
6322 dest
= (wxCommandEvent
*) src
;
6323 return (void *) dest
;
6326 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
6327 wxWindowCreateEvent
*src
;
6329 src
= (wxWindowCreateEvent
*) ptr
;
6330 dest
= (wxEvent
*) src
;
6331 return (void *) dest
;
6334 static void *SwigwxWindowCreateEventTowxObject(void *ptr
) {
6335 wxWindowCreateEvent
*src
;
6337 src
= (wxWindowCreateEvent
*) ptr
;
6338 dest
= (wxObject
*) src
;
6339 return (void *) dest
;
6342 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
6343 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
* _resultobj
;
6345 wxWindowCreateEvent
* _result
;
6346 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6347 PyObject
* _argo0
= 0;
6348 char *_kwnames
[] = { "win", NULL
};
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
6355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
6362 wxPy_BEGIN_ALLOW_THREADS
;
6363 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
6365 wxPy_END_ALLOW_THREADS
;
6366 if (PyErr_Occurred()) return NULL
;
6368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
6369 _resultobj
= Py_BuildValue("s",_ptemp
);
6372 _resultobj
= Py_None
;
6377 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6378 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6381 wxWindowCreateEvent
* _arg0
;
6382 PyObject
* _argo0
= 0;
6383 char *_kwnames
[] = { "self", NULL
};
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
6389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
6391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
6396 wxPy_BEGIN_ALLOW_THREADS
;
6397 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
6399 wxPy_END_ALLOW_THREADS
;
6400 if (PyErr_Occurred()) return NULL
;
6401 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6405 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr
) {
6406 wxWindowDestroyEvent
*src
;
6407 wxCommandEvent
*dest
;
6408 src
= (wxWindowDestroyEvent
*) ptr
;
6409 dest
= (wxCommandEvent
*) src
;
6410 return (void *) dest
;
6413 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
6414 wxWindowDestroyEvent
*src
;
6416 src
= (wxWindowDestroyEvent
*) ptr
;
6417 dest
= (wxEvent
*) src
;
6418 return (void *) dest
;
6421 static void *SwigwxWindowDestroyEventTowxObject(void *ptr
) {
6422 wxWindowDestroyEvent
*src
;
6424 src
= (wxWindowDestroyEvent
*) ptr
;
6425 dest
= (wxObject
*) src
;
6426 return (void *) dest
;
6429 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
6430 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
* _resultobj
;
6432 wxWindowDestroyEvent
* _result
;
6433 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6434 PyObject
* _argo0
= 0;
6435 char *_kwnames
[] = { "win", NULL
};
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
6449 wxPy_BEGIN_ALLOW_THREADS
;
6450 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
6452 wxPy_END_ALLOW_THREADS
;
6453 if (PyErr_Occurred()) return NULL
;
6455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
6456 _resultobj
= Py_BuildValue("s",_ptemp
);
6459 _resultobj
= Py_None
;
6464 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6465 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
* _resultobj
;
6468 wxWindowDestroyEvent
* _arg0
;
6469 PyObject
* _argo0
= 0;
6470 char *_kwnames
[] = { "self", NULL
};
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
6476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
6478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
6483 wxPy_BEGIN_ALLOW_THREADS
;
6484 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
6486 wxPy_END_ALLOW_THREADS
;
6487 if (PyErr_Occurred()) return NULL
;
6488 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6492 static void *SwigwxTimerEventTowxEvent(void *ptr
) {
6495 src
= (wxTimerEvent
*) ptr
;
6496 dest
= (wxEvent
*) src
;
6497 return (void *) dest
;
6500 static void *SwigwxTimerEventTowxObject(void *ptr
) {
6503 src
= (wxTimerEvent
*) ptr
;
6504 dest
= (wxObject
*) src
;
6505 return (void *) dest
;
6508 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
6509 static PyObject
*_wrap_new_wxTimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
* _resultobj
;
6511 wxTimerEvent
* _result
;
6512 int _arg0
= (int ) 0;
6513 int _arg1
= (int ) 0;
6514 char *_kwnames
[] = { "id","interval", NULL
};
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTimerEvent",_kwnames
,&_arg0
,&_arg1
))
6521 wxPy_BEGIN_ALLOW_THREADS
;
6522 _result
= (wxTimerEvent
*)new_wxTimerEvent(_arg0
,_arg1
);
6524 wxPy_END_ALLOW_THREADS
;
6525 if (PyErr_Occurred()) return NULL
;
6527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimerEvent_p");
6528 _resultobj
= Py_BuildValue("s",_ptemp
);
6531 _resultobj
= Py_None
;
6536 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
6537 static PyObject
*_wrap_wxTimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
* _resultobj
;
6540 wxTimerEvent
* _arg0
;
6541 PyObject
* _argo0
= 0;
6542 char *_kwnames
[] = { "self", NULL
};
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimerEvent_GetInterval",_kwnames
,&_argo0
))
6548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimerEvent_p")) {
6550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
6555 wxPy_BEGIN_ALLOW_THREADS
;
6556 _result
= (int )wxTimerEvent_GetInterval(_arg0
);
6558 wxPy_END_ALLOW_THREADS
;
6559 if (PyErr_Occurred()) return NULL
;
6560 } _resultobj
= Py_BuildValue("i",_result
);
6564 static void *SwigwxTextUrlEventTowxCommandEvent(void *ptr
) {
6565 wxTextUrlEvent
*src
;
6566 wxCommandEvent
*dest
;
6567 src
= (wxTextUrlEvent
*) ptr
;
6568 dest
= (wxCommandEvent
*) src
;
6569 return (void *) dest
;
6572 static void *SwigwxTextUrlEventTowxEvent(void *ptr
) {
6573 wxTextUrlEvent
*src
;
6575 src
= (wxTextUrlEvent
*) ptr
;
6576 dest
= (wxEvent
*) src
;
6577 return (void *) dest
;
6580 static void *SwigwxTextUrlEventTowxObject(void *ptr
) {
6581 wxTextUrlEvent
*src
;
6583 src
= (wxTextUrlEvent
*) ptr
;
6584 dest
= (wxObject
*) src
;
6585 return (void *) dest
;
6588 #define new_wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6589 static PyObject
*_wrap_new_wxTextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6591 wxTextUrlEvent
* _result
;
6593 wxMouseEvent
* _arg1
;
6596 PyObject
* _argo1
= 0;
6597 char *_kwnames
[] = { "id","evtMouse","start","end", NULL
};
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iOll:new_wxTextUrlEvent",_kwnames
,&_arg0
,&_argo1
,&_arg2
,&_arg3
))
6604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxTextUrlEvent. Expected _wxMouseEvent_p.");
6611 wxPy_BEGIN_ALLOW_THREADS
;
6612 _result
= (wxTextUrlEvent
*)new_wxTextUrlEvent(_arg0
,*_arg1
,_arg2
,_arg3
);
6614 wxPy_END_ALLOW_THREADS
;
6615 if (PyErr_Occurred()) return NULL
;
6617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextUrlEvent_p");
6618 _resultobj
= Py_BuildValue("s",_ptemp
);
6621 _resultobj
= Py_None
;
6626 #define wxTextUrlEvent_GetMouseEvent(_swigobj) (_swigobj->GetMouseEvent())
6627 static PyObject
*_wrap_wxTextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
* _resultobj
;
6629 wxMouseEvent
* _result
;
6630 wxTextUrlEvent
* _arg0
;
6631 PyObject
* _argo0
= 0;
6632 char *_kwnames
[] = { "self", NULL
};
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetMouseEvent",_kwnames
,&_argo0
))
6638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
6640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetMouseEvent. Expected _wxTextUrlEvent_p.");
6645 wxPy_BEGIN_ALLOW_THREADS
;
6646 const wxMouseEvent
& _result_ref
= wxTextUrlEvent_GetMouseEvent(_arg0
);
6647 _result
= (wxMouseEvent
*) &_result_ref
;
6649 wxPy_END_ALLOW_THREADS
;
6650 if (PyErr_Occurred()) return NULL
;
6651 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6655 #define wxTextUrlEvent_GetURLStart(_swigobj) (_swigobj->GetURLStart())
6656 static PyObject
*_wrap_wxTextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
* _resultobj
;
6659 wxTextUrlEvent
* _arg0
;
6660 PyObject
* _argo0
= 0;
6661 char *_kwnames
[] = { "self", NULL
};
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetURLStart",_kwnames
,&_argo0
))
6667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
6669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetURLStart. Expected _wxTextUrlEvent_p.");
6674 wxPy_BEGIN_ALLOW_THREADS
;
6675 _result
= (long )wxTextUrlEvent_GetURLStart(_arg0
);
6677 wxPy_END_ALLOW_THREADS
;
6678 if (PyErr_Occurred()) return NULL
;
6679 } _resultobj
= Py_BuildValue("l",_result
);
6683 #define wxTextUrlEvent_GetURLEnd(_swigobj) (_swigobj->GetURLEnd())
6684 static PyObject
*_wrap_wxTextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
* _resultobj
;
6687 wxTextUrlEvent
* _arg0
;
6688 PyObject
* _argo0
= 0;
6689 char *_kwnames
[] = { "self", NULL
};
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetURLEnd",_kwnames
,&_argo0
))
6695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
6697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetURLEnd. Expected _wxTextUrlEvent_p.");
6702 wxPy_BEGIN_ALLOW_THREADS
;
6703 _result
= (long )wxTextUrlEvent_GetURLEnd(_arg0
);
6705 wxPy_END_ALLOW_THREADS
;
6706 if (PyErr_Occurred()) return NULL
;
6707 } _resultobj
= Py_BuildValue("l",_result
);
6711 static void *SwigwxPyEventTowxEvent(void *ptr
) {
6714 src
= (wxPyEvent
*) ptr
;
6715 dest
= (wxEvent
*) src
;
6716 return (void *) dest
;
6719 static void *SwigwxPyEventTowxObject(void *ptr
) {
6722 src
= (wxPyEvent
*) ptr
;
6723 dest
= (wxObject
*) src
;
6724 return (void *) dest
;
6727 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
6728 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6730 wxPyEvent
* _result
;
6731 int _arg0
= (int ) 0;
6732 char *_kwnames
[] = { "id", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
6739 wxPy_BEGIN_ALLOW_THREADS
;
6740 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
6742 wxPy_END_ALLOW_THREADS
;
6743 if (PyErr_Occurred()) return NULL
;
6745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
6746 _resultobj
= Py_BuildValue("s",_ptemp
);
6749 _resultobj
= Py_None
;
6754 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
6755 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
* _resultobj
;
6758 PyObject
* _argo0
= 0;
6759 char *_kwnames
[] = { "self", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
6765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
6772 wxPy_BEGIN_ALLOW_THREADS
;
6773 delete_wxPyEvent(_arg0
);
6775 wxPy_END_ALLOW_THREADS
;
6776 if (PyErr_Occurred()) return NULL
;
6777 } Py_INCREF(Py_None
);
6778 _resultobj
= Py_None
;
6782 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6783 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
* _resultobj
;
6787 PyObject
* _argo0
= 0;
6788 PyObject
* _obj1
= 0;
6789 char *_kwnames
[] = { "self","self", NULL
};
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
6805 wxPy_BEGIN_ALLOW_THREADS
;
6806 wxPyEvent_SetSelf(_arg0
,_arg1
);
6808 wxPy_END_ALLOW_THREADS
;
6809 if (PyErr_Occurred()) return NULL
;
6810 } Py_INCREF(Py_None
);
6811 _resultobj
= Py_None
;
6815 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6816 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
* _resultobj
;
6820 PyObject
* _argo0
= 0;
6821 char *_kwnames
[] = { "self", NULL
};
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
6827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
6834 wxPy_BEGIN_ALLOW_THREADS
;
6835 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
6837 wxPy_END_ALLOW_THREADS
;
6838 if (PyErr_Occurred()) return NULL
;
6840 _resultobj
= _result
;
6845 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
6846 wxPyCommandEvent
*src
;
6847 wxCommandEvent
*dest
;
6848 src
= (wxPyCommandEvent
*) ptr
;
6849 dest
= (wxCommandEvent
*) src
;
6850 return (void *) dest
;
6853 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
6854 wxPyCommandEvent
*src
;
6856 src
= (wxPyCommandEvent
*) ptr
;
6857 dest
= (wxEvent
*) src
;
6858 return (void *) dest
;
6861 static void *SwigwxPyCommandEventTowxObject(void *ptr
) {
6862 wxPyCommandEvent
*src
;
6864 src
= (wxPyCommandEvent
*) ptr
;
6865 dest
= (wxObject
*) src
;
6866 return (void *) dest
;
6869 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
6870 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
* _resultobj
;
6872 wxPyCommandEvent
* _result
;
6873 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6874 int _arg1
= (int ) 0;
6875 char *_kwnames
[] = { "commandType","id", NULL
};
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
6882 wxPy_BEGIN_ALLOW_THREADS
;
6883 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
6885 wxPy_END_ALLOW_THREADS
;
6886 if (PyErr_Occurred()) return NULL
;
6888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
6889 _resultobj
= Py_BuildValue("s",_ptemp
);
6892 _resultobj
= Py_None
;
6897 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
6898 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
* _resultobj
;
6900 wxPyCommandEvent
* _arg0
;
6901 PyObject
* _argo0
= 0;
6902 char *_kwnames
[] = { "self", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
6915 wxPy_BEGIN_ALLOW_THREADS
;
6916 delete_wxPyCommandEvent(_arg0
);
6918 wxPy_END_ALLOW_THREADS
;
6919 if (PyErr_Occurred()) return NULL
;
6920 } Py_INCREF(Py_None
);
6921 _resultobj
= Py_None
;
6925 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6926 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
* _resultobj
;
6928 wxPyCommandEvent
* _arg0
;
6930 PyObject
* _argo0
= 0;
6931 PyObject
* _obj1
= 0;
6932 char *_kwnames
[] = { "self","self", NULL
};
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
6948 wxPy_BEGIN_ALLOW_THREADS
;
6949 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
6951 wxPy_END_ALLOW_THREADS
;
6952 if (PyErr_Occurred()) return NULL
;
6953 } Py_INCREF(Py_None
);
6954 _resultobj
= Py_None
;
6958 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6959 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
* _resultobj
;
6962 wxPyCommandEvent
* _arg0
;
6963 PyObject
* _argo0
= 0;
6964 char *_kwnames
[] = { "self", NULL
};
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
6970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
6977 wxPy_BEGIN_ALLOW_THREADS
;
6978 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
6980 wxPy_END_ALLOW_THREADS
;
6981 if (PyErr_Occurred()) return NULL
;
6983 _resultobj
= _result
;
6988 static PyMethodDef eventscMethods
[] = {
6989 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6990 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6991 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6992 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6993 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxTextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_wxTextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "wxTextUrlEvent_GetURLStart", (PyCFunction
) _wrap_wxTextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxTextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_wxTextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "new_wxTextUrlEvent", (PyCFunction
) _wrap_new_wxTextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "wxTimerEvent_GetInterval", (PyCFunction
) _wrap_wxTimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "new_wxTimerEvent", (PyCFunction
) _wrap_new_wxTimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "wxIconizeEvent_Iconized", (PyCFunction
) _wrap_wxIconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "wxMouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "wxMouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxMouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxMouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxMouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxMouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxMouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_wxMouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxMouseEvent_GetWheelDelta", (PyCFunction
) _wrap_wxMouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxMouseEvent_GetWheelRotation", (PyCFunction
) _wrap_wxMouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxCommandEvent_GetClientData", (PyCFunction
) _wrap_wxCommandEvent_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxEvent_Clone", (PyCFunction
) _wrap_wxEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxNewEventType", (PyCFunction
) _wrap_wxNewEventType
, METH_VARARGS
| METH_KEYWORDS
},
7209 * This table is used by the pointer type-checker
7211 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7212 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
7213 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
7214 { "_wxEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxEvent
},
7215 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
7216 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
7217 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
7218 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
7219 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
7220 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
7221 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
7222 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
7223 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
7224 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
7225 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
7226 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
7227 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
7228 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
7229 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
7230 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
7231 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
7232 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
7233 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
7234 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
7235 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
7236 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
7237 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
7238 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
7239 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
7240 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
7241 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
7242 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
7243 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
7244 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
7245 { "_signed_long","_long",0},
7246 { "_wxPrintQuality","_wxCoord",0},
7247 { "_wxPrintQuality","_int",0},
7248 { "_wxPrintQuality","_signed_int",0},
7249 { "_wxPrintQuality","_unsigned_int",0},
7250 { "_wxPrintQuality","_wxWindowID",0},
7251 { "_wxPrintQuality","_uint",0},
7252 { "_wxPrintQuality","_EBool",0},
7253 { "_wxPrintQuality","_size_t",0},
7254 { "_wxPrintQuality","_time_t",0},
7255 { "_byte","_unsigned_char",0},
7256 { "_long","_unsigned_long",0},
7257 { "_long","_signed_long",0},
7258 { "_size_t","_wxCoord",0},
7259 { "_size_t","_wxPrintQuality",0},
7260 { "_size_t","_time_t",0},
7261 { "_size_t","_unsigned_int",0},
7262 { "_size_t","_int",0},
7263 { "_size_t","_wxWindowID",0},
7264 { "_size_t","_uint",0},
7265 { "_uint","_wxCoord",0},
7266 { "_uint","_wxPrintQuality",0},
7267 { "_uint","_time_t",0},
7268 { "_uint","_size_t",0},
7269 { "_uint","_unsigned_int",0},
7270 { "_uint","_int",0},
7271 { "_uint","_wxWindowID",0},
7272 { "_wxChar","_char",0},
7273 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
7274 { "_wxCommandEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxCommandEvent
},
7275 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
7276 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
7277 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
7278 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
7279 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
7280 { "_char","_wxChar",0},
7281 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7282 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
7283 { "_EBool","_wxCoord",0},
7284 { "_EBool","_wxPrintQuality",0},
7285 { "_EBool","_signed_int",0},
7286 { "_EBool","_int",0},
7287 { "_EBool","_wxWindowID",0},
7288 { "_unsigned_long","_long",0},
7289 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7290 { "_signed_int","_wxCoord",0},
7291 { "_signed_int","_wxPrintQuality",0},
7292 { "_signed_int","_EBool",0},
7293 { "_signed_int","_wxWindowID",0},
7294 { "_signed_int","_int",0},
7295 { "_WXTYPE","_short",0},
7296 { "_WXTYPE","_signed_short",0},
7297 { "_WXTYPE","_unsigned_short",0},
7298 { "_unsigned_short","_WXTYPE",0},
7299 { "_unsigned_short","_short",0},
7300 { "_wxObject","_wxPyCommandEvent",SwigwxPyCommandEventTowxObject
},
7301 { "_wxObject","_wxPyEvent",SwigwxPyEventTowxObject
},
7302 { "_wxObject","_wxTextUrlEvent",SwigwxTextUrlEventTowxObject
},
7303 { "_wxObject","_wxTimerEvent",SwigwxTimerEventTowxObject
},
7304 { "_wxObject","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject
},
7305 { "_wxObject","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject
},
7306 { "_wxObject","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject
},
7307 { "_wxObject","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject
},
7308 { "_wxObject","_wxNotifyEvent",SwigwxNotifyEventTowxObject
},
7309 { "_wxObject","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject
},
7310 { "_wxObject","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject
},
7311 { "_wxObject","_wxIdleEvent",SwigwxIdleEventTowxObject
},
7312 { "_wxObject","_wxDropFilesEvent",SwigwxDropFilesEventTowxObject
},
7313 { "_wxObject","_wxJoystickEvent",SwigwxJoystickEventTowxObject
},
7314 { "_wxObject","_wxMaximizeEvent",SwigwxMaximizeEventTowxObject
},
7315 { "_wxObject","_wxIconizeEvent",SwigwxIconizeEventTowxObject
},
7316 { "_wxObject","_wxShowEvent",SwigwxShowEventTowxObject
},
7317 { "_wxObject","_wxMenuEvent",SwigwxMenuEventTowxObject
},
7318 { "_wxObject","_wxInitDialogEvent",SwigwxInitDialogEventTowxObject
},
7319 { "_wxObject","_wxActivateEvent",SwigwxActivateEventTowxObject
},
7320 { "_wxObject","_wxFocusEvent",SwigwxFocusEventTowxObject
},
7321 { "_wxObject","_wxEraseEvent",SwigwxEraseEventTowxObject
},
7322 { "_wxObject","_wxPaintEvent",SwigwxPaintEventTowxObject
},
7323 { "_wxObject","_wxMoveEvent",SwigwxMoveEventTowxObject
},
7324 { "_wxObject","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject
},
7325 { "_wxObject","_wxKeyEvent",SwigwxKeyEventTowxObject
},
7326 { "_wxObject","_wxMouseEvent",SwigwxMouseEventTowxObject
},
7327 { "_wxObject","_wxSpinEvent",SwigwxSpinEventTowxObject
},
7328 { "_wxObject","_wxScrollWinEvent",SwigwxScrollWinEventTowxObject
},
7329 { "_wxObject","_wxScrollEvent",SwigwxScrollEventTowxObject
},
7330 { "_wxObject","_wxCommandEvent",SwigwxCommandEventTowxObject
},
7331 { "_wxObject","_wxCloseEvent",SwigwxCloseEventTowxObject
},
7332 { "_wxObject","_wxSizeEvent",SwigwxSizeEventTowxObject
},
7333 { "_wxObject","_wxEvent",SwigwxEventTowxObject
},
7334 { "_signed_short","_WXTYPE",0},
7335 { "_signed_short","_short",0},
7336 { "_unsigned_char","_byte",0},
7337 { "_unsigned_int","_wxCoord",0},
7338 { "_unsigned_int","_wxPrintQuality",0},
7339 { "_unsigned_int","_time_t",0},
7340 { "_unsigned_int","_size_t",0},
7341 { "_unsigned_int","_uint",0},
7342 { "_unsigned_int","_wxWindowID",0},
7343 { "_unsigned_int","_int",0},
7344 { "_short","_WXTYPE",0},
7345 { "_short","_unsigned_short",0},
7346 { "_short","_signed_short",0},
7347 { "_wxWindowID","_wxCoord",0},
7348 { "_wxWindowID","_wxPrintQuality",0},
7349 { "_wxWindowID","_time_t",0},
7350 { "_wxWindowID","_size_t",0},
7351 { "_wxWindowID","_EBool",0},
7352 { "_wxWindowID","_uint",0},
7353 { "_wxWindowID","_int",0},
7354 { "_wxWindowID","_signed_int",0},
7355 { "_wxWindowID","_unsigned_int",0},
7356 { "_int","_wxCoord",0},
7357 { "_int","_wxPrintQuality",0},
7358 { "_int","_time_t",0},
7359 { "_int","_size_t",0},
7360 { "_int","_EBool",0},
7361 { "_int","_uint",0},
7362 { "_int","_wxWindowID",0},
7363 { "_int","_unsigned_int",0},
7364 { "_int","_signed_int",0},
7365 { "_time_t","_wxCoord",0},
7366 { "_time_t","_wxPrintQuality",0},
7367 { "_time_t","_unsigned_int",0},
7368 { "_time_t","_int",0},
7369 { "_time_t","_wxWindowID",0},
7370 { "_time_t","_uint",0},
7371 { "_time_t","_size_t",0},
7372 { "_wxCoord","_int",0},
7373 { "_wxCoord","_signed_int",0},
7374 { "_wxCoord","_unsigned_int",0},
7375 { "_wxCoord","_wxWindowID",0},
7376 { "_wxCoord","_uint",0},
7377 { "_wxCoord","_EBool",0},
7378 { "_wxCoord","_size_t",0},
7379 { "_wxCoord","_time_t",0},
7380 { "_wxCoord","_wxPrintQuality",0},
7383 static PyObject
*SWIG_globals
;
7387 SWIGEXPORT(void) initeventsc() {
7389 SWIG_globals
= SWIG_newvarlink();
7390 m
= Py_InitModule("eventsc", eventscMethods
);
7391 d
= PyModule_GetDict(m
);
7394 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7395 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);