2 * FILE : gtk/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 new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
193 static PyObject
*_wrap_new_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
196 int _arg0
= (int ) 0;
197 char *_kwnames
[] = { "id", NULL
};
201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxEvent",_kwnames
,&_arg0
))
204 wxPy_BEGIN_ALLOW_THREADS
;
205 _result
= (wxEvent
*)new_wxEvent(_arg0
);
207 wxPy_END_ALLOW_THREADS
;
209 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
210 _resultobj
= Py_BuildValue("s",_ptemp
);
213 _resultobj
= Py_None
;
218 #define delete_wxEvent(_swigobj) (delete _swigobj)
219 static PyObject
*_wrap_delete_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
222 PyObject
* _argo0
= 0;
223 char *_kwnames
[] = { "self", NULL
};
226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEvent",_kwnames
,&_argo0
))
229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
236 wxPy_BEGIN_ALLOW_THREADS
;
237 delete_wxEvent(_arg0
);
239 wxPy_END_ALLOW_THREADS
;
240 } Py_INCREF(Py_None
);
241 _resultobj
= Py_None
;
245 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
246 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
250 PyObject
* _argo0
= 0;
251 char *_kwnames
[] = { "self", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
268 wxPy_END_ALLOW_THREADS
;
270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
271 _resultobj
= Py_BuildValue("s",_ptemp
);
274 _resultobj
= Py_None
;
279 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
280 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
284 PyObject
* _argo0
= 0;
285 char *_kwnames
[] = { "self", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
298 wxPy_BEGIN_ALLOW_THREADS
;
299 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
301 wxPy_END_ALLOW_THREADS
;
302 } _resultobj
= Py_BuildValue("i",_result
);
306 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
307 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
308 PyObject
* _resultobj
;
311 PyObject
* _argo0
= 0;
312 char *_kwnames
[] = { "self", NULL
};
315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
325 wxPy_BEGIN_ALLOW_THREADS
;
326 _result
= (int )wxEvent_GetId(_arg0
);
328 wxPy_END_ALLOW_THREADS
;
329 } _resultobj
= Py_BuildValue("i",_result
);
333 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
334 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
338 PyObject
* _argo0
= 0;
339 char *_kwnames
[] = { "self", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
352 wxPy_BEGIN_ALLOW_THREADS
;
353 _result
= (bool )wxEvent_GetSkipped(_arg0
);
355 wxPy_END_ALLOW_THREADS
;
356 } _resultobj
= Py_BuildValue("i",_result
);
360 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
361 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
362 PyObject
* _resultobj
;
365 PyObject
* _argo0
= 0;
366 char *_kwnames
[] = { "self", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 _result
= (long )wxEvent_GetTimestamp(_arg0
);
382 wxPy_END_ALLOW_THREADS
;
383 } _resultobj
= Py_BuildValue("l",_result
);
387 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
388 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
389 PyObject
* _resultobj
;
392 PyObject
* _argo0
= 0;
393 PyObject
* _argo1
= 0;
394 char *_kwnames
[] = { "self","object", NULL
};
397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
407 if (_argo1
== Py_None
) { _arg1
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
414 wxPy_BEGIN_ALLOW_THREADS
;
415 wxEvent_SetEventObject(_arg0
,_arg1
);
417 wxPy_END_ALLOW_THREADS
;
418 } Py_INCREF(Py_None
);
419 _resultobj
= Py_None
;
423 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
424 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self","typ", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
442 wxPy_BEGIN_ALLOW_THREADS
;
443 wxEvent_SetEventType(_arg0
,_arg1
);
445 wxPy_END_ALLOW_THREADS
;
446 } Py_INCREF(Py_None
);
447 _resultobj
= Py_None
;
451 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
452 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self","id", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 wxEvent_SetId(_arg0
,_arg1
);
473 wxPy_END_ALLOW_THREADS
;
474 } Py_INCREF(Py_None
);
475 _resultobj
= Py_None
;
479 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
480 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self","timeStamp", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
499 wxEvent_SetTimestamp(_arg0
,_arg1
);
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
507 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
508 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
509 PyObject
* _resultobj
;
511 bool _arg1
= (bool ) TRUE
;
512 PyObject
* _argo0
= 0;
513 int tempbool1
= (int) TRUE
;
514 char *_kwnames
[] = { "self","skip", NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
526 _arg1
= (bool ) tempbool1
;
528 wxPy_BEGIN_ALLOW_THREADS
;
529 wxEvent_Skip(_arg0
,_arg1
);
531 wxPy_END_ALLOW_THREADS
;
532 } Py_INCREF(Py_None
);
533 _resultobj
= Py_None
;
537 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
540 src
= (wxSizeEvent
*) ptr
;
541 dest
= (wxEvent
*) src
;
542 return (void *) dest
;
545 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
546 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
548 wxSizeEvent
* _result
;
550 int _arg1
= (int ) 0;
552 PyObject
* _obj0
= 0;
553 char *_kwnames
[] = { "sz","id", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxSizeEvent",_kwnames
,&_obj0
,&_arg1
))
561 if (! wxSize_helper(_obj0
, &_arg0
))
565 wxPy_BEGIN_ALLOW_THREADS
;
566 _result
= (wxSizeEvent
*)new_wxSizeEvent(*_arg0
,_arg1
);
568 wxPy_END_ALLOW_THREADS
;
570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizeEvent_p");
571 _resultobj
= Py_BuildValue("s",_ptemp
);
574 _resultobj
= Py_None
;
579 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
580 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
581 PyObject
* _resultobj
;
584 PyObject
* _argo0
= 0;
585 char *_kwnames
[] = { "self", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
599 wxPy_BEGIN_ALLOW_THREADS
;
600 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
602 wxPy_END_ALLOW_THREADS
;
603 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
604 _resultobj
= Py_BuildValue("s",_ptemp
);
608 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
611 src
= (wxCloseEvent
*) ptr
;
612 dest
= (wxEvent
*) src
;
613 return (void *) dest
;
616 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
617 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
618 PyObject
* _resultobj
;
619 wxCloseEvent
* _result
;
620 int _arg0
= (int ) 0;
621 int _arg1
= (int ) 0;
622 char *_kwnames
[] = { "commandEventType","id", NULL
};
626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCloseEvent",_kwnames
,&_arg0
,&_arg1
))
629 wxPy_BEGIN_ALLOW_THREADS
;
630 _result
= (wxCloseEvent
*)new_wxCloseEvent(_arg0
,_arg1
);
632 wxPy_END_ALLOW_THREADS
;
634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCloseEvent_p");
635 _resultobj
= Py_BuildValue("s",_ptemp
);
638 _resultobj
= Py_None
;
643 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
644 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
646 wxCloseEvent
* _arg0
;
648 PyObject
* _argo0
= 0;
650 char *_kwnames
[] = { "self","loggingOff", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
662 _arg1
= (bool ) tempbool1
;
664 wxPy_BEGIN_ALLOW_THREADS
;
665 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
667 wxPy_END_ALLOW_THREADS
;
668 } Py_INCREF(Py_None
);
669 _resultobj
= Py_None
;
673 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
674 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
677 wxCloseEvent
* _arg0
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
695 wxPy_END_ALLOW_THREADS
;
696 } _resultobj
= Py_BuildValue("i",_result
);
700 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
701 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
703 wxCloseEvent
* _arg0
;
704 bool _arg1
= (bool ) TRUE
;
705 PyObject
* _argo0
= 0;
706 int tempbool1
= (int) TRUE
;
707 char *_kwnames
[] = { "self","veto", NULL
};
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
719 _arg1
= (bool ) tempbool1
;
721 wxPy_BEGIN_ALLOW_THREADS
;
722 wxCloseEvent_Veto(_arg0
,_arg1
);
724 wxPy_END_ALLOW_THREADS
;
725 } Py_INCREF(Py_None
);
726 _resultobj
= Py_None
;
730 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
731 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
732 PyObject
* _resultobj
;
734 wxCloseEvent
* _arg0
;
735 PyObject
* _argo0
= 0;
736 char *_kwnames
[] = { "self", NULL
};
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
749 wxPy_BEGIN_ALLOW_THREADS
;
750 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
752 wxPy_END_ALLOW_THREADS
;
753 } _resultobj
= Py_BuildValue("i",_result
);
757 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
758 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
761 wxCloseEvent
* _arg0
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
776 wxPy_BEGIN_ALLOW_THREADS
;
777 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
779 wxPy_END_ALLOW_THREADS
;
780 } _resultobj
= Py_BuildValue("i",_result
);
784 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
785 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
786 PyObject
* _resultobj
;
787 wxCloseEvent
* _arg0
;
789 PyObject
* _argo0
= 0;
791 char *_kwnames
[] = { "self","canVeto", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
803 _arg1
= (bool ) tempbool1
;
805 wxPy_BEGIN_ALLOW_THREADS
;
806 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
808 wxPy_END_ALLOW_THREADS
;
809 } Py_INCREF(Py_None
);
810 _resultobj
= Py_None
;
814 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
817 src
= (wxCommandEvent
*) ptr
;
818 dest
= (wxEvent
*) src
;
819 return (void *) dest
;
822 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
823 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
825 wxCommandEvent
* _result
;
826 int _arg0
= (int ) 0;
827 int _arg1
= (int ) 0;
828 char *_kwnames
[] = { "commandEventType","id", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCommandEvent",_kwnames
,&_arg0
,&_arg1
))
835 wxPy_BEGIN_ALLOW_THREADS
;
836 _result
= (wxCommandEvent
*)new_wxCommandEvent(_arg0
,_arg1
);
838 wxPy_END_ALLOW_THREADS
;
840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCommandEvent_p");
841 _resultobj
= Py_BuildValue("s",_ptemp
);
844 _resultobj
= Py_None
;
849 #define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
850 static PyObject
*_wrap_wxCommandEvent_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 PyObject
* _resultobj
;
853 wxCommandEvent
* _arg0
;
854 PyObject
* _argo0
= 0;
855 char *_kwnames
[] = { "self", NULL
};
858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_Checked",_kwnames
,&_argo0
))
861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
868 wxPy_BEGIN_ALLOW_THREADS
;
869 _result
= (bool )wxCommandEvent_Checked(_arg0
);
871 wxPy_END_ALLOW_THREADS
;
872 } _resultobj
= Py_BuildValue("i",_result
);
876 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
877 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 PyObject
* _resultobj
;
880 wxCommandEvent
* _arg0
;
881 PyObject
* _argo0
= 0;
882 char *_kwnames
[] = { "self", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
895 wxPy_BEGIN_ALLOW_THREADS
;
896 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
898 wxPy_END_ALLOW_THREADS
;
899 } _resultobj
= Py_BuildValue("l",_result
);
903 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
904 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 wxCommandEvent
* _arg0
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
922 wxPy_BEGIN_ALLOW_THREADS
;
923 _result
= (int )wxCommandEvent_GetInt(_arg0
);
925 wxPy_END_ALLOW_THREADS
;
926 } _resultobj
= Py_BuildValue("i",_result
);
930 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
931 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
934 wxCommandEvent
* _arg0
;
935 PyObject
* _argo0
= 0;
936 char *_kwnames
[] = { "self", NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
949 wxPy_BEGIN_ALLOW_THREADS
;
950 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
952 wxPy_END_ALLOW_THREADS
;
953 } _resultobj
= Py_BuildValue("i",_result
);
957 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
958 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
961 wxCommandEvent
* _arg0
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
976 wxPy_BEGIN_ALLOW_THREADS
;
977 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
979 wxPy_END_ALLOW_THREADS
;
981 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
989 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
990 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
993 wxCommandEvent
* _arg0
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
1011 wxPy_END_ALLOW_THREADS
;
1012 } _resultobj
= Py_BuildValue("i",_result
);
1016 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1018 wxCommandEvent
*dest
;
1019 src
= (wxScrollEvent
*) ptr
;
1020 dest
= (wxCommandEvent
*) src
;
1021 return (void *) dest
;
1024 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1027 src
= (wxScrollEvent
*) ptr
;
1028 dest
= (wxEvent
*) src
;
1029 return (void *) dest
;
1032 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1033 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1035 wxScrollEvent
* _result
;
1036 int _arg0
= (int ) 0;
1037 int _arg1
= (int ) 0;
1038 int _arg2
= (int ) 0;
1039 int _arg3
= (int ) 0;
1040 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1047 wxPy_BEGIN_ALLOW_THREADS
;
1048 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1050 wxPy_END_ALLOW_THREADS
;
1052 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1053 _resultobj
= Py_BuildValue("s",_ptemp
);
1056 _resultobj
= Py_None
;
1061 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1062 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
* _resultobj
;
1065 wxScrollEvent
* _arg0
;
1066 PyObject
* _argo0
= 0;
1067 char *_kwnames
[] = { "self", NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1080 wxPy_BEGIN_ALLOW_THREADS
;
1081 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1083 wxPy_END_ALLOW_THREADS
;
1084 } _resultobj
= Py_BuildValue("i",_result
);
1088 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1089 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
* _resultobj
;
1092 wxScrollEvent
* _arg0
;
1093 PyObject
* _argo0
= 0;
1094 char *_kwnames
[] = { "self", NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1110 wxPy_END_ALLOW_THREADS
;
1111 } _resultobj
= Py_BuildValue("i",_result
);
1115 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1116 wxScrollWinEvent
*src
;
1118 src
= (wxScrollWinEvent
*) ptr
;
1119 dest
= (wxEvent
*) src
;
1120 return (void *) dest
;
1123 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1124 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1126 wxScrollWinEvent
* _result
;
1127 int _arg0
= (int ) 0;
1128 int _arg1
= (int ) 0;
1129 int _arg2
= (int ) 0;
1130 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1140 wxPy_END_ALLOW_THREADS
;
1142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1143 _resultobj
= Py_BuildValue("s",_ptemp
);
1146 _resultobj
= Py_None
;
1151 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1152 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1155 wxScrollWinEvent
* _arg0
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1170 wxPy_BEGIN_ALLOW_THREADS
;
1171 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1173 wxPy_END_ALLOW_THREADS
;
1174 } _resultobj
= Py_BuildValue("i",_result
);
1178 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1179 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1182 wxScrollWinEvent
* _arg0
;
1183 PyObject
* _argo0
= 0;
1184 char *_kwnames
[] = { "self", NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1197 wxPy_BEGIN_ALLOW_THREADS
;
1198 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1200 wxPy_END_ALLOW_THREADS
;
1201 } _resultobj
= Py_BuildValue("i",_result
);
1205 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1207 wxScrollEvent
*dest
;
1208 src
= (wxSpinEvent
*) ptr
;
1209 dest
= (wxScrollEvent
*) src
;
1210 return (void *) dest
;
1213 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1215 wxCommandEvent
*dest
;
1216 src
= (wxSpinEvent
*) ptr
;
1217 dest
= (wxCommandEvent
*) src
;
1218 return (void *) dest
;
1221 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1224 src
= (wxSpinEvent
*) ptr
;
1225 dest
= (wxEvent
*) src
;
1226 return (void *) dest
;
1229 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1230 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1232 wxSpinEvent
* _result
;
1233 int _arg0
= (int ) 0;
1234 int _arg1
= (int ) 0;
1235 char *_kwnames
[] = { "commandType","id", NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1245 wxPy_END_ALLOW_THREADS
;
1247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1248 _resultobj
= Py_BuildValue("s",_ptemp
);
1251 _resultobj
= Py_None
;
1256 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1259 src
= (wxMouseEvent
*) ptr
;
1260 dest
= (wxEvent
*) src
;
1261 return (void *) dest
;
1264 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1265 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1267 wxMouseEvent
* _result
;
1268 int _arg0
= (int ) 0;
1269 char *_kwnames
[] = { "mouseEventType", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1276 wxPy_BEGIN_ALLOW_THREADS
;
1277 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1279 wxPy_END_ALLOW_THREADS
;
1281 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1282 _resultobj
= Py_BuildValue("s",_ptemp
);
1285 _resultobj
= Py_None
;
1290 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1291 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1294 wxMouseEvent
* _arg0
;
1295 PyObject
* _argo0
= 0;
1296 char *_kwnames
[] = { "self", NULL
};
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1309 wxPy_BEGIN_ALLOW_THREADS
;
1310 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1312 wxPy_END_ALLOW_THREADS
;
1313 } _resultobj
= Py_BuildValue("i",_result
);
1317 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1318 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1321 wxMouseEvent
* _arg0
;
1322 int _arg1
= (int ) -1;
1323 PyObject
* _argo0
= 0;
1324 char *_kwnames
[] = { "self","but", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1337 wxPy_BEGIN_ALLOW_THREADS
;
1338 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1340 wxPy_END_ALLOW_THREADS
;
1341 } _resultobj
= Py_BuildValue("i",_result
);
1345 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1346 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1349 wxMouseEvent
* _arg0
;
1350 int _arg1
= (int ) -1;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self","but", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } _resultobj
= Py_BuildValue("i",_result
);
1373 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1374 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1377 wxMouseEvent
* _arg0
;
1378 int _arg1
= (int ) -1;
1379 PyObject
* _argo0
= 0;
1380 char *_kwnames
[] = { "self","but", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1393 wxPy_BEGIN_ALLOW_THREADS
;
1394 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1396 wxPy_END_ALLOW_THREADS
;
1397 } _resultobj
= Py_BuildValue("i",_result
);
1401 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1402 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1405 wxMouseEvent
* _arg0
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self","but", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1424 wxPy_END_ALLOW_THREADS
;
1425 } _resultobj
= Py_BuildValue("i",_result
);
1429 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1430 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1433 wxMouseEvent
* _arg0
;
1435 PyObject
* _argo0
= 0;
1436 char *_kwnames
[] = { "self","but", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1449 wxPy_BEGIN_ALLOW_THREADS
;
1450 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1452 wxPy_END_ALLOW_THREADS
;
1453 } _resultobj
= Py_BuildValue("i",_result
);
1457 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1458 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1461 wxMouseEvent
* _arg0
;
1462 PyObject
* _argo0
= 0;
1463 char *_kwnames
[] = { "self", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1476 wxPy_BEGIN_ALLOW_THREADS
;
1477 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1479 wxPy_END_ALLOW_THREADS
;
1480 } _resultobj
= Py_BuildValue("i",_result
);
1484 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1485 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1488 wxMouseEvent
* _arg0
;
1489 PyObject
* _argo0
= 0;
1490 char *_kwnames
[] = { "self", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1506 wxPy_END_ALLOW_THREADS
;
1507 } _resultobj
= Py_BuildValue("i",_result
);
1511 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1512 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1515 wxMouseEvent
* _arg0
;
1516 PyObject
* _argo0
= 0;
1517 char *_kwnames
[] = { "self", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1530 wxPy_BEGIN_ALLOW_THREADS
;
1531 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1533 wxPy_END_ALLOW_THREADS
;
1534 } _resultobj
= Py_BuildValue("i",_result
);
1538 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1539 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1542 wxMouseEvent
* _arg0
;
1543 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "self", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1557 wxPy_BEGIN_ALLOW_THREADS
;
1558 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1560 wxPy_END_ALLOW_THREADS
;
1561 } _resultobj
= Py_BuildValue("i",_result
);
1565 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1566 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
* _resultobj
;
1569 wxMouseEvent
* _arg0
;
1570 PyObject
* _argo0
= 0;
1571 char *_kwnames
[] = { "self", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1584 wxPy_BEGIN_ALLOW_THREADS
;
1585 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1587 wxPy_END_ALLOW_THREADS
;
1588 } _resultobj
= Py_BuildValue("i",_result
);
1592 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1593 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
* _resultobj
;
1596 wxMouseEvent
* _arg0
;
1597 PyObject
* _argo0
= 0;
1598 char *_kwnames
[] = { "self", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1614 wxPy_END_ALLOW_THREADS
;
1615 } _resultobj
= Py_BuildValue("i",_result
);
1619 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1620 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1623 wxMouseEvent
* _arg0
;
1624 PyObject
* _argo0
= 0;
1625 char *_kwnames
[] = { "self", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1638 wxPy_BEGIN_ALLOW_THREADS
;
1639 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1641 wxPy_END_ALLOW_THREADS
;
1642 } _resultobj
= Py_BuildValue("i",_result
);
1646 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1647 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
* _resultobj
;
1650 wxMouseEvent
* _arg0
;
1651 PyObject
* _argo0
= 0;
1652 char *_kwnames
[] = { "self", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1668 wxPy_END_ALLOW_THREADS
;
1669 } _resultobj
= Py_BuildValue("i",_result
);
1673 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1674 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1677 wxMouseEvent
* _arg0
;
1678 PyObject
* _argo0
= 0;
1679 char *_kwnames
[] = { "self", NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1692 wxPy_BEGIN_ALLOW_THREADS
;
1693 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1695 wxPy_END_ALLOW_THREADS
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1701 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1704 wxMouseEvent
* _arg0
;
1705 PyObject
* _argo0
= 0;
1706 char *_kwnames
[] = { "self", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1722 wxPy_END_ALLOW_THREADS
;
1723 } _resultobj
= Py_BuildValue("i",_result
);
1727 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1728 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1731 wxMouseEvent
* _arg0
;
1732 PyObject
* _argo0
= 0;
1733 char *_kwnames
[] = { "self", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1749 wxPy_END_ALLOW_THREADS
;
1750 } _resultobj
= Py_BuildValue("i",_result
);
1754 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1755 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1758 wxMouseEvent
* _arg0
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "self", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1773 wxPy_BEGIN_ALLOW_THREADS
;
1774 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1776 wxPy_END_ALLOW_THREADS
;
1777 } _resultobj
= Py_BuildValue("i",_result
);
1781 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1782 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1785 wxMouseEvent
* _arg0
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1800 wxPy_BEGIN_ALLOW_THREADS
;
1801 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1803 wxPy_END_ALLOW_THREADS
;
1804 } _resultobj
= Py_BuildValue("i",_result
);
1808 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1809 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1812 wxMouseEvent
* _arg0
;
1813 PyObject
* _argo0
= 0;
1814 char *_kwnames
[] = { "self", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1827 wxPy_BEGIN_ALLOW_THREADS
;
1828 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1830 wxPy_END_ALLOW_THREADS
;
1831 } _resultobj
= Py_BuildValue("i",_result
);
1835 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1836 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1839 wxMouseEvent
* _arg0
;
1840 PyObject
* _argo0
= 0;
1841 char *_kwnames
[] = { "self", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
1847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1854 wxPy_BEGIN_ALLOW_THREADS
;
1855 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
1857 wxPy_END_ALLOW_THREADS
;
1858 } _resultobj
= Py_BuildValue("i",_result
);
1862 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
1863 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1866 wxMouseEvent
* _arg0
;
1867 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
1874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
1881 wxPy_BEGIN_ALLOW_THREADS
;
1882 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
1884 wxPy_END_ALLOW_THREADS
;
1885 } _resultobj
= Py_BuildValue("i",_result
);
1889 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
1890 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1893 wxMouseEvent
* _arg0
;
1894 PyObject
* _argo0
= 0;
1895 char *_kwnames
[] = { "self", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
1901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
1908 wxPy_BEGIN_ALLOW_THREADS
;
1909 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
1911 wxPy_END_ALLOW_THREADS
;
1912 } _resultobj
= Py_BuildValue("i",_result
);
1916 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
1917 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1920 wxMouseEvent
* _arg0
;
1921 PyObject
* _argo0
= 0;
1922 char *_kwnames
[] = { "self", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
1928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 _result
= (bool )wxMouseEvent_Moving(_arg0
);
1938 wxPy_END_ALLOW_THREADS
;
1939 } _resultobj
= Py_BuildValue("i",_result
);
1943 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
1944 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1947 wxMouseEvent
* _arg0
;
1948 PyObject
* _argo0
= 0;
1949 char *_kwnames
[] = { "self", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
1955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
1962 wxPy_BEGIN_ALLOW_THREADS
;
1963 _result
= (bool )wxMouseEvent_Entering(_arg0
);
1965 wxPy_END_ALLOW_THREADS
;
1966 } _resultobj
= Py_BuildValue("i",_result
);
1970 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
1971 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1974 wxMouseEvent
* _arg0
;
1975 PyObject
* _argo0
= 0;
1976 char *_kwnames
[] = { "self", NULL
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
1982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
1989 wxPy_BEGIN_ALLOW_THREADS
;
1990 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
1992 wxPy_END_ALLOW_THREADS
;
1993 } _resultobj
= Py_BuildValue("i",_result
);
1997 #define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
1998 static PyObject
*_wrap_wxMouseEvent_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2000 wxMouseEvent
* _arg0
;
2005 PyObject
* _argo0
= 0;
2006 char *_kwnames
[] = { "self", NULL
};
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Position",_kwnames
,&_argo0
))
2018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 wxMouseEvent_Position(_arg0
,_arg1
,_arg2
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } Py_INCREF(Py_None
);
2030 _resultobj
= Py_None
;
2033 o
= PyInt_FromLong((long) (*_arg1
));
2034 _resultobj
= t_output_helper(_resultobj
, o
);
2038 o
= PyInt_FromLong((long) (*_arg2
));
2039 _resultobj
= t_output_helper(_resultobj
, o
);
2044 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2045 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2048 wxMouseEvent
* _arg0
;
2049 PyObject
* _argo0
= 0;
2050 char *_kwnames
[] = { "self", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2064 wxPy_BEGIN_ALLOW_THREADS
;
2065 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2067 wxPy_END_ALLOW_THREADS
;
2068 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2069 _resultobj
= Py_BuildValue("s",_ptemp
);
2073 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2074 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2077 wxMouseEvent
* _arg0
;
2079 PyObject
* _argo0
= 0;
2080 PyObject
* _argo1
= 0;
2081 char *_kwnames
[] = { "self","dc", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2095 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2102 wxPy_BEGIN_ALLOW_THREADS
;
2103 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2105 wxPy_END_ALLOW_THREADS
;
2106 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2107 _resultobj
= Py_BuildValue("s",_ptemp
);
2111 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2112 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2115 wxMouseEvent
* _arg0
;
2116 PyObject
* _argo0
= 0;
2117 char *_kwnames
[] = { "self", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 _result
= (long )wxMouseEvent_GetX(_arg0
);
2133 wxPy_END_ALLOW_THREADS
;
2134 } _resultobj
= Py_BuildValue("l",_result
);
2138 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2139 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2142 wxMouseEvent
* _arg0
;
2143 PyObject
* _argo0
= 0;
2144 char *_kwnames
[] = { "self", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 _result
= (long )wxMouseEvent_GetY(_arg0
);
2160 wxPy_END_ALLOW_THREADS
;
2161 } _resultobj
= Py_BuildValue("l",_result
);
2165 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
2168 src
= (wxKeyEvent
*) ptr
;
2169 dest
= (wxEvent
*) src
;
2170 return (void *) dest
;
2173 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
2174 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
* _resultobj
;
2176 wxKeyEvent
* _result
;
2178 char *_kwnames
[] = { "keyEventType", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
2185 wxPy_BEGIN_ALLOW_THREADS
;
2186 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
2188 wxPy_END_ALLOW_THREADS
;
2190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
2191 _resultobj
= Py_BuildValue("s",_ptemp
);
2194 _resultobj
= Py_None
;
2199 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
2200 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2204 PyObject
* _argo0
= 0;
2205 char *_kwnames
[] = { "self", NULL
};
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
2211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
2218 wxPy_BEGIN_ALLOW_THREADS
;
2219 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
2221 wxPy_END_ALLOW_THREADS
;
2222 } _resultobj
= Py_BuildValue("i",_result
);
2226 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
2227 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2231 PyObject
* _argo0
= 0;
2232 char *_kwnames
[] = { "self", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
2238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
2248 wxPy_END_ALLOW_THREADS
;
2249 } _resultobj
= Py_BuildValue("i",_result
);
2253 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
2254 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
* _resultobj
;
2258 PyObject
* _argo0
= 0;
2259 char *_kwnames
[] = { "self", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
2265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
2272 wxPy_BEGIN_ALLOW_THREADS
;
2273 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
2275 wxPy_END_ALLOW_THREADS
;
2276 } _resultobj
= Py_BuildValue("i",_result
);
2280 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
2281 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
* _resultobj
;
2285 PyObject
* _argo0
= 0;
2286 char *_kwnames
[] = { "self", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
2292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
2299 wxPy_BEGIN_ALLOW_THREADS
;
2300 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
2302 wxPy_END_ALLOW_THREADS
;
2303 } _resultobj
= Py_BuildValue("i",_result
);
2307 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
2308 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2312 PyObject
* _argo0
= 0;
2313 char *_kwnames
[] = { "self", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } _resultobj
= Py_BuildValue("l",_result
);
2334 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
2335 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 _result
= (long )wxKeyEvent_GetX(_arg0
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } _resultobj
= Py_BuildValue("l",_result
);
2361 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
2362 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2366 PyObject
* _argo0
= 0;
2367 char *_kwnames
[] = { "self", NULL
};
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
2373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
2380 wxPy_BEGIN_ALLOW_THREADS
;
2381 _result
= (long )wxKeyEvent_GetY(_arg0
);
2383 wxPy_END_ALLOW_THREADS
;
2384 } _resultobj
= Py_BuildValue("l",_result
);
2388 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2389 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2393 PyObject
* _argo0
= 0;
2394 char *_kwnames
[] = { "self", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
2411 wxPy_END_ALLOW_THREADS
;
2412 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2413 _resultobj
= Py_BuildValue("s",_ptemp
);
2417 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2418 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2448 wxPy_END_ALLOW_THREADS
;
2449 } Py_INCREF(Py_None
);
2450 _resultobj
= Py_None
;
2453 o
= PyInt_FromLong((long) (*_arg1
));
2454 _resultobj
= t_output_helper(_resultobj
, o
);
2458 o
= PyInt_FromLong((long) (*_arg2
));
2459 _resultobj
= t_output_helper(_resultobj
, o
);
2464 static void *SwigwxNavigationKeyEventTowxCommandEvent(void *ptr
) {
2465 wxNavigationKeyEvent
*src
;
2466 wxCommandEvent
*dest
;
2467 src
= (wxNavigationKeyEvent
*) ptr
;
2468 dest
= (wxCommandEvent
*) src
;
2469 return (void *) dest
;
2472 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
2473 wxNavigationKeyEvent
*src
;
2475 src
= (wxNavigationKeyEvent
*) ptr
;
2476 dest
= (wxEvent
*) src
;
2477 return (void *) dest
;
2480 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
2481 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2483 wxNavigationKeyEvent
* _result
;
2484 char *_kwnames
[] = { NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
2491 wxPy_BEGIN_ALLOW_THREADS
;
2492 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
2494 wxPy_END_ALLOW_THREADS
;
2496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
2497 _resultobj
= Py_BuildValue("s",_ptemp
);
2500 _resultobj
= Py_None
;
2505 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
2506 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2509 wxNavigationKeyEvent
* _arg0
;
2510 PyObject
* _argo0
= 0;
2511 char *_kwnames
[] = { "self", NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
2517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
2524 wxPy_BEGIN_ALLOW_THREADS
;
2525 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
2527 wxPy_END_ALLOW_THREADS
;
2528 } _resultobj
= Py_BuildValue("i",_result
);
2532 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
2533 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2535 wxNavigationKeyEvent
* _arg0
;
2537 PyObject
* _argo0
= 0;
2539 char *_kwnames
[] = { "self","bForward", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
2551 _arg1
= (bool ) tempbool1
;
2553 wxPy_BEGIN_ALLOW_THREADS
;
2554 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
2556 wxPy_END_ALLOW_THREADS
;
2557 } Py_INCREF(Py_None
);
2558 _resultobj
= Py_None
;
2562 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
2563 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2566 wxNavigationKeyEvent
* _arg0
;
2567 PyObject
* _argo0
= 0;
2568 char *_kwnames
[] = { "self", NULL
};
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
2574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
2584 wxPy_END_ALLOW_THREADS
;
2585 } _resultobj
= Py_BuildValue("i",_result
);
2589 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
2590 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2592 wxNavigationKeyEvent
* _arg0
;
2594 PyObject
* _argo0
= 0;
2596 char *_kwnames
[] = { "self","bIs", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
2608 _arg1
= (bool ) tempbool1
;
2610 wxPy_BEGIN_ALLOW_THREADS
;
2611 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
2613 wxPy_END_ALLOW_THREADS
;
2614 } Py_INCREF(Py_None
);
2615 _resultobj
= Py_None
;
2619 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
2620 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
* _resultobj
;
2623 wxNavigationKeyEvent
* _arg0
;
2624 PyObject
* _argo0
= 0;
2625 char *_kwnames
[] = { "self", NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
2632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
2639 wxPy_BEGIN_ALLOW_THREADS
;
2640 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
2642 wxPy_END_ALLOW_THREADS
;
2644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2645 _resultobj
= Py_BuildValue("s",_ptemp
);
2648 _resultobj
= Py_None
;
2653 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
2654 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2656 wxNavigationKeyEvent
* _arg0
;
2658 PyObject
* _argo0
= 0;
2659 PyObject
* _argo1
= 0;
2660 char *_kwnames
[] = { "self","win", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
2673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
2680 wxPy_BEGIN_ALLOW_THREADS
;
2681 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
2683 wxPy_END_ALLOW_THREADS
;
2684 } Py_INCREF(Py_None
);
2685 _resultobj
= Py_None
;
2689 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
2692 src
= (wxMoveEvent
*) ptr
;
2693 dest
= (wxEvent
*) src
;
2694 return (void *) dest
;
2697 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
2698 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2700 wxMoveEvent
* _result
;
2702 int _arg1
= (int ) 0;
2704 PyObject
* _obj0
= 0;
2705 char *_kwnames
[] = { "pt","id", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
2713 if (! wxPoint_helper(_obj0
, &_arg0
))
2717 wxPy_BEGIN_ALLOW_THREADS
;
2718 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
2720 wxPy_END_ALLOW_THREADS
;
2722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
2723 _resultobj
= Py_BuildValue("s",_ptemp
);
2726 _resultobj
= Py_None
;
2731 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2732 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2735 wxMoveEvent
* _arg0
;
2736 PyObject
* _argo0
= 0;
2737 char *_kwnames
[] = { "self", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
2754 wxPy_END_ALLOW_THREADS
;
2755 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2756 _resultobj
= Py_BuildValue("s",_ptemp
);
2760 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
2763 src
= (wxPaintEvent
*) ptr
;
2764 dest
= (wxEvent
*) src
;
2765 return (void *) dest
;
2768 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
2769 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2771 wxPaintEvent
* _result
;
2772 int _arg0
= (int ) 0;
2773 char *_kwnames
[] = { "id", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
2783 wxPy_END_ALLOW_THREADS
;
2785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
2786 _resultobj
= Py_BuildValue("s",_ptemp
);
2789 _resultobj
= Py_None
;
2794 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
2797 src
= (wxEraseEvent
*) ptr
;
2798 dest
= (wxEvent
*) src
;
2799 return (void *) dest
;
2802 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
2803 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2805 wxEraseEvent
* _result
;
2806 int _arg0
= (int ) 0;
2807 wxDC
* _arg1
= (wxDC
*) NULL
;
2808 PyObject
* _argo1
= 0;
2809 char *_kwnames
[] = { "id","dc", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
2816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
2826 wxPy_END_ALLOW_THREADS
;
2828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
2829 _resultobj
= Py_BuildValue("s",_ptemp
);
2832 _resultobj
= Py_None
;
2837 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
2838 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2841 wxEraseEvent
* _arg0
;
2842 PyObject
* _argo0
= 0;
2843 char *_kwnames
[] = { "self", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
2860 wxPy_END_ALLOW_THREADS
;
2862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2863 _resultobj
= Py_BuildValue("s",_ptemp
);
2866 _resultobj
= Py_None
;
2871 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
2874 src
= (wxFocusEvent
*) ptr
;
2875 dest
= (wxEvent
*) src
;
2876 return (void *) dest
;
2879 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
2880 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2882 wxFocusEvent
* _result
;
2883 WXTYPE _arg0
= (WXTYPE
) 0;
2884 int _arg1
= (int ) 0;
2885 char *_kwnames
[] = { "eventType","id", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
2892 wxPy_BEGIN_ALLOW_THREADS
;
2893 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
2895 wxPy_END_ALLOW_THREADS
;
2897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
2898 _resultobj
= Py_BuildValue("s",_ptemp
);
2901 _resultobj
= Py_None
;
2906 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
2907 wxActivateEvent
*src
;
2909 src
= (wxActivateEvent
*) ptr
;
2910 dest
= (wxEvent
*) src
;
2911 return (void *) dest
;
2914 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
2915 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2917 wxActivateEvent
* _result
;
2918 WXTYPE _arg0
= (WXTYPE
) 0;
2919 int _arg1
= (int ) TRUE
;
2920 int _arg2
= (int ) 0;
2921 char *_kwnames
[] = { "eventType","active","id", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2928 wxPy_BEGIN_ALLOW_THREADS
;
2929 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
2931 wxPy_END_ALLOW_THREADS
;
2933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
2934 _resultobj
= Py_BuildValue("s",_ptemp
);
2937 _resultobj
= Py_None
;
2942 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
2943 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
* _resultobj
;
2946 wxActivateEvent
* _arg0
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
2961 wxPy_BEGIN_ALLOW_THREADS
;
2962 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
2964 wxPy_END_ALLOW_THREADS
;
2965 } _resultobj
= Py_BuildValue("i",_result
);
2969 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
2970 wxInitDialogEvent
*src
;
2972 src
= (wxInitDialogEvent
*) ptr
;
2973 dest
= (wxEvent
*) src
;
2974 return (void *) dest
;
2977 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
2978 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2980 wxInitDialogEvent
* _result
;
2981 int _arg0
= (int ) 0;
2982 char *_kwnames
[] = { "id", NULL
};
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
2989 wxPy_BEGIN_ALLOW_THREADS
;
2990 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
2992 wxPy_END_ALLOW_THREADS
;
2994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
2995 _resultobj
= Py_BuildValue("s",_ptemp
);
2998 _resultobj
= Py_None
;
3003 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
3006 src
= (wxMenuEvent
*) ptr
;
3007 dest
= (wxEvent
*) src
;
3008 return (void *) dest
;
3011 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
3012 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3014 wxMenuEvent
* _result
;
3015 WXTYPE _arg0
= (WXTYPE
) 0;
3016 int _arg1
= (int ) 0;
3017 char *_kwnames
[] = { "id","id", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
3024 wxPy_BEGIN_ALLOW_THREADS
;
3025 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
3027 wxPy_END_ALLOW_THREADS
;
3029 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
3030 _resultobj
= Py_BuildValue("s",_ptemp
);
3033 _resultobj
= Py_None
;
3038 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
3039 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
* _resultobj
;
3042 wxMenuEvent
* _arg0
;
3043 PyObject
* _argo0
= 0;
3044 char *_kwnames
[] = { "self", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
3057 wxPy_BEGIN_ALLOW_THREADS
;
3058 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
3060 wxPy_END_ALLOW_THREADS
;
3061 } _resultobj
= Py_BuildValue("i",_result
);
3065 static void *SwigwxShowEventTowxEvent(void *ptr
) {
3068 src
= (wxShowEvent
*) ptr
;
3069 dest
= (wxEvent
*) src
;
3070 return (void *) dest
;
3073 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
3074 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3076 wxShowEvent
* _result
;
3077 int _arg0
= (int ) 0;
3078 int _arg1
= (int ) FALSE
;
3079 char *_kwnames
[] = { "id","show", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
3086 wxPy_BEGIN_ALLOW_THREADS
;
3087 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
3089 wxPy_END_ALLOW_THREADS
;
3091 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
3092 _resultobj
= Py_BuildValue("s",_ptemp
);
3095 _resultobj
= Py_None
;
3100 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
3101 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
* _resultobj
;
3103 wxShowEvent
* _arg0
;
3105 PyObject
* _argo0
= 0;
3107 char *_kwnames
[] = { "self","show", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
3113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
3119 _arg1
= (bool ) tempbool1
;
3121 wxPy_BEGIN_ALLOW_THREADS
;
3122 wxShowEvent_SetShow(_arg0
,_arg1
);
3124 wxPy_END_ALLOW_THREADS
;
3125 } Py_INCREF(Py_None
);
3126 _resultobj
= Py_None
;
3130 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
3131 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3134 wxShowEvent
* _arg0
;
3135 PyObject
* _argo0
= 0;
3136 char *_kwnames
[] = { "self", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
3149 wxPy_BEGIN_ALLOW_THREADS
;
3150 _result
= (bool )wxShowEvent_GetShow(_arg0
);
3152 wxPy_END_ALLOW_THREADS
;
3153 } _resultobj
= Py_BuildValue("i",_result
);
3157 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
3158 wxIconizeEvent
*src
;
3160 src
= (wxIconizeEvent
*) ptr
;
3161 dest
= (wxEvent
*) src
;
3162 return (void *) dest
;
3165 #define new_wxIconizeEvent(_swigarg0) (new wxIconizeEvent(_swigarg0))
3166 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3168 wxIconizeEvent
* _result
;
3169 int _arg0
= (int ) 0;
3170 char *_kwnames
[] = { "id", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxIconizeEvent",_kwnames
,&_arg0
))
3177 wxPy_BEGIN_ALLOW_THREADS
;
3178 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
);
3180 wxPy_END_ALLOW_THREADS
;
3182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
3183 _resultobj
= Py_BuildValue("s",_ptemp
);
3186 _resultobj
= Py_None
;
3191 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
3192 wxMaximizeEvent
*src
;
3194 src
= (wxMaximizeEvent
*) ptr
;
3195 dest
= (wxEvent
*) src
;
3196 return (void *) dest
;
3199 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
3200 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3202 wxMaximizeEvent
* _result
;
3203 int _arg0
= (int ) 0;
3204 char *_kwnames
[] = { "id", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
3211 wxPy_BEGIN_ALLOW_THREADS
;
3212 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
3214 wxPy_END_ALLOW_THREADS
;
3216 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
3217 _resultobj
= Py_BuildValue("s",_ptemp
);
3220 _resultobj
= Py_None
;
3225 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
3226 wxJoystickEvent
*src
;
3228 src
= (wxJoystickEvent
*) ptr
;
3229 dest
= (wxEvent
*) src
;
3230 return (void *) dest
;
3233 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3234 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3236 wxJoystickEvent
* _result
;
3237 int _arg0
= (int ) wxEVT_NULL
;
3238 int _arg1
= (int ) 0;
3239 int _arg2
= (int ) wxJOYSTICK1
;
3240 int _arg3
= (int ) 0;
3241 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3248 wxPy_BEGIN_ALLOW_THREADS
;
3249 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
3251 wxPy_END_ALLOW_THREADS
;
3253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
3254 _resultobj
= Py_BuildValue("s",_ptemp
);
3257 _resultobj
= Py_None
;
3262 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3263 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3266 wxJoystickEvent
* _arg0
;
3267 PyObject
* _argo0
= 0;
3268 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
3282 wxPy_BEGIN_ALLOW_THREADS
;
3283 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
3285 wxPy_END_ALLOW_THREADS
;
3286 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3287 _resultobj
= Py_BuildValue("s",_ptemp
);
3291 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
3292 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3295 wxJoystickEvent
* _arg0
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
3310 wxPy_BEGIN_ALLOW_THREADS
;
3311 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
3313 wxPy_END_ALLOW_THREADS
;
3314 } _resultobj
= Py_BuildValue("i",_result
);
3318 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
3319 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3322 wxJoystickEvent
* _arg0
;
3323 PyObject
* _argo0
= 0;
3324 char *_kwnames
[] = { "self", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
3337 wxPy_BEGIN_ALLOW_THREADS
;
3338 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
3340 wxPy_END_ALLOW_THREADS
;
3341 } _resultobj
= Py_BuildValue("i",_result
);
3345 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
3346 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3349 wxJoystickEvent
* _arg0
;
3350 PyObject
* _argo0
= 0;
3351 char *_kwnames
[] = { "self", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
3364 wxPy_BEGIN_ALLOW_THREADS
;
3365 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
3367 wxPy_END_ALLOW_THREADS
;
3368 } _resultobj
= Py_BuildValue("i",_result
);
3372 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
3373 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
* _resultobj
;
3376 wxJoystickEvent
* _arg0
;
3377 PyObject
* _argo0
= 0;
3378 char *_kwnames
[] = { "self", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
3391 wxPy_BEGIN_ALLOW_THREADS
;
3392 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
3394 wxPy_END_ALLOW_THREADS
;
3395 } _resultobj
= Py_BuildValue("i",_result
);
3399 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
3400 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
* _resultobj
;
3402 wxJoystickEvent
* _arg0
;
3404 PyObject
* _argo0
= 0;
3405 char *_kwnames
[] = { "self","stick", NULL
};
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
3411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
3418 wxPy_BEGIN_ALLOW_THREADS
;
3419 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
3421 wxPy_END_ALLOW_THREADS
;
3422 } Py_INCREF(Py_None
);
3423 _resultobj
= Py_None
;
3427 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
3428 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3430 wxJoystickEvent
* _arg0
;
3432 PyObject
* _argo0
= 0;
3433 char *_kwnames
[] = { "self","state", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
3446 wxPy_BEGIN_ALLOW_THREADS
;
3447 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
3449 wxPy_END_ALLOW_THREADS
;
3450 } Py_INCREF(Py_None
);
3451 _resultobj
= Py_None
;
3455 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
3456 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3458 wxJoystickEvent
* _arg0
;
3460 PyObject
* _argo0
= 0;
3461 char *_kwnames
[] = { "self","change", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
3474 wxPy_BEGIN_ALLOW_THREADS
;
3475 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
3477 wxPy_END_ALLOW_THREADS
;
3478 } Py_INCREF(Py_None
);
3479 _resultobj
= Py_None
;
3483 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
3484 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
* _resultobj
;
3486 wxJoystickEvent
* _arg0
;
3488 PyObject
* _argo0
= 0;
3490 PyObject
* _obj1
= 0;
3491 char *_kwnames
[] = { "self","pos", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
3505 if (! wxPoint_helper(_obj1
, &_arg1
))
3509 wxPy_BEGIN_ALLOW_THREADS
;
3510 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
3512 wxPy_END_ALLOW_THREADS
;
3513 } Py_INCREF(Py_None
);
3514 _resultobj
= Py_None
;
3518 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
3519 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
* _resultobj
;
3521 wxJoystickEvent
* _arg0
;
3523 PyObject
* _argo0
= 0;
3524 char *_kwnames
[] = { "self","zPos", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
3537 wxPy_BEGIN_ALLOW_THREADS
;
3538 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
3540 wxPy_END_ALLOW_THREADS
;
3541 } Py_INCREF(Py_None
);
3542 _resultobj
= Py_None
;
3546 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
3547 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3550 wxJoystickEvent
* _arg0
;
3551 PyObject
* _argo0
= 0;
3552 char *_kwnames
[] = { "self", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
3565 wxPy_BEGIN_ALLOW_THREADS
;
3566 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
3568 wxPy_END_ALLOW_THREADS
;
3569 } _resultobj
= Py_BuildValue("i",_result
);
3573 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
3574 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3577 wxJoystickEvent
* _arg0
;
3578 PyObject
* _argo0
= 0;
3579 char *_kwnames
[] = { "self", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
3592 wxPy_BEGIN_ALLOW_THREADS
;
3593 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
3595 wxPy_END_ALLOW_THREADS
;
3596 } _resultobj
= Py_BuildValue("i",_result
);
3600 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
3601 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3604 wxJoystickEvent
* _arg0
;
3605 PyObject
* _argo0
= 0;
3606 char *_kwnames
[] = { "self", NULL
};
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
3612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
3619 wxPy_BEGIN_ALLOW_THREADS
;
3620 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
3622 wxPy_END_ALLOW_THREADS
;
3623 } _resultobj
= Py_BuildValue("i",_result
);
3627 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
3628 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3631 wxJoystickEvent
* _arg0
;
3632 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
3633 PyObject
* _argo0
= 0;
3634 char *_kwnames
[] = { "self","but", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
3647 wxPy_BEGIN_ALLOW_THREADS
;
3648 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
3650 wxPy_END_ALLOW_THREADS
;
3651 } _resultobj
= Py_BuildValue("i",_result
);
3655 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
3656 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
* _resultobj
;
3659 wxJoystickEvent
* _arg0
;
3660 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
3661 PyObject
* _argo0
= 0;
3662 char *_kwnames
[] = { "self","but", NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
3668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
3678 wxPy_END_ALLOW_THREADS
;
3679 } _resultobj
= Py_BuildValue("i",_result
);
3683 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
3684 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3687 wxJoystickEvent
* _arg0
;
3688 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
3689 PyObject
* _argo0
= 0;
3690 char *_kwnames
[] = { "self","but", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
3703 wxPy_BEGIN_ALLOW_THREADS
;
3704 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
3706 wxPy_END_ALLOW_THREADS
;
3707 } _resultobj
= Py_BuildValue("i",_result
);
3711 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
3712 wxDropFilesEvent
*src
;
3714 src
= (wxDropFilesEvent
*) ptr
;
3715 dest
= (wxEvent
*) src
;
3716 return (void *) dest
;
3719 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3720 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3723 wxDropFilesEvent
* _arg0
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
3742 wxPy_END_ALLOW_THREADS
;
3743 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3744 _resultobj
= Py_BuildValue("s",_ptemp
);
3748 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
3749 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxDropFilesEvent
* _arg0
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
3767 wxPy_BEGIN_ALLOW_THREADS
;
3768 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
3770 wxPy_END_ALLOW_THREADS
;
3771 } _resultobj
= Py_BuildValue("i",_result
);
3775 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
3776 int count
= self
->GetNumberOfFiles();
3777 wxString
* files
= self
->GetFiles();
3778 PyObject
* list
= PyList_New(count
);
3781 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3785 for (int i
=0; i
<count
; i
++) {
3786 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
3790 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
* _resultobj
;
3793 wxDropFilesEvent
* _arg0
;
3794 PyObject
* _argo0
= 0;
3795 char *_kwnames
[] = { "self", NULL
};
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
3801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
3808 wxPy_BEGIN_ALLOW_THREADS
;
3809 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
3811 wxPy_END_ALLOW_THREADS
;
3813 _resultobj
= _result
;
3818 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
3821 src
= (wxIdleEvent
*) ptr
;
3822 dest
= (wxEvent
*) src
;
3823 return (void *) dest
;
3826 #define new_wxIdleEvent() (new wxIdleEvent())
3827 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
* _resultobj
;
3829 wxIdleEvent
* _result
;
3830 char *_kwnames
[] = { NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
3837 wxPy_BEGIN_ALLOW_THREADS
;
3838 _result
= (wxIdleEvent
*)new_wxIdleEvent();
3840 wxPy_END_ALLOW_THREADS
;
3842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
3843 _resultobj
= Py_BuildValue("s",_ptemp
);
3846 _resultobj
= Py_None
;
3851 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
3852 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
* _resultobj
;
3854 wxIdleEvent
* _arg0
;
3855 bool _arg1
= (bool ) TRUE
;
3856 PyObject
* _argo0
= 0;
3857 int tempbool1
= (int) TRUE
;
3858 char *_kwnames
[] = { "self","needMore", NULL
};
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
3864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
3870 _arg1
= (bool ) tempbool1
;
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 wxIdleEvent_RequestMore(_arg0
,_arg1
);
3875 wxPy_END_ALLOW_THREADS
;
3876 } Py_INCREF(Py_None
);
3877 _resultobj
= Py_None
;
3881 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
3882 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3885 wxIdleEvent
* _arg0
;
3886 PyObject
* _argo0
= 0;
3887 char *_kwnames
[] = { "self", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
3903 wxPy_END_ALLOW_THREADS
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3908 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
3909 wxUpdateUIEvent
*src
;
3911 src
= (wxUpdateUIEvent
*) ptr
;
3912 dest
= (wxEvent
*) src
;
3913 return (void *) dest
;
3916 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
3917 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3919 wxUpdateUIEvent
* _result
;
3920 wxWindowID _arg0
= (wxWindowID
) 0;
3921 char *_kwnames
[] = { "commandId", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
3931 wxPy_END_ALLOW_THREADS
;
3933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
3934 _resultobj
= Py_BuildValue("s",_ptemp
);
3937 _resultobj
= Py_None
;
3942 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
3943 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3946 wxUpdateUIEvent
* _arg0
;
3947 PyObject
* _argo0
= 0;
3948 char *_kwnames
[] = { "self", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
3961 wxPy_BEGIN_ALLOW_THREADS
;
3962 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
3964 wxPy_END_ALLOW_THREADS
;
3965 } _resultobj
= Py_BuildValue("i",_result
);
3969 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
3970 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3973 wxUpdateUIEvent
* _arg0
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
3988 wxPy_BEGIN_ALLOW_THREADS
;
3989 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
3991 wxPy_END_ALLOW_THREADS
;
3992 } _resultobj
= Py_BuildValue("i",_result
);
3996 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
3997 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
* _resultobj
;
4000 wxUpdateUIEvent
* _arg0
;
4001 PyObject
* _argo0
= 0;
4002 char *_kwnames
[] = { "self", NULL
};
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
4008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
4015 wxPy_BEGIN_ALLOW_THREADS
;
4016 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
4018 wxPy_END_ALLOW_THREADS
;
4020 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4028 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
4029 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
* _resultobj
;
4032 wxUpdateUIEvent
* _arg0
;
4033 PyObject
* _argo0
= 0;
4034 char *_kwnames
[] = { "self", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
4040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
4047 wxPy_BEGIN_ALLOW_THREADS
;
4048 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
4050 wxPy_END_ALLOW_THREADS
;
4051 } _resultobj
= Py_BuildValue("i",_result
);
4055 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
4056 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
* _resultobj
;
4059 wxUpdateUIEvent
* _arg0
;
4060 PyObject
* _argo0
= 0;
4061 char *_kwnames
[] = { "self", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
4074 wxPy_BEGIN_ALLOW_THREADS
;
4075 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
4077 wxPy_END_ALLOW_THREADS
;
4078 } _resultobj
= Py_BuildValue("i",_result
);
4082 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
4083 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
* _resultobj
;
4086 wxUpdateUIEvent
* _arg0
;
4087 PyObject
* _argo0
= 0;
4088 char *_kwnames
[] = { "self", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
4094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
4104 wxPy_END_ALLOW_THREADS
;
4105 } _resultobj
= Py_BuildValue("i",_result
);
4109 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4110 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4112 wxUpdateUIEvent
* _arg0
;
4114 PyObject
* _argo0
= 0;
4116 char *_kwnames
[] = { "self","check", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
4128 _arg1
= (bool ) tempbool1
;
4130 wxPy_BEGIN_ALLOW_THREADS
;
4131 wxUpdateUIEvent_Check(_arg0
,_arg1
);
4133 wxPy_END_ALLOW_THREADS
;
4134 } Py_INCREF(Py_None
);
4135 _resultobj
= Py_None
;
4139 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4140 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
* _resultobj
;
4142 wxUpdateUIEvent
* _arg0
;
4144 PyObject
* _argo0
= 0;
4146 char *_kwnames
[] = { "self","enable", NULL
};
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
4152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
4158 _arg1
= (bool ) tempbool1
;
4160 wxPy_BEGIN_ALLOW_THREADS
;
4161 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
4163 wxPy_END_ALLOW_THREADS
;
4164 } Py_INCREF(Py_None
);
4165 _resultobj
= Py_None
;
4169 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
4170 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
* _resultobj
;
4172 wxUpdateUIEvent
* _arg0
;
4174 PyObject
* _argo0
= 0;
4175 PyObject
* _obj1
= 0;
4176 char *_kwnames
[] = { "self","text", NULL
};
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
4182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
4184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
4189 if (!PyString_Check(_obj1
)) {
4190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4193 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4196 wxPy_BEGIN_ALLOW_THREADS
;
4197 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
4199 wxPy_END_ALLOW_THREADS
;
4200 } Py_INCREF(Py_None
);
4201 _resultobj
= Py_None
;
4209 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
4210 wxSysColourChangedEvent
*src
;
4212 src
= (wxSysColourChangedEvent
*) ptr
;
4213 dest
= (wxEvent
*) src
;
4214 return (void *) dest
;
4217 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
4218 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4220 wxSysColourChangedEvent
* _result
;
4221 char *_kwnames
[] = { NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
4228 wxPy_BEGIN_ALLOW_THREADS
;
4229 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
4231 wxPy_END_ALLOW_THREADS
;
4233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
4234 _resultobj
= Py_BuildValue("s",_ptemp
);
4237 _resultobj
= Py_None
;
4242 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
4244 wxCommandEvent
*dest
;
4245 src
= (wxNotifyEvent
*) ptr
;
4246 dest
= (wxCommandEvent
*) src
;
4247 return (void *) dest
;
4250 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
4253 src
= (wxNotifyEvent
*) ptr
;
4254 dest
= (wxEvent
*) src
;
4255 return (void *) dest
;
4258 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
4259 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
* _resultobj
;
4261 wxNotifyEvent
* _result
;
4262 int _arg0
= (int ) wxEVT_NULL
;
4263 int _arg1
= (int ) 0;
4264 char *_kwnames
[] = { "commandType","id", NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
4271 wxPy_BEGIN_ALLOW_THREADS
;
4272 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
4274 wxPy_END_ALLOW_THREADS
;
4276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
4277 _resultobj
= Py_BuildValue("s",_ptemp
);
4280 _resultobj
= Py_None
;
4285 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
4286 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4289 wxNotifyEvent
* _arg0
;
4290 PyObject
* _argo0
= 0;
4291 char *_kwnames
[] = { "self", NULL
};
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
4297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
4299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
4304 wxPy_BEGIN_ALLOW_THREADS
;
4305 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
4307 wxPy_END_ALLOW_THREADS
;
4308 } _resultobj
= Py_BuildValue("i",_result
);
4312 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
4313 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
* _resultobj
;
4315 wxNotifyEvent
* _arg0
;
4316 PyObject
* _argo0
= 0;
4317 char *_kwnames
[] = { "self", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 wxNotifyEvent_Veto(_arg0
);
4333 wxPy_END_ALLOW_THREADS
;
4334 } Py_INCREF(Py_None
);
4335 _resultobj
= Py_None
;
4339 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
4340 wxPaletteChangedEvent
*src
;
4342 src
= (wxPaletteChangedEvent
*) ptr
;
4343 dest
= (wxEvent
*) src
;
4344 return (void *) dest
;
4347 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
4348 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
* _resultobj
;
4350 wxPaletteChangedEvent
* _result
;
4351 wxWindowID _arg0
= (wxWindowID
) 0;
4352 char *_kwnames
[] = { "id", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
4359 wxPy_BEGIN_ALLOW_THREADS
;
4360 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
4362 wxPy_END_ALLOW_THREADS
;
4364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
4365 _resultobj
= Py_BuildValue("s",_ptemp
);
4368 _resultobj
= Py_None
;
4373 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
4374 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4376 wxPaletteChangedEvent
* _arg0
;
4378 PyObject
* _argo0
= 0;
4379 PyObject
* _argo1
= 0;
4380 char *_kwnames
[] = { "self","win", NULL
};
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
4386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
4393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
4400 wxPy_BEGIN_ALLOW_THREADS
;
4401 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
4403 wxPy_END_ALLOW_THREADS
;
4404 } Py_INCREF(Py_None
);
4405 _resultobj
= Py_None
;
4409 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
4410 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4413 wxPaletteChangedEvent
* _arg0
;
4414 PyObject
* _argo0
= 0;
4415 char *_kwnames
[] = { "self", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
4432 wxPy_END_ALLOW_THREADS
;
4434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4435 _resultobj
= Py_BuildValue("s",_ptemp
);
4438 _resultobj
= Py_None
;
4443 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
4444 wxQueryNewPaletteEvent
*src
;
4446 src
= (wxQueryNewPaletteEvent
*) ptr
;
4447 dest
= (wxEvent
*) src
;
4448 return (void *) dest
;
4451 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
4452 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4454 wxQueryNewPaletteEvent
* _result
;
4455 wxWindowID _arg0
= (wxWindowID
) 0;
4456 char *_kwnames
[] = { "id", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
4466 wxPy_END_ALLOW_THREADS
;
4468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
4469 _resultobj
= Py_BuildValue("s",_ptemp
);
4472 _resultobj
= Py_None
;
4477 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
4478 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4480 wxQueryNewPaletteEvent
* _arg0
;
4482 PyObject
* _argo0
= 0;
4484 char *_kwnames
[] = { "self","realized", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
4496 _arg1
= (bool ) tempbool1
;
4498 wxPy_BEGIN_ALLOW_THREADS
;
4499 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
4501 wxPy_END_ALLOW_THREADS
;
4502 } Py_INCREF(Py_None
);
4503 _resultobj
= Py_None
;
4507 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
4508 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4511 wxQueryNewPaletteEvent
* _arg0
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
4529 wxPy_END_ALLOW_THREADS
;
4530 } _resultobj
= Py_BuildValue("i",_result
);
4534 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
4535 wxWindowCreateEvent
*src
;
4537 src
= (wxWindowCreateEvent
*) ptr
;
4538 dest
= (wxEvent
*) src
;
4539 return (void *) dest
;
4542 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
4543 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
* _resultobj
;
4545 wxWindowCreateEvent
* _result
;
4546 wxWindow
* _arg0
= (wxWindow
*) NULL
;
4547 PyObject
* _argo0
= 0;
4548 char *_kwnames
[] = { "win", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
4565 wxPy_END_ALLOW_THREADS
;
4567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
4568 _resultobj
= Py_BuildValue("s",_ptemp
);
4571 _resultobj
= Py_None
;
4576 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
4577 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
* _resultobj
;
4580 wxWindowCreateEvent
* _arg0
;
4581 PyObject
* _argo0
= 0;
4582 char *_kwnames
[] = { "self", NULL
};
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
4596 wxPy_BEGIN_ALLOW_THREADS
;
4597 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
4599 wxPy_END_ALLOW_THREADS
;
4601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4602 _resultobj
= Py_BuildValue("s",_ptemp
);
4605 _resultobj
= Py_None
;
4610 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
4611 wxWindowDestroyEvent
*src
;
4613 src
= (wxWindowDestroyEvent
*) ptr
;
4614 dest
= (wxEvent
*) src
;
4615 return (void *) dest
;
4618 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
4619 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
* _resultobj
;
4621 wxWindowDestroyEvent
* _result
;
4622 wxWindow
* _arg0
= (wxWindow
*) NULL
;
4623 PyObject
* _argo0
= 0;
4624 char *_kwnames
[] = { "win", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
4638 wxPy_BEGIN_ALLOW_THREADS
;
4639 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
4641 wxPy_END_ALLOW_THREADS
;
4643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
4644 _resultobj
= Py_BuildValue("s",_ptemp
);
4647 _resultobj
= Py_None
;
4652 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
4653 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4656 wxWindowDestroyEvent
* _arg0
;
4657 PyObject
* _argo0
= 0;
4658 char *_kwnames
[] = { "self", NULL
};
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
4665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
4667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
4672 wxPy_BEGIN_ALLOW_THREADS
;
4673 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
4675 wxPy_END_ALLOW_THREADS
;
4677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4678 _resultobj
= Py_BuildValue("s",_ptemp
);
4681 _resultobj
= Py_None
;
4686 static void *SwigwxPyEventTowxEvent(void *ptr
) {
4689 src
= (wxPyEvent
*) ptr
;
4690 dest
= (wxEvent
*) src
;
4691 return (void *) dest
;
4694 #define new_wxPyEvent(_swigarg0,_swigarg1) (new wxPyEvent(_swigarg0,_swigarg1))
4695 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4697 wxPyEvent
* _result
;
4698 int _arg0
= (int ) 0;
4699 PyObject
* _arg1
= (PyObject
*) Py_None
;
4700 PyObject
* _obj1
= 0;
4701 char *_kwnames
[] = { "id","userData", NULL
};
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxPyEvent",_kwnames
,&_arg0
,&_obj1
))
4712 wxPy_BEGIN_ALLOW_THREADS
;
4713 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
,_arg1
);
4715 wxPy_END_ALLOW_THREADS
;
4717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
4718 _resultobj
= Py_BuildValue("s",_ptemp
);
4721 _resultobj
= Py_None
;
4726 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
4727 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4745 delete_wxPyEvent(_arg0
);
4747 wxPy_END_ALLOW_THREADS
;
4748 } Py_INCREF(Py_None
);
4749 _resultobj
= Py_None
;
4753 #define wxPyEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0))
4754 static PyObject
*_wrap_wxPyEvent_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4758 PyObject
* _argo0
= 0;
4759 PyObject
* _obj1
= 0;
4760 char *_kwnames
[] = { "self","userData", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetPyData",_kwnames
,&_argo0
,&_obj1
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetPyData. Expected _wxPyEvent_p.");
4776 wxPy_BEGIN_ALLOW_THREADS
;
4777 wxPyEvent_SetPyData(_arg0
,_arg1
);
4779 wxPy_END_ALLOW_THREADS
;
4780 } Py_INCREF(Py_None
);
4781 _resultobj
= Py_None
;
4785 #define wxPyEvent_GetPyData(_swigobj) (_swigobj->GetPyData())
4786 static PyObject
*_wrap_wxPyEvent_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
* _resultobj
;
4790 PyObject
* _argo0
= 0;
4791 char *_kwnames
[] = { "self", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetPyData",_kwnames
,&_argo0
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetPyData. Expected _wxPyEvent_p.");
4804 wxPy_BEGIN_ALLOW_THREADS
;
4805 _result
= (PyObject
*)wxPyEvent_GetPyData(_arg0
);
4807 wxPy_END_ALLOW_THREADS
;
4809 _resultobj
= _result
;
4814 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
4815 wxPyCommandEvent
*src
;
4816 wxCommandEvent
*dest
;
4817 src
= (wxPyCommandEvent
*) ptr
;
4818 dest
= (wxCommandEvent
*) src
;
4819 return (void *) dest
;
4822 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
4823 wxPyCommandEvent
*src
;
4825 src
= (wxPyCommandEvent
*) ptr
;
4826 dest
= (wxEvent
*) src
;
4827 return (void *) dest
;
4830 #define new_wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2) (new wxPyCommandEvent(_swigarg0,_swigarg1,_swigarg2))
4831 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
* _resultobj
;
4833 wxPyCommandEvent
* _result
;
4834 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
4835 int _arg1
= (int ) 0;
4836 PyObject
* _arg2
= (PyObject
*) Py_None
;
4837 PyObject
* _obj2
= 0;
4838 char *_kwnames
[] = { "commandType","id","userData", NULL
};
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiO:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
,&_obj2
))
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
,_arg2
);
4852 wxPy_END_ALLOW_THREADS
;
4854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
4855 _resultobj
= Py_BuildValue("s",_ptemp
);
4858 _resultobj
= Py_None
;
4863 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
4864 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4866 wxPyCommandEvent
* _arg0
;
4867 PyObject
* _argo0
= 0;
4868 char *_kwnames
[] = { "self", NULL
};
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
4874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
4876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
4881 wxPy_BEGIN_ALLOW_THREADS
;
4882 delete_wxPyCommandEvent(_arg0
);
4884 wxPy_END_ALLOW_THREADS
;
4885 } Py_INCREF(Py_None
);
4886 _resultobj
= Py_None
;
4890 #define wxPyCommandEvent_SetPyData(_swigobj,_swigarg0) (_swigobj->SetPyData(_swigarg0))
4891 static PyObject
*_wrap_wxPyCommandEvent_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4893 wxPyCommandEvent
* _arg0
;
4895 PyObject
* _argo0
= 0;
4896 PyObject
* _obj1
= 0;
4897 char *_kwnames
[] = { "self","userData", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetPyData",_kwnames
,&_argo0
,&_obj1
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetPyData. Expected _wxPyCommandEvent_p.");
4913 wxPy_BEGIN_ALLOW_THREADS
;
4914 wxPyCommandEvent_SetPyData(_arg0
,_arg1
);
4916 wxPy_END_ALLOW_THREADS
;
4917 } Py_INCREF(Py_None
);
4918 _resultobj
= Py_None
;
4922 #define wxPyCommandEvent_GetPyData(_swigobj) (_swigobj->GetPyData())
4923 static PyObject
*_wrap_wxPyCommandEvent_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
* _resultobj
;
4926 wxPyCommandEvent
* _arg0
;
4927 PyObject
* _argo0
= 0;
4928 char *_kwnames
[] = { "self", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetPyData",_kwnames
,&_argo0
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetPyData. Expected _wxPyCommandEvent_p.");
4941 wxPy_BEGIN_ALLOW_THREADS
;
4942 _result
= (PyObject
*)wxPyCommandEvent_GetPyData(_arg0
);
4944 wxPy_END_ALLOW_THREADS
;
4946 _resultobj
= _result
;
4951 static PyMethodDef eventscMethods
[] = {
4952 { "wxPyCommandEvent_GetPyData", (PyCFunction
) _wrap_wxPyCommandEvent_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxPyCommandEvent_SetPyData", (PyCFunction
) _wrap_wxPyCommandEvent_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxPyEvent_GetPyData", (PyCFunction
) _wrap_wxPyEvent_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "wxPyEvent_SetPyData", (PyCFunction
) _wrap_wxPyEvent_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
5031 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5032 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5033 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5034 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
5035 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5036 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
5037 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
5038 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5039 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
5040 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5041 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5042 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
5043 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5044 { "wxMouseEvent_Position", (PyCFunction
) _wrap_wxMouseEvent_Position
, METH_VARARGS
| METH_KEYWORDS
},
5045 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
5046 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
5047 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
5048 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
5049 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
5050 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
5051 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
5052 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
5053 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
5054 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
5055 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
5056 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
5057 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
5058 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
5059 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
5060 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
5061 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5062 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
5063 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
5064 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5065 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
5066 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
5067 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
5068 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
5069 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
5070 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
5071 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
5072 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
5073 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5074 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5075 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
5076 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5077 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
5078 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
5079 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
5080 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
5081 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5082 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
5083 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
5084 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_Checked
, METH_VARARGS
| METH_KEYWORDS
},
5085 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
5086 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
5087 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
5088 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
5089 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
5090 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
5091 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
5092 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
5104 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
5105 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
5106 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
5113 * This table is used by the pointer type-checker
5115 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5116 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5117 { "_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5118 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5119 { "_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
5120 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
5121 { "_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5122 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5123 { "_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5124 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5125 { "_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5126 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5127 { "_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5128 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5129 { "_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5130 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5131 { "_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5132 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5133 { "_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5134 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5135 { "_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5136 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5137 { "_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5138 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5139 { "_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5140 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5141 { "_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5142 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5143 { "_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5144 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5145 { "_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
5146 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
5147 { "_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5148 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5149 { "_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5150 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5151 { "_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5152 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5153 { "_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5154 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5155 { "_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5156 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5157 { "_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5158 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5159 { "_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5160 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5161 { "_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5162 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5163 { "_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5164 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5165 { "_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5166 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5167 { "_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5168 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5169 { "_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5170 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5171 { "_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5172 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5173 { "_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5174 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5175 { "_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5176 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5177 { "_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5178 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5179 { "_wxEvent","_class_wxEvent",0},
5180 { "_class_wxActivateEvent","_wxActivateEvent",0},
5181 { "_signed_long","_long",0},
5182 { "_wxMenuEvent","_class_wxMenuEvent",0},
5183 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5184 { "_wxPrintQuality","_int",0},
5185 { "_wxPrintQuality","_signed_int",0},
5186 { "_wxPrintQuality","_unsigned_int",0},
5187 { "_wxPrintQuality","_wxWindowID",0},
5188 { "_wxPrintQuality","_uint",0},
5189 { "_wxPrintQuality","_EBool",0},
5190 { "_wxPrintQuality","_size_t",0},
5191 { "_class_wxRegionIterator","_wxRegionIterator",0},
5192 { "_wxPaintEvent","_class_wxPaintEvent",0},
5193 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5194 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5195 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5196 { "_byte","_unsigned_char",0},
5197 { "_long","_unsigned_long",0},
5198 { "_long","_signed_long",0},
5199 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5200 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5201 { "_wxSpinEvent","_class_wxSpinEvent",0},
5202 { "_size_t","_wxPrintQuality",0},
5203 { "_size_t","_unsigned_int",0},
5204 { "_size_t","_int",0},
5205 { "_size_t","_wxWindowID",0},
5206 { "_size_t","_uint",0},
5207 { "_class_wxRealPoint","_wxRealPoint",0},
5208 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5209 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5210 { "_class_wxPaintEvent","_wxPaintEvent",0},
5211 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5212 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5213 { "_wxPyEvent","_class_wxPyEvent",0},
5214 { "_class_wxKeyEvent","_wxKeyEvent",0},
5215 { "_wxIdleEvent","_class_wxIdleEvent",0},
5216 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5217 { "_wxShowEvent","_class_wxShowEvent",0},
5218 { "_uint","_wxPrintQuality",0},
5219 { "_uint","_size_t",0},
5220 { "_uint","_unsigned_int",0},
5221 { "_uint","_int",0},
5222 { "_uint","_wxWindowID",0},
5223 { "_class_wxEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5224 { "_class_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
5225 { "_class_wxEvent","_class_wxPyEvent",SwigwxPyEventTowxEvent
},
5226 { "_class_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
5227 { "_class_wxEvent","_class_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5228 { "_class_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
5229 { "_class_wxEvent","_class_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5230 { "_class_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
5231 { "_class_wxEvent","_class_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5232 { "_class_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
5233 { "_class_wxEvent","_class_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5234 { "_class_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
5235 { "_class_wxEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5236 { "_class_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
5237 { "_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5238 { "_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
5239 { "_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5240 { "_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
5241 { "_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5242 { "_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
5243 { "_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5244 { "_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
5245 { "_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5246 { "_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
5247 { "_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5248 { "_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
5249 { "_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5250 { "_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
5251 { "_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent
},
5252 { "_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
5253 { "_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5254 { "_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
5255 { "_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5256 { "_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
5257 { "_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5258 { "_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
5259 { "_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5260 { "_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
5261 { "_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5262 { "_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
5263 { "_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5264 { "_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
5265 { "_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5266 { "_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
5267 { "_class_wxEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5268 { "_class_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
5269 { "_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5270 { "_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
5271 { "_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5272 { "_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
5273 { "_class_wxEvent","_class_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5274 { "_class_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
5275 { "_class_wxEvent","_class_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5276 { "_class_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
5277 { "_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5278 { "_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
5279 { "_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5280 { "_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
5281 { "_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5282 { "_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
5283 { "_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5284 { "_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
5285 { "_class_wxEvent","_wxEvent",0},
5286 { "_wxRect","_class_wxRect",0},
5287 { "_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5288 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5289 { "_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5290 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5291 { "_wxCommandEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent
},
5292 { "_wxCommandEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent
},
5293 { "_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5294 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5295 { "_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5296 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5297 { "_wxCommandEvent","_class_wxCommandEvent",0},
5298 { "_wxSizeEvent","_class_wxSizeEvent",0},
5299 { "_wxPoint","_class_wxPoint",0},
5300 { "_wxPyTimer","_class_wxPyTimer",0},
5301 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5302 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5303 { "_class_wxPyEvent","_wxPyEvent",0},
5304 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5305 { "_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5306 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5307 { "_wxScrollEvent","_class_wxScrollEvent",0},
5308 { "_EBool","_wxPrintQuality",0},
5309 { "_EBool","_signed_int",0},
5310 { "_EBool","_int",0},
5311 { "_EBool","_wxWindowID",0},
5312 { "_class_wxRegion","_wxRegion",0},
5313 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5314 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5315 { "_wxCloseEvent","_class_wxCloseEvent",0},
5316 { "_unsigned_long","_long",0},
5317 { "_class_wxRect","_wxRect",0},
5318 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5319 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5320 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5321 { "_class_wxPyTimer","_wxPyTimer",0},
5322 { "_wxFocusEvent","_class_wxFocusEvent",0},
5323 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5324 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5325 { "_signed_int","_wxPrintQuality",0},
5326 { "_signed_int","_EBool",0},
5327 { "_signed_int","_wxWindowID",0},
5328 { "_signed_int","_int",0},
5329 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5330 { "_class_wxMoveEvent","_wxMoveEvent",0},
5331 { "_WXTYPE","_short",0},
5332 { "_WXTYPE","_signed_short",0},
5333 { "_WXTYPE","_unsigned_short",0},
5334 { "_unsigned_short","_WXTYPE",0},
5335 { "_unsigned_short","_short",0},
5336 { "_class_wxCloseEvent","_wxCloseEvent",0},
5337 { "_class_wxMenuEvent","_wxMenuEvent",0},
5338 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5339 { "_wxMouseEvent","_class_wxMouseEvent",0},
5340 { "_class_wxPoint","_wxPoint",0},
5341 { "_wxRealPoint","_class_wxRealPoint",0},
5342 { "_signed_short","_WXTYPE",0},
5343 { "_signed_short","_short",0},
5344 { "_class_wxFocusEvent","_wxFocusEvent",0},
5345 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5346 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5347 { "_unsigned_char","_byte",0},
5348 { "_unsigned_int","_wxPrintQuality",0},
5349 { "_unsigned_int","_size_t",0},
5350 { "_unsigned_int","_uint",0},
5351 { "_unsigned_int","_wxWindowID",0},
5352 { "_unsigned_int","_int",0},
5353 { "_short","_WXTYPE",0},
5354 { "_short","_unsigned_short",0},
5355 { "_short","_signed_short",0},
5356 { "_class_wxScrollEvent","_class_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5357 { "_class_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
5358 { "_class_wxScrollEvent","_wxScrollEvent",0},
5359 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5360 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5361 { "_wxWindowID","_wxPrintQuality",0},
5362 { "_wxWindowID","_size_t",0},
5363 { "_wxWindowID","_EBool",0},
5364 { "_wxWindowID","_uint",0},
5365 { "_wxWindowID","_int",0},
5366 { "_wxWindowID","_signed_int",0},
5367 { "_wxWindowID","_unsigned_int",0},
5368 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5369 { "_int","_wxPrintQuality",0},
5370 { "_int","_size_t",0},
5371 { "_int","_EBool",0},
5372 { "_int","_uint",0},
5373 { "_int","_wxWindowID",0},
5374 { "_int","_unsigned_int",0},
5375 { "_int","_signed_int",0},
5376 { "_class_wxMouseEvent","_wxMouseEvent",0},
5377 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5378 { "_class_wxSpinEvent","_wxSpinEvent",0},
5379 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5380 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5381 { "_wxSize","_class_wxSize",0},
5382 { "_wxRegionIterator","_class_wxRegionIterator",0},
5383 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5384 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5385 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5386 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5387 { "_class_wxIdleEvent","_wxIdleEvent",0},
5388 { "_wxEraseEvent","_class_wxEraseEvent",0},
5389 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5390 { "_wxRegion","_class_wxRegion",0},
5391 { "_class_wxShowEvent","_wxShowEvent",0},
5392 { "_wxActivateEvent","_class_wxActivateEvent",0},
5393 { "_class_wxCommandEvent","_class_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5394 { "_class_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
5395 { "_class_wxCommandEvent","_class_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5396 { "_class_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
5397 { "_class_wxCommandEvent","_class_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent
},
5398 { "_class_wxCommandEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxCommandEvent
},
5399 { "_class_wxCommandEvent","_class_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5400 { "_class_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
5401 { "_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5402 { "_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
5403 { "_class_wxCommandEvent","_wxCommandEvent",0},
5404 { "_class_wxSizeEvent","_wxSizeEvent",0},
5405 { "_class_wxSize","_wxSize",0},
5406 { "_wxKeyEvent","_class_wxKeyEvent",0},
5407 { "_wxMoveEvent","_class_wxMoveEvent",0},
5408 { "_class_wxEraseEvent","_wxEraseEvent",0},
5409 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5412 static PyObject
*SWIG_globals
;
5416 SWIGEXPORT(void) initeventsc() {
5418 SWIG_globals
= SWIG_newvarlink();
5419 m
= Py_InitModule("eventsc", eventscMethods
);
5420 d
= PyModule_GetDict(m
);
5423 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5424 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);