2 * FILE : msw/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initeventsc
54 #define SWIG_name "eventsc"
57 #include <wx/spinbutt.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 class wxPyEvent
: public wxEvent
{
109 DECLARE_DYNAMIC_CLASS(wxPyEvent
)
111 wxPyEvent(int id
=0, PyObject
* userData
= Py_None
)
113 m_userData
= userData
;
114 Py_INCREF(m_userData
);
118 bool doSave
= wxPyRestoreThread();
119 Py_DECREF(m_userData
);
120 wxPySaveThread(doSave
);
123 void SetPyData(PyObject
* userData
) {
124 bool doSave
= wxPyRestoreThread();
125 Py_DECREF(m_userData
);
126 m_userData
= userData
;
127 Py_INCREF(m_userData
);
128 wxPySaveThread(doSave
);
131 PyObject
* GetPyData() const {
132 Py_INCREF(m_userData
);
136 // This one is so the event object can be Cloned...
137 void CopyObject(wxObject
& dest
) const {
138 wxEvent::CopyObject(dest
);
139 ((wxPyEvent
*)&dest
)->SetPyData(m_userData
);
143 PyObject
* m_userData
;
146 IMPLEMENT_DYNAMIC_CLASS(wxPyEvent
, wxEvent
)
149 class wxPyCommandEvent
: public wxCommandEvent
{
150 DECLARE_DYNAMIC_CLASS(wxPyCommandEvent
)
152 wxPyCommandEvent(wxEventType commandType
= wxEVT_NULL
, int id
=0, PyObject
* userData
= Py_None
)
153 : wxCommandEvent(commandType
, id
) {
154 m_userData
= userData
;
155 Py_INCREF(m_userData
);
158 ~wxPyCommandEvent() {
159 bool doSave
= wxPyRestoreThread();
160 Py_DECREF(m_userData
);
161 wxPySaveThread(doSave
);
164 void SetPyData(PyObject
* userData
) {
165 bool doSave
= wxPyRestoreThread();
166 Py_DECREF(m_userData
);
167 m_userData
= userData
;
168 Py_INCREF(m_userData
);
169 wxPySaveThread(doSave
);
172 PyObject
* GetPyData() const {
173 Py_INCREF(m_userData
);
177 // This one is so the event object can be Cloned...
178 void CopyObject(wxObject
& dest
) const {
179 wxCommandEvent::CopyObject(dest
);
180 ((wxPyCommandEvent
*)&dest
)->SetPyData(m_userData
);
184 PyObject
* m_userData
;
187 IMPLEMENT_DYNAMIC_CLASS(wxPyCommandEvent
, wxCommandEvent
)
192 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
193 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
197 PyObject
* _argo0
= 0;
198 char *_kwnames
[] = { "self", NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
212 wxPy_BEGIN_ALLOW_THREADS
;
213 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
215 wxPy_END_ALLOW_THREADS
;
217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
218 _resultobj
= Py_BuildValue("s",_ptemp
);
221 _resultobj
= Py_None
;
226 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
227 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
228 PyObject
* _resultobj
;
231 PyObject
* _argo0
= 0;
232 char *_kwnames
[] = { "self", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
245 wxPy_BEGIN_ALLOW_THREADS
;
246 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
248 wxPy_END_ALLOW_THREADS
;
249 } _resultobj
= Py_BuildValue("i",_result
);
253 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
254 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
255 PyObject
* _resultobj
;
258 PyObject
* _argo0
= 0;
259 char *_kwnames
[] = { "self", NULL
};
262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
272 wxPy_BEGIN_ALLOW_THREADS
;
273 _result
= (int )wxEvent_GetId(_arg0
);
275 wxPy_END_ALLOW_THREADS
;
276 } _resultobj
= Py_BuildValue("i",_result
);
280 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
281 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
285 PyObject
* _argo0
= 0;
286 char *_kwnames
[] = { "self", NULL
};
289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
299 wxPy_BEGIN_ALLOW_THREADS
;
300 _result
= (bool )wxEvent_GetSkipped(_arg0
);
302 wxPy_END_ALLOW_THREADS
;
303 } _resultobj
= Py_BuildValue("i",_result
);
307 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
308 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
309 PyObject
* _resultobj
;
312 PyObject
* _argo0
= 0;
313 char *_kwnames
[] = { "self", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
326 wxPy_BEGIN_ALLOW_THREADS
;
327 _result
= (long )wxEvent_GetTimestamp(_arg0
);
329 wxPy_END_ALLOW_THREADS
;
330 } _resultobj
= Py_BuildValue("l",_result
);
334 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
335 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
339 PyObject
* _argo0
= 0;
340 PyObject
* _argo1
= 0;
341 char *_kwnames
[] = { "self","object", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
361 wxPy_BEGIN_ALLOW_THREADS
;
362 wxEvent_SetEventObject(_arg0
,_arg1
);
364 wxPy_END_ALLOW_THREADS
;
365 } Py_INCREF(Py_None
);
366 _resultobj
= Py_None
;
370 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
371 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
375 PyObject
* _argo0
= 0;
376 char *_kwnames
[] = { "self","typ", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
389 wxPy_BEGIN_ALLOW_THREADS
;
390 wxEvent_SetEventType(_arg0
,_arg1
);
392 wxPy_END_ALLOW_THREADS
;
393 } Py_INCREF(Py_None
);
394 _resultobj
= Py_None
;
398 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
399 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
403 PyObject
* _argo0
= 0;
404 char *_kwnames
[] = { "self","id", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
417 wxPy_BEGIN_ALLOW_THREADS
;
418 wxEvent_SetId(_arg0
,_arg1
);
420 wxPy_END_ALLOW_THREADS
;
421 } Py_INCREF(Py_None
);
422 _resultobj
= Py_None
;
426 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
427 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
431 PyObject
* _argo0
= 0;
432 char *_kwnames
[] = { "self","timeStamp", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
445 wxPy_BEGIN_ALLOW_THREADS
;
446 wxEvent_SetTimestamp(_arg0
,_arg1
);
448 wxPy_END_ALLOW_THREADS
;
449 } Py_INCREF(Py_None
);
450 _resultobj
= Py_None
;
454 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
455 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
458 bool _arg1
= (bool ) TRUE
;
459 PyObject
* _argo0
= 0;
460 int tempbool1
= (int) TRUE
;
461 char *_kwnames
[] = { "self","skip", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
473 _arg1
= (bool ) tempbool1
;
475 wxPy_BEGIN_ALLOW_THREADS
;
476 wxEvent_Skip(_arg0
,_arg1
);
478 wxPy_END_ALLOW_THREADS
;
479 } Py_INCREF(Py_None
);
480 _resultobj
= Py_None
;
484 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
487 src
= (wxSizeEvent
*) ptr
;
488 dest
= (wxEvent
*) src
;
489 return (void *) dest
;
492 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
493 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self", NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
512 wxPy_BEGIN_ALLOW_THREADS
;
513 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
515 wxPy_END_ALLOW_THREADS
;
516 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
517 _resultobj
= Py_BuildValue("s",_ptemp
);
521 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
524 src
= (wxCloseEvent
*) ptr
;
525 dest
= (wxEvent
*) src
;
526 return (void *) dest
;
529 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
530 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
531 PyObject
* _resultobj
;
532 wxCloseEvent
* _arg0
;
534 PyObject
* _argo0
= 0;
536 char *_kwnames
[] = { "self","loggingOff", NULL
};
539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
548 _arg1
= (bool ) tempbool1
;
550 wxPy_BEGIN_ALLOW_THREADS
;
551 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
553 wxPy_END_ALLOW_THREADS
;
554 } Py_INCREF(Py_None
);
555 _resultobj
= Py_None
;
559 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
560 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
561 PyObject
* _resultobj
;
563 wxCloseEvent
* _arg0
;
564 PyObject
* _argo0
= 0;
565 char *_kwnames
[] = { "self", NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
578 wxPy_BEGIN_ALLOW_THREADS
;
579 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
581 wxPy_END_ALLOW_THREADS
;
582 } _resultobj
= Py_BuildValue("i",_result
);
586 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
587 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
589 wxCloseEvent
* _arg0
;
590 bool _arg1
= (bool ) TRUE
;
591 PyObject
* _argo0
= 0;
592 int tempbool1
= (int) TRUE
;
593 char *_kwnames
[] = { "self","veto", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
605 _arg1
= (bool ) tempbool1
;
607 wxPy_BEGIN_ALLOW_THREADS
;
608 wxCloseEvent_Veto(_arg0
,_arg1
);
610 wxPy_END_ALLOW_THREADS
;
611 } Py_INCREF(Py_None
);
612 _resultobj
= Py_None
;
616 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
617 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
618 PyObject
* _resultobj
;
620 wxCloseEvent
* _arg0
;
621 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
638 wxPy_END_ALLOW_THREADS
;
639 } _resultobj
= Py_BuildValue("i",_result
);
643 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
644 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
647 wxCloseEvent
* _arg0
;
648 PyObject
* _argo0
= 0;
649 char *_kwnames
[] = { "self", NULL
};
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
662 wxPy_BEGIN_ALLOW_THREADS
;
663 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
665 wxPy_END_ALLOW_THREADS
;
666 } _resultobj
= Py_BuildValue("i",_result
);
670 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
671 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
673 wxCloseEvent
* _arg0
;
675 PyObject
* _argo0
= 0;
677 char *_kwnames
[] = { "self","canVeto", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
689 _arg1
= (bool ) tempbool1
;
691 wxPy_BEGIN_ALLOW_THREADS
;
692 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
694 wxPy_END_ALLOW_THREADS
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
700 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
703 src
= (wxCommandEvent
*) ptr
;
704 dest
= (wxEvent
*) src
;
705 return (void *) dest
;
708 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
709 static PyObject
*_wrap_wxCommandEvent_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
710 PyObject
* _resultobj
;
712 wxCommandEvent
* _arg0
;
713 PyObject
* _argo0
= 0;
714 char *_kwnames
[] = { "self", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_Checked",_kwnames
,&_argo0
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
727 wxPy_BEGIN_ALLOW_THREADS
;
728 _result
= (bool )wxCommandEvent_Checked(_arg0
);
730 wxPy_END_ALLOW_THREADS
;
731 } _resultobj
= Py_BuildValue("i",_result
);
735 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
736 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
739 wxCommandEvent
* _arg0
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
757 wxPy_END_ALLOW_THREADS
;
758 } _resultobj
= Py_BuildValue("l",_result
);
762 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
763 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
766 wxCommandEvent
* _arg0
;
767 PyObject
* _argo0
= 0;
768 char *_kwnames
[] = { "self", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
781 wxPy_BEGIN_ALLOW_THREADS
;
782 _result
= (int )wxCommandEvent_GetInt(_arg0
);
784 wxPy_END_ALLOW_THREADS
;
785 } _resultobj
= Py_BuildValue("i",_result
);
789 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
790 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
793 wxCommandEvent
* _arg0
;
794 PyObject
* _argo0
= 0;
795 char *_kwnames
[] = { "self", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
808 wxPy_BEGIN_ALLOW_THREADS
;
809 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
811 wxPy_END_ALLOW_THREADS
;
812 } _resultobj
= Py_BuildValue("i",_result
);
816 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
817 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
820 wxCommandEvent
* _arg0
;
821 PyObject
* _argo0
= 0;
822 char *_kwnames
[] = { "self", NULL
};
825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
835 wxPy_BEGIN_ALLOW_THREADS
;
836 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
838 wxPy_END_ALLOW_THREADS
;
840 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
848 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
849 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
850 PyObject
* _resultobj
;
852 wxCommandEvent
* _arg0
;
853 PyObject
* _argo0
= 0;
854 char *_kwnames
[] = { "self", NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
867 wxPy_BEGIN_ALLOW_THREADS
;
868 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
870 wxPy_END_ALLOW_THREADS
;
871 } _resultobj
= Py_BuildValue("i",_result
);
875 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
877 wxCommandEvent
*dest
;
878 src
= (wxScrollEvent
*) ptr
;
879 dest
= (wxCommandEvent
*) src
;
880 return (void *) dest
;
883 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
886 src
= (wxScrollEvent
*) ptr
;
887 dest
= (wxEvent
*) src
;
888 return (void *) dest
;
891 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
892 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 PyObject
* _resultobj
;
895 wxScrollEvent
* _arg0
;
896 PyObject
* _argo0
= 0;
897 char *_kwnames
[] = { "self", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
910 wxPy_BEGIN_ALLOW_THREADS
;
911 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
913 wxPy_END_ALLOW_THREADS
;
914 } _resultobj
= Py_BuildValue("i",_result
);
918 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
919 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
922 wxScrollEvent
* _arg0
;
923 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
937 wxPy_BEGIN_ALLOW_THREADS
;
938 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
940 wxPy_END_ALLOW_THREADS
;
941 } _resultobj
= Py_BuildValue("i",_result
);
945 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
946 wxScrollWinEvent
*src
;
948 src
= (wxScrollWinEvent
*) ptr
;
949 dest
= (wxEvent
*) src
;
950 return (void *) dest
;
953 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
954 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 wxScrollWinEvent
* _arg0
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
975 wxPy_END_ALLOW_THREADS
;
976 } _resultobj
= Py_BuildValue("i",_result
);
980 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
981 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
984 wxScrollWinEvent
* _arg0
;
985 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "self", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
999 wxPy_BEGIN_ALLOW_THREADS
;
1000 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1002 wxPy_END_ALLOW_THREADS
;
1003 } _resultobj
= Py_BuildValue("i",_result
);
1007 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1009 wxScrollEvent
*dest
;
1010 src
= (wxSpinEvent
*) ptr
;
1011 dest
= (wxScrollEvent
*) src
;
1012 return (void *) dest
;
1015 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1017 wxCommandEvent
*dest
;
1018 src
= (wxSpinEvent
*) ptr
;
1019 dest
= (wxCommandEvent
*) src
;
1020 return (void *) dest
;
1023 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1026 src
= (wxSpinEvent
*) ptr
;
1027 dest
= (wxEvent
*) src
;
1028 return (void *) dest
;
1031 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1034 src
= (wxMouseEvent
*) ptr
;
1035 dest
= (wxEvent
*) src
;
1036 return (void *) dest
;
1039 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1040 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
* _resultobj
;
1043 wxMouseEvent
* _arg0
;
1044 PyObject
* _argo0
= 0;
1045 char *_kwnames
[] = { "self", NULL
};
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1058 wxPy_BEGIN_ALLOW_THREADS
;
1059 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1061 wxPy_END_ALLOW_THREADS
;
1062 } _resultobj
= Py_BuildValue("i",_result
);
1066 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1067 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1070 wxMouseEvent
* _arg0
;
1071 int _arg1
= (int ) -1;
1072 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self","but", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1089 wxPy_END_ALLOW_THREADS
;
1090 } _resultobj
= Py_BuildValue("i",_result
);
1094 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1095 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1098 wxMouseEvent
* _arg0
;
1099 int _arg1
= (int ) -1;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self","but", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1117 wxPy_END_ALLOW_THREADS
;
1118 } _resultobj
= Py_BuildValue("i",_result
);
1122 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1123 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1126 wxMouseEvent
* _arg0
;
1127 int _arg1
= (int ) -1;
1128 PyObject
* _argo0
= 0;
1129 char *_kwnames
[] = { "self","but", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1142 wxPy_BEGIN_ALLOW_THREADS
;
1143 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1145 wxPy_END_ALLOW_THREADS
;
1146 } _resultobj
= Py_BuildValue("i",_result
);
1150 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1151 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1154 wxMouseEvent
* _arg0
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self","but", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1170 wxPy_BEGIN_ALLOW_THREADS
;
1171 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1173 wxPy_END_ALLOW_THREADS
;
1174 } _resultobj
= Py_BuildValue("i",_result
);
1178 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1179 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1182 wxMouseEvent
* _arg0
;
1184 PyObject
* _argo0
= 0;
1185 char *_kwnames
[] = { "self","but", NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1198 wxPy_BEGIN_ALLOW_THREADS
;
1199 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1201 wxPy_END_ALLOW_THREADS
;
1202 } _resultobj
= Py_BuildValue("i",_result
);
1206 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1207 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
* _resultobj
;
1210 wxMouseEvent
* _arg0
;
1211 PyObject
* _argo0
= 0;
1212 char *_kwnames
[] = { "self", NULL
};
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1225 wxPy_BEGIN_ALLOW_THREADS
;
1226 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1228 wxPy_END_ALLOW_THREADS
;
1229 } _resultobj
= Py_BuildValue("i",_result
);
1233 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1234 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1237 wxMouseEvent
* _arg0
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1255 wxPy_END_ALLOW_THREADS
;
1256 } _resultobj
= Py_BuildValue("i",_result
);
1260 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1261 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1264 wxMouseEvent
* _arg0
;
1265 PyObject
* _argo0
= 0;
1266 char *_kwnames
[] = { "self", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1279 wxPy_BEGIN_ALLOW_THREADS
;
1280 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1282 wxPy_END_ALLOW_THREADS
;
1283 } _resultobj
= Py_BuildValue("i",_result
);
1287 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1288 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1291 wxMouseEvent
* _arg0
;
1292 PyObject
* _argo0
= 0;
1293 char *_kwnames
[] = { "self", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1309 wxPy_END_ALLOW_THREADS
;
1310 } _resultobj
= Py_BuildValue("i",_result
);
1314 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1315 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1318 wxMouseEvent
* _arg0
;
1319 PyObject
* _argo0
= 0;
1320 char *_kwnames
[] = { "self", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1333 wxPy_BEGIN_ALLOW_THREADS
;
1334 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1336 wxPy_END_ALLOW_THREADS
;
1337 } _resultobj
= Py_BuildValue("i",_result
);
1341 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1342 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1345 wxMouseEvent
* _arg0
;
1346 PyObject
* _argo0
= 0;
1347 char *_kwnames
[] = { "self", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1360 wxPy_BEGIN_ALLOW_THREADS
;
1361 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1363 wxPy_END_ALLOW_THREADS
;
1364 } _resultobj
= Py_BuildValue("i",_result
);
1368 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1369 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1372 wxMouseEvent
* _arg0
;
1373 PyObject
* _argo0
= 0;
1374 char *_kwnames
[] = { "self", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1387 wxPy_BEGIN_ALLOW_THREADS
;
1388 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1390 wxPy_END_ALLOW_THREADS
;
1391 } _resultobj
= Py_BuildValue("i",_result
);
1395 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1396 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1399 wxMouseEvent
* _arg0
;
1400 PyObject
* _argo0
= 0;
1401 char *_kwnames
[] = { "self", NULL
};
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1417 wxPy_END_ALLOW_THREADS
;
1418 } _resultobj
= Py_BuildValue("i",_result
);
1422 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1423 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1426 wxMouseEvent
* _arg0
;
1427 PyObject
* _argo0
= 0;
1428 char *_kwnames
[] = { "self", NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1441 wxPy_BEGIN_ALLOW_THREADS
;
1442 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1444 wxPy_END_ALLOW_THREADS
;
1445 } _resultobj
= Py_BuildValue("i",_result
);
1449 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1450 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1453 wxMouseEvent
* _arg0
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } _resultobj
= Py_BuildValue("i",_result
);
1476 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1477 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1480 wxMouseEvent
* _arg0
;
1481 PyObject
* _argo0
= 0;
1482 char *_kwnames
[] = { "self", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1495 wxPy_BEGIN_ALLOW_THREADS
;
1496 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1498 wxPy_END_ALLOW_THREADS
;
1499 } _resultobj
= Py_BuildValue("i",_result
);
1503 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1504 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1507 wxMouseEvent
* _arg0
;
1508 PyObject
* _argo0
= 0;
1509 char *_kwnames
[] = { "self", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1522 wxPy_BEGIN_ALLOW_THREADS
;
1523 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1525 wxPy_END_ALLOW_THREADS
;
1526 } _resultobj
= Py_BuildValue("i",_result
);
1530 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1531 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1534 wxMouseEvent
* _arg0
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1552 wxPy_END_ALLOW_THREADS
;
1553 } _resultobj
= Py_BuildValue("i",_result
);
1557 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1558 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1561 wxMouseEvent
* _arg0
;
1562 PyObject
* _argo0
= 0;
1563 char *_kwnames
[] = { "self", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1579 wxPy_END_ALLOW_THREADS
;
1580 } _resultobj
= Py_BuildValue("i",_result
);
1584 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1585 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1588 wxMouseEvent
* _arg0
;
1589 PyObject
* _argo0
= 0;
1590 char *_kwnames
[] = { "self", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
1596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1606 wxPy_END_ALLOW_THREADS
;
1607 } _resultobj
= Py_BuildValue("i",_result
);
1611 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1612 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1615 wxMouseEvent
* _arg0
;
1616 PyObject
* _argo0
= 0;
1617 char *_kwnames
[] = { "self", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
1623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1633 wxPy_END_ALLOW_THREADS
;
1634 } _resultobj
= Py_BuildValue("i",_result
);
1638 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1639 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
* _resultobj
;
1642 wxMouseEvent
* _arg0
;
1643 PyObject
* _argo0
= 0;
1644 char *_kwnames
[] = { "self", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } _resultobj
= Py_BuildValue("i",_result
);
1665 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1666 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1669 wxMouseEvent
* _arg0
;
1670 PyObject
* _argo0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
1677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1684 wxPy_BEGIN_ALLOW_THREADS
;
1685 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1687 wxPy_END_ALLOW_THREADS
;
1688 } _resultobj
= Py_BuildValue("i",_result
);
1692 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1693 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
* _resultobj
;
1696 wxMouseEvent
* _arg0
;
1697 PyObject
* _argo0
= 0;
1698 char *_kwnames
[] = { "self", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
1704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1711 wxPy_BEGIN_ALLOW_THREADS
;
1712 _result
= (bool )wxMouseEvent_Entering(_arg0
);
1714 wxPy_END_ALLOW_THREADS
;
1715 } _resultobj
= Py_BuildValue("i",_result
);
1719 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1720 static PyObject
*_wrap_wxMouseEvent_Leaving(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_Leaving",_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_Leaving. Expected _wxMouseEvent_p.");
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } _resultobj
= Py_BuildValue("i",_result
);
1746 #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1747 static PyObject
*_wrap_wxMouseEvent_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1749 wxMouseEvent
* _arg0
;
1754 PyObject
* _argo0
= 0;
1755 char *_kwnames
[] = { "self", NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Position",_kwnames
,&_argo0
))
1767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
1774 wxPy_BEGIN_ALLOW_THREADS
;
1775 wxMouseEvent_Position(_arg0
,_arg1
,_arg2
);
1777 wxPy_END_ALLOW_THREADS
;
1778 } Py_INCREF(Py_None
);
1779 _resultobj
= Py_None
;
1782 o
= PyInt_FromLong((long) (*_arg1
));
1783 _resultobj
= t_output_helper(_resultobj
, o
);
1787 o
= PyInt_FromLong((long) (*_arg2
));
1788 _resultobj
= t_output_helper(_resultobj
, o
);
1793 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1794 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
* _resultobj
;
1797 wxMouseEvent
* _arg0
;
1798 PyObject
* _argo0
= 0;
1799 char *_kwnames
[] = { "self", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
1816 wxPy_END_ALLOW_THREADS
;
1817 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1818 _resultobj
= Py_BuildValue("s",_ptemp
);
1822 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
1823 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1826 wxMouseEvent
* _arg0
;
1828 PyObject
* _argo0
= 0;
1829 PyObject
* _argo1
= 0;
1830 char *_kwnames
[] = { "self","dc", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
1844 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
1854 wxPy_END_ALLOW_THREADS
;
1855 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1856 _resultobj
= Py_BuildValue("s",_ptemp
);
1860 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
1861 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1864 wxMouseEvent
* _arg0
;
1865 PyObject
* _argo0
= 0;
1866 char *_kwnames
[] = { "self", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= (long )wxMouseEvent_GetX(_arg0
);
1882 wxPy_END_ALLOW_THREADS
;
1883 } _resultobj
= Py_BuildValue("l",_result
);
1887 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
1888 static PyObject
*_wrap_wxMouseEvent_GetY(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_GetY",_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_GetY. Expected _wxMouseEvent_p.");
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 _result
= (long )wxMouseEvent_GetY(_arg0
);
1909 wxPy_END_ALLOW_THREADS
;
1910 } _resultobj
= Py_BuildValue("l",_result
);
1914 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
1917 src
= (wxKeyEvent
*) ptr
;
1918 dest
= (wxEvent
*) src
;
1919 return (void *) dest
;
1922 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1923 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1927 PyObject
* _argo0
= 0;
1928 char *_kwnames
[] = { "self", NULL
};
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
1934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
1941 wxPy_BEGIN_ALLOW_THREADS
;
1942 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
1944 wxPy_END_ALLOW_THREADS
;
1945 } _resultobj
= Py_BuildValue("i",_result
);
1949 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1950 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1954 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
1961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
1968 wxPy_BEGIN_ALLOW_THREADS
;
1969 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
1971 wxPy_END_ALLOW_THREADS
;
1972 } _resultobj
= Py_BuildValue("i",_result
);
1976 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
1977 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1981 PyObject
* _argo0
= 0;
1982 char *_kwnames
[] = { "self", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
1995 wxPy_BEGIN_ALLOW_THREADS
;
1996 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
1998 wxPy_END_ALLOW_THREADS
;
1999 } _resultobj
= Py_BuildValue("i",_result
);
2003 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
2004 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
* _resultobj
;
2008 PyObject
* _argo0
= 0;
2009 char *_kwnames
[] = { "self", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
2015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
2022 wxPy_BEGIN_ALLOW_THREADS
;
2023 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
2025 wxPy_END_ALLOW_THREADS
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2030 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
2031 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2035 PyObject
* _argo0
= 0;
2036 char *_kwnames
[] = { "self", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
2042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } _resultobj
= Py_BuildValue("l",_result
);
2057 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
2060 src
= (wxMoveEvent
*) ptr
;
2061 dest
= (wxEvent
*) src
;
2062 return (void *) dest
;
2065 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2066 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2069 wxMoveEvent
* _arg0
;
2070 PyObject
* _argo0
= 0;
2071 char *_kwnames
[] = { "self", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
2078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
2085 wxPy_BEGIN_ALLOW_THREADS
;
2086 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
2088 wxPy_END_ALLOW_THREADS
;
2089 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2090 _resultobj
= Py_BuildValue("s",_ptemp
);
2094 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
2097 src
= (wxPaintEvent
*) ptr
;
2098 dest
= (wxEvent
*) src
;
2099 return (void *) dest
;
2102 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
2105 src
= (wxEraseEvent
*) ptr
;
2106 dest
= (wxEvent
*) src
;
2107 return (void *) dest
;
2110 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
2111 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2114 wxEraseEvent
* _arg0
;
2115 PyObject
* _argo0
= 0;
2116 char *_kwnames
[] = { "self", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
2133 wxPy_END_ALLOW_THREADS
;
2135 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2136 _resultobj
= Py_BuildValue("s",_ptemp
);
2139 _resultobj
= Py_None
;
2144 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
2147 src
= (wxFocusEvent
*) ptr
;
2148 dest
= (wxEvent
*) src
;
2149 return (void *) dest
;
2152 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
2153 wxActivateEvent
*src
;
2155 src
= (wxActivateEvent
*) ptr
;
2156 dest
= (wxEvent
*) src
;
2157 return (void *) dest
;
2160 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
2161 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
* _resultobj
;
2164 wxActivateEvent
* _arg0
;
2165 PyObject
* _argo0
= 0;
2166 char *_kwnames
[] = { "self", NULL
};
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
2172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
2182 wxPy_END_ALLOW_THREADS
;
2183 } _resultobj
= Py_BuildValue("i",_result
);
2187 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
2188 wxInitDialogEvent
*src
;
2190 src
= (wxInitDialogEvent
*) ptr
;
2191 dest
= (wxEvent
*) src
;
2192 return (void *) dest
;
2195 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
2198 src
= (wxMenuEvent
*) ptr
;
2199 dest
= (wxEvent
*) src
;
2200 return (void *) dest
;
2203 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
2204 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2207 wxMenuEvent
* _arg0
;
2208 PyObject
* _argo0
= 0;
2209 char *_kwnames
[] = { "self", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
2215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
2222 wxPy_BEGIN_ALLOW_THREADS
;
2223 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
2225 wxPy_END_ALLOW_THREADS
;
2226 } _resultobj
= Py_BuildValue("i",_result
);
2230 static void *SwigwxShowEventTowxEvent(void *ptr
) {
2233 src
= (wxShowEvent
*) ptr
;
2234 dest
= (wxEvent
*) src
;
2235 return (void *) dest
;
2238 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
2239 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2241 wxShowEvent
* _arg0
;
2243 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self","show", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
2257 _arg1
= (bool ) tempbool1
;
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 wxShowEvent_SetShow(_arg0
,_arg1
);
2262 wxPy_END_ALLOW_THREADS
;
2263 } Py_INCREF(Py_None
);
2264 _resultobj
= Py_None
;
2268 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
2269 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2272 wxShowEvent
* _arg0
;
2273 PyObject
* _argo0
= 0;
2274 char *_kwnames
[] = { "self", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
2280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
2287 wxPy_BEGIN_ALLOW_THREADS
;
2288 _result
= (bool )wxShowEvent_GetShow(_arg0
);
2290 wxPy_END_ALLOW_THREADS
;
2291 } _resultobj
= Py_BuildValue("i",_result
);
2295 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
2296 wxIconizeEvent
*src
;
2298 src
= (wxIconizeEvent
*) ptr
;
2299 dest
= (wxEvent
*) src
;
2300 return (void *) dest
;
2303 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
2304 wxMaximizeEvent
*src
;
2306 src
= (wxMaximizeEvent
*) ptr
;
2307 dest
= (wxEvent
*) src
;
2308 return (void *) dest
;
2311 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
2312 wxJoystickEvent
*src
;
2314 src
= (wxJoystickEvent
*) ptr
;
2315 dest
= (wxEvent
*) src
;
2316 return (void *) dest
;
2319 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2320 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2323 wxJoystickEvent
* _arg0
;
2324 PyObject
* _argo0
= 0;
2325 char *_kwnames
[] = { "self", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
2332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
2339 wxPy_BEGIN_ALLOW_THREADS
;
2340 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
2342 wxPy_END_ALLOW_THREADS
;
2343 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2344 _resultobj
= Py_BuildValue("s",_ptemp
);
2348 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
2349 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2352 wxJoystickEvent
* _arg0
;
2353 PyObject
* _argo0
= 0;
2354 char *_kwnames
[] = { "self", NULL
};
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
2360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } _resultobj
= Py_BuildValue("i",_result
);
2375 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
2376 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2379 wxJoystickEvent
* _arg0
;
2380 PyObject
* _argo0
= 0;
2381 char *_kwnames
[] = { "self", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
2394 wxPy_BEGIN_ALLOW_THREADS
;
2395 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
2397 wxPy_END_ALLOW_THREADS
;
2398 } _resultobj
= Py_BuildValue("i",_result
);
2402 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
2403 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
* _resultobj
;
2406 wxJoystickEvent
* _arg0
;
2407 PyObject
* _argo0
= 0;
2408 char *_kwnames
[] = { "self", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
2421 wxPy_BEGIN_ALLOW_THREADS
;
2422 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
2424 wxPy_END_ALLOW_THREADS
;
2425 } _resultobj
= Py_BuildValue("i",_result
);
2429 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
2430 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2433 wxJoystickEvent
* _arg0
;
2434 PyObject
* _argo0
= 0;
2435 char *_kwnames
[] = { "self", NULL
};
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
2441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
2448 wxPy_BEGIN_ALLOW_THREADS
;
2449 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
2451 wxPy_END_ALLOW_THREADS
;
2452 } _resultobj
= Py_BuildValue("i",_result
);
2456 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
2457 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2459 wxJoystickEvent
* _arg0
;
2461 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self","stick", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } Py_INCREF(Py_None
);
2480 _resultobj
= Py_None
;
2484 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
2485 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2487 wxJoystickEvent
* _arg0
;
2489 PyObject
* _argo0
= 0;
2490 char *_kwnames
[] = { "self","state", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
2496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } Py_INCREF(Py_None
);
2508 _resultobj
= Py_None
;
2512 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
2513 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2515 wxJoystickEvent
* _arg0
;
2517 PyObject
* _argo0
= 0;
2518 char *_kwnames
[] = { "self","change", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
2531 wxPy_BEGIN_ALLOW_THREADS
;
2532 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
2534 wxPy_END_ALLOW_THREADS
;
2535 } Py_INCREF(Py_None
);
2536 _resultobj
= Py_None
;
2540 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2541 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2543 wxJoystickEvent
* _arg0
;
2545 PyObject
* _argo0
= 0;
2547 PyObject
* _obj1
= 0;
2548 char *_kwnames
[] = { "self","pos", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
2562 if (! wxPoint_helper(_obj1
, &_arg1
))
2566 wxPy_BEGIN_ALLOW_THREADS
;
2567 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
2569 wxPy_END_ALLOW_THREADS
;
2570 } Py_INCREF(Py_None
);
2571 _resultobj
= Py_None
;
2575 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
2576 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2578 wxJoystickEvent
* _arg0
;
2580 PyObject
* _argo0
= 0;
2581 char *_kwnames
[] = { "self","zPos", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
2587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
2594 wxPy_BEGIN_ALLOW_THREADS
;
2595 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
2597 wxPy_END_ALLOW_THREADS
;
2598 } Py_INCREF(Py_None
);
2599 _resultobj
= Py_None
;
2603 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
2604 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
* _resultobj
;
2607 wxJoystickEvent
* _arg0
;
2608 PyObject
* _argo0
= 0;
2609 char *_kwnames
[] = { "self", NULL
};
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
2615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
2622 wxPy_BEGIN_ALLOW_THREADS
;
2623 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
2625 wxPy_END_ALLOW_THREADS
;
2626 } _resultobj
= Py_BuildValue("i",_result
);
2630 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
2631 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
* _resultobj
;
2634 wxJoystickEvent
* _arg0
;
2635 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
2649 wxPy_BEGIN_ALLOW_THREADS
;
2650 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
2652 wxPy_END_ALLOW_THREADS
;
2653 } _resultobj
= Py_BuildValue("i",_result
);
2657 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
2658 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2661 wxJoystickEvent
* _arg0
;
2662 PyObject
* _argo0
= 0;
2663 char *_kwnames
[] = { "self", NULL
};
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
2669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
2676 wxPy_BEGIN_ALLOW_THREADS
;
2677 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
2679 wxPy_END_ALLOW_THREADS
;
2680 } _resultobj
= Py_BuildValue("i",_result
);
2684 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
2685 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2688 wxJoystickEvent
* _arg0
;
2689 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
2690 PyObject
* _argo0
= 0;
2691 char *_kwnames
[] = { "self","but", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
2704 wxPy_BEGIN_ALLOW_THREADS
;
2705 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
2707 wxPy_END_ALLOW_THREADS
;
2708 } _resultobj
= Py_BuildValue("i",_result
);
2712 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
2713 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
* _resultobj
;
2716 wxJoystickEvent
* _arg0
;
2717 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
2718 PyObject
* _argo0
= 0;
2719 char *_kwnames
[] = { "self","but", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
2732 wxPy_BEGIN_ALLOW_THREADS
;
2733 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
2735 wxPy_END_ALLOW_THREADS
;
2736 } _resultobj
= Py_BuildValue("i",_result
);
2740 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
2741 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2744 wxJoystickEvent
* _arg0
;
2745 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
2746 PyObject
* _argo0
= 0;
2747 char *_kwnames
[] = { "self","but", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
2760 wxPy_BEGIN_ALLOW_THREADS
;
2761 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
2763 wxPy_END_ALLOW_THREADS
;
2764 } _resultobj
= Py_BuildValue("i",_result
);
2768 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
2769 wxDropFilesEvent
*src
;
2771 src
= (wxDropFilesEvent
*) ptr
;
2772 dest
= (wxEvent
*) src
;
2773 return (void *) dest
;
2776 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2777 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2780 wxDropFilesEvent
* _arg0
;
2781 PyObject
* _argo0
= 0;
2782 char *_kwnames
[] = { "self", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
2799 wxPy_END_ALLOW_THREADS
;
2800 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2801 _resultobj
= Py_BuildValue("s",_ptemp
);
2805 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
2806 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2809 wxDropFilesEvent
* _arg0
;
2810 PyObject
* _argo0
= 0;
2811 char *_kwnames
[] = { "self", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
2824 wxPy_BEGIN_ALLOW_THREADS
;
2825 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
2827 wxPy_END_ALLOW_THREADS
;
2828 } _resultobj
= Py_BuildValue("i",_result
);
2832 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
2833 int count
= self
->GetNumberOfFiles();
2834 wxString
* files
= self
->GetFiles();
2835 PyObject
* list
= PyList_New(count
);
2838 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2842 for (int i
=0; i
<count
; i
++) {
2843 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
2847 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2850 wxDropFilesEvent
* _arg0
;
2851 PyObject
* _argo0
= 0;
2852 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
2865 wxPy_BEGIN_ALLOW_THREADS
;
2866 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
2868 wxPy_END_ALLOW_THREADS
;
2870 _resultobj
= _result
;
2875 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
2878 src
= (wxIdleEvent
*) ptr
;
2879 dest
= (wxEvent
*) src
;
2880 return (void *) dest
;
2883 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
2884 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2886 wxIdleEvent
* _arg0
;
2887 bool _arg1
= (bool ) TRUE
;
2888 PyObject
* _argo0
= 0;
2889 int tempbool1
= (int) TRUE
;
2890 char *_kwnames
[] = { "self","needMore", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
2896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
2902 _arg1
= (bool ) tempbool1
;
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 wxIdleEvent_RequestMore(_arg0
,_arg1
);
2907 wxPy_END_ALLOW_THREADS
;
2908 } Py_INCREF(Py_None
);
2909 _resultobj
= Py_None
;
2913 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
2914 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2917 wxIdleEvent
* _arg0
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
2935 wxPy_END_ALLOW_THREADS
;
2936 } _resultobj
= Py_BuildValue("i",_result
);
2940 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
2941 wxUpdateUIEvent
*src
;
2943 src
= (wxUpdateUIEvent
*) ptr
;
2944 dest
= (wxEvent
*) src
;
2945 return (void *) dest
;
2948 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
2949 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
* _resultobj
;
2952 wxUpdateUIEvent
* _arg0
;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
2967 wxPy_BEGIN_ALLOW_THREADS
;
2968 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
2970 wxPy_END_ALLOW_THREADS
;
2971 } _resultobj
= Py_BuildValue("i",_result
);
2975 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
2976 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
* _resultobj
;
2979 wxUpdateUIEvent
* _arg0
;
2980 PyObject
* _argo0
= 0;
2981 char *_kwnames
[] = { "self", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
2987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
2994 wxPy_BEGIN_ALLOW_THREADS
;
2995 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
2997 wxPy_END_ALLOW_THREADS
;
2998 } _resultobj
= Py_BuildValue("i",_result
);
3002 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
3003 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3006 wxUpdateUIEvent
* _arg0
;
3007 PyObject
* _argo0
= 0;
3008 char *_kwnames
[] = { "self", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
3014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
3021 wxPy_BEGIN_ALLOW_THREADS
;
3022 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
3024 wxPy_END_ALLOW_THREADS
;
3026 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3034 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
3035 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
* _resultobj
;
3038 wxUpdateUIEvent
* _arg0
;
3039 PyObject
* _argo0
= 0;
3040 char *_kwnames
[] = { "self", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
3053 wxPy_BEGIN_ALLOW_THREADS
;
3054 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
3056 wxPy_END_ALLOW_THREADS
;
3057 } _resultobj
= Py_BuildValue("i",_result
);
3061 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
3062 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3065 wxUpdateUIEvent
* _arg0
;
3066 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
3080 wxPy_BEGIN_ALLOW_THREADS
;
3081 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
3083 wxPy_END_ALLOW_THREADS
;
3084 } _resultobj
= Py_BuildValue("i",_result
);
3088 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
3089 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3092 wxUpdateUIEvent
* _arg0
;
3093 PyObject
* _argo0
= 0;
3094 char *_kwnames
[] = { "self", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
3107 wxPy_BEGIN_ALLOW_THREADS
;
3108 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
3110 wxPy_END_ALLOW_THREADS
;
3111 } _resultobj
= Py_BuildValue("i",_result
);
3115 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
3116 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
* _resultobj
;
3118 wxUpdateUIEvent
* _arg0
;
3120 PyObject
* _argo0
= 0;
3122 char *_kwnames
[] = { "self","check", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
3134 _arg1
= (bool ) tempbool1
;
3136 wxPy_BEGIN_ALLOW_THREADS
;
3137 wxUpdateUIEvent_Check(_arg0
,_arg1
);
3139 wxPy_END_ALLOW_THREADS
;
3140 } Py_INCREF(Py_None
);
3141 _resultobj
= Py_None
;
3145 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
3146 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3148 wxUpdateUIEvent
* _arg0
;
3150 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self","enable", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
3164 _arg1
= (bool ) tempbool1
;
3166 wxPy_BEGIN_ALLOW_THREADS
;
3167 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
3169 wxPy_END_ALLOW_THREADS
;
3170 } Py_INCREF(Py_None
);
3171 _resultobj
= Py_None
;
3175 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
3176 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
* _resultobj
;
3178 wxUpdateUIEvent
* _arg0
;
3180 PyObject
* _argo0
= 0;
3181 PyObject
* _obj1
= 0;
3182 char *_kwnames
[] = { "self","text", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
3195 if (!PyString_Check(_obj1
)) {
3196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3199 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3202 wxPy_BEGIN_ALLOW_THREADS
;
3203 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
3205 wxPy_END_ALLOW_THREADS
;
3206 } Py_INCREF(Py_None
);
3207 _resultobj
= Py_None
;
3215 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
3216 wxSysColourChangedEvent
*src
;
3218 src
= (wxSysColourChangedEvent
*) ptr
;
3219 dest
= (wxEvent
*) src
;
3220 return (void *) dest
;
3223 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
3225 wxCommandEvent
*dest
;
3226 src
= (wxNotifyEvent
*) ptr
;
3227 dest
= (wxCommandEvent
*) src
;
3228 return (void *) dest
;
3231 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
3234 src
= (wxNotifyEvent
*) ptr
;
3235 dest
= (wxEvent
*) src
;
3236 return (void *) dest
;
3239 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
3240 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3243 wxNotifyEvent
* _arg0
;
3244 PyObject
* _argo0
= 0;
3245 char *_kwnames
[] = { "self", NULL
};
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
3251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
3258 wxPy_BEGIN_ALLOW_THREADS
;
3259 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
3261 wxPy_END_ALLOW_THREADS
;
3262 } _resultobj
= Py_BuildValue("i",_result
);
3266 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
3267 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3269 wxNotifyEvent
* _arg0
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
3284 wxPy_BEGIN_ALLOW_THREADS
;
3285 wxNotifyEvent_Veto(_arg0
);
3287 wxPy_END_ALLOW_THREADS
;
3288 } Py_INCREF(Py_None
);
3289 _resultobj
= Py_None
;
3293 static void *SwigwxPyEventTowxEvent(void *ptr
) {
3296 src
= (wxPyEvent
*) ptr
;
3297 dest
= (wxEvent
*) src
;
3298 return (void *) dest
;
3301 #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
3302 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
* _resultobj
;
3304 wxPyEvent
* _result
;
3305 int _arg0
= (int ) 0;
3306 PyObject
* _arg1
= (PyObject
*) Py_None
;
3307 PyObject
* _obj1
= 0;
3308 char *_kwnames
[] = { "id","userData", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxPyEvent",_kwnames
,&_arg0
,&_obj1
))
3319 wxPy_BEGIN_ALLOW_THREADS
;
3320 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
,_arg1
);
3322 wxPy_END_ALLOW_THREADS
;
3324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
3325 _resultobj
= Py_BuildValue("s",_ptemp
);
3328 _resultobj
= Py_None
;
3333 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
3334 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 delete_wxPyEvent(_arg0
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define wxPyEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0))
3361 static PyObject
*_wrap_wxPyEvent_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3365 PyObject
* _argo0
= 0;
3366 PyObject
* _obj1
= 0;
3367 char *_kwnames
[] = { "self","userData", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetPyData",_kwnames
,&_argo0
,&_obj1
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetPyData. Expected _wxPyEvent_p.");
3383 wxPy_BEGIN_ALLOW_THREADS
;
3384 wxPyEvent_SetPyData(_arg0
,_arg1
);
3386 wxPy_END_ALLOW_THREADS
;
3387 } Py_INCREF(Py_None
);
3388 _resultobj
= Py_None
;
3392 #define wxPyEvent_GetPyData(_swigobj) (_swigobj->GetPyData())
3393 static PyObject
*_wrap_wxPyEvent_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
* _resultobj
;
3397 PyObject
* _argo0
= 0;
3398 char *_kwnames
[] = { "self", NULL
};
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetPyData",_kwnames
,&_argo0
))
3404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetPyData. Expected _wxPyEvent_p.");
3411 wxPy_BEGIN_ALLOW_THREADS
;
3412 _result
= (PyObject
*)wxPyEvent_GetPyData(_arg0
);
3414 wxPy_END_ALLOW_THREADS
;
3416 _resultobj
= _result
;
3421 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
3422 wxPyCommandEvent
*src
;
3423 wxCommandEvent
*dest
;
3424 src
= (wxPyCommandEvent
*) ptr
;
3425 dest
= (wxCommandEvent
*) src
;
3426 return (void *) dest
;
3429 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
3430 wxPyCommandEvent
*src
;
3432 src
= (wxPyCommandEvent
*) ptr
;
3433 dest
= (wxEvent
*) src
;
3434 return (void *) dest
;
3437 #define new_wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2) (new wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2))
3438 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3440 wxPyCommandEvent
* _result
;
3441 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
3442 int _arg1
= (int ) 0;
3443 PyObject
* _arg2
= (PyObject
*) Py_None
;
3444 PyObject
* _obj2
= 0;
3445 char *_kwnames
[] = { "commandType","id","userData", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiO:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
,&_obj2
))
3456 wxPy_BEGIN_ALLOW_THREADS
;
3457 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
,_arg2
);
3459 wxPy_END_ALLOW_THREADS
;
3461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
3462 _resultobj
= Py_BuildValue("s",_ptemp
);
3465 _resultobj
= Py_None
;
3470 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
3471 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
* _resultobj
;
3473 wxPyCommandEvent
* _arg0
;
3474 PyObject
* _argo0
= 0;
3475 char *_kwnames
[] = { "self", NULL
};
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
3481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 delete_wxPyCommandEvent(_arg0
);
3491 wxPy_END_ALLOW_THREADS
;
3492 } Py_INCREF(Py_None
);
3493 _resultobj
= Py_None
;
3497 #define wxPyCommandEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0))
3498 static PyObject
*_wrap_wxPyCommandEvent_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3500 wxPyCommandEvent
* _arg0
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _obj1
= 0;
3504 char *_kwnames
[] = { "self","userData", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetPyData",_kwnames
,&_argo0
,&_obj1
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetPyData. Expected _wxPyCommandEvent_p.");
3520 wxPy_BEGIN_ALLOW_THREADS
;
3521 wxPyCommandEvent_SetPyData(_arg0
,_arg1
);
3523 wxPy_END_ALLOW_THREADS
;
3524 } Py_INCREF(Py_None
);
3525 _resultobj
= Py_None
;
3529 #define wxPyCommandEvent_GetPyData(_swigobj) (_swigobj->GetPyData())
3530 static PyObject
*_wrap_wxPyCommandEvent_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
* _resultobj
;
3533 wxPyCommandEvent
* _arg0
;
3534 PyObject
* _argo0
= 0;
3535 char *_kwnames
[] = { "self", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetPyData",_kwnames
,&_argo0
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetPyData. Expected _wxPyCommandEvent_p.");
3548 wxPy_BEGIN_ALLOW_THREADS
;
3549 _result
= (PyObject
*)wxPyCommandEvent_GetPyData(_arg0
);
3551 wxPy_END_ALLOW_THREADS
;
3553 _resultobj
= _result
;
3558 static PyMethodDef eventscMethods
[] = {
3559 { "wxPyCommandEvent_GetPyData", (PyCFunction
) _wrap_wxPyCommandEvent_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
3560 { "wxPyCommandEvent_SetPyData", (PyCFunction
) _wrap_wxPyCommandEvent_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
3561 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
3562 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
3563 { "wxPyEvent_GetPyData", (PyCFunction
) _wrap_wxPyEvent_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
3564 { "wxPyEvent_SetPyData", (PyCFunction
) _wrap_wxPyEvent_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
3565 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
3566 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
3567 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
3568 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
3569 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3570 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
3571 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
3572 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3573 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
3574 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
3575 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3576 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3577 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
3578 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
3579 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
3580 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
3581 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
3582 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3583 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3584 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
3585 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
3586 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
3587 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
3588 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
3589 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
3590 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3591 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
3592 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
3593 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
3594 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
3595 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
3596 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
3597 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
3598 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3599 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
3600 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
3601 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
3602 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
3603 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
3604 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3605 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
3606 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
3607 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
3608 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
3609 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
3610 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3611 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3612 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
3613 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3614 { "wxMouseEvent_Position", (PyCFunction
) _wrap_wxMouseEvent_Position
, METH_VARARGS
| METH_KEYWORDS
},
3615 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
3616 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
3617 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
3618 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
3619 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3620 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3621 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3622 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
3623 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
3624 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
3625 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
3626 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
3627 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
3628 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
3629 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
3630 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
3631 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
3632 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
3633 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
3634 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
3635 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
3636 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
3637 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
3638 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
3639 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
3640 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
3641 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3642 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
3643 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3644 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
3645 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
3646 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
3647 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
3648 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
3649 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
3650 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_Checked
, METH_VARARGS
| METH_KEYWORDS
},
3651 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
3652 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
3653 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
3654 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
3655 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
3656 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
3657 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3658 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
3659 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
3660 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3661 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
3662 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
3663 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
3664 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
3665 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3666 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
3667 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
3674 * This table is used by the pointer type-checker
3676 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3677 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3678 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
3679 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
3680 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
3681 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
3682 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3683 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3684 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3685 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3686 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3687 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3688 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3689 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3690 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3691 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3692 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3693 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3694 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3695 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3696 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3697 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3698 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
3699 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
3700 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3701 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3702 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3703 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3704 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3705 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3706 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3707 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3708 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3709 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3710 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3711 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3712 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3713 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3714 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3715 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3716 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3717 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3718 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3719 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3720 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
3721 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
3722 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3723 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3724 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3725 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3726 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3727 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3728 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3729 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3730 { "_wxEvent","_class_wxEvent",0},
3731 { "_class_wxActivateEvent","_wxActivateEvent",0},
3732 { "_signed_long","_long",0},
3733 { "_wxMenuEvent","_class_wxMenuEvent",0},
3734 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
3735 { "_wxPrintQuality","_int",0},
3736 { "_wxPrintQuality","_signed_int",0},
3737 { "_wxPrintQuality","_unsigned_int",0},
3738 { "_wxPrintQuality","_wxWindowID",0},
3739 { "_wxPrintQuality","_uint",0},
3740 { "_wxPrintQuality","_EBool",0},
3741 { "_wxPrintQuality","_size_t",0},
3742 { "_class_wxRegionIterator","_wxRegionIterator",0},
3743 { "_wxPaintEvent","_class_wxPaintEvent",0},
3744 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3745 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3746 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3747 { "_byte","_unsigned_char",0},
3748 { "_long","_unsigned_long",0},
3749 { "_long","_signed_long",0},
3750 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3751 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3752 { "_wxSpinEvent","_class_wxSpinEvent",0},
3753 { "_size_t","_wxPrintQuality",0},
3754 { "_size_t","_unsigned_int",0},
3755 { "_size_t","_int",0},
3756 { "_size_t","_wxWindowID",0},
3757 { "_size_t","_uint",0},
3758 { "_class_wxRealPoint","_wxRealPoint",0},
3759 { "_class_wxPaintEvent","_wxPaintEvent",0},
3760 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3761 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3762 { "_wxPyEvent","_class_wxPyEvent",0},
3763 { "_class_wxKeyEvent","_wxKeyEvent",0},
3764 { "_wxIdleEvent","_class_wxIdleEvent",0},
3765 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3766 { "_wxShowEvent","_class_wxShowEvent",0},
3767 { "_uint","_wxPrintQuality",0},
3768 { "_uint","_size_t",0},
3769 { "_uint","_unsigned_int",0},
3770 { "_uint","_int",0},
3771 { "_uint","_wxWindowID",0},
3772 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
3773 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
3774 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
3775 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
3776 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3777 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
3778 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3779 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
3780 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3781 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
3782 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3783 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
3784 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3785 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
3786 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3787 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
3788 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3789 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
3790 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3791 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
3792 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
3793 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
3794 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3795 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
3796 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3797 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
3798 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3799 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
3800 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3801 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
3802 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3803 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
3804 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3805 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
3806 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3807 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
3808 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3809 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
3810 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3811 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
3812 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3813 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
3814 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
3815 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
3816 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3817 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
3818 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3819 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
3820 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3821 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
3822 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3823 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
3824 { "_class_wxEvent","_wxEvent",0},
3825 { "_wxRect","_class_wxRect",0},
3826 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
3827 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
3828 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3829 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3830 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3831 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3832 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3833 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3834 { "_wxCommandEvent","_class_wxCommandEvent",0},
3835 { "_wxSizeEvent","_class_wxSizeEvent",0},
3836 { "_wxPoint","_class_wxPoint",0},
3837 { "_wxPyTimer","_class_wxPyTimer",0},
3838 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3839 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3840 { "_class_wxPyEvent","_wxPyEvent",0},
3841 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3842 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3843 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3844 { "_wxScrollEvent","_class_wxScrollEvent",0},
3845 { "_EBool","_wxPrintQuality",0},
3846 { "_EBool","_signed_int",0},
3847 { "_EBool","_int",0},
3848 { "_EBool","_wxWindowID",0},
3849 { "_class_wxRegion","_wxRegion",0},
3850 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3851 { "_wxCloseEvent","_class_wxCloseEvent",0},
3852 { "_unsigned_long","_long",0},
3853 { "_class_wxRect","_wxRect",0},
3854 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3855 { "_class_wxPyTimer","_wxPyTimer",0},
3856 { "_wxFocusEvent","_class_wxFocusEvent",0},
3857 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3858 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3859 { "_signed_int","_wxPrintQuality",0},
3860 { "_signed_int","_EBool",0},
3861 { "_signed_int","_wxWindowID",0},
3862 { "_signed_int","_int",0},
3863 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3864 { "_class_wxMoveEvent","_wxMoveEvent",0},
3865 { "_WXTYPE","_short",0},
3866 { "_WXTYPE","_signed_short",0},
3867 { "_WXTYPE","_unsigned_short",0},
3868 { "_unsigned_short","_WXTYPE",0},
3869 { "_unsigned_short","_short",0},
3870 { "_class_wxCloseEvent","_wxCloseEvent",0},
3871 { "_class_wxMenuEvent","_wxMenuEvent",0},
3872 { "_wxMouseEvent","_class_wxMouseEvent",0},
3873 { "_class_wxPoint","_wxPoint",0},
3874 { "_wxRealPoint","_class_wxRealPoint",0},
3875 { "_signed_short","_WXTYPE",0},
3876 { "_signed_short","_short",0},
3877 { "_class_wxFocusEvent","_wxFocusEvent",0},
3878 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3879 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3880 { "_unsigned_char","_byte",0},
3881 { "_unsigned_int","_wxPrintQuality",0},
3882 { "_unsigned_int","_size_t",0},
3883 { "_unsigned_int","_uint",0},
3884 { "_unsigned_int","_wxWindowID",0},
3885 { "_unsigned_int","_int",0},
3886 { "_short","_WXTYPE",0},
3887 { "_short","_unsigned_short",0},
3888 { "_short","_signed_short",0},
3889 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3890 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
3891 { "_class_wxScrollEvent","_wxScrollEvent",0},
3892 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3893 { "_wxWindowID","_wxPrintQuality",0},
3894 { "_wxWindowID","_size_t",0},
3895 { "_wxWindowID","_EBool",0},
3896 { "_wxWindowID","_uint",0},
3897 { "_wxWindowID","_int",0},
3898 { "_wxWindowID","_signed_int",0},
3899 { "_wxWindowID","_unsigned_int",0},
3900 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3901 { "_int","_wxPrintQuality",0},
3902 { "_int","_size_t",0},
3903 { "_int","_EBool",0},
3904 { "_int","_uint",0},
3905 { "_int","_wxWindowID",0},
3906 { "_int","_unsigned_int",0},
3907 { "_int","_signed_int",0},
3908 { "_class_wxMouseEvent","_wxMouseEvent",0},
3909 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3910 { "_class_wxSpinEvent","_wxSpinEvent",0},
3911 { "_wxSize","_class_wxSize",0},
3912 { "_wxRegionIterator","_class_wxRegionIterator",0},
3913 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3914 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3915 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3916 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3917 { "_class_wxIdleEvent","_wxIdleEvent",0},
3918 { "_wxEraseEvent","_class_wxEraseEvent",0},
3919 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3920 { "_wxRegion","_class_wxRegion",0},
3921 { "_class_wxShowEvent","_wxShowEvent",0},
3922 { "_wxActivateEvent","_class_wxActivateEvent",0},
3923 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
3924 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
3925 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3926 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
3927 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3928 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
3929 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3930 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
3931 { "_class_wxCommandEvent","_wxCommandEvent",0},
3932 { "_class_wxSizeEvent","_wxSizeEvent",0},
3933 { "_class_wxSize","_wxSize",0},
3934 { "_wxKeyEvent","_class_wxKeyEvent",0},
3935 { "_wxMoveEvent","_class_wxMoveEvent",0},
3936 { "_class_wxEraseEvent","_wxEraseEvent",0},
3939 static PyObject
*SWIG_globals
;
3943 SWIGEXPORT(void) initeventsc() {
3945 SWIG_globals
= SWIG_newvarlink();
3946 m
= Py_InitModule("eventsc", eventscMethods
);
3947 d
= PyModule_GetDict(m
);
3950 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3951 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);