2 * FILE : src/msw/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initeventsc
55 #define SWIG_name "eventsc"
58 #include <wx/spinbutt.h>
61 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyTuple_Check(target
)) {
73 target
= PyTuple_New(1);
74 PyTuple_SetItem(target
, 0, o2
);
77 PyTuple_SetItem(o3
, 0, o
);
80 target
= PySequence_Concat(o2
, o3
);
89 static PyObject
*_wrap_wxNewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
90 PyObject
* _resultobj
;
92 char *_kwnames
[] = { NULL
};
95 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewEventType",_kwnames
))
98 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
99 _result
= (int )wxNewEventType();
101 wxPyEndAllowThreads(__tstate
);
102 if (PyErr_Occurred()) return NULL
;
103 } _resultobj
= Py_BuildValue("i",_result
);
107 static void *SwigwxEventTowxObject(void *ptr
) {
110 src
= (wxEvent
*) ptr
;
111 dest
= (wxObject
*) src
;
112 return (void *) dest
;
115 #define delete_wxEvent(_swigobj) (delete _swigobj)
116 static PyObject
*_wrap_delete_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
117 PyObject
* _resultobj
;
119 PyObject
* _argo0
= 0;
120 char *_kwnames
[] = { "self", NULL
};
123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEvent",_kwnames
,&_argo0
))
126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
134 delete_wxEvent(_arg0
);
136 wxPyEndAllowThreads(__tstate
);
137 if (PyErr_Occurred()) return NULL
;
138 } Py_INCREF(Py_None
);
139 _resultobj
= Py_None
;
143 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
144 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
145 PyObject
* _resultobj
;
148 PyObject
* _argo0
= 0;
149 char *_kwnames
[] = { "self", NULL
};
152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
163 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
165 wxPyEndAllowThreads(__tstate
);
166 if (PyErr_Occurred()) return NULL
;
167 }{ _resultobj
= wxPyMake_wxObject(_result
); }
171 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
172 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
173 PyObject
* _resultobj
;
176 PyObject
* _argo0
= 0;
177 char *_kwnames
[] = { "self", NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
191 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
193 wxPyEndAllowThreads(__tstate
);
194 if (PyErr_Occurred()) return NULL
;
195 } _resultobj
= Py_BuildValue("i",_result
);
199 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
200 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
204 PyObject
* _argo0
= 0;
205 char *_kwnames
[] = { "self", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
219 _result
= (int )wxEvent_GetId(_arg0
);
221 wxPyEndAllowThreads(__tstate
);
222 if (PyErr_Occurred()) return NULL
;
223 } _resultobj
= Py_BuildValue("i",_result
);
227 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
228 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
232 PyObject
* _argo0
= 0;
233 char *_kwnames
[] = { "self", NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
247 _result
= (bool )wxEvent_GetSkipped(_arg0
);
249 wxPyEndAllowThreads(__tstate
);
250 if (PyErr_Occurred()) return NULL
;
251 } _resultobj
= Py_BuildValue("i",_result
);
255 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
256 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
260 PyObject
* _argo0
= 0;
261 char *_kwnames
[] = { "self", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
275 _result
= (long )wxEvent_GetTimestamp(_arg0
);
277 wxPyEndAllowThreads(__tstate
);
278 if (PyErr_Occurred()) return NULL
;
279 } _resultobj
= Py_BuildValue("l",_result
);
283 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
284 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
288 PyObject
* _argo0
= 0;
289 PyObject
* _argo1
= 0;
290 char *_kwnames
[] = { "self","object", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
311 wxEvent_SetEventObject(_arg0
,_arg1
);
313 wxPyEndAllowThreads(__tstate
);
314 if (PyErr_Occurred()) return NULL
;
315 } Py_INCREF(Py_None
);
316 _resultobj
= Py_None
;
320 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
321 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
325 PyObject
* _argo0
= 0;
326 char *_kwnames
[] = { "self","typ", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
340 wxEvent_SetEventType(_arg0
,_arg1
);
342 wxPyEndAllowThreads(__tstate
);
343 if (PyErr_Occurred()) return NULL
;
344 } Py_INCREF(Py_None
);
345 _resultobj
= Py_None
;
349 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
350 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
351 PyObject
* _resultobj
;
354 PyObject
* _argo0
= 0;
355 char *_kwnames
[] = { "self","id", NULL
};
358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
369 wxEvent_SetId(_arg0
,_arg1
);
371 wxPyEndAllowThreads(__tstate
);
372 if (PyErr_Occurred()) return NULL
;
373 } Py_INCREF(Py_None
);
374 _resultobj
= Py_None
;
378 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
379 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
383 PyObject
* _argo0
= 0;
384 char *_kwnames
[] = { "self","timeStamp", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
398 wxEvent_SetTimestamp(_arg0
,_arg1
);
400 wxPyEndAllowThreads(__tstate
);
401 if (PyErr_Occurred()) return NULL
;
402 } Py_INCREF(Py_None
);
403 _resultobj
= Py_None
;
407 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
408 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
411 bool _arg1
= (bool ) TRUE
;
412 PyObject
* _argo0
= 0;
413 int tempbool1
= (int) TRUE
;
414 char *_kwnames
[] = { "self","skip", NULL
};
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
426 _arg1
= (bool ) tempbool1
;
428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
429 wxEvent_Skip(_arg0
,_arg1
);
431 wxPyEndAllowThreads(__tstate
);
432 if (PyErr_Occurred()) return NULL
;
433 } Py_INCREF(Py_None
);
434 _resultobj
= Py_None
;
438 #define wxEvent_Clone(_swigobj) (_swigobj->Clone())
439 static PyObject
*_wrap_wxEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
443 PyObject
* _argo0
= 0;
444 char *_kwnames
[] = { "self", NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_Clone",_kwnames
,&_argo0
))
451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Clone. Expected _wxEvent_p.");
458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
459 _result
= (wxEvent
*)wxEvent_Clone(_arg0
);
461 wxPyEndAllowThreads(__tstate
);
462 if (PyErr_Occurred()) return NULL
;
464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
465 _resultobj
= Py_BuildValue("s",_ptemp
);
468 _resultobj
= Py_None
;
473 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
476 src
= (wxSizeEvent
*) ptr
;
477 dest
= (wxEvent
*) src
;
478 return (void *) dest
;
481 static void *SwigwxSizeEventTowxObject(void *ptr
) {
484 src
= (wxSizeEvent
*) ptr
;
485 dest
= (wxObject
*) src
;
486 return (void *) dest
;
489 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
490 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
492 wxSizeEvent
* _result
;
494 int _arg1
= (int ) 0;
496 PyObject
* _obj0
= 0;
497 char *_kwnames
[] = { "sz","id", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxSizeEvent",_kwnames
,&_obj0
,&_arg1
))
505 if (! wxSize_helper(_obj0
, &_arg0
))
509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
510 _result
= (wxSizeEvent
*)new_wxSizeEvent(*_arg0
,_arg1
);
512 wxPyEndAllowThreads(__tstate
);
513 if (PyErr_Occurred()) return NULL
;
515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizeEvent_p");
516 _resultobj
= Py_BuildValue("s",_ptemp
);
519 _resultobj
= Py_None
;
524 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
525 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
526 PyObject
* _resultobj
;
529 PyObject
* _argo0
= 0;
530 char *_kwnames
[] = { "self", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
545 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
547 wxPyEndAllowThreads(__tstate
);
548 if (PyErr_Occurred()) return NULL
;
549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
550 _resultobj
= Py_BuildValue("s",_ptemp
);
554 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
557 src
= (wxCloseEvent
*) ptr
;
558 dest
= (wxEvent
*) src
;
559 return (void *) dest
;
562 static void *SwigwxCloseEventTowxObject(void *ptr
) {
565 src
= (wxCloseEvent
*) ptr
;
566 dest
= (wxObject
*) src
;
567 return (void *) dest
;
570 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
571 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
572 PyObject
* _resultobj
;
573 wxCloseEvent
* _result
;
574 int _arg0
= (int ) 0;
575 int _arg1
= (int ) 0;
576 char *_kwnames
[] = { "commandEventType","id", NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCloseEvent",_kwnames
,&_arg0
,&_arg1
))
583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
584 _result
= (wxCloseEvent
*)new_wxCloseEvent(_arg0
,_arg1
);
586 wxPyEndAllowThreads(__tstate
);
587 if (PyErr_Occurred()) return NULL
;
589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCloseEvent_p");
590 _resultobj
= Py_BuildValue("s",_ptemp
);
593 _resultobj
= Py_None
;
598 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
599 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
601 wxCloseEvent
* _arg0
;
603 PyObject
* _argo0
= 0;
605 char *_kwnames
[] = { "self","loggingOff", NULL
};
608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
617 _arg1
= (bool ) tempbool1
;
619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
620 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
622 wxPyEndAllowThreads(__tstate
);
623 if (PyErr_Occurred()) return NULL
;
624 } Py_INCREF(Py_None
);
625 _resultobj
= Py_None
;
629 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
630 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
633 wxCloseEvent
* _arg0
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 } _resultobj
= Py_BuildValue("i",_result
);
657 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
658 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
660 wxCloseEvent
* _arg0
;
661 bool _arg1
= (bool ) TRUE
;
662 PyObject
* _argo0
= 0;
663 int tempbool1
= (int) TRUE
;
664 char *_kwnames
[] = { "self","veto", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
676 _arg1
= (bool ) tempbool1
;
678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 wxCloseEvent_Veto(_arg0
,_arg1
);
681 wxPyEndAllowThreads(__tstate
);
682 if (PyErr_Occurred()) return NULL
;
683 } Py_INCREF(Py_None
);
684 _resultobj
= Py_None
;
688 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
689 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
692 wxCloseEvent
* _arg0
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
708 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
710 wxPyEndAllowThreads(__tstate
);
711 if (PyErr_Occurred()) return NULL
;
712 } _resultobj
= Py_BuildValue("i",_result
);
716 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
717 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
720 wxCloseEvent
* _arg0
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) return NULL
;
740 } _resultobj
= Py_BuildValue("i",_result
);
744 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
745 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
747 wxCloseEvent
* _arg0
;
749 PyObject
* _argo0
= 0;
751 char *_kwnames
[] = { "self","canVeto", NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
763 _arg1
= (bool ) tempbool1
;
765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
766 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
768 wxPyEndAllowThreads(__tstate
);
769 if (PyErr_Occurred()) return NULL
;
770 } Py_INCREF(Py_None
);
771 _resultobj
= Py_None
;
775 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
778 src
= (wxCommandEvent
*) ptr
;
779 dest
= (wxEvent
*) src
;
780 return (void *) dest
;
783 static void *SwigwxCommandEventTowxObject(void *ptr
) {
786 src
= (wxCommandEvent
*) ptr
;
787 dest
= (wxObject
*) src
;
788 return (void *) dest
;
791 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
792 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
794 wxCommandEvent
* _result
;
795 int _arg0
= (int ) 0;
796 int _arg1
= (int ) 0;
797 char *_kwnames
[] = { "commandEventType","id", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCommandEvent",_kwnames
,&_arg0
,&_arg1
))
804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
805 _result
= (wxCommandEvent
*)new_wxCommandEvent(_arg0
,_arg1
);
807 wxPyEndAllowThreads(__tstate
);
808 if (PyErr_Occurred()) return NULL
;
810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCommandEvent_p");
811 _resultobj
= Py_BuildValue("s",_ptemp
);
814 _resultobj
= Py_None
;
819 #define wxCommandEvent_IsChecked(_swigobj) (_swigobj->IsChecked())
820 static PyObject
*_wrap_wxCommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
823 wxCommandEvent
* _arg0
;
824 PyObject
* _argo0
= 0;
825 char *_kwnames
[] = { "self", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsChecked",_kwnames
,&_argo0
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsChecked. Expected _wxCommandEvent_p.");
838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
839 _result
= (bool )wxCommandEvent_IsChecked(_arg0
);
841 wxPyEndAllowThreads(__tstate
);
842 if (PyErr_Occurred()) return NULL
;
843 } _resultobj
= Py_BuildValue("i",_result
);
847 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
848 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
851 wxCommandEvent
* _arg0
;
852 PyObject
* _argo0
= 0;
853 char *_kwnames
[] = { "self", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
867 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
869 wxPyEndAllowThreads(__tstate
);
870 if (PyErr_Occurred()) return NULL
;
871 } _resultobj
= Py_BuildValue("l",_result
);
875 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
876 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
879 wxCommandEvent
* _arg0
;
880 PyObject
* _argo0
= 0;
881 char *_kwnames
[] = { "self", NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
895 _result
= (int )wxCommandEvent_GetInt(_arg0
);
897 wxPyEndAllowThreads(__tstate
);
898 if (PyErr_Occurred()) return NULL
;
899 } _resultobj
= Py_BuildValue("i",_result
);
903 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
904 static PyObject
*_wrap_wxCommandEvent_GetSelection(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_GetSelection",_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_GetSelection. Expected _wxCommandEvent_p.");
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
927 } _resultobj
= Py_BuildValue("i",_result
);
931 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
932 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* _resultobj
;
935 wxCommandEvent
* _arg0
;
936 PyObject
* _argo0
= 0;
937 char *_kwnames
[] = { "self", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
951 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
953 wxPyEndAllowThreads(__tstate
);
954 if (PyErr_Occurred()) return NULL
;
957 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
959 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
968 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
969 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
972 wxCommandEvent
* _arg0
;
973 PyObject
* _argo0
= 0;
974 char *_kwnames
[] = { "self", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
988 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
990 wxPyEndAllowThreads(__tstate
);
991 if (PyErr_Occurred()) return NULL
;
992 } _resultobj
= Py_BuildValue("i",_result
);
996 #define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
997 static PyObject
*_wrap_wxCommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
998 PyObject
* _resultobj
;
999 wxCommandEvent
* _arg0
;
1001 PyObject
* _argo0
= 0;
1002 PyObject
* _obj1
= 0;
1003 char *_kwnames
[] = { "self","s", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCommandEvent_SetString",_kwnames
,&_argo0
,&_obj1
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
1016 _arg1
= wxString_in_helper(_obj1
);
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 wxCommandEvent_SetString(_arg0
,*_arg1
);
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1035 #define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
1036 static PyObject
*_wrap_wxCommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1038 wxCommandEvent
* _arg0
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self","extraLong", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCommandEvent_SetExtraLong",_kwnames
,&_argo0
,&_arg1
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 wxCommandEvent_SetExtraLong(_arg0
,_arg1
);
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) return NULL
;
1059 } Py_INCREF(Py_None
);
1060 _resultobj
= Py_None
;
1064 #define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1065 static PyObject
*_wrap_wxCommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1067 wxCommandEvent
* _arg0
;
1069 PyObject
* _argo0
= 0;
1070 char *_kwnames
[] = { "self","i", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCommandEvent_SetInt",_kwnames
,&_argo0
,&_arg1
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 wxCommandEvent_SetInt(_arg0
,_arg1
);
1086 wxPyEndAllowThreads(__tstate
);
1087 if (PyErr_Occurred()) return NULL
;
1088 } Py_INCREF(Py_None
);
1089 _resultobj
= Py_None
;
1093 static PyObject
* wxCommandEvent_GetClientData(wxCommandEvent
*self
) {
1094 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
1096 Py_INCREF(data
->m_obj
);
1103 static PyObject
*_wrap_wxCommandEvent_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1106 wxCommandEvent
* _arg0
;
1107 PyObject
* _argo0
= 0;
1108 char *_kwnames
[] = { "self", NULL
};
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetClientData",_kwnames
,&_argo0
))
1114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetClientData. Expected _wxCommandEvent_p.");
1121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1122 _result
= (PyObject
*)wxCommandEvent_GetClientData(_arg0
);
1124 wxPyEndAllowThreads(__tstate
);
1125 if (PyErr_Occurred()) return NULL
;
1127 _resultobj
= _result
;
1132 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1134 wxCommandEvent
*dest
;
1135 src
= (wxScrollEvent
*) ptr
;
1136 dest
= (wxCommandEvent
*) src
;
1137 return (void *) dest
;
1140 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1143 src
= (wxScrollEvent
*) ptr
;
1144 dest
= (wxEvent
*) src
;
1145 return (void *) dest
;
1148 static void *SwigwxScrollEventTowxObject(void *ptr
) {
1151 src
= (wxScrollEvent
*) ptr
;
1152 dest
= (wxObject
*) src
;
1153 return (void *) dest
;
1156 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1157 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxScrollEvent
* _result
;
1160 int _arg0
= (int ) 0;
1161 int _arg1
= (int ) 0;
1162 int _arg2
= (int ) 0;
1163 int _arg3
= (int ) 0;
1164 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) return NULL
;
1177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1178 _resultobj
= Py_BuildValue("s",_ptemp
);
1181 _resultobj
= Py_None
;
1186 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1187 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
* _resultobj
;
1190 wxScrollEvent
* _arg0
;
1191 PyObject
* _argo0
= 0;
1192 char *_kwnames
[] = { "self", NULL
};
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) return NULL
;
1210 } _resultobj
= Py_BuildValue("i",_result
);
1214 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1215 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
* _resultobj
;
1218 wxScrollEvent
* _arg0
;
1219 PyObject
* _argo0
= 0;
1220 char *_kwnames
[] = { "self", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) return NULL
;
1238 } _resultobj
= Py_BuildValue("i",_result
);
1242 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1243 wxScrollWinEvent
*src
;
1245 src
= (wxScrollWinEvent
*) ptr
;
1246 dest
= (wxEvent
*) src
;
1247 return (void *) dest
;
1250 static void *SwigwxScrollWinEventTowxObject(void *ptr
) {
1251 wxScrollWinEvent
*src
;
1253 src
= (wxScrollWinEvent
*) ptr
;
1254 dest
= (wxObject
*) src
;
1255 return (void *) dest
;
1258 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1259 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1261 wxScrollWinEvent
* _result
;
1262 int _arg0
= (int ) 0;
1263 int _arg1
= (int ) 0;
1264 int _arg2
= (int ) 0;
1265 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1273 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1275 wxPyEndAllowThreads(__tstate
);
1276 if (PyErr_Occurred()) return NULL
;
1278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1279 _resultobj
= Py_BuildValue("s",_ptemp
);
1282 _resultobj
= Py_None
;
1287 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1288 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1291 wxScrollWinEvent
* _arg0
;
1292 PyObject
* _argo0
= 0;
1293 char *_kwnames
[] = { "self", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } _resultobj
= Py_BuildValue("i",_result
);
1315 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1316 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1319 wxScrollWinEvent
* _arg0
;
1320 PyObject
* _argo0
= 0;
1321 char *_kwnames
[] = { "self", NULL
};
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 } _resultobj
= Py_BuildValue("i",_result
);
1343 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1345 wxScrollEvent
*dest
;
1346 src
= (wxSpinEvent
*) ptr
;
1347 dest
= (wxScrollEvent
*) src
;
1348 return (void *) dest
;
1351 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1353 wxCommandEvent
*dest
;
1354 src
= (wxSpinEvent
*) ptr
;
1355 dest
= (wxCommandEvent
*) src
;
1356 return (void *) dest
;
1359 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1362 src
= (wxSpinEvent
*) ptr
;
1363 dest
= (wxEvent
*) src
;
1364 return (void *) dest
;
1367 static void *SwigwxSpinEventTowxObject(void *ptr
) {
1370 src
= (wxSpinEvent
*) ptr
;
1371 dest
= (wxObject
*) src
;
1372 return (void *) dest
;
1375 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1376 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1378 wxSpinEvent
* _result
;
1379 int _arg0
= (int ) 0;
1380 int _arg1
= (int ) 0;
1381 char *_kwnames
[] = { "commandType","id", NULL
};
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1389 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1391 wxPyEndAllowThreads(__tstate
);
1392 if (PyErr_Occurred()) return NULL
;
1394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1395 _resultobj
= Py_BuildValue("s",_ptemp
);
1398 _resultobj
= Py_None
;
1403 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1406 src
= (wxMouseEvent
*) ptr
;
1407 dest
= (wxEvent
*) src
;
1408 return (void *) dest
;
1411 static void *SwigwxMouseEventTowxObject(void *ptr
) {
1414 src
= (wxMouseEvent
*) ptr
;
1415 dest
= (wxObject
*) src
;
1416 return (void *) dest
;
1419 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1420 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1422 wxMouseEvent
* _result
;
1423 int _arg0
= (int ) 0;
1424 char *_kwnames
[] = { "mouseEventType", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) return NULL
;
1437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1438 _resultobj
= Py_BuildValue("s",_ptemp
);
1441 _resultobj
= Py_None
;
1446 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1447 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1450 wxMouseEvent
* _arg0
;
1451 PyObject
* _argo0
= 0;
1452 char *_kwnames
[] = { "self", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) return NULL
;
1470 } _resultobj
= Py_BuildValue("i",_result
);
1474 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1475 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1478 wxMouseEvent
* _arg0
;
1479 int _arg1
= (int ) -1;
1480 PyObject
* _argo0
= 0;
1481 char *_kwnames
[] = { "self","but", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) return NULL
;
1499 } _resultobj
= Py_BuildValue("i",_result
);
1503 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1504 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1507 wxMouseEvent
* _arg0
;
1508 int _arg1
= (int ) -1;
1509 PyObject
* _argo0
= 0;
1510 char *_kwnames
[] = { "self","but", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1528 } _resultobj
= Py_BuildValue("i",_result
);
1532 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1533 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1536 wxMouseEvent
* _arg0
;
1537 int _arg1
= (int ) -1;
1538 PyObject
* _argo0
= 0;
1539 char *_kwnames
[] = { "self","but", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) return NULL
;
1557 } _resultobj
= Py_BuildValue("i",_result
);
1561 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1562 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1565 wxMouseEvent
* _arg0
;
1567 PyObject
* _argo0
= 0;
1568 char *_kwnames
[] = { "self","but", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) return NULL
;
1586 } _resultobj
= Py_BuildValue("i",_result
);
1590 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1591 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1594 wxMouseEvent
* _arg0
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self","but", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1615 } _resultobj
= Py_BuildValue("i",_result
);
1619 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1620 static PyObject
*_wrap_wxMouseEvent_ControlDown(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_ControlDown",_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_ControlDown. Expected _wxMouseEvent_p.");
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1643 } _resultobj
= Py_BuildValue("i",_result
);
1647 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1648 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
* _resultobj
;
1651 wxMouseEvent
* _arg0
;
1652 PyObject
* _argo0
= 0;
1653 char *_kwnames
[] = { "self", NULL
};
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) return NULL
;
1671 } _resultobj
= Py_BuildValue("i",_result
);
1675 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1676 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1679 wxMouseEvent
* _arg0
;
1680 PyObject
* _argo0
= 0;
1681 char *_kwnames
[] = { "self", NULL
};
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) return NULL
;
1699 } _resultobj
= Py_BuildValue("i",_result
);
1703 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1704 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1707 wxMouseEvent
* _arg0
;
1708 PyObject
* _argo0
= 0;
1709 char *_kwnames
[] = { "self", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) return NULL
;
1727 } _resultobj
= Py_BuildValue("i",_result
);
1731 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1732 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1735 wxMouseEvent
* _arg0
;
1736 PyObject
* _argo0
= 0;
1737 char *_kwnames
[] = { "self", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) return NULL
;
1755 } _resultobj
= Py_BuildValue("i",_result
);
1759 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1760 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 wxMouseEvent
* _arg0
;
1764 PyObject
* _argo0
= 0;
1765 char *_kwnames
[] = { "self", NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) return NULL
;
1783 } _resultobj
= Py_BuildValue("i",_result
);
1787 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1788 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
* _resultobj
;
1791 wxMouseEvent
* _arg0
;
1792 PyObject
* _argo0
= 0;
1793 char *_kwnames
[] = { "self", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1809 wxPyEndAllowThreads(__tstate
);
1810 if (PyErr_Occurred()) return NULL
;
1811 } _resultobj
= Py_BuildValue("i",_result
);
1815 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1816 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1819 wxMouseEvent
* _arg0
;
1820 PyObject
* _argo0
= 0;
1821 char *_kwnames
[] = { "self", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) return NULL
;
1839 } _resultobj
= Py_BuildValue("i",_result
);
1843 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1844 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1847 wxMouseEvent
* _arg0
;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) return NULL
;
1867 } _resultobj
= Py_BuildValue("i",_result
);
1871 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1872 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1875 wxMouseEvent
* _arg0
;
1876 PyObject
* _argo0
= 0;
1877 char *_kwnames
[] = { "self", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) return NULL
;
1895 } _resultobj
= Py_BuildValue("i",_result
);
1899 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1900 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
* _resultobj
;
1903 wxMouseEvent
* _arg0
;
1904 PyObject
* _argo0
= 0;
1905 char *_kwnames
[] = { "self", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) return NULL
;
1923 } _resultobj
= Py_BuildValue("i",_result
);
1927 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1928 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1931 wxMouseEvent
* _arg0
;
1932 PyObject
* _argo0
= 0;
1933 char *_kwnames
[] = { "self", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) return NULL
;
1951 } _resultobj
= Py_BuildValue("i",_result
);
1955 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1956 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1959 wxMouseEvent
* _arg0
;
1960 PyObject
* _argo0
= 0;
1961 char *_kwnames
[] = { "self", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) return NULL
;
1979 } _resultobj
= Py_BuildValue("i",_result
);
1983 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1984 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1987 wxMouseEvent
* _arg0
;
1988 PyObject
* _argo0
= 0;
1989 char *_kwnames
[] = { "self", NULL
};
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) return NULL
;
2007 } _resultobj
= Py_BuildValue("i",_result
);
2011 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
2012 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2015 wxMouseEvent
* _arg0
;
2016 PyObject
* _argo0
= 0;
2017 char *_kwnames
[] = { "self", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
2023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) return NULL
;
2035 } _resultobj
= Py_BuildValue("i",_result
);
2039 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
2040 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2043 wxMouseEvent
* _arg0
;
2044 PyObject
* _argo0
= 0;
2045 char *_kwnames
[] = { "self", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) return NULL
;
2063 } _resultobj
= Py_BuildValue("i",_result
);
2067 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
2068 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2071 wxMouseEvent
* _arg0
;
2072 PyObject
* _argo0
= 0;
2073 char *_kwnames
[] = { "self", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) return NULL
;
2091 } _resultobj
= Py_BuildValue("i",_result
);
2095 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
2096 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2099 wxMouseEvent
* _arg0
;
2100 PyObject
* _argo0
= 0;
2101 char *_kwnames
[] = { "self", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 _result
= (bool )wxMouseEvent_Moving(_arg0
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) return NULL
;
2119 } _resultobj
= Py_BuildValue("i",_result
);
2123 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
2124 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
* _resultobj
;
2127 wxMouseEvent
* _arg0
;
2128 PyObject
* _argo0
= 0;
2129 char *_kwnames
[] = { "self", NULL
};
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
2135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 _result
= (bool )wxMouseEvent_Entering(_arg0
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) return NULL
;
2147 } _resultobj
= Py_BuildValue("i",_result
);
2151 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
2152 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
* _resultobj
;
2155 wxMouseEvent
* _arg0
;
2156 PyObject
* _argo0
= 0;
2157 char *_kwnames
[] = { "self", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
2163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) return NULL
;
2175 } _resultobj
= Py_BuildValue("i",_result
);
2179 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2180 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2183 wxMouseEvent
* _arg0
;
2184 PyObject
* _argo0
= 0;
2185 char *_kwnames
[] = { "self", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) return NULL
;
2204 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2205 _resultobj
= Py_BuildValue("s",_ptemp
);
2209 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2210 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2212 wxMouseEvent
* _arg0
;
2217 PyObject
* _argo0
= 0;
2218 char *_kwnames
[] = { "self", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) return NULL
;
2242 } Py_INCREF(Py_None
);
2243 _resultobj
= Py_None
;
2246 o
= PyInt_FromLong((long) (*_arg1
));
2247 _resultobj
= t_output_helper(_resultobj
, o
);
2251 o
= PyInt_FromLong((long) (*_arg2
));
2252 _resultobj
= t_output_helper(_resultobj
, o
);
2257 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2258 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
* _resultobj
;
2261 wxMouseEvent
* _arg0
;
2263 PyObject
* _argo0
= 0;
2264 PyObject
* _argo1
= 0;
2265 char *_kwnames
[] = { "self","dc", NULL
};
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2279 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) return NULL
;
2290 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2291 _resultobj
= Py_BuildValue("s",_ptemp
);
2295 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2296 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2299 wxMouseEvent
* _arg0
;
2300 PyObject
* _argo0
= 0;
2301 char *_kwnames
[] = { "self", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 _result
= (long )wxMouseEvent_GetX(_arg0
);
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) return NULL
;
2319 } _resultobj
= Py_BuildValue("l",_result
);
2323 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2324 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2327 wxMouseEvent
* _arg0
;
2328 PyObject
* _argo0
= 0;
2329 char *_kwnames
[] = { "self", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 _result
= (long )wxMouseEvent_GetY(_arg0
);
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) return NULL
;
2347 } _resultobj
= Py_BuildValue("l",_result
);
2351 #define wxMouseEvent_GetWheelRotation(_swigobj) (_swigobj->GetWheelRotation())
2352 static PyObject
*_wrap_wxMouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2355 wxMouseEvent
* _arg0
;
2356 PyObject
* _argo0
= 0;
2357 char *_kwnames
[] = { "self", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelRotation",_kwnames
,&_argo0
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelRotation. Expected _wxMouseEvent_p.");
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 _result
= (int )wxMouseEvent_GetWheelRotation(_arg0
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) return NULL
;
2375 } _resultobj
= Py_BuildValue("i",_result
);
2379 #define wxMouseEvent_GetWheelDelta(_swigobj) (_swigobj->GetWheelDelta())
2380 static PyObject
*_wrap_wxMouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2383 wxMouseEvent
* _arg0
;
2384 PyObject
* _argo0
= 0;
2385 char *_kwnames
[] = { "self", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelDelta",_kwnames
,&_argo0
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelDelta. Expected _wxMouseEvent_p.");
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 _result
= (int )wxMouseEvent_GetWheelDelta(_arg0
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) return NULL
;
2403 } _resultobj
= Py_BuildValue("i",_result
);
2407 #define wxMouseEvent_GetLinesPerAction(_swigobj) (_swigobj->GetLinesPerAction())
2408 static PyObject
*_wrap_wxMouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2411 wxMouseEvent
* _arg0
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetLinesPerAction",_kwnames
,&_argo0
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLinesPerAction. Expected _wxMouseEvent_p.");
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 _result
= (int )wxMouseEvent_GetLinesPerAction(_arg0
);
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) return NULL
;
2431 } _resultobj
= Py_BuildValue("i",_result
);
2435 #define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2436 static PyObject
*_wrap_wxMouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2439 wxMouseEvent
* _arg0
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self","m_x", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 _result
= (long )wxMouseEvent_m_x_set(_arg0
,_arg1
);
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) return NULL
;
2460 } _resultobj
= Py_BuildValue("l",_result
);
2464 #define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2465 static PyObject
*_wrap_wxMouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2468 wxMouseEvent
* _arg0
;
2469 PyObject
* _argo0
= 0;
2470 char *_kwnames
[] = { "self", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_x_get",_kwnames
,&_argo0
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 _result
= (long )wxMouseEvent_m_x_get(_arg0
);
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) return NULL
;
2488 } _resultobj
= Py_BuildValue("l",_result
);
2492 #define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2493 static PyObject
*_wrap_wxMouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2496 wxMouseEvent
* _arg0
;
2498 PyObject
* _argo0
= 0;
2499 char *_kwnames
[] = { "self","m_y", NULL
};
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
2505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 _result
= (long )wxMouseEvent_m_y_set(_arg0
,_arg1
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) return NULL
;
2517 } _resultobj
= Py_BuildValue("l",_result
);
2521 #define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2522 static PyObject
*_wrap_wxMouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2525 wxMouseEvent
* _arg0
;
2526 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_y_get",_kwnames
,&_argo0
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 _result
= (long )wxMouseEvent_m_y_get(_arg0
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) return NULL
;
2545 } _resultobj
= Py_BuildValue("l",_result
);
2549 #define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2550 static PyObject
*_wrap_wxMouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
* _resultobj
;
2553 wxMouseEvent
* _arg0
;
2555 PyObject
* _argo0
= 0;
2557 char *_kwnames
[] = { "self","m_leftDown", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_leftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
2569 _arg1
= (bool ) tempbool1
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 _result
= (bool )wxMouseEvent_m_leftDown_set(_arg0
,_arg1
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) return NULL
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2581 static PyObject
*_wrap_wxMouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2584 wxMouseEvent
* _arg0
;
2585 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_leftDown_get",_kwnames
,&_argo0
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 _result
= (bool )wxMouseEvent_m_leftDown_get(_arg0
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) return NULL
;
2604 } _resultobj
= Py_BuildValue("i",_result
);
2608 #define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2609 static PyObject
*_wrap_wxMouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2612 wxMouseEvent
* _arg0
;
2614 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self","m_middleDown", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_middleDown_set",_kwnames
,&_argo0
,&tempbool1
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
2628 _arg1
= (bool ) tempbool1
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 _result
= (bool )wxMouseEvent_m_middleDown_set(_arg0
,_arg1
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) return NULL
;
2635 } _resultobj
= Py_BuildValue("i",_result
);
2639 #define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2640 static PyObject
*_wrap_wxMouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2643 wxMouseEvent
* _arg0
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_middleDown_get",_kwnames
,&_argo0
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 _result
= (bool )wxMouseEvent_m_middleDown_get(_arg0
);
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) return NULL
;
2663 } _resultobj
= Py_BuildValue("i",_result
);
2667 #define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2668 static PyObject
*_wrap_wxMouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2671 wxMouseEvent
* _arg0
;
2673 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self","m_rightDown", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_rightDown_set",_kwnames
,&_argo0
,&tempbool1
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
2687 _arg1
= (bool ) tempbool1
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 _result
= (bool )wxMouseEvent_m_rightDown_set(_arg0
,_arg1
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) return NULL
;
2694 } _resultobj
= Py_BuildValue("i",_result
);
2698 #define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2699 static PyObject
*_wrap_wxMouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2702 wxMouseEvent
* _arg0
;
2703 PyObject
* _argo0
= 0;
2704 char *_kwnames
[] = { "self", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_rightDown_get",_kwnames
,&_argo0
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 _result
= (bool )wxMouseEvent_m_rightDown_get(_arg0
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) return NULL
;
2722 } _resultobj
= Py_BuildValue("i",_result
);
2726 #define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2727 static PyObject
*_wrap_wxMouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
* _resultobj
;
2730 wxMouseEvent
* _arg0
;
2732 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self","m_controlDown", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
2746 _arg1
= (bool ) tempbool1
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 _result
= (bool )wxMouseEvent_m_controlDown_set(_arg0
,_arg1
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) return NULL
;
2753 } _resultobj
= Py_BuildValue("i",_result
);
2757 #define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2758 static PyObject
*_wrap_wxMouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
* _resultobj
;
2761 wxMouseEvent
* _arg0
;
2762 PyObject
* _argo0
= 0;
2763 char *_kwnames
[] = { "self", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_controlDown_get",_kwnames
,&_argo0
))
2769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 _result
= (bool )wxMouseEvent_m_controlDown_get(_arg0
);
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) return NULL
;
2781 } _resultobj
= Py_BuildValue("i",_result
);
2785 #define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2786 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
* _resultobj
;
2789 wxMouseEvent
* _arg0
;
2791 PyObject
* _argo0
= 0;
2793 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
2805 _arg1
= (bool ) tempbool1
;
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 _result
= (bool )wxMouseEvent_m_shiftDown_set(_arg0
,_arg1
);
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) return NULL
;
2812 } _resultobj
= Py_BuildValue("i",_result
);
2816 #define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2817 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2820 wxMouseEvent
* _arg0
;
2821 PyObject
* _argo0
= 0;
2822 char *_kwnames
[] = { "self", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_shiftDown_get",_kwnames
,&_argo0
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 _result
= (bool )wxMouseEvent_m_shiftDown_get(_arg0
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) return NULL
;
2840 } _resultobj
= Py_BuildValue("i",_result
);
2844 #define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2845 static PyObject
*_wrap_wxMouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2848 wxMouseEvent
* _arg0
;
2850 PyObject
* _argo0
= 0;
2852 char *_kwnames
[] = { "self","m_altDown", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
2864 _arg1
= (bool ) tempbool1
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 _result
= (bool )wxMouseEvent_m_altDown_set(_arg0
,_arg1
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) return NULL
;
2871 } _resultobj
= Py_BuildValue("i",_result
);
2875 #define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2876 static PyObject
*_wrap_wxMouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2879 wxMouseEvent
* _arg0
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_altDown_get",_kwnames
,&_argo0
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 _result
= (bool )wxMouseEvent_m_altDown_get(_arg0
);
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) return NULL
;
2899 } _resultobj
= Py_BuildValue("i",_result
);
2903 #define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2904 static PyObject
*_wrap_wxMouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2907 wxMouseEvent
* _arg0
;
2909 PyObject
* _argo0
= 0;
2911 char *_kwnames
[] = { "self","m_metaDown", NULL
};
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
2917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2923 _arg1
= (bool ) tempbool1
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 _result
= (bool )wxMouseEvent_m_metaDown_set(_arg0
,_arg1
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) return NULL
;
2930 } _resultobj
= Py_BuildValue("i",_result
);
2934 #define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2935 static PyObject
*_wrap_wxMouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2938 wxMouseEvent
* _arg0
;
2939 PyObject
* _argo0
= 0;
2940 char *_kwnames
[] = { "self", NULL
};
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_metaDown_get",_kwnames
,&_argo0
))
2946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 _result
= (bool )wxMouseEvent_m_metaDown_get(_arg0
);
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) return NULL
;
2958 } _resultobj
= Py_BuildValue("i",_result
);
2962 #define wxMouseEvent_m_wheelRotation_set(_swigobj,_swigval) (_swigobj->m_wheelRotation = _swigval,_swigval)
2963 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
* _resultobj
;
2966 wxMouseEvent
* _arg0
;
2968 PyObject
* _argo0
= 0;
2969 char *_kwnames
[] = { "self","m_wheelRotation", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelRotation_set",_kwnames
,&_argo0
,&_arg1
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_set. Expected _wxMouseEvent_p.");
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 _result
= (int )wxMouseEvent_m_wheelRotation_set(_arg0
,_arg1
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) return NULL
;
2987 } _resultobj
= Py_BuildValue("i",_result
);
2991 #define wxMouseEvent_m_wheelRotation_get(_swigobj) ((int ) _swigobj->m_wheelRotation)
2992 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2995 wxMouseEvent
* _arg0
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelRotation_get",_kwnames
,&_argo0
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_get. Expected _wxMouseEvent_p.");
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 _result
= (int )wxMouseEvent_m_wheelRotation_get(_arg0
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } _resultobj
= Py_BuildValue("i",_result
);
3019 #define wxMouseEvent_m_wheelDelta_set(_swigobj,_swigval) (_swigobj->m_wheelDelta = _swigval,_swigval)
3020 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3023 wxMouseEvent
* _arg0
;
3025 PyObject
* _argo0
= 0;
3026 char *_kwnames
[] = { "self","m_wheelDelta", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelDelta_set",_kwnames
,&_argo0
,&_arg1
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_set. Expected _wxMouseEvent_p.");
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 _result
= (int )wxMouseEvent_m_wheelDelta_set(_arg0
,_arg1
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) return NULL
;
3044 } _resultobj
= Py_BuildValue("i",_result
);
3048 #define wxMouseEvent_m_wheelDelta_get(_swigobj) ((int ) _swigobj->m_wheelDelta)
3049 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3052 wxMouseEvent
* _arg0
;
3053 PyObject
* _argo0
= 0;
3054 char *_kwnames
[] = { "self", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelDelta_get",_kwnames
,&_argo0
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_get. Expected _wxMouseEvent_p.");
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 _result
= (int )wxMouseEvent_m_wheelDelta_get(_arg0
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) return NULL
;
3072 } _resultobj
= Py_BuildValue("i",_result
);
3076 #define wxMouseEvent_m_linesPerAction_set(_swigobj,_swigval) (_swigobj->m_linesPerAction = _swigval,_swigval)
3077 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3080 wxMouseEvent
* _arg0
;
3082 PyObject
* _argo0
= 0;
3083 char *_kwnames
[] = { "self","m_linesPerAction", NULL
};
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_linesPerAction_set",_kwnames
,&_argo0
,&_arg1
))
3089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_set. Expected _wxMouseEvent_p.");
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 _result
= (int )wxMouseEvent_m_linesPerAction_set(_arg0
,_arg1
);
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) return NULL
;
3101 } _resultobj
= Py_BuildValue("i",_result
);
3105 #define wxMouseEvent_m_linesPerAction_get(_swigobj) ((int ) _swigobj->m_linesPerAction)
3106 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3109 wxMouseEvent
* _arg0
;
3110 PyObject
* _argo0
= 0;
3111 char *_kwnames
[] = { "self", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_linesPerAction_get",_kwnames
,&_argo0
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_get. Expected _wxMouseEvent_p.");
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 _result
= (int )wxMouseEvent_m_linesPerAction_get(_arg0
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) return NULL
;
3129 } _resultobj
= Py_BuildValue("i",_result
);
3133 static void *SwigwxMouseCaptureChangedEventTowxEvent(void *ptr
) {
3134 wxMouseCaptureChangedEvent
*src
;
3136 src
= (wxMouseCaptureChangedEvent
*) ptr
;
3137 dest
= (wxEvent
*) src
;
3138 return (void *) dest
;
3141 static void *SwigwxMouseCaptureChangedEventTowxObject(void *ptr
) {
3142 wxMouseCaptureChangedEvent
*src
;
3144 src
= (wxMouseCaptureChangedEvent
*) ptr
;
3145 dest
= (wxObject
*) src
;
3146 return (void *) dest
;
3149 #define new_wxMouseCaptureChangedEvent(_swigarg0,_swigarg1) (new wxMouseCaptureChangedEvent(_swigarg0,_swigarg1))
3150 static PyObject
*_wrap_new_wxMouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3152 wxMouseCaptureChangedEvent
* _result
;
3153 wxWindowID _arg0
= (wxWindowID
) 0;
3154 wxWindow
* _arg1
= (wxWindow
*) NULL
;
3155 PyObject
* _argo1
= 0;
3156 char *_kwnames
[] = { "id","gainedCapture", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxMouseCaptureChangedEvent",_kwnames
,&_arg0
,&_argo1
))
3163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxMouseCaptureChangedEvent. Expected _wxWindow_p.");
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 _result
= (wxMouseCaptureChangedEvent
*)new_wxMouseCaptureChangedEvent(_arg0
,_arg1
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) return NULL
;
3176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseCaptureChangedEvent_p");
3177 _resultobj
= Py_BuildValue("s",_ptemp
);
3180 _resultobj
= Py_None
;
3185 #define wxMouseCaptureChangedEvent_GetCapturedWindow(_swigobj) (_swigobj->GetCapturedWindow())
3186 static PyObject
*_wrap_wxMouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3189 wxMouseCaptureChangedEvent
* _arg0
;
3190 PyObject
* _argo0
= 0;
3191 char *_kwnames
[] = { "self", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseCaptureChangedEvent_GetCapturedWindow",_kwnames
,&_argo0
))
3197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseCaptureChangedEvent_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseCaptureChangedEvent_GetCapturedWindow. Expected _wxMouseCaptureChangedEvent_p.");
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 _result
= (wxWindow
*)wxMouseCaptureChangedEvent_GetCapturedWindow(_arg0
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) return NULL
;
3209 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3213 static void *SwigwxSetCursorEventTowxEvent(void *ptr
) {
3214 wxSetCursorEvent
*src
;
3216 src
= (wxSetCursorEvent
*) ptr
;
3217 dest
= (wxEvent
*) src
;
3218 return (void *) dest
;
3221 static void *SwigwxSetCursorEventTowxObject(void *ptr
) {
3222 wxSetCursorEvent
*src
;
3224 src
= (wxSetCursorEvent
*) ptr
;
3225 dest
= (wxObject
*) src
;
3226 return (void *) dest
;
3229 #define new_wxSetCursorEvent(_swigarg0,_swigarg1) (new wxSetCursorEvent(_swigarg0,_swigarg1))
3230 static PyObject
*_wrap_new_wxSetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3232 wxSetCursorEvent
* _result
;
3233 wxCoord _arg0
= (wxCoord
) 0;
3234 wxCoord _arg1
= (wxCoord
) 0;
3235 char *_kwnames
[] = { "x","y", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSetCursorEvent",_kwnames
,&_arg0
,&_arg1
))
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 _result
= (wxSetCursorEvent
*)new_wxSetCursorEvent(_arg0
,_arg1
);
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) return NULL
;
3248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSetCursorEvent_p");
3249 _resultobj
= Py_BuildValue("s",_ptemp
);
3252 _resultobj
= Py_None
;
3257 #define wxSetCursorEvent_GetX(_swigobj) (_swigobj->GetX())
3258 static PyObject
*_wrap_wxSetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3261 wxSetCursorEvent
* _arg0
;
3262 PyObject
* _argo0
= 0;
3263 char *_kwnames
[] = { "self", NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursorEvent_GetX",_kwnames
,&_argo0
))
3269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSetCursorEvent_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursorEvent_GetX. Expected _wxSetCursorEvent_p.");
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 _result
= (wxCoord
)wxSetCursorEvent_GetX(_arg0
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3281 } _resultobj
= Py_BuildValue("i",_result
);
3285 #define wxSetCursorEvent_GetY(_swigobj) (_swigobj->GetY())
3286 static PyObject
*_wrap_wxSetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3289 wxSetCursorEvent
* _arg0
;
3290 PyObject
* _argo0
= 0;
3291 char *_kwnames
[] = { "self", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursorEvent_GetY",_kwnames
,&_argo0
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSetCursorEvent_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursorEvent_GetY. Expected _wxSetCursorEvent_p.");
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 _result
= (wxCoord
)wxSetCursorEvent_GetY(_arg0
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) return NULL
;
3309 } _resultobj
= Py_BuildValue("i",_result
);
3313 #define wxSetCursorEvent_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3314 static PyObject
*_wrap_wxSetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3316 wxSetCursorEvent
* _arg0
;
3318 PyObject
* _argo0
= 0;
3319 PyObject
* _argo1
= 0;
3320 char *_kwnames
[] = { "self","cursor", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSetCursorEvent_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSetCursorEvent_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursorEvent_SetCursor. Expected _wxSetCursorEvent_p.");
3333 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSetCursorEvent_SetCursor. Expected _wxCursor_p.");
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 wxSetCursorEvent_SetCursor(_arg0
,*_arg1
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3344 } Py_INCREF(Py_None
);
3345 _resultobj
= Py_None
;
3349 #define wxSetCursorEvent_GetCursor(_swigobj) (_swigobj->GetCursor())
3350 static PyObject
*_wrap_wxSetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3353 wxSetCursorEvent
* _arg0
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "self", NULL
};
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursorEvent_GetCursor",_kwnames
,&_argo0
))
3362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSetCursorEvent_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursorEvent_GetCursor. Expected _wxSetCursorEvent_p.");
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 const wxCursor
& _result_ref
= wxSetCursorEvent_GetCursor(_arg0
);
3371 _result
= (wxCursor
*) &_result_ref
;
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) return NULL
;
3376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
3377 _resultobj
= Py_BuildValue("s",_ptemp
);
3380 _resultobj
= Py_None
;
3385 #define wxSetCursorEvent_HasCursor(_swigobj) (_swigobj->HasCursor())
3386 static PyObject
*_wrap_wxSetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3389 wxSetCursorEvent
* _arg0
;
3390 PyObject
* _argo0
= 0;
3391 char *_kwnames
[] = { "self", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursorEvent_HasCursor",_kwnames
,&_argo0
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSetCursorEvent_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursorEvent_HasCursor. Expected _wxSetCursorEvent_p.");
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 _result
= (bool )wxSetCursorEvent_HasCursor(_arg0
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) return NULL
;
3409 } _resultobj
= Py_BuildValue("i",_result
);
3413 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
3416 src
= (wxKeyEvent
*) ptr
;
3417 dest
= (wxEvent
*) src
;
3418 return (void *) dest
;
3421 static void *SwigwxKeyEventTowxObject(void *ptr
) {
3424 src
= (wxKeyEvent
*) ptr
;
3425 dest
= (wxObject
*) src
;
3426 return (void *) dest
;
3429 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
3430 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
* _resultobj
;
3432 wxKeyEvent
* _result
;
3434 char *_kwnames
[] = { "keyEventType", NULL
};
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) return NULL
;
3447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
3448 _resultobj
= Py_BuildValue("s",_ptemp
);
3451 _resultobj
= Py_None
;
3456 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3457 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
* _resultobj
;
3461 PyObject
* _argo0
= 0;
3462 char *_kwnames
[] = { "self", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3480 } _resultobj
= Py_BuildValue("i",_result
);
3484 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
3485 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
* _resultobj
;
3489 PyObject
* _argo0
= 0;
3490 char *_kwnames
[] = { "self", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) return NULL
;
3508 } _resultobj
= Py_BuildValue("i",_result
);
3512 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
3513 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3517 PyObject
* _argo0
= 0;
3518 char *_kwnames
[] = { "self", NULL
};
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
3524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) return NULL
;
3536 } _resultobj
= Py_BuildValue("i",_result
);
3540 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3541 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3545 PyObject
* _argo0
= 0;
3546 char *_kwnames
[] = { "self", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
3552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) return NULL
;
3564 } _resultobj
= Py_BuildValue("i",_result
);
3568 #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3569 static PyObject
*_wrap_wxKeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3573 PyObject
* _argo0
= 0;
3574 char *_kwnames
[] = { "self", NULL
};
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetKeyCode",_kwnames
,&_argo0
))
3580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 _result
= (long )wxKeyEvent_GetKeyCode(_arg0
);
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) return NULL
;
3592 } _resultobj
= Py_BuildValue("l",_result
);
3596 #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
3597 static PyObject
*_wrap_wxKeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3601 PyObject
* _argo0
= 0;
3602 char *_kwnames
[] = { "self", NULL
};
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_HasModifiers",_kwnames
,&_argo0
))
3608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 _result
= (bool )wxKeyEvent_HasModifiers(_arg0
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) return NULL
;
3620 } _resultobj
= Py_BuildValue("i",_result
);
3624 #define wxKeyEvent_GetRawKeyCode(_swigobj) (_swigobj->GetRawKeyCode())
3625 static PyObject
*_wrap_wxKeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3629 PyObject
* _argo0
= 0;
3630 char *_kwnames
[] = { "self", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetRawKeyCode",_kwnames
,&_argo0
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetRawKeyCode. Expected _wxKeyEvent_p.");
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 _result
= (long )wxKeyEvent_GetRawKeyCode(_arg0
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) return NULL
;
3648 } _resultobj
= Py_BuildValue("l",_result
);
3652 #define wxKeyEvent_GetRawKeyFlags(_swigobj) (_swigobj->GetRawKeyFlags())
3653 static PyObject
*_wrap_wxKeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3657 PyObject
* _argo0
= 0;
3658 char *_kwnames
[] = { "self", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetRawKeyFlags",_kwnames
,&_argo0
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetRawKeyFlags. Expected _wxKeyEvent_p.");
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 _result
= (long )wxKeyEvent_GetRawKeyFlags(_arg0
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) return NULL
;
3676 } _resultobj
= Py_BuildValue("l",_result
);
3680 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
3681 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
* _resultobj
;
3685 PyObject
* _argo0
= 0;
3686 char *_kwnames
[] = { "self", NULL
};
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
3692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 _result
= (long )wxKeyEvent_GetX(_arg0
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) return NULL
;
3704 } _resultobj
= Py_BuildValue("l",_result
);
3708 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
3709 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3713 PyObject
* _argo0
= 0;
3714 char *_kwnames
[] = { "self", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 _result
= (long )wxKeyEvent_GetY(_arg0
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) return NULL
;
3732 } _resultobj
= Py_BuildValue("l",_result
);
3736 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3737 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3741 PyObject
* _argo0
= 0;
3742 char *_kwnames
[] = { "self", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) return NULL
;
3761 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3762 _resultobj
= Py_BuildValue("s",_ptemp
);
3766 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3767 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3774 PyObject
* _argo0
= 0;
3775 char *_kwnames
[] = { "self", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) return NULL
;
3799 } Py_INCREF(Py_None
);
3800 _resultobj
= Py_None
;
3803 o
= PyInt_FromLong((long) (*_arg1
));
3804 _resultobj
= t_output_helper(_resultobj
, o
);
3808 o
= PyInt_FromLong((long) (*_arg2
));
3809 _resultobj
= t_output_helper(_resultobj
, o
);
3814 #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3815 static PyObject
*_wrap_wxKeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3820 PyObject
* _argo0
= 0;
3821 char *_kwnames
[] = { "self","m_x", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 _result
= (long )wxKeyEvent_m_x_set(_arg0
,_arg1
);
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) return NULL
;
3839 } _resultobj
= Py_BuildValue("l",_result
);
3843 #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3844 static PyObject
*_wrap_wxKeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3848 PyObject
* _argo0
= 0;
3849 char *_kwnames
[] = { "self", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_x_get",_kwnames
,&_argo0
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 _result
= (long )wxKeyEvent_m_x_get(_arg0
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) return NULL
;
3867 } _resultobj
= Py_BuildValue("l",_result
);
3871 #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3872 static PyObject
*_wrap_wxKeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3877 PyObject
* _argo0
= 0;
3878 char *_kwnames
[] = { "self","m_y", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p.");
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 _result
= (long )wxKeyEvent_m_y_set(_arg0
,_arg1
);
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) return NULL
;
3896 } _resultobj
= Py_BuildValue("l",_result
);
3900 #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3901 static PyObject
*_wrap_wxKeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3905 PyObject
* _argo0
= 0;
3906 char *_kwnames
[] = { "self", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_y_get",_kwnames
,&_argo0
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p.");
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 _result
= (long )wxKeyEvent_m_y_get(_arg0
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) return NULL
;
3924 } _resultobj
= Py_BuildValue("l",_result
);
3928 #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3929 static PyObject
*_wrap_wxKeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3934 PyObject
* _argo0
= 0;
3935 char *_kwnames
[] = { "self","m_keyCode", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_keyCode_set",_kwnames
,&_argo0
,&_arg1
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 _result
= (long )wxKeyEvent_m_keyCode_set(_arg0
,_arg1
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) return NULL
;
3953 } _resultobj
= Py_BuildValue("l",_result
);
3957 #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3958 static PyObject
*_wrap_wxKeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3962 PyObject
* _argo0
= 0;
3963 char *_kwnames
[] = { "self", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_keyCode_get",_kwnames
,&_argo0
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 _result
= (long )wxKeyEvent_m_keyCode_get(_arg0
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) return NULL
;
3981 } _resultobj
= Py_BuildValue("l",_result
);
3985 #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3986 static PyObject
*_wrap_wxKeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
* _resultobj
;
3991 PyObject
* _argo0
= 0;
3993 char *_kwnames
[] = { "self","m_controlDown", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
4005 _arg1
= (bool ) tempbool1
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 _result
= (bool )wxKeyEvent_m_controlDown_set(_arg0
,_arg1
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) return NULL
;
4012 } _resultobj
= Py_BuildValue("i",_result
);
4016 #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
4017 static PyObject
*_wrap_wxKeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4021 PyObject
* _argo0
= 0;
4022 char *_kwnames
[] = { "self", NULL
};
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_controlDown_get",_kwnames
,&_argo0
))
4028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 _result
= (bool )wxKeyEvent_m_controlDown_get(_arg0
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) return NULL
;
4040 } _resultobj
= Py_BuildValue("i",_result
);
4044 #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
4045 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
* _resultobj
;
4050 PyObject
* _argo0
= 0;
4052 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
4058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
4064 _arg1
= (bool ) tempbool1
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 _result
= (bool )wxKeyEvent_m_shiftDown_set(_arg0
,_arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) return NULL
;
4071 } _resultobj
= Py_BuildValue("i",_result
);
4075 #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
4076 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_shiftDown_get",_kwnames
,&_argo0
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 _result
= (bool )wxKeyEvent_m_shiftDown_get(_arg0
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) return NULL
;
4099 } _resultobj
= Py_BuildValue("i",_result
);
4103 #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
4104 static PyObject
*_wrap_wxKeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4109 PyObject
* _argo0
= 0;
4111 char *_kwnames
[] = { "self","m_altDown", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
4123 _arg1
= (bool ) tempbool1
;
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 _result
= (bool )wxKeyEvent_m_altDown_set(_arg0
,_arg1
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) return NULL
;
4130 } _resultobj
= Py_BuildValue("i",_result
);
4134 #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
4135 static PyObject
*_wrap_wxKeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
* _resultobj
;
4139 PyObject
* _argo0
= 0;
4140 char *_kwnames
[] = { "self", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_altDown_get",_kwnames
,&_argo0
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 _result
= (bool )wxKeyEvent_m_altDown_get(_arg0
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) return NULL
;
4158 } _resultobj
= Py_BuildValue("i",_result
);
4162 #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
4163 static PyObject
*_wrap_wxKeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4168 PyObject
* _argo0
= 0;
4170 char *_kwnames
[] = { "self","m_metaDown", NULL
};
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
4176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p.");
4182 _arg1
= (bool ) tempbool1
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 _result
= (bool )wxKeyEvent_m_metaDown_set(_arg0
,_arg1
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) return NULL
;
4189 } _resultobj
= Py_BuildValue("i",_result
);
4193 #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
4194 static PyObject
*_wrap_wxKeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_metaDown_get",_kwnames
,&_argo0
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p.");
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 _result
= (bool )wxKeyEvent_m_metaDown_get(_arg0
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) return NULL
;
4217 } _resultobj
= Py_BuildValue("i",_result
);
4221 #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
4222 static PyObject
*_wrap_wxKeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4227 PyObject
* _argo0
= 0;
4229 char *_kwnames
[] = { "self","m_scanCode", NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_scanCode_set",_kwnames
,&_argo0
,&tempbool1
))
4235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
4241 _arg1
= (bool ) tempbool1
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 _result
= (bool )wxKeyEvent_m_scanCode_set(_arg0
,_arg1
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) return NULL
;
4248 } _resultobj
= Py_BuildValue("i",_result
);
4252 #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
4253 static PyObject
*_wrap_wxKeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4257 PyObject
* _argo0
= 0;
4258 char *_kwnames
[] = { "self", NULL
};
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_scanCode_get",_kwnames
,&_argo0
))
4264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 _result
= (bool )wxKeyEvent_m_scanCode_get(_arg0
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) return NULL
;
4276 } _resultobj
= Py_BuildValue("i",_result
);
4280 #define wxKeyEvent_m_rawCode_set(_swigobj,_swigval) (_swigobj->m_rawCode = _swigval,_swigval)
4281 static PyObject
*_wrap_wxKeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4286 PyObject
* _argo0
= 0;
4287 char *_kwnames
[] = { "self","m_rawCode", NULL
};
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_rawCode_set",_kwnames
,&_argo0
,&_arg1
))
4293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_rawCode_set. Expected _wxKeyEvent_p.");
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 _result
= (long )wxKeyEvent_m_rawCode_set(_arg0
,_arg1
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) return NULL
;
4305 } _resultobj
= Py_BuildValue("l",_result
);
4309 #define wxKeyEvent_m_rawCode_get(_swigobj) ((long ) _swigobj->m_rawCode)
4310 static PyObject
*_wrap_wxKeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4314 PyObject
* _argo0
= 0;
4315 char *_kwnames
[] = { "self", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_rawCode_get",_kwnames
,&_argo0
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_rawCode_get. Expected _wxKeyEvent_p.");
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 _result
= (long )wxKeyEvent_m_rawCode_get(_arg0
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) return NULL
;
4333 } _resultobj
= Py_BuildValue("l",_result
);
4337 #define wxKeyEvent_m_rawFlags_set(_swigobj,_swigval) (_swigobj->m_rawFlags = _swigval,_swigval)
4338 static PyObject
*_wrap_wxKeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4343 PyObject
* _argo0
= 0;
4344 char *_kwnames
[] = { "self","m_rawFlags", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_rawFlags_set",_kwnames
,&_argo0
,&_arg1
))
4350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_rawFlags_set. Expected _wxKeyEvent_p.");
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 _result
= (long )wxKeyEvent_m_rawFlags_set(_arg0
,_arg1
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) return NULL
;
4362 } _resultobj
= Py_BuildValue("l",_result
);
4366 #define wxKeyEvent_m_rawFlags_get(_swigobj) ((long ) _swigobj->m_rawFlags)
4367 static PyObject
*_wrap_wxKeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4371 PyObject
* _argo0
= 0;
4372 char *_kwnames
[] = { "self", NULL
};
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_rawFlags_get",_kwnames
,&_argo0
))
4378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_rawFlags_get. Expected _wxKeyEvent_p.");
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 _result
= (long )wxKeyEvent_m_rawFlags_get(_arg0
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) return NULL
;
4390 } _resultobj
= Py_BuildValue("l",_result
);
4394 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
4395 wxNavigationKeyEvent
*src
;
4397 src
= (wxNavigationKeyEvent
*) ptr
;
4398 dest
= (wxEvent
*) src
;
4399 return (void *) dest
;
4402 static void *SwigwxNavigationKeyEventTowxObject(void *ptr
) {
4403 wxNavigationKeyEvent
*src
;
4405 src
= (wxNavigationKeyEvent
*) ptr
;
4406 dest
= (wxObject
*) src
;
4407 return (void *) dest
;
4410 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
4411 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4413 wxNavigationKeyEvent
* _result
;
4414 char *_kwnames
[] = { NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) return NULL
;
4427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
4428 _resultobj
= Py_BuildValue("s",_ptemp
);
4431 _resultobj
= Py_None
;
4436 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
4437 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4440 wxNavigationKeyEvent
* _arg0
;
4441 PyObject
* _argo0
= 0;
4442 char *_kwnames
[] = { "self", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
4448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) return NULL
;
4460 } _resultobj
= Py_BuildValue("i",_result
);
4464 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
4465 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
* _resultobj
;
4467 wxNavigationKeyEvent
* _arg0
;
4469 PyObject
* _argo0
= 0;
4471 char *_kwnames
[] = { "self","bForward", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
4483 _arg1
= (bool ) tempbool1
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) return NULL
;
4490 } Py_INCREF(Py_None
);
4491 _resultobj
= Py_None
;
4495 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
4496 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
* _resultobj
;
4499 wxNavigationKeyEvent
* _arg0
;
4500 PyObject
* _argo0
= 0;
4501 char *_kwnames
[] = { "self", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) return NULL
;
4519 } _resultobj
= Py_BuildValue("i",_result
);
4523 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
4524 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4526 wxNavigationKeyEvent
* _arg0
;
4528 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self","bIs", NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
4536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
4542 _arg1
= (bool ) tempbool1
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) return NULL
;
4549 } Py_INCREF(Py_None
);
4550 _resultobj
= Py_None
;
4554 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
4555 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4558 wxNavigationKeyEvent
* _arg0
;
4559 PyObject
* _argo0
= 0;
4560 char *_kwnames
[] = { "self", NULL
};
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
4566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) return NULL
;
4578 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4582 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
4583 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4585 wxNavigationKeyEvent
* _arg0
;
4587 PyObject
* _argo0
= 0;
4588 PyObject
* _argo1
= 0;
4589 char *_kwnames
[] = { "self","win", NULL
};
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
4595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) return NULL
;
4614 } Py_INCREF(Py_None
);
4615 _resultobj
= Py_None
;
4619 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
4622 src
= (wxMoveEvent
*) ptr
;
4623 dest
= (wxEvent
*) src
;
4624 return (void *) dest
;
4627 static void *SwigwxMoveEventTowxObject(void *ptr
) {
4630 src
= (wxMoveEvent
*) ptr
;
4631 dest
= (wxObject
*) src
;
4632 return (void *) dest
;
4635 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
4636 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4638 wxMoveEvent
* _result
;
4640 int _arg1
= (int ) 0;
4642 PyObject
* _obj0
= 0;
4643 char *_kwnames
[] = { "pt","id", NULL
};
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
4651 if (! wxPoint_helper(_obj0
, &_arg0
))
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) return NULL
;
4661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
4662 _resultobj
= Py_BuildValue("s",_ptemp
);
4665 _resultobj
= Py_None
;
4670 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4671 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4674 wxMoveEvent
* _arg0
;
4675 PyObject
* _argo0
= 0;
4676 char *_kwnames
[] = { "self", NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) return NULL
;
4695 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4696 _resultobj
= Py_BuildValue("s",_ptemp
);
4700 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
4703 src
= (wxPaintEvent
*) ptr
;
4704 dest
= (wxEvent
*) src
;
4705 return (void *) dest
;
4708 static void *SwigwxPaintEventTowxObject(void *ptr
) {
4711 src
= (wxPaintEvent
*) ptr
;
4712 dest
= (wxObject
*) src
;
4713 return (void *) dest
;
4716 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
4717 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4719 wxPaintEvent
* _result
;
4720 int _arg0
= (int ) 0;
4721 char *_kwnames
[] = { "id", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) return NULL
;
4734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
4735 _resultobj
= Py_BuildValue("s",_ptemp
);
4738 _resultobj
= Py_None
;
4743 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
4746 src
= (wxEraseEvent
*) ptr
;
4747 dest
= (wxEvent
*) src
;
4748 return (void *) dest
;
4751 static void *SwigwxEraseEventTowxObject(void *ptr
) {
4754 src
= (wxEraseEvent
*) ptr
;
4755 dest
= (wxObject
*) src
;
4756 return (void *) dest
;
4759 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
4760 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
* _resultobj
;
4762 wxEraseEvent
* _result
;
4763 int _arg0
= (int ) 0;
4764 wxDC
* _arg1
= (wxDC
*) NULL
;
4765 PyObject
* _argo1
= 0;
4766 char *_kwnames
[] = { "id","dc", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
4773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) return NULL
;
4786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
4787 _resultobj
= Py_BuildValue("s",_ptemp
);
4790 _resultobj
= Py_None
;
4795 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
4796 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
* _resultobj
;
4799 wxEraseEvent
* _arg0
;
4800 PyObject
* _argo0
= 0;
4801 char *_kwnames
[] = { "self", NULL
};
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
4807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
4809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) return NULL
;
4819 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4823 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
4826 src
= (wxFocusEvent
*) ptr
;
4827 dest
= (wxEvent
*) src
;
4828 return (void *) dest
;
4831 static void *SwigwxFocusEventTowxObject(void *ptr
) {
4834 src
= (wxFocusEvent
*) ptr
;
4835 dest
= (wxObject
*) src
;
4836 return (void *) dest
;
4839 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
4840 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4842 wxFocusEvent
* _result
;
4843 WXTYPE _arg0
= (WXTYPE
) 0;
4844 int _arg1
= (int ) 0;
4845 char *_kwnames
[] = { "eventType","id", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) return NULL
;
4858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
4859 _resultobj
= Py_BuildValue("s",_ptemp
);
4862 _resultobj
= Py_None
;
4867 static void *SwigwxChildFocusEventTowxCommandEvent(void *ptr
) {
4868 wxChildFocusEvent
*src
;
4869 wxCommandEvent
*dest
;
4870 src
= (wxChildFocusEvent
*) ptr
;
4871 dest
= (wxCommandEvent
*) src
;
4872 return (void *) dest
;
4875 static void *SwigwxChildFocusEventTowxEvent(void *ptr
) {
4876 wxChildFocusEvent
*src
;
4878 src
= (wxChildFocusEvent
*) ptr
;
4879 dest
= (wxEvent
*) src
;
4880 return (void *) dest
;
4883 static void *SwigwxChildFocusEventTowxObject(void *ptr
) {
4884 wxChildFocusEvent
*src
;
4886 src
= (wxChildFocusEvent
*) ptr
;
4887 dest
= (wxObject
*) src
;
4888 return (void *) dest
;
4891 #define new_wxChildFocusEvent(_swigarg0) (new wxChildFocusEvent(_swigarg0))
4892 static PyObject
*_wrap_new_wxChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
* _resultobj
;
4894 wxChildFocusEvent
* _result
;
4895 wxWindow
* _arg0
= (wxWindow
*) NULL
;
4896 PyObject
* _argo0
= 0;
4897 char *_kwnames
[] = { "win", NULL
};
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxChildFocusEvent",_kwnames
,&_argo0
))
4904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChildFocusEvent. Expected _wxWindow_p.");
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 _result
= (wxChildFocusEvent
*)new_wxChildFocusEvent(_arg0
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) return NULL
;
4917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChildFocusEvent_p");
4918 _resultobj
= Py_BuildValue("s",_ptemp
);
4921 _resultobj
= Py_None
;
4926 #define wxChildFocusEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
4927 static PyObject
*_wrap_wxChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4930 wxChildFocusEvent
* _arg0
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChildFocusEvent_GetWindow",_kwnames
,&_argo0
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChildFocusEvent_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChildFocusEvent_GetWindow. Expected _wxChildFocusEvent_p.");
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 _result
= (wxWindow
*)wxChildFocusEvent_GetWindow(_arg0
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4950 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4954 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
4955 wxActivateEvent
*src
;
4957 src
= (wxActivateEvent
*) ptr
;
4958 dest
= (wxEvent
*) src
;
4959 return (void *) dest
;
4962 static void *SwigwxActivateEventTowxObject(void *ptr
) {
4963 wxActivateEvent
*src
;
4965 src
= (wxActivateEvent
*) ptr
;
4966 dest
= (wxObject
*) src
;
4967 return (void *) dest
;
4970 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
4971 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
* _resultobj
;
4973 wxActivateEvent
* _result
;
4974 WXTYPE _arg0
= (WXTYPE
) 0;
4975 int _arg1
= (int ) TRUE
;
4976 int _arg2
= (int ) 0;
4977 char *_kwnames
[] = { "eventType","active","id", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) return NULL
;
4990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
4991 _resultobj
= Py_BuildValue("s",_ptemp
);
4994 _resultobj
= Py_None
;
4999 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
5000 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
* _resultobj
;
5003 wxActivateEvent
* _arg0
;
5004 PyObject
* _argo0
= 0;
5005 char *_kwnames
[] = { "self", NULL
};
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
5011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) return NULL
;
5023 } _resultobj
= Py_BuildValue("i",_result
);
5027 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
5028 wxInitDialogEvent
*src
;
5030 src
= (wxInitDialogEvent
*) ptr
;
5031 dest
= (wxEvent
*) src
;
5032 return (void *) dest
;
5035 static void *SwigwxInitDialogEventTowxObject(void *ptr
) {
5036 wxInitDialogEvent
*src
;
5038 src
= (wxInitDialogEvent
*) ptr
;
5039 dest
= (wxObject
*) src
;
5040 return (void *) dest
;
5043 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
5044 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5046 wxInitDialogEvent
* _result
;
5047 int _arg0
= (int ) 0;
5048 char *_kwnames
[] = { "id", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) return NULL
;
5061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
5062 _resultobj
= Py_BuildValue("s",_ptemp
);
5065 _resultobj
= Py_None
;
5070 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
5073 src
= (wxMenuEvent
*) ptr
;
5074 dest
= (wxEvent
*) src
;
5075 return (void *) dest
;
5078 static void *SwigwxMenuEventTowxObject(void *ptr
) {
5081 src
= (wxMenuEvent
*) ptr
;
5082 dest
= (wxObject
*) src
;
5083 return (void *) dest
;
5086 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
5087 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5089 wxMenuEvent
* _result
;
5090 WXTYPE _arg0
= (WXTYPE
) 0;
5091 int _arg1
= (int ) 0;
5092 char *_kwnames
[] = { "id","id", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) return NULL
;
5105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
5106 _resultobj
= Py_BuildValue("s",_ptemp
);
5109 _resultobj
= Py_None
;
5114 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
5115 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5118 wxMenuEvent
* _arg0
;
5119 PyObject
* _argo0
= 0;
5120 char *_kwnames
[] = { "self", NULL
};
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
5126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
5128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) return NULL
;
5138 } _resultobj
= Py_BuildValue("i",_result
);
5142 #define wxMenuEvent_IsPopup(_swigobj) (_swigobj->IsPopup())
5143 static PyObject
*_wrap_wxMenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
* _resultobj
;
5146 wxMenuEvent
* _arg0
;
5147 PyObject
* _argo0
= 0;
5148 char *_kwnames
[] = { "self", NULL
};
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_IsPopup",_kwnames
,&_argo0
))
5154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
5156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_IsPopup. Expected _wxMenuEvent_p.");
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 _result
= (bool )wxMenuEvent_IsPopup(_arg0
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) return NULL
;
5166 } _resultobj
= Py_BuildValue("i",_result
);
5170 static void *SwigwxShowEventTowxEvent(void *ptr
) {
5173 src
= (wxShowEvent
*) ptr
;
5174 dest
= (wxEvent
*) src
;
5175 return (void *) dest
;
5178 static void *SwigwxShowEventTowxObject(void *ptr
) {
5181 src
= (wxShowEvent
*) ptr
;
5182 dest
= (wxObject
*) src
;
5183 return (void *) dest
;
5186 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
5187 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5189 wxShowEvent
* _result
;
5190 int _arg0
= (int ) 0;
5191 int _arg1
= (int ) FALSE
;
5192 char *_kwnames
[] = { "id","show", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) return NULL
;
5205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
5206 _resultobj
= Py_BuildValue("s",_ptemp
);
5209 _resultobj
= Py_None
;
5214 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
5215 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
5217 wxShowEvent
* _arg0
;
5219 PyObject
* _argo0
= 0;
5221 char *_kwnames
[] = { "self","show", NULL
};
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
5227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
5229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
5233 _arg1
= (bool ) tempbool1
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 wxShowEvent_SetShow(_arg0
,_arg1
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) return NULL
;
5240 } Py_INCREF(Py_None
);
5241 _resultobj
= Py_None
;
5245 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
5246 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
* _resultobj
;
5249 wxShowEvent
* _arg0
;
5250 PyObject
* _argo0
= 0;
5251 char *_kwnames
[] = { "self", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
5257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 _result
= (bool )wxShowEvent_GetShow(_arg0
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) return NULL
;
5269 } _resultobj
= Py_BuildValue("i",_result
);
5273 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
5274 wxIconizeEvent
*src
;
5276 src
= (wxIconizeEvent
*) ptr
;
5277 dest
= (wxEvent
*) src
;
5278 return (void *) dest
;
5281 static void *SwigwxIconizeEventTowxObject(void *ptr
) {
5282 wxIconizeEvent
*src
;
5284 src
= (wxIconizeEvent
*) ptr
;
5285 dest
= (wxObject
*) src
;
5286 return (void *) dest
;
5289 #define new_wxIconizeEvent(_swigarg0,_swigarg1) (new wxIconizeEvent(_swigarg0,_swigarg1))
5290 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5292 wxIconizeEvent
* _result
;
5293 int _arg0
= (int ) 0;
5294 bool _arg1
= (bool ) TRUE
;
5295 int tempbool1
= (int) TRUE
;
5296 char *_kwnames
[] = { "id","iconized", NULL
};
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxIconizeEvent",_kwnames
,&_arg0
,&tempbool1
))
5302 _arg1
= (bool ) tempbool1
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
,_arg1
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) return NULL
;
5310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
5311 _resultobj
= Py_BuildValue("s",_ptemp
);
5314 _resultobj
= Py_None
;
5319 #define wxIconizeEvent_Iconized(_swigobj) (_swigobj->Iconized())
5320 static PyObject
*_wrap_wxIconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
* _resultobj
;
5323 wxIconizeEvent
* _arg0
;
5324 PyObject
* _argo0
= 0;
5325 char *_kwnames
[] = { "self", NULL
};
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconizeEvent_Iconized",_kwnames
,&_argo0
))
5331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconizeEvent_p")) {
5333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconizeEvent_Iconized. Expected _wxIconizeEvent_p.");
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 _result
= (bool )wxIconizeEvent_Iconized(_arg0
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) return NULL
;
5343 } _resultobj
= Py_BuildValue("i",_result
);
5347 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
5348 wxMaximizeEvent
*src
;
5350 src
= (wxMaximizeEvent
*) ptr
;
5351 dest
= (wxEvent
*) src
;
5352 return (void *) dest
;
5355 static void *SwigwxMaximizeEventTowxObject(void *ptr
) {
5356 wxMaximizeEvent
*src
;
5358 src
= (wxMaximizeEvent
*) ptr
;
5359 dest
= (wxObject
*) src
;
5360 return (void *) dest
;
5363 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
5364 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5366 wxMaximizeEvent
* _result
;
5367 int _arg0
= (int ) 0;
5368 char *_kwnames
[] = { "id", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) return NULL
;
5381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
5382 _resultobj
= Py_BuildValue("s",_ptemp
);
5385 _resultobj
= Py_None
;
5390 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
5391 wxJoystickEvent
*src
;
5393 src
= (wxJoystickEvent
*) ptr
;
5394 dest
= (wxEvent
*) src
;
5395 return (void *) dest
;
5398 static void *SwigwxJoystickEventTowxObject(void *ptr
) {
5399 wxJoystickEvent
*src
;
5401 src
= (wxJoystickEvent
*) ptr
;
5402 dest
= (wxObject
*) src
;
5403 return (void *) dest
;
5406 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5407 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
* _resultobj
;
5409 wxJoystickEvent
* _result
;
5410 int _arg0
= (int ) wxEVT_NULL
;
5411 int _arg1
= (int ) 0;
5412 int _arg2
= (int ) wxJOYSTICK1
;
5413 int _arg3
= (int ) 0;
5414 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) return NULL
;
5427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
5428 _resultobj
= Py_BuildValue("s",_ptemp
);
5431 _resultobj
= Py_None
;
5436 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
5437 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5440 wxJoystickEvent
* _arg0
;
5441 PyObject
* _argo0
= 0;
5442 char *_kwnames
[] = { "self", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5461 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5462 _resultobj
= Py_BuildValue("s",_ptemp
);
5466 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5467 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
* _resultobj
;
5470 wxJoystickEvent
* _arg0
;
5471 PyObject
* _argo0
= 0;
5472 char *_kwnames
[] = { "self", NULL
};
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
5478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) return NULL
;
5490 } _resultobj
= Py_BuildValue("i",_result
);
5494 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5495 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5498 wxJoystickEvent
* _arg0
;
5499 PyObject
* _argo0
= 0;
5500 char *_kwnames
[] = { "self", NULL
};
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
5506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) return NULL
;
5518 } _resultobj
= Py_BuildValue("i",_result
);
5522 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
5523 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
* _resultobj
;
5526 wxJoystickEvent
* _arg0
;
5527 PyObject
* _argo0
= 0;
5528 char *_kwnames
[] = { "self", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) return NULL
;
5546 } _resultobj
= Py_BuildValue("i",_result
);
5550 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
5551 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
* _resultobj
;
5554 wxJoystickEvent
* _arg0
;
5555 PyObject
* _argo0
= 0;
5556 char *_kwnames
[] = { "self", NULL
};
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
5562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) return NULL
;
5574 } _resultobj
= Py_BuildValue("i",_result
);
5578 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
5579 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
* _resultobj
;
5581 wxJoystickEvent
* _arg0
;
5583 PyObject
* _argo0
= 0;
5584 char *_kwnames
[] = { "self","stick", NULL
};
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
5590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) return NULL
;
5602 } Py_INCREF(Py_None
);
5603 _resultobj
= Py_None
;
5607 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
5608 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
* _resultobj
;
5610 wxJoystickEvent
* _arg0
;
5612 PyObject
* _argo0
= 0;
5613 char *_kwnames
[] = { "self","state", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
5619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) return NULL
;
5631 } Py_INCREF(Py_None
);
5632 _resultobj
= Py_None
;
5636 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
5637 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
* _resultobj
;
5639 wxJoystickEvent
* _arg0
;
5641 PyObject
* _argo0
= 0;
5642 char *_kwnames
[] = { "self","change", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) return NULL
;
5660 } Py_INCREF(Py_None
);
5661 _resultobj
= Py_None
;
5665 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
5666 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5668 wxJoystickEvent
* _arg0
;
5670 PyObject
* _argo0
= 0;
5672 PyObject
* _obj1
= 0;
5673 char *_kwnames
[] = { "self","pos", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
5687 if (! wxPoint_helper(_obj1
, &_arg1
))
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) return NULL
;
5696 } Py_INCREF(Py_None
);
5697 _resultobj
= Py_None
;
5701 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
5702 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5704 wxJoystickEvent
* _arg0
;
5706 PyObject
* _argo0
= 0;
5707 char *_kwnames
[] = { "self","zPos", NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
5713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) return NULL
;
5725 } Py_INCREF(Py_None
);
5726 _resultobj
= Py_None
;
5730 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
5731 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5734 wxJoystickEvent
* _arg0
;
5735 PyObject
* _argo0
= 0;
5736 char *_kwnames
[] = { "self", NULL
};
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
5742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) return NULL
;
5754 } _resultobj
= Py_BuildValue("i",_result
);
5758 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
5759 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5762 wxJoystickEvent
* _arg0
;
5763 PyObject
* _argo0
= 0;
5764 char *_kwnames
[] = { "self", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) return NULL
;
5782 } _resultobj
= Py_BuildValue("i",_result
);
5786 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
5787 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5790 wxJoystickEvent
* _arg0
;
5791 PyObject
* _argo0
= 0;
5792 char *_kwnames
[] = { "self", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) return NULL
;
5810 } _resultobj
= Py_BuildValue("i",_result
);
5814 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
5815 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
* _resultobj
;
5818 wxJoystickEvent
* _arg0
;
5819 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self","but", NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
5827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) return NULL
;
5839 } _resultobj
= Py_BuildValue("i",_result
);
5843 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
5844 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5847 wxJoystickEvent
* _arg0
;
5848 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5849 PyObject
* _argo0
= 0;
5850 char *_kwnames
[] = { "self","but", NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
5856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) return NULL
;
5868 } _resultobj
= Py_BuildValue("i",_result
);
5872 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
5873 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
* _resultobj
;
5876 wxJoystickEvent
* _arg0
;
5877 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5878 PyObject
* _argo0
= 0;
5879 char *_kwnames
[] = { "self","but", NULL
};
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
5885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) return NULL
;
5897 } _resultobj
= Py_BuildValue("i",_result
);
5901 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
5902 wxDropFilesEvent
*src
;
5904 src
= (wxDropFilesEvent
*) ptr
;
5905 dest
= (wxEvent
*) src
;
5906 return (void *) dest
;
5909 static void *SwigwxDropFilesEventTowxObject(void *ptr
) {
5910 wxDropFilesEvent
*src
;
5912 src
= (wxDropFilesEvent
*) ptr
;
5913 dest
= (wxObject
*) src
;
5914 return (void *) dest
;
5917 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
5918 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5921 wxDropFilesEvent
* _arg0
;
5922 PyObject
* _argo0
= 0;
5923 char *_kwnames
[] = { "self", NULL
};
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
5930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) return NULL
;
5942 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5943 _resultobj
= Py_BuildValue("s",_ptemp
);
5947 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
5948 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5951 wxDropFilesEvent
* _arg0
;
5952 PyObject
* _argo0
= 0;
5953 char *_kwnames
[] = { "self", NULL
};
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
5959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) return NULL
;
5971 } _resultobj
= Py_BuildValue("i",_result
);
5975 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
5976 int count
= self
->GetNumberOfFiles();
5977 wxString
* files
= self
->GetFiles();
5978 PyObject
* list
= PyList_New(count
);
5981 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
5985 for (int i
=0; i
<count
; i
++) {
5987 PyList_SetItem(list
, i
, PyUnicode_FromWideChar(files
[i
], files
[i
].Len()));
5989 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
5994 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
* _resultobj
;
5997 wxDropFilesEvent
* _arg0
;
5998 PyObject
* _argo0
= 0;
5999 char *_kwnames
[] = { "self", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) return NULL
;
6018 _resultobj
= _result
;
6023 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
6026 src
= (wxIdleEvent
*) ptr
;
6027 dest
= (wxEvent
*) src
;
6028 return (void *) dest
;
6031 static void *SwigwxIdleEventTowxObject(void *ptr
) {
6034 src
= (wxIdleEvent
*) ptr
;
6035 dest
= (wxObject
*) src
;
6036 return (void *) dest
;
6039 #define new_wxIdleEvent() (new wxIdleEvent())
6040 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6042 wxIdleEvent
* _result
;
6043 char *_kwnames
[] = { NULL
};
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 _result
= (wxIdleEvent
*)new_wxIdleEvent();
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) return NULL
;
6056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
6057 _resultobj
= Py_BuildValue("s",_ptemp
);
6060 _resultobj
= Py_None
;
6065 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
6066 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
* _resultobj
;
6068 wxIdleEvent
* _arg0
;
6069 bool _arg1
= (bool ) TRUE
;
6070 PyObject
* _argo0
= 0;
6071 int tempbool1
= (int) TRUE
;
6072 char *_kwnames
[] = { "self","needMore", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
6078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
6084 _arg1
= (bool ) tempbool1
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 wxIdleEvent_RequestMore(_arg0
,_arg1
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) return NULL
;
6091 } Py_INCREF(Py_None
);
6092 _resultobj
= Py_None
;
6096 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
6097 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
* _resultobj
;
6100 wxIdleEvent
* _arg0
;
6101 PyObject
* _argo0
= 0;
6102 char *_kwnames
[] = { "self", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) return NULL
;
6120 } _resultobj
= Py_BuildValue("i",_result
);
6124 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
6125 wxUpdateUIEvent
*src
;
6127 src
= (wxUpdateUIEvent
*) ptr
;
6128 dest
= (wxEvent
*) src
;
6129 return (void *) dest
;
6132 static void *SwigwxUpdateUIEventTowxObject(void *ptr
) {
6133 wxUpdateUIEvent
*src
;
6135 src
= (wxUpdateUIEvent
*) ptr
;
6136 dest
= (wxObject
*) src
;
6137 return (void *) dest
;
6140 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
6141 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6143 wxUpdateUIEvent
* _result
;
6144 wxWindowID _arg0
= (wxWindowID
) 0;
6145 char *_kwnames
[] = { "commandId", NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) return NULL
;
6158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
6159 _resultobj
= Py_BuildValue("s",_ptemp
);
6162 _resultobj
= Py_None
;
6167 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
6168 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
* _resultobj
;
6171 wxUpdateUIEvent
* _arg0
;
6172 PyObject
* _argo0
= 0;
6173 char *_kwnames
[] = { "self", NULL
};
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
6179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
6181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) return NULL
;
6191 } _resultobj
= Py_BuildValue("i",_result
);
6195 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
6196 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
* _resultobj
;
6199 wxUpdateUIEvent
* _arg0
;
6200 PyObject
* _argo0
= 0;
6201 char *_kwnames
[] = { "self", NULL
};
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
6207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
6209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) return NULL
;
6219 } _resultobj
= Py_BuildValue("i",_result
);
6223 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
6224 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6227 wxUpdateUIEvent
* _arg0
;
6228 PyObject
* _argo0
= 0;
6229 char *_kwnames
[] = { "self", NULL
};
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
6235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
6237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) return NULL
;
6249 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6251 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6260 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
6261 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6264 wxUpdateUIEvent
* _arg0
;
6265 PyObject
* _argo0
= 0;
6266 char *_kwnames
[] = { "self", NULL
};
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
6272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
6274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) return NULL
;
6284 } _resultobj
= Py_BuildValue("i",_result
);
6288 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
6289 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
* _resultobj
;
6292 wxUpdateUIEvent
* _arg0
;
6293 PyObject
* _argo0
= 0;
6294 char *_kwnames
[] = { "self", NULL
};
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
6300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
6302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) return NULL
;
6312 } _resultobj
= Py_BuildValue("i",_result
);
6316 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
6317 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
* _resultobj
;
6320 wxUpdateUIEvent
* _arg0
;
6321 PyObject
* _argo0
= 0;
6322 char *_kwnames
[] = { "self", NULL
};
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
6328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
6330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) return NULL
;
6340 } _resultobj
= Py_BuildValue("i",_result
);
6344 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
6345 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
* _resultobj
;
6347 wxUpdateUIEvent
* _arg0
;
6349 PyObject
* _argo0
= 0;
6351 char *_kwnames
[] = { "self","check", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
6357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
6363 _arg1
= (bool ) tempbool1
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 wxUpdateUIEvent_Check(_arg0
,_arg1
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) return NULL
;
6370 } Py_INCREF(Py_None
);
6371 _resultobj
= Py_None
;
6375 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6376 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
* _resultobj
;
6378 wxUpdateUIEvent
* _arg0
;
6380 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self","enable", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
6394 _arg1
= (bool ) tempbool1
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) return NULL
;
6401 } Py_INCREF(Py_None
);
6402 _resultobj
= Py_None
;
6406 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
6407 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
* _resultobj
;
6409 wxUpdateUIEvent
* _arg0
;
6411 PyObject
* _argo0
= 0;
6412 PyObject
* _obj1
= 0;
6413 char *_kwnames
[] = { "self","text", NULL
};
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
6419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
6421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
6426 _arg1
= wxString_in_helper(_obj1
);
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) return NULL
;
6436 } Py_INCREF(Py_None
);
6437 _resultobj
= Py_None
;
6445 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
6446 wxSysColourChangedEvent
*src
;
6448 src
= (wxSysColourChangedEvent
*) ptr
;
6449 dest
= (wxEvent
*) src
;
6450 return (void *) dest
;
6453 static void *SwigwxSysColourChangedEventTowxObject(void *ptr
) {
6454 wxSysColourChangedEvent
*src
;
6456 src
= (wxSysColourChangedEvent
*) ptr
;
6457 dest
= (wxObject
*) src
;
6458 return (void *) dest
;
6461 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
6462 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6464 wxSysColourChangedEvent
* _result
;
6465 char *_kwnames
[] = { NULL
};
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) return NULL
;
6478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
6479 _resultobj
= Py_BuildValue("s",_ptemp
);
6482 _resultobj
= Py_None
;
6487 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
6489 wxCommandEvent
*dest
;
6490 src
= (wxNotifyEvent
*) ptr
;
6491 dest
= (wxCommandEvent
*) src
;
6492 return (void *) dest
;
6495 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
6498 src
= (wxNotifyEvent
*) ptr
;
6499 dest
= (wxEvent
*) src
;
6500 return (void *) dest
;
6503 static void *SwigwxNotifyEventTowxObject(void *ptr
) {
6506 src
= (wxNotifyEvent
*) ptr
;
6507 dest
= (wxObject
*) src
;
6508 return (void *) dest
;
6511 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
6512 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
* _resultobj
;
6514 wxNotifyEvent
* _result
;
6515 int _arg0
= (int ) wxEVT_NULL
;
6516 int _arg1
= (int ) 0;
6517 char *_kwnames
[] = { "commandType","id", NULL
};
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) return NULL
;
6530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
6531 _resultobj
= Py_BuildValue("s",_ptemp
);
6534 _resultobj
= Py_None
;
6539 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
6540 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6543 wxNotifyEvent
* _arg0
;
6544 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) return NULL
;
6563 } _resultobj
= Py_BuildValue("i",_result
);
6567 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
6568 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6570 wxNotifyEvent
* _arg0
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Allow",_kwnames
,&_argo0
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 wxNotifyEvent_Allow(_arg0
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) return NULL
;
6590 } Py_INCREF(Py_None
);
6591 _resultobj
= Py_None
;
6595 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
6596 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6598 wxNotifyEvent
* _arg0
;
6599 PyObject
* _argo0
= 0;
6600 char *_kwnames
[] = { "self", NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 wxNotifyEvent_Veto(_arg0
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) return NULL
;
6618 } Py_INCREF(Py_None
);
6619 _resultobj
= Py_None
;
6623 static void *SwigwxDisplayChangedEventTowxEvent(void *ptr
) {
6624 wxDisplayChangedEvent
*src
;
6626 src
= (wxDisplayChangedEvent
*) ptr
;
6627 dest
= (wxEvent
*) src
;
6628 return (void *) dest
;
6631 static void *SwigwxDisplayChangedEventTowxObject(void *ptr
) {
6632 wxDisplayChangedEvent
*src
;
6634 src
= (wxDisplayChangedEvent
*) ptr
;
6635 dest
= (wxObject
*) src
;
6636 return (void *) dest
;
6639 #define new_wxDisplayChangedEvent() (new wxDisplayChangedEvent())
6640 static PyObject
*_wrap_new_wxDisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
* _resultobj
;
6642 wxDisplayChangedEvent
* _result
;
6643 char *_kwnames
[] = { NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDisplayChangedEvent",_kwnames
))
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 _result
= (wxDisplayChangedEvent
*)new_wxDisplayChangedEvent();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) return NULL
;
6656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDisplayChangedEvent_p");
6657 _resultobj
= Py_BuildValue("s",_ptemp
);
6660 _resultobj
= Py_None
;
6665 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
6666 wxPaletteChangedEvent
*src
;
6668 src
= (wxPaletteChangedEvent
*) ptr
;
6669 dest
= (wxEvent
*) src
;
6670 return (void *) dest
;
6673 static void *SwigwxPaletteChangedEventTowxObject(void *ptr
) {
6674 wxPaletteChangedEvent
*src
;
6676 src
= (wxPaletteChangedEvent
*) ptr
;
6677 dest
= (wxObject
*) src
;
6678 return (void *) dest
;
6681 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
6682 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
* _resultobj
;
6684 wxPaletteChangedEvent
* _result
;
6685 wxWindowID _arg0
= (wxWindowID
) 0;
6686 char *_kwnames
[] = { "id", NULL
};
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) return NULL
;
6699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
6700 _resultobj
= Py_BuildValue("s",_ptemp
);
6703 _resultobj
= Py_None
;
6708 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
6709 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6711 wxPaletteChangedEvent
* _arg0
;
6713 PyObject
* _argo0
= 0;
6714 PyObject
* _argo1
= 0;
6715 char *_kwnames
[] = { "self","win", NULL
};
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
6721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6728 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) return NULL
;
6740 } Py_INCREF(Py_None
);
6741 _resultobj
= Py_None
;
6745 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
6746 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
* _resultobj
;
6749 wxPaletteChangedEvent
* _arg0
;
6750 PyObject
* _argo0
= 0;
6751 char *_kwnames
[] = { "self", NULL
};
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
6757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) return NULL
;
6769 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6773 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
6774 wxQueryNewPaletteEvent
*src
;
6776 src
= (wxQueryNewPaletteEvent
*) ptr
;
6777 dest
= (wxEvent
*) src
;
6778 return (void *) dest
;
6781 static void *SwigwxQueryNewPaletteEventTowxObject(void *ptr
) {
6782 wxQueryNewPaletteEvent
*src
;
6784 src
= (wxQueryNewPaletteEvent
*) ptr
;
6785 dest
= (wxObject
*) src
;
6786 return (void *) dest
;
6789 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
6790 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6792 wxQueryNewPaletteEvent
* _result
;
6793 wxWindowID _arg0
= (wxWindowID
) 0;
6794 char *_kwnames
[] = { "id", NULL
};
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) return NULL
;
6807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
6808 _resultobj
= Py_BuildValue("s",_ptemp
);
6811 _resultobj
= Py_None
;
6816 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
6817 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6819 wxQueryNewPaletteEvent
* _arg0
;
6821 PyObject
* _argo0
= 0;
6823 char *_kwnames
[] = { "self","realized", NULL
};
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
6829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6835 _arg1
= (bool ) tempbool1
;
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) return NULL
;
6842 } Py_INCREF(Py_None
);
6843 _resultobj
= Py_None
;
6847 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
6848 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
* _resultobj
;
6851 wxQueryNewPaletteEvent
* _arg0
;
6852 PyObject
* _argo0
= 0;
6853 char *_kwnames
[] = { "self", NULL
};
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
6859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) return NULL
;
6871 } _resultobj
= Py_BuildValue("i",_result
);
6875 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr
) {
6876 wxWindowCreateEvent
*src
;
6877 wxCommandEvent
*dest
;
6878 src
= (wxWindowCreateEvent
*) ptr
;
6879 dest
= (wxCommandEvent
*) src
;
6880 return (void *) dest
;
6883 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
6884 wxWindowCreateEvent
*src
;
6886 src
= (wxWindowCreateEvent
*) ptr
;
6887 dest
= (wxEvent
*) src
;
6888 return (void *) dest
;
6891 static void *SwigwxWindowCreateEventTowxObject(void *ptr
) {
6892 wxWindowCreateEvent
*src
;
6894 src
= (wxWindowCreateEvent
*) ptr
;
6895 dest
= (wxObject
*) src
;
6896 return (void *) dest
;
6899 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
6900 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
* _resultobj
;
6902 wxWindowCreateEvent
* _result
;
6903 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6904 PyObject
* _argo0
= 0;
6905 char *_kwnames
[] = { "win", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) return NULL
;
6925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
6926 _resultobj
= Py_BuildValue("s",_ptemp
);
6929 _resultobj
= Py_None
;
6934 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6935 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
* _resultobj
;
6938 wxWindowCreateEvent
* _arg0
;
6939 PyObject
* _argo0
= 0;
6940 char *_kwnames
[] = { "self", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) return NULL
;
6958 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6962 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr
) {
6963 wxWindowDestroyEvent
*src
;
6964 wxCommandEvent
*dest
;
6965 src
= (wxWindowDestroyEvent
*) ptr
;
6966 dest
= (wxCommandEvent
*) src
;
6967 return (void *) dest
;
6970 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
6971 wxWindowDestroyEvent
*src
;
6973 src
= (wxWindowDestroyEvent
*) ptr
;
6974 dest
= (wxEvent
*) src
;
6975 return (void *) dest
;
6978 static void *SwigwxWindowDestroyEventTowxObject(void *ptr
) {
6979 wxWindowDestroyEvent
*src
;
6981 src
= (wxWindowDestroyEvent
*) ptr
;
6982 dest
= (wxObject
*) src
;
6983 return (void *) dest
;
6986 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
6987 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
* _resultobj
;
6989 wxWindowDestroyEvent
* _result
;
6990 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6991 PyObject
* _argo0
= 0;
6992 char *_kwnames
[] = { "win", NULL
};
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
6999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) return NULL
;
7012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
7013 _resultobj
= Py_BuildValue("s",_ptemp
);
7016 _resultobj
= Py_None
;
7021 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
7022 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
* _resultobj
;
7025 wxWindowDestroyEvent
* _arg0
;
7026 PyObject
* _argo0
= 0;
7027 char *_kwnames
[] = { "self", NULL
};
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
7033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
7035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) return NULL
;
7045 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7049 static void *SwigwxContextMenuEventTowxCommandEvent(void *ptr
) {
7050 wxContextMenuEvent
*src
;
7051 wxCommandEvent
*dest
;
7052 src
= (wxContextMenuEvent
*) ptr
;
7053 dest
= (wxCommandEvent
*) src
;
7054 return (void *) dest
;
7057 static void *SwigwxContextMenuEventTowxEvent(void *ptr
) {
7058 wxContextMenuEvent
*src
;
7060 src
= (wxContextMenuEvent
*) ptr
;
7061 dest
= (wxEvent
*) src
;
7062 return (void *) dest
;
7065 static void *SwigwxContextMenuEventTowxObject(void *ptr
) {
7066 wxContextMenuEvent
*src
;
7068 src
= (wxContextMenuEvent
*) ptr
;
7069 dest
= (wxObject
*) src
;
7070 return (void *) dest
;
7073 #define new_wxContextMenuEvent(_swigarg0,_swigarg1,_swigarg2) (new wxContextMenuEvent(_swigarg0,_swigarg1,_swigarg2))
7074 static PyObject
*_wrap_new_wxContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7076 wxContextMenuEvent
* _result
;
7077 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
7078 wxWindowID _arg1
= (wxWindowID
) 0;
7079 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7081 PyObject
* _obj2
= 0;
7082 char *_kwnames
[] = { "type","id","pt", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiO:new_wxContextMenuEvent",_kwnames
,&_arg0
,&_arg1
,&_obj2
))
7091 if (! wxPoint_helper(_obj2
, &_arg2
))
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 _result
= (wxContextMenuEvent
*)new_wxContextMenuEvent(_arg0
,_arg1
,*_arg2
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) return NULL
;
7101 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxContextMenuEvent_p");
7102 _resultobj
= Py_BuildValue("s",_ptemp
);
7105 _resultobj
= Py_None
;
7110 #define wxContextMenuEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
7111 static PyObject
*_wrap_wxContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
* _resultobj
;
7114 wxContextMenuEvent
* _arg0
;
7115 PyObject
* _argo0
= 0;
7116 char *_kwnames
[] = { "self", NULL
};
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxContextMenuEvent_GetPosition",_kwnames
,&_argo0
))
7123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextMenuEvent_p")) {
7125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextMenuEvent_GetPosition. Expected _wxContextMenuEvent_p.");
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 const wxPoint
& _result_ref
= wxContextMenuEvent_GetPosition(_arg0
);
7132 _result
= (wxPoint
*) &_result_ref
;
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) return NULL
;
7137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
7138 _resultobj
= Py_BuildValue("s",_ptemp
);
7141 _resultobj
= Py_None
;
7146 #define wxContextMenuEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
7147 static PyObject
*_wrap_wxContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
* _resultobj
;
7149 wxContextMenuEvent
* _arg0
;
7151 PyObject
* _argo0
= 0;
7153 PyObject
* _obj1
= 0;
7154 char *_kwnames
[] = { "self","pos", NULL
};
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxContextMenuEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
7160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxContextMenuEvent_p")) {
7162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxContextMenuEvent_SetPosition. Expected _wxContextMenuEvent_p.");
7168 if (! wxPoint_helper(_obj1
, &_arg1
))
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 wxContextMenuEvent_SetPosition(_arg0
,*_arg1
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) return NULL
;
7177 } Py_INCREF(Py_None
);
7178 _resultobj
= Py_None
;
7182 static void *SwigwxTimerEventTowxEvent(void *ptr
) {
7185 src
= (wxTimerEvent
*) ptr
;
7186 dest
= (wxEvent
*) src
;
7187 return (void *) dest
;
7190 static void *SwigwxTimerEventTowxObject(void *ptr
) {
7193 src
= (wxTimerEvent
*) ptr
;
7194 dest
= (wxObject
*) src
;
7195 return (void *) dest
;
7198 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
7199 static PyObject
*_wrap_new_wxTimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7201 wxTimerEvent
* _result
;
7202 int _arg0
= (int ) 0;
7203 int _arg1
= (int ) 0;
7204 char *_kwnames
[] = { "id","interval", NULL
};
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTimerEvent",_kwnames
,&_arg0
,&_arg1
))
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 _result
= (wxTimerEvent
*)new_wxTimerEvent(_arg0
,_arg1
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) return NULL
;
7217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimerEvent_p");
7218 _resultobj
= Py_BuildValue("s",_ptemp
);
7221 _resultobj
= Py_None
;
7226 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
7227 static PyObject
*_wrap_wxTimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
* _resultobj
;
7230 wxTimerEvent
* _arg0
;
7231 PyObject
* _argo0
= 0;
7232 char *_kwnames
[] = { "self", NULL
};
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimerEvent_GetInterval",_kwnames
,&_argo0
))
7238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimerEvent_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 _result
= (int )wxTimerEvent_GetInterval(_arg0
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) return NULL
;
7250 } _resultobj
= Py_BuildValue("i",_result
);
7254 static void *SwigwxTextUrlEventTowxCommandEvent(void *ptr
) {
7255 wxTextUrlEvent
*src
;
7256 wxCommandEvent
*dest
;
7257 src
= (wxTextUrlEvent
*) ptr
;
7258 dest
= (wxCommandEvent
*) src
;
7259 return (void *) dest
;
7262 static void *SwigwxTextUrlEventTowxEvent(void *ptr
) {
7263 wxTextUrlEvent
*src
;
7265 src
= (wxTextUrlEvent
*) ptr
;
7266 dest
= (wxEvent
*) src
;
7267 return (void *) dest
;
7270 static void *SwigwxTextUrlEventTowxObject(void *ptr
) {
7271 wxTextUrlEvent
*src
;
7273 src
= (wxTextUrlEvent
*) ptr
;
7274 dest
= (wxObject
*) src
;
7275 return (void *) dest
;
7278 #define new_wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7279 static PyObject
*_wrap_new_wxTextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
* _resultobj
;
7281 wxTextUrlEvent
* _result
;
7283 wxMouseEvent
* _arg1
;
7286 PyObject
* _argo1
= 0;
7287 char *_kwnames
[] = { "id","evtMouse","start","end", NULL
};
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iOll:new_wxTextUrlEvent",_kwnames
,&_arg0
,&_argo1
,&_arg2
,&_arg3
))
7294 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
7295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxTextUrlEvent. Expected _wxMouseEvent_p.");
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 _result
= (wxTextUrlEvent
*)new_wxTextUrlEvent(_arg0
,*_arg1
,_arg2
,_arg3
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) return NULL
;
7306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextUrlEvent_p");
7307 _resultobj
= Py_BuildValue("s",_ptemp
);
7310 _resultobj
= Py_None
;
7315 #define wxTextUrlEvent_GetMouseEvent(_swigobj) (_swigobj->GetMouseEvent())
7316 static PyObject
*_wrap_wxTextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
* _resultobj
;
7318 wxMouseEvent
* _result
;
7319 wxTextUrlEvent
* _arg0
;
7320 PyObject
* _argo0
= 0;
7321 char *_kwnames
[] = { "self", NULL
};
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetMouseEvent",_kwnames
,&_argo0
))
7327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
7329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetMouseEvent. Expected _wxTextUrlEvent_p.");
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 const wxMouseEvent
& _result_ref
= wxTextUrlEvent_GetMouseEvent(_arg0
);
7336 _result
= (wxMouseEvent
*) &_result_ref
;
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) return NULL
;
7340 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7344 #define wxTextUrlEvent_GetURLStart(_swigobj) (_swigobj->GetURLStart())
7345 static PyObject
*_wrap_wxTextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
* _resultobj
;
7348 wxTextUrlEvent
* _arg0
;
7349 PyObject
* _argo0
= 0;
7350 char *_kwnames
[] = { "self", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetURLStart",_kwnames
,&_argo0
))
7356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetURLStart. Expected _wxTextUrlEvent_p.");
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 _result
= (long )wxTextUrlEvent_GetURLStart(_arg0
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) return NULL
;
7368 } _resultobj
= Py_BuildValue("l",_result
);
7372 #define wxTextUrlEvent_GetURLEnd(_swigobj) (_swigobj->GetURLEnd())
7373 static PyObject
*_wrap_wxTextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7376 wxTextUrlEvent
* _arg0
;
7377 PyObject
* _argo0
= 0;
7378 char *_kwnames
[] = { "self", NULL
};
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetURLEnd",_kwnames
,&_argo0
))
7384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
7386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetURLEnd. Expected _wxTextUrlEvent_p.");
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 _result
= (long )wxTextUrlEvent_GetURLEnd(_arg0
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) return NULL
;
7396 } _resultobj
= Py_BuildValue("l",_result
);
7400 static void *SwigwxPyEventTowxEvent(void *ptr
) {
7403 src
= (wxPyEvent
*) ptr
;
7404 dest
= (wxEvent
*) src
;
7405 return (void *) dest
;
7408 static void *SwigwxPyEventTowxObject(void *ptr
) {
7411 src
= (wxPyEvent
*) ptr
;
7412 dest
= (wxObject
*) src
;
7413 return (void *) dest
;
7416 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
7417 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
* _resultobj
;
7419 wxPyEvent
* _result
;
7420 int _arg0
= (int ) 0;
7421 char *_kwnames
[] = { "id", NULL
};
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) return NULL
;
7434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
7435 _resultobj
= Py_BuildValue("s",_ptemp
);
7438 _resultobj
= Py_None
;
7443 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
7444 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7447 PyObject
* _argo0
= 0;
7448 char *_kwnames
[] = { "self", NULL
};
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
7454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 delete_wxPyEvent(_arg0
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) return NULL
;
7466 } Py_INCREF(Py_None
);
7467 _resultobj
= Py_None
;
7471 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
7472 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7476 PyObject
* _argo0
= 0;
7477 PyObject
* _obj1
= 0;
7478 char *_kwnames
[] = { "self","self", NULL
};
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
7484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
7486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 wxPyEvent_SetSelf(_arg0
,_arg1
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) return NULL
;
7499 } Py_INCREF(Py_None
);
7500 _resultobj
= Py_None
;
7504 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
7505 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
* _resultobj
;
7509 PyObject
* _argo0
= 0;
7510 char *_kwnames
[] = { "self", NULL
};
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
7516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
7518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) return NULL
;
7529 _resultobj
= _result
;
7534 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
7535 wxPyCommandEvent
*src
;
7536 wxCommandEvent
*dest
;
7537 src
= (wxPyCommandEvent
*) ptr
;
7538 dest
= (wxCommandEvent
*) src
;
7539 return (void *) dest
;
7542 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
7543 wxPyCommandEvent
*src
;
7545 src
= (wxPyCommandEvent
*) ptr
;
7546 dest
= (wxEvent
*) src
;
7547 return (void *) dest
;
7550 static void *SwigwxPyCommandEventTowxObject(void *ptr
) {
7551 wxPyCommandEvent
*src
;
7553 src
= (wxPyCommandEvent
*) ptr
;
7554 dest
= (wxObject
*) src
;
7555 return (void *) dest
;
7558 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
7559 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
* _resultobj
;
7561 wxPyCommandEvent
* _result
;
7562 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
7563 int _arg1
= (int ) 0;
7564 char *_kwnames
[] = { "commandType","id", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) return NULL
;
7577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
7578 _resultobj
= Py_BuildValue("s",_ptemp
);
7581 _resultobj
= Py_None
;
7586 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
7587 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
* _resultobj
;
7589 wxPyCommandEvent
* _arg0
;
7590 PyObject
* _argo0
= 0;
7591 char *_kwnames
[] = { "self", NULL
};
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
7597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
7599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 delete_wxPyCommandEvent(_arg0
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) return NULL
;
7609 } Py_INCREF(Py_None
);
7610 _resultobj
= Py_None
;
7614 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
7615 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7617 wxPyCommandEvent
* _arg0
;
7619 PyObject
* _argo0
= 0;
7620 PyObject
* _obj1
= 0;
7621 char *_kwnames
[] = { "self","self", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) return NULL
;
7642 } Py_INCREF(Py_None
);
7643 _resultobj
= Py_None
;
7647 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
7648 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
* _resultobj
;
7651 wxPyCommandEvent
* _arg0
;
7652 PyObject
* _argo0
= 0;
7653 char *_kwnames
[] = { "self", NULL
};
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
7659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
7661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) return NULL
;
7672 _resultobj
= _result
;
7677 static PyMethodDef eventscMethods
[] = {
7678 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxTextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_wxTextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxTextUrlEvent_GetURLStart", (PyCFunction
) _wrap_wxTextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxTextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_wxTextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "new_wxTextUrlEvent", (PyCFunction
) _wrap_new_wxTextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxTimerEvent_GetInterval", (PyCFunction
) _wrap_wxTimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "new_wxTimerEvent", (PyCFunction
) _wrap_new_wxTimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxContextMenuEvent_SetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxContextMenuEvent_GetPosition", (PyCFunction
) _wrap_wxContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "new_wxContextMenuEvent", (PyCFunction
) _wrap_new_wxContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "new_wxDisplayChangedEvent", (PyCFunction
) _wrap_new_wxDisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxIconizeEvent_Iconized", (PyCFunction
) _wrap_wxIconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxMenuEvent_IsPopup", (PyCFunction
) _wrap_wxMenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "wxChildFocusEvent_GetWindow", (PyCFunction
) _wrap_wxChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "new_wxChildFocusEvent", (PyCFunction
) _wrap_new_wxChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
7762 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7763 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
7764 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
7765 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
7766 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
7767 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
7768 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
7769 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
7770 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7771 { "wxKeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_wxKeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
7772 { "wxKeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_wxKeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
7773 { "wxKeyEvent_m_rawCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
7774 { "wxKeyEvent_m_rawCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
7775 { "wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
7776 { "wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
7777 { "wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7778 { "wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7779 { "wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7780 { "wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7781 { "wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7782 { "wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7783 { "wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7784 { "wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7785 { "wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
7786 { "wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
7787 { "wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
7788 { "wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
7789 { "wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
7790 { "wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
7791 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7792 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7793 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
7794 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
7795 { "wxKeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_wxKeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
7796 { "wxKeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxSetCursorEvent_HasCursor", (PyCFunction
) _wrap_wxSetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxSetCursorEvent_GetCursor", (PyCFunction
) _wrap_wxSetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxSetCursorEvent_SetCursor", (PyCFunction
) _wrap_wxSetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxSetCursorEvent_GetY", (PyCFunction
) _wrap_wxSetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxSetCursorEvent_GetX", (PyCFunction
) _wrap_wxSetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "new_wxSetCursorEvent", (PyCFunction
) _wrap_new_wxSetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxMouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_wxMouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "new_wxMouseCaptureChangedEvent", (PyCFunction
) _wrap_new_wxMouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxMouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxMouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxMouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxMouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxMouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxMouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxMouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_wxMouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxMouseEvent_GetWheelDelta", (PyCFunction
) _wrap_wxMouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxMouseEvent_GetWheelRotation", (PyCFunction
) _wrap_wxMouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxCommandEvent_GetClientData", (PyCFunction
) _wrap_wxCommandEvent_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7897 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7898 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxEvent_Clone", (PyCFunction
) _wrap_wxEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxNewEventType", (PyCFunction
) _wrap_wxNewEventType
, METH_VARARGS
| METH_KEYWORDS
},
7918 * This table is used by the pointer type-checker
7920 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7921 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
7922 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
7923 { "_wxEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxEvent
},
7924 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
7925 { "_wxEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxEvent
},
7926 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
7927 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
7928 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
7929 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
7930 { "_wxEvent","_wxDisplayChangedEvent",SwigwxDisplayChangedEventTowxEvent
},
7931 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
7932 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
7933 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
7934 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
7935 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
7936 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
7937 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
7938 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
7939 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
7940 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
7941 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
7942 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
7943 { "_wxEvent","_wxChildFocusEvent",SwigwxChildFocusEventTowxEvent
},
7944 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
7945 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
7946 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
7947 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
7948 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
7949 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
7950 { "_wxEvent","_wxSetCursorEvent",SwigwxSetCursorEventTowxEvent
},
7951 { "_wxEvent","_wxMouseCaptureChangedEvent",SwigwxMouseCaptureChangedEventTowxEvent
},
7952 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
7953 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
7954 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
7955 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
7956 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
7957 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
7958 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
7959 { "_signed_long","_long",0},
7960 { "_wxPrintQuality","_wxCoord",0},
7961 { "_wxPrintQuality","_int",0},
7962 { "_wxPrintQuality","_signed_int",0},
7963 { "_wxPrintQuality","_unsigned_int",0},
7964 { "_wxPrintQuality","_wxWindowID",0},
7965 { "_wxPrintQuality","_uint",0},
7966 { "_wxPrintQuality","_EBool",0},
7967 { "_wxPrintQuality","_size_t",0},
7968 { "_wxPrintQuality","_time_t",0},
7969 { "_byte","_unsigned_char",0},
7970 { "_long","_unsigned_long",0},
7971 { "_long","_signed_long",0},
7972 { "_size_t","_wxCoord",0},
7973 { "_size_t","_wxPrintQuality",0},
7974 { "_size_t","_time_t",0},
7975 { "_size_t","_unsigned_int",0},
7976 { "_size_t","_int",0},
7977 { "_size_t","_wxWindowID",0},
7978 { "_size_t","_uint",0},
7979 { "_uint","_wxCoord",0},
7980 { "_uint","_wxPrintQuality",0},
7981 { "_uint","_time_t",0},
7982 { "_uint","_size_t",0},
7983 { "_uint","_unsigned_int",0},
7984 { "_uint","_int",0},
7985 { "_uint","_wxWindowID",0},
7986 { "_wxChar","_char",0},
7987 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
7988 { "_wxCommandEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxCommandEvent
},
7989 { "_wxCommandEvent","_wxContextMenuEvent",SwigwxContextMenuEventTowxCommandEvent
},
7990 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
7991 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
7992 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
7993 { "_wxCommandEvent","_wxChildFocusEvent",SwigwxChildFocusEventTowxCommandEvent
},
7994 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
7995 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
7996 { "_char","_wxChar",0},
7997 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7998 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
7999 { "_EBool","_wxCoord",0},
8000 { "_EBool","_wxPrintQuality",0},
8001 { "_EBool","_signed_int",0},
8002 { "_EBool","_int",0},
8003 { "_EBool","_wxWindowID",0},
8004 { "_unsigned_long","_long",0},
8005 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8006 { "_signed_int","_wxCoord",0},
8007 { "_signed_int","_wxPrintQuality",0},
8008 { "_signed_int","_EBool",0},
8009 { "_signed_int","_wxWindowID",0},
8010 { "_signed_int","_int",0},
8011 { "_WXTYPE","_short",0},
8012 { "_WXTYPE","_signed_short",0},
8013 { "_WXTYPE","_unsigned_short",0},
8014 { "_unsigned_short","_WXTYPE",0},
8015 { "_unsigned_short","_short",0},
8016 { "_wxObject","_wxPyCommandEvent",SwigwxPyCommandEventTowxObject
},
8017 { "_wxObject","_wxPyEvent",SwigwxPyEventTowxObject
},
8018 { "_wxObject","_wxTextUrlEvent",SwigwxTextUrlEventTowxObject
},
8019 { "_wxObject","_wxTimerEvent",SwigwxTimerEventTowxObject
},
8020 { "_wxObject","_wxContextMenuEvent",SwigwxContextMenuEventTowxObject
},
8021 { "_wxObject","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject
},
8022 { "_wxObject","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject
},
8023 { "_wxObject","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject
},
8024 { "_wxObject","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject
},
8025 { "_wxObject","_wxDisplayChangedEvent",SwigwxDisplayChangedEventTowxObject
},
8026 { "_wxObject","_wxNotifyEvent",SwigwxNotifyEventTowxObject
},
8027 { "_wxObject","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject
},
8028 { "_wxObject","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject
},
8029 { "_wxObject","_wxIdleEvent",SwigwxIdleEventTowxObject
},
8030 { "_wxObject","_wxDropFilesEvent",SwigwxDropFilesEventTowxObject
},
8031 { "_wxObject","_wxJoystickEvent",SwigwxJoystickEventTowxObject
},
8032 { "_wxObject","_wxMaximizeEvent",SwigwxMaximizeEventTowxObject
},
8033 { "_wxObject","_wxIconizeEvent",SwigwxIconizeEventTowxObject
},
8034 { "_wxObject","_wxShowEvent",SwigwxShowEventTowxObject
},
8035 { "_wxObject","_wxMenuEvent",SwigwxMenuEventTowxObject
},
8036 { "_wxObject","_wxInitDialogEvent",SwigwxInitDialogEventTowxObject
},
8037 { "_wxObject","_wxActivateEvent",SwigwxActivateEventTowxObject
},
8038 { "_wxObject","_wxChildFocusEvent",SwigwxChildFocusEventTowxObject
},
8039 { "_wxObject","_wxFocusEvent",SwigwxFocusEventTowxObject
},
8040 { "_wxObject","_wxEraseEvent",SwigwxEraseEventTowxObject
},
8041 { "_wxObject","_wxPaintEvent",SwigwxPaintEventTowxObject
},
8042 { "_wxObject","_wxMoveEvent",SwigwxMoveEventTowxObject
},
8043 { "_wxObject","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject
},
8044 { "_wxObject","_wxKeyEvent",SwigwxKeyEventTowxObject
},
8045 { "_wxObject","_wxSetCursorEvent",SwigwxSetCursorEventTowxObject
},
8046 { "_wxObject","_wxMouseCaptureChangedEvent",SwigwxMouseCaptureChangedEventTowxObject
},
8047 { "_wxObject","_wxMouseEvent",SwigwxMouseEventTowxObject
},
8048 { "_wxObject","_wxSpinEvent",SwigwxSpinEventTowxObject
},
8049 { "_wxObject","_wxScrollWinEvent",SwigwxScrollWinEventTowxObject
},
8050 { "_wxObject","_wxScrollEvent",SwigwxScrollEventTowxObject
},
8051 { "_wxObject","_wxCommandEvent",SwigwxCommandEventTowxObject
},
8052 { "_wxObject","_wxCloseEvent",SwigwxCloseEventTowxObject
},
8053 { "_wxObject","_wxSizeEvent",SwigwxSizeEventTowxObject
},
8054 { "_wxObject","_wxEvent",SwigwxEventTowxObject
},
8055 { "_signed_short","_WXTYPE",0},
8056 { "_signed_short","_short",0},
8057 { "_unsigned_char","_byte",0},
8058 { "_unsigned_int","_wxCoord",0},
8059 { "_unsigned_int","_wxPrintQuality",0},
8060 { "_unsigned_int","_time_t",0},
8061 { "_unsigned_int","_size_t",0},
8062 { "_unsigned_int","_uint",0},
8063 { "_unsigned_int","_wxWindowID",0},
8064 { "_unsigned_int","_int",0},
8065 { "_short","_WXTYPE",0},
8066 { "_short","_unsigned_short",0},
8067 { "_short","_signed_short",0},
8068 { "_wxWindowID","_wxCoord",0},
8069 { "_wxWindowID","_wxPrintQuality",0},
8070 { "_wxWindowID","_time_t",0},
8071 { "_wxWindowID","_size_t",0},
8072 { "_wxWindowID","_EBool",0},
8073 { "_wxWindowID","_uint",0},
8074 { "_wxWindowID","_int",0},
8075 { "_wxWindowID","_signed_int",0},
8076 { "_wxWindowID","_unsigned_int",0},
8077 { "_int","_wxCoord",0},
8078 { "_int","_wxPrintQuality",0},
8079 { "_int","_time_t",0},
8080 { "_int","_size_t",0},
8081 { "_int","_EBool",0},
8082 { "_int","_uint",0},
8083 { "_int","_wxWindowID",0},
8084 { "_int","_unsigned_int",0},
8085 { "_int","_signed_int",0},
8086 { "_time_t","_wxCoord",0},
8087 { "_time_t","_wxPrintQuality",0},
8088 { "_time_t","_unsigned_int",0},
8089 { "_time_t","_int",0},
8090 { "_time_t","_wxWindowID",0},
8091 { "_time_t","_uint",0},
8092 { "_time_t","_size_t",0},
8093 { "_wxCoord","_int",0},
8094 { "_wxCoord","_signed_int",0},
8095 { "_wxCoord","_unsigned_int",0},
8096 { "_wxCoord","_wxWindowID",0},
8097 { "_wxCoord","_uint",0},
8098 { "_wxCoord","_EBool",0},
8099 { "_wxCoord","_size_t",0},
8100 { "_wxCoord","_time_t",0},
8101 { "_wxCoord","_wxPrintQuality",0},
8104 static PyObject
*SWIG_globals
;
8108 SWIGEXPORT(void) initeventsc() {
8110 SWIG_globals
= SWIG_newvarlink();
8111 m
= Py_InitModule("eventsc", eventscMethods
);
8112 d
= PyModule_GetDict(m
);
8115 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8116 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);