2 * FILE : src/mac/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initeventsc
56 #define SWIG_name "eventsc"
59 #include <wx/spinbutt.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "String type required";
96 static PyObject
*_wrap_wxNewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
97 PyObject
* _resultobj
;
99 char *_kwnames
[] = { NULL
};
102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewEventType",_kwnames
))
105 wxPy_BEGIN_ALLOW_THREADS
;
106 _result
= (int )wxNewEventType();
108 wxPy_END_ALLOW_THREADS
;
109 if (PyErr_Occurred()) return NULL
;
110 } _resultobj
= Py_BuildValue("i",_result
);
114 static void *SwigwxEventTowxObject(void *ptr
) {
117 src
= (wxEvent
*) ptr
;
118 dest
= (wxObject
*) src
;
119 return (void *) dest
;
122 #define new_wxEvent(_swigarg0) (new wxEvent(_swigarg0))
123 static PyObject
*_wrap_new_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
124 PyObject
* _resultobj
;
126 int _arg0
= (int ) 0;
127 char *_kwnames
[] = { "id", NULL
};
131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxEvent",_kwnames
,&_arg0
))
134 wxPy_BEGIN_ALLOW_THREADS
;
135 _result
= (wxEvent
*)new_wxEvent(_arg0
);
137 wxPy_END_ALLOW_THREADS
;
138 if (PyErr_Occurred()) return NULL
;
140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvent_p");
141 _resultobj
= Py_BuildValue("s",_ptemp
);
144 _resultobj
= Py_None
;
149 #define delete_wxEvent(_swigobj) (delete _swigobj)
150 static PyObject
*_wrap_delete_wxEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
153 PyObject
* _argo0
= 0;
154 char *_kwnames
[] = { "self", NULL
};
157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEvent",_kwnames
,&_argo0
))
160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEvent. Expected _wxEvent_p.");
167 wxPy_BEGIN_ALLOW_THREADS
;
168 delete_wxEvent(_arg0
);
170 wxPy_END_ALLOW_THREADS
;
171 if (PyErr_Occurred()) return NULL
;
172 } Py_INCREF(Py_None
);
173 _resultobj
= Py_None
;
177 #define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
178 static PyObject
*_wrap_wxEvent_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
179 PyObject
* _resultobj
;
182 PyObject
* _argo0
= 0;
183 char *_kwnames
[] = { "self", NULL
};
186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventObject",_kwnames
,&_argo0
))
189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
196 wxPy_BEGIN_ALLOW_THREADS
;
197 _result
= (wxObject
*)wxEvent_GetEventObject(_arg0
);
199 wxPy_END_ALLOW_THREADS
;
200 if (PyErr_Occurred()) return NULL
;
201 }{ _resultobj
= wxPyMake_wxObject(_result
); }
205 #define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
206 static PyObject
*_wrap_wxEvent_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
210 PyObject
* _argo0
= 0;
211 char *_kwnames
[] = { "self", NULL
};
214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetEventType",_kwnames
,&_argo0
))
217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
224 wxPy_BEGIN_ALLOW_THREADS
;
225 _result
= (wxEventType
)wxEvent_GetEventType(_arg0
);
227 wxPy_END_ALLOW_THREADS
;
228 if (PyErr_Occurred()) return NULL
;
229 } _resultobj
= Py_BuildValue("i",_result
);
233 #define wxEvent_GetId(_swigobj) (_swigobj->GetId())
234 static PyObject
*_wrap_wxEvent_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
238 PyObject
* _argo0
= 0;
239 char *_kwnames
[] = { "self", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetId",_kwnames
,&_argo0
))
245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
252 wxPy_BEGIN_ALLOW_THREADS
;
253 _result
= (int )wxEvent_GetId(_arg0
);
255 wxPy_END_ALLOW_THREADS
;
256 if (PyErr_Occurred()) return NULL
;
257 } _resultobj
= Py_BuildValue("i",_result
);
261 #define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
262 static PyObject
*_wrap_wxEvent_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
266 PyObject
* _argo0
= 0;
267 char *_kwnames
[] = { "self", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetSkipped",_kwnames
,&_argo0
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
280 wxPy_BEGIN_ALLOW_THREADS
;
281 _result
= (bool )wxEvent_GetSkipped(_arg0
);
283 wxPy_END_ALLOW_THREADS
;
284 if (PyErr_Occurred()) return NULL
;
285 } _resultobj
= Py_BuildValue("i",_result
);
289 #define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
290 static PyObject
*_wrap_wxEvent_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
291 PyObject
* _resultobj
;
294 PyObject
* _argo0
= 0;
295 char *_kwnames
[] = { "self", NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvent_GetTimestamp",_kwnames
,&_argo0
))
301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
308 wxPy_BEGIN_ALLOW_THREADS
;
309 _result
= (long )wxEvent_GetTimestamp(_arg0
);
311 wxPy_END_ALLOW_THREADS
;
312 if (PyErr_Occurred()) return NULL
;
313 } _resultobj
= Py_BuildValue("l",_result
);
317 #define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
318 static PyObject
*_wrap_wxEvent_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
322 PyObject
* _argo0
= 0;
323 PyObject
* _argo1
= 0;
324 char *_kwnames
[] = { "self","object", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvent_SetEventObject",_kwnames
,&_argo0
,&_argo1
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
344 wxPy_BEGIN_ALLOW_THREADS
;
345 wxEvent_SetEventObject(_arg0
,_arg1
);
347 wxPy_END_ALLOW_THREADS
;
348 if (PyErr_Occurred()) return NULL
;
349 } Py_INCREF(Py_None
);
350 _resultobj
= Py_None
;
354 #define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
355 static PyObject
*_wrap_wxEvent_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
359 PyObject
* _argo0
= 0;
360 char *_kwnames
[] = { "self","typ", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetEventType",_kwnames
,&_argo0
,&_arg1
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
373 wxPy_BEGIN_ALLOW_THREADS
;
374 wxEvent_SetEventType(_arg0
,_arg1
);
376 wxPy_END_ALLOW_THREADS
;
377 if (PyErr_Occurred()) return NULL
;
378 } Py_INCREF(Py_None
);
379 _resultobj
= Py_None
;
383 #define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
384 static PyObject
*_wrap_wxEvent_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
385 PyObject
* _resultobj
;
388 PyObject
* _argo0
= 0;
389 char *_kwnames
[] = { "self","id", NULL
};
392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvent_SetId",_kwnames
,&_argo0
,&_arg1
))
395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
402 wxPy_BEGIN_ALLOW_THREADS
;
403 wxEvent_SetId(_arg0
,_arg1
);
405 wxPy_END_ALLOW_THREADS
;
406 if (PyErr_Occurred()) return NULL
;
407 } Py_INCREF(Py_None
);
408 _resultobj
= Py_None
;
412 #define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
413 static PyObject
*_wrap_wxEvent_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
414 PyObject
* _resultobj
;
417 PyObject
* _argo0
= 0;
418 char *_kwnames
[] = { "self","timeStamp", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxEvent_SetTimestamp",_kwnames
,&_argo0
,&_arg1
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
431 wxPy_BEGIN_ALLOW_THREADS
;
432 wxEvent_SetTimestamp(_arg0
,_arg1
);
434 wxPy_END_ALLOW_THREADS
;
435 if (PyErr_Occurred()) return NULL
;
436 } Py_INCREF(Py_None
);
437 _resultobj
= Py_None
;
441 #define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
442 static PyObject
*_wrap_wxEvent_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
445 bool _arg1
= (bool ) TRUE
;
446 PyObject
* _argo0
= 0;
447 int tempbool1
= (int) TRUE
;
448 char *_kwnames
[] = { "self","skip", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxEvent_Skip",_kwnames
,&_argo0
,&tempbool1
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvent_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
460 _arg1
= (bool ) tempbool1
;
462 wxPy_BEGIN_ALLOW_THREADS
;
463 wxEvent_Skip(_arg0
,_arg1
);
465 wxPy_END_ALLOW_THREADS
;
466 if (PyErr_Occurred()) return NULL
;
467 } Py_INCREF(Py_None
);
468 _resultobj
= Py_None
;
472 static void *SwigwxSizeEventTowxEvent(void *ptr
) {
475 src
= (wxSizeEvent
*) ptr
;
476 dest
= (wxEvent
*) src
;
477 return (void *) dest
;
480 static void *SwigwxSizeEventTowxObject(void *ptr
) {
483 src
= (wxSizeEvent
*) ptr
;
484 dest
= (wxObject
*) src
;
485 return (void *) dest
;
488 #define new_wxSizeEvent(_swigarg0,_swigarg1) (new wxSizeEvent(_swigarg0,_swigarg1))
489 static PyObject
*_wrap_new_wxSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
491 wxSizeEvent
* _result
;
493 int _arg1
= (int ) 0;
495 PyObject
* _obj0
= 0;
496 char *_kwnames
[] = { "sz","id", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxSizeEvent",_kwnames
,&_obj0
,&_arg1
))
504 if (! wxSize_helper(_obj0
, &_arg0
))
508 wxPy_BEGIN_ALLOW_THREADS
;
509 _result
= (wxSizeEvent
*)new_wxSizeEvent(*_arg0
,_arg1
);
511 wxPy_END_ALLOW_THREADS
;
512 if (PyErr_Occurred()) return NULL
;
514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizeEvent_p");
515 _resultobj
= Py_BuildValue("s",_ptemp
);
518 _resultobj
= Py_None
;
523 #define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
524 static PyObject
*_wrap_wxSizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
528 PyObject
* _argo0
= 0;
529 char *_kwnames
[] = { "self", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizeEvent_GetSize",_kwnames
,&_argo0
))
536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizeEvent_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
543 wxPy_BEGIN_ALLOW_THREADS
;
544 _result
= new wxSize (wxSizeEvent_GetSize(_arg0
));
546 wxPy_END_ALLOW_THREADS
;
547 if (PyErr_Occurred()) return NULL
;
548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
549 _resultobj
= Py_BuildValue("s",_ptemp
);
553 static void *SwigwxCloseEventTowxEvent(void *ptr
) {
556 src
= (wxCloseEvent
*) ptr
;
557 dest
= (wxEvent
*) src
;
558 return (void *) dest
;
561 static void *SwigwxCloseEventTowxObject(void *ptr
) {
564 src
= (wxCloseEvent
*) ptr
;
565 dest
= (wxObject
*) src
;
566 return (void *) dest
;
569 #define new_wxCloseEvent(_swigarg0,_swigarg1) (new wxCloseEvent(_swigarg0,_swigarg1))
570 static PyObject
*_wrap_new_wxCloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
571 PyObject
* _resultobj
;
572 wxCloseEvent
* _result
;
573 int _arg0
= (int ) 0;
574 int _arg1
= (int ) 0;
575 char *_kwnames
[] = { "commandEventType","id", NULL
};
579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCloseEvent",_kwnames
,&_arg0
,&_arg1
))
582 wxPy_BEGIN_ALLOW_THREADS
;
583 _result
= (wxCloseEvent
*)new_wxCloseEvent(_arg0
,_arg1
);
585 wxPy_END_ALLOW_THREADS
;
586 if (PyErr_Occurred()) return NULL
;
588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCloseEvent_p");
589 _resultobj
= Py_BuildValue("s",_ptemp
);
592 _resultobj
= Py_None
;
597 #define wxCloseEvent_SetLoggingOff(_swigobj,_swigarg0) (_swigobj->SetLoggingOff(_swigarg0))
598 static PyObject
*_wrap_wxCloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
600 wxCloseEvent
* _arg0
;
602 PyObject
* _argo0
= 0;
604 char *_kwnames
[] = { "self","loggingOff", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetLoggingOff",_kwnames
,&_argo0
,&tempbool1
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetLoggingOff. Expected _wxCloseEvent_p.");
616 _arg1
= (bool ) tempbool1
;
618 wxPy_BEGIN_ALLOW_THREADS
;
619 wxCloseEvent_SetLoggingOff(_arg0
,_arg1
);
621 wxPy_END_ALLOW_THREADS
;
622 if (PyErr_Occurred()) return NULL
;
623 } Py_INCREF(Py_None
);
624 _resultobj
= Py_None
;
628 #define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
629 static PyObject
*_wrap_wxCloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
632 wxCloseEvent
* _arg0
;
633 PyObject
* _argo0
= 0;
634 char *_kwnames
[] = { "self", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetLoggingOff",_kwnames
,&_argo0
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
647 wxPy_BEGIN_ALLOW_THREADS
;
648 _result
= (bool )wxCloseEvent_GetLoggingOff(_arg0
);
650 wxPy_END_ALLOW_THREADS
;
651 if (PyErr_Occurred()) return NULL
;
652 } _resultobj
= Py_BuildValue("i",_result
);
656 #define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
657 static PyObject
*_wrap_wxCloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
659 wxCloseEvent
* _arg0
;
660 bool _arg1
= (bool ) TRUE
;
661 PyObject
* _argo0
= 0;
662 int tempbool1
= (int) TRUE
;
663 char *_kwnames
[] = { "self","veto", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCloseEvent_Veto",_kwnames
,&_argo0
,&tempbool1
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
675 _arg1
= (bool ) tempbool1
;
677 wxPy_BEGIN_ALLOW_THREADS
;
678 wxCloseEvent_Veto(_arg0
,_arg1
);
680 wxPy_END_ALLOW_THREADS
;
681 if (PyErr_Occurred()) return NULL
;
682 } Py_INCREF(Py_None
);
683 _resultobj
= Py_None
;
687 #define wxCloseEvent_CanVeto(_swigobj) (_swigobj->CanVeto())
688 static PyObject
*_wrap_wxCloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
691 wxCloseEvent
* _arg0
;
692 PyObject
* _argo0
= 0;
693 char *_kwnames
[] = { "self", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_CanVeto",_kwnames
,&_argo0
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_CanVeto. Expected _wxCloseEvent_p.");
706 wxPy_BEGIN_ALLOW_THREADS
;
707 _result
= (bool )wxCloseEvent_CanVeto(_arg0
);
709 wxPy_END_ALLOW_THREADS
;
710 if (PyErr_Occurred()) return NULL
;
711 } _resultobj
= Py_BuildValue("i",_result
);
715 #define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
716 static PyObject
*_wrap_wxCloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
719 wxCloseEvent
* _arg0
;
720 PyObject
* _argo0
= 0;
721 char *_kwnames
[] = { "self", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCloseEvent_GetVeto",_kwnames
,&_argo0
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
734 wxPy_BEGIN_ALLOW_THREADS
;
735 _result
= (bool )wxCloseEvent_GetVeto(_arg0
);
737 wxPy_END_ALLOW_THREADS
;
738 if (PyErr_Occurred()) return NULL
;
739 } _resultobj
= Py_BuildValue("i",_result
);
743 #define wxCloseEvent_SetCanVeto(_swigobj,_swigarg0) (_swigobj->SetCanVeto(_swigarg0))
744 static PyObject
*_wrap_wxCloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
745 PyObject
* _resultobj
;
746 wxCloseEvent
* _arg0
;
748 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self","canVeto", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCloseEvent_SetCanVeto",_kwnames
,&_argo0
,&tempbool1
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCloseEvent_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCloseEvent_SetCanVeto. Expected _wxCloseEvent_p.");
762 _arg1
= (bool ) tempbool1
;
764 wxPy_BEGIN_ALLOW_THREADS
;
765 wxCloseEvent_SetCanVeto(_arg0
,_arg1
);
767 wxPy_END_ALLOW_THREADS
;
768 if (PyErr_Occurred()) return NULL
;
769 } Py_INCREF(Py_None
);
770 _resultobj
= Py_None
;
774 static void *SwigwxCommandEventTowxEvent(void *ptr
) {
777 src
= (wxCommandEvent
*) ptr
;
778 dest
= (wxEvent
*) src
;
779 return (void *) dest
;
782 static void *SwigwxCommandEventTowxObject(void *ptr
) {
785 src
= (wxCommandEvent
*) ptr
;
786 dest
= (wxObject
*) src
;
787 return (void *) dest
;
790 #define new_wxCommandEvent(_swigarg0,_swigarg1) (new wxCommandEvent(_swigarg0,_swigarg1))
791 static PyObject
*_wrap_new_wxCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
792 PyObject
* _resultobj
;
793 wxCommandEvent
* _result
;
794 int _arg0
= (int ) 0;
795 int _arg1
= (int ) 0;
796 char *_kwnames
[] = { "commandEventType","id", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxCommandEvent",_kwnames
,&_arg0
,&_arg1
))
803 wxPy_BEGIN_ALLOW_THREADS
;
804 _result
= (wxCommandEvent
*)new_wxCommandEvent(_arg0
,_arg1
);
806 wxPy_END_ALLOW_THREADS
;
807 if (PyErr_Occurred()) return NULL
;
809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCommandEvent_p");
810 _resultobj
= Py_BuildValue("s",_ptemp
);
813 _resultobj
= Py_None
;
818 #define wxCommandEvent_IsChecked(_swigobj) (_swigobj->IsChecked())
819 static PyObject
*_wrap_wxCommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
820 PyObject
* _resultobj
;
822 wxCommandEvent
* _arg0
;
823 PyObject
* _argo0
= 0;
824 char *_kwnames
[] = { "self", NULL
};
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsChecked",_kwnames
,&_argo0
))
830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsChecked. Expected _wxCommandEvent_p.");
837 wxPy_BEGIN_ALLOW_THREADS
;
838 _result
= (bool )wxCommandEvent_IsChecked(_arg0
);
840 wxPy_END_ALLOW_THREADS
;
841 if (PyErr_Occurred()) return NULL
;
842 } _resultobj
= Py_BuildValue("i",_result
);
846 #define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
847 static PyObject
*_wrap_wxCommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
850 wxCommandEvent
* _arg0
;
851 PyObject
* _argo0
= 0;
852 char *_kwnames
[] = { "self", NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetExtraLong",_kwnames
,&_argo0
))
858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
865 wxPy_BEGIN_ALLOW_THREADS
;
866 _result
= (long )wxCommandEvent_GetExtraLong(_arg0
);
868 wxPy_END_ALLOW_THREADS
;
869 if (PyErr_Occurred()) return NULL
;
870 } _resultobj
= Py_BuildValue("l",_result
);
874 #define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
875 static PyObject
*_wrap_wxCommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
878 wxCommandEvent
* _arg0
;
879 PyObject
* _argo0
= 0;
880 char *_kwnames
[] = { "self", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetInt",_kwnames
,&_argo0
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
893 wxPy_BEGIN_ALLOW_THREADS
;
894 _result
= (int )wxCommandEvent_GetInt(_arg0
);
896 wxPy_END_ALLOW_THREADS
;
897 if (PyErr_Occurred()) return NULL
;
898 } _resultobj
= Py_BuildValue("i",_result
);
902 #define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
903 static PyObject
*_wrap_wxCommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
906 wxCommandEvent
* _arg0
;
907 PyObject
* _argo0
= 0;
908 char *_kwnames
[] = { "self", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetSelection",_kwnames
,&_argo0
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
921 wxPy_BEGIN_ALLOW_THREADS
;
922 _result
= (int )wxCommandEvent_GetSelection(_arg0
);
924 wxPy_END_ALLOW_THREADS
;
925 if (PyErr_Occurred()) return NULL
;
926 } _resultobj
= Py_BuildValue("i",_result
);
930 #define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
931 static PyObject
*_wrap_wxCommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
934 wxCommandEvent
* _arg0
;
935 PyObject
* _argo0
= 0;
936 char *_kwnames
[] = { "self", NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetString",_kwnames
,&_argo0
))
942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
949 wxPy_BEGIN_ALLOW_THREADS
;
950 _result
= new wxString (wxCommandEvent_GetString(_arg0
));
952 wxPy_END_ALLOW_THREADS
;
953 if (PyErr_Occurred()) return NULL
;
955 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
963 #define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
964 static PyObject
*_wrap_wxCommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 PyObject
* _resultobj
;
967 wxCommandEvent
* _arg0
;
968 PyObject
* _argo0
= 0;
969 char *_kwnames
[] = { "self", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_IsSelection",_kwnames
,&_argo0
))
975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
982 wxPy_BEGIN_ALLOW_THREADS
;
983 _result
= (bool )wxCommandEvent_IsSelection(_arg0
);
985 wxPy_END_ALLOW_THREADS
;
986 if (PyErr_Occurred()) return NULL
;
987 } _resultobj
= Py_BuildValue("i",_result
);
991 #define wxCommandEvent_SetString(_swigobj,_swigarg0) (_swigobj->SetString(_swigarg0))
992 static PyObject
*_wrap_wxCommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
994 wxCommandEvent
* _arg0
;
996 PyObject
* _argo0
= 0;
997 PyObject
* _obj1
= 0;
998 char *_kwnames
[] = { "self","s", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCommandEvent_SetString",_kwnames
,&_argo0
,&_obj1
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetString. Expected _wxCommandEvent_p.");
1011 #if PYTHON_API_VERSION >= 1009
1012 char* tmpPtr
; int tmpSize
;
1013 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1017 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1019 _arg1
= new wxString(tmpPtr
, tmpSize
);
1021 if (!PyString_Check(_obj1
)) {
1022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1025 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1029 wxPy_BEGIN_ALLOW_THREADS
;
1030 wxCommandEvent_SetString(_arg0
,*_arg1
);
1032 wxPy_END_ALLOW_THREADS
;
1033 if (PyErr_Occurred()) return NULL
;
1034 } Py_INCREF(Py_None
);
1035 _resultobj
= Py_None
;
1043 #define wxCommandEvent_SetExtraLong(_swigobj,_swigarg0) (_swigobj->SetExtraLong(_swigarg0))
1044 static PyObject
*_wrap_wxCommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1046 wxCommandEvent
* _arg0
;
1048 PyObject
* _argo0
= 0;
1049 char *_kwnames
[] = { "self","extraLong", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCommandEvent_SetExtraLong",_kwnames
,&_argo0
,&_arg1
))
1055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetExtraLong. Expected _wxCommandEvent_p.");
1062 wxPy_BEGIN_ALLOW_THREADS
;
1063 wxCommandEvent_SetExtraLong(_arg0
,_arg1
);
1065 wxPy_END_ALLOW_THREADS
;
1066 if (PyErr_Occurred()) return NULL
;
1067 } Py_INCREF(Py_None
);
1068 _resultobj
= Py_None
;
1072 #define wxCommandEvent_SetInt(_swigobj,_swigarg0) (_swigobj->SetInt(_swigarg0))
1073 static PyObject
*_wrap_wxCommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1075 wxCommandEvent
* _arg0
;
1077 PyObject
* _argo0
= 0;
1078 char *_kwnames
[] = { "self","i", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCommandEvent_SetInt",_kwnames
,&_argo0
,&_arg1
))
1084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_SetInt. Expected _wxCommandEvent_p.");
1091 wxPy_BEGIN_ALLOW_THREADS
;
1092 wxCommandEvent_SetInt(_arg0
,_arg1
);
1094 wxPy_END_ALLOW_THREADS
;
1095 if (PyErr_Occurred()) return NULL
;
1096 } Py_INCREF(Py_None
);
1097 _resultobj
= Py_None
;
1101 static PyObject
* wxCommandEvent_GetClientData(wxCommandEvent
*self
) {
1102 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
1104 Py_INCREF(data
->m_obj
);
1111 static PyObject
*_wrap_wxCommandEvent_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1114 wxCommandEvent
* _arg0
;
1115 PyObject
* _argo0
= 0;
1116 char *_kwnames
[] = { "self", NULL
};
1119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCommandEvent_GetClientData",_kwnames
,&_argo0
))
1122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCommandEvent_p")) {
1124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCommandEvent_GetClientData. Expected _wxCommandEvent_p.");
1129 wxPy_BEGIN_ALLOW_THREADS
;
1130 _result
= (PyObject
*)wxCommandEvent_GetClientData(_arg0
);
1132 wxPy_END_ALLOW_THREADS
;
1133 if (PyErr_Occurred()) return NULL
;
1135 _resultobj
= _result
;
1140 static void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1142 wxCommandEvent
*dest
;
1143 src
= (wxScrollEvent
*) ptr
;
1144 dest
= (wxCommandEvent
*) src
;
1145 return (void *) dest
;
1148 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1151 src
= (wxScrollEvent
*) ptr
;
1152 dest
= (wxEvent
*) src
;
1153 return (void *) dest
;
1156 static void *SwigwxScrollEventTowxObject(void *ptr
) {
1159 src
= (wxScrollEvent
*) ptr
;
1160 dest
= (wxObject
*) src
;
1161 return (void *) dest
;
1164 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1165 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1167 wxScrollEvent
* _result
;
1168 int _arg0
= (int ) 0;
1169 int _arg1
= (int ) 0;
1170 int _arg2
= (int ) 0;
1171 int _arg3
= (int ) 0;
1172 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1179 wxPy_BEGIN_ALLOW_THREADS
;
1180 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1182 wxPy_END_ALLOW_THREADS
;
1183 if (PyErr_Occurred()) return NULL
;
1185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1186 _resultobj
= Py_BuildValue("s",_ptemp
);
1189 _resultobj
= Py_None
;
1194 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1195 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1198 wxScrollEvent
* _arg0
;
1199 PyObject
* _argo0
= 0;
1200 char *_kwnames
[] = { "self", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1216 wxPy_END_ALLOW_THREADS
;
1217 if (PyErr_Occurred()) return NULL
;
1218 } _resultobj
= Py_BuildValue("i",_result
);
1222 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1223 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1226 wxScrollEvent
* _arg0
;
1227 PyObject
* _argo0
= 0;
1228 char *_kwnames
[] = { "self", NULL
};
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1241 wxPy_BEGIN_ALLOW_THREADS
;
1242 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1244 wxPy_END_ALLOW_THREADS
;
1245 if (PyErr_Occurred()) return NULL
;
1246 } _resultobj
= Py_BuildValue("i",_result
);
1250 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1251 wxScrollWinEvent
*src
;
1253 src
= (wxScrollWinEvent
*) ptr
;
1254 dest
= (wxEvent
*) src
;
1255 return (void *) dest
;
1258 static void *SwigwxScrollWinEventTowxObject(void *ptr
) {
1259 wxScrollWinEvent
*src
;
1261 src
= (wxScrollWinEvent
*) ptr
;
1262 dest
= (wxObject
*) src
;
1263 return (void *) dest
;
1266 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1267 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1269 wxScrollWinEvent
* _result
;
1270 int _arg0
= (int ) 0;
1271 int _arg1
= (int ) 0;
1272 int _arg2
= (int ) 0;
1273 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1280 wxPy_BEGIN_ALLOW_THREADS
;
1281 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1283 wxPy_END_ALLOW_THREADS
;
1284 if (PyErr_Occurred()) return NULL
;
1286 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1287 _resultobj
= Py_BuildValue("s",_ptemp
);
1290 _resultobj
= Py_None
;
1295 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1296 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1299 wxScrollWinEvent
* _arg0
;
1300 PyObject
* _argo0
= 0;
1301 char *_kwnames
[] = { "self", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1314 wxPy_BEGIN_ALLOW_THREADS
;
1315 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1317 wxPy_END_ALLOW_THREADS
;
1318 if (PyErr_Occurred()) return NULL
;
1319 } _resultobj
= Py_BuildValue("i",_result
);
1323 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1324 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1327 wxScrollWinEvent
* _arg0
;
1328 PyObject
* _argo0
= 0;
1329 char *_kwnames
[] = { "self", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1342 wxPy_BEGIN_ALLOW_THREADS
;
1343 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1345 wxPy_END_ALLOW_THREADS
;
1346 if (PyErr_Occurred()) return NULL
;
1347 } _resultobj
= Py_BuildValue("i",_result
);
1351 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1353 wxScrollEvent
*dest
;
1354 src
= (wxSpinEvent
*) ptr
;
1355 dest
= (wxScrollEvent
*) src
;
1356 return (void *) dest
;
1359 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1361 wxCommandEvent
*dest
;
1362 src
= (wxSpinEvent
*) ptr
;
1363 dest
= (wxCommandEvent
*) src
;
1364 return (void *) dest
;
1367 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1370 src
= (wxSpinEvent
*) ptr
;
1371 dest
= (wxEvent
*) src
;
1372 return (void *) dest
;
1375 static void *SwigwxSpinEventTowxObject(void *ptr
) {
1378 src
= (wxSpinEvent
*) ptr
;
1379 dest
= (wxObject
*) src
;
1380 return (void *) dest
;
1383 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1384 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1386 wxSpinEvent
* _result
;
1387 int _arg0
= (int ) 0;
1388 int _arg1
= (int ) 0;
1389 char *_kwnames
[] = { "commandType","id", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1399 wxPy_END_ALLOW_THREADS
;
1400 if (PyErr_Occurred()) return NULL
;
1402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1403 _resultobj
= Py_BuildValue("s",_ptemp
);
1406 _resultobj
= Py_None
;
1411 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1414 src
= (wxMouseEvent
*) ptr
;
1415 dest
= (wxEvent
*) src
;
1416 return (void *) dest
;
1419 static void *SwigwxMouseEventTowxObject(void *ptr
) {
1422 src
= (wxMouseEvent
*) ptr
;
1423 dest
= (wxObject
*) src
;
1424 return (void *) dest
;
1427 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1428 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1430 wxMouseEvent
* _result
;
1431 int _arg0
= (int ) 0;
1432 char *_kwnames
[] = { "mouseEventType", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1439 wxPy_BEGIN_ALLOW_THREADS
;
1440 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1442 wxPy_END_ALLOW_THREADS
;
1443 if (PyErr_Occurred()) return NULL
;
1445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1446 _resultobj
= Py_BuildValue("s",_ptemp
);
1449 _resultobj
= Py_None
;
1454 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1455 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1458 wxMouseEvent
* _arg0
;
1459 PyObject
* _argo0
= 0;
1460 char *_kwnames
[] = { "self", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1473 wxPy_BEGIN_ALLOW_THREADS
;
1474 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1476 wxPy_END_ALLOW_THREADS
;
1477 if (PyErr_Occurred()) return NULL
;
1478 } _resultobj
= Py_BuildValue("i",_result
);
1482 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1483 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1486 wxMouseEvent
* _arg0
;
1487 int _arg1
= (int ) -1;
1488 PyObject
* _argo0
= 0;
1489 char *_kwnames
[] = { "self","but", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1505 wxPy_END_ALLOW_THREADS
;
1506 if (PyErr_Occurred()) return NULL
;
1507 } _resultobj
= Py_BuildValue("i",_result
);
1511 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1512 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1515 wxMouseEvent
* _arg0
;
1516 int _arg1
= (int ) -1;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self","but", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1534 wxPy_END_ALLOW_THREADS
;
1535 if (PyErr_Occurred()) return NULL
;
1536 } _resultobj
= Py_BuildValue("i",_result
);
1540 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1541 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1544 wxMouseEvent
* _arg0
;
1545 int _arg1
= (int ) -1;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self","but", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1563 wxPy_END_ALLOW_THREADS
;
1564 if (PyErr_Occurred()) return NULL
;
1565 } _resultobj
= Py_BuildValue("i",_result
);
1569 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1570 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1573 wxMouseEvent
* _arg0
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self","but", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1592 wxPy_END_ALLOW_THREADS
;
1593 if (PyErr_Occurred()) return NULL
;
1594 } _resultobj
= Py_BuildValue("i",_result
);
1598 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1599 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1602 wxMouseEvent
* _arg0
;
1604 PyObject
* _argo0
= 0;
1605 char *_kwnames
[] = { "self","but", NULL
};
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1618 wxPy_BEGIN_ALLOW_THREADS
;
1619 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1621 wxPy_END_ALLOW_THREADS
;
1622 if (PyErr_Occurred()) return NULL
;
1623 } _resultobj
= Py_BuildValue("i",_result
);
1627 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1628 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1631 wxMouseEvent
* _arg0
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1649 wxPy_END_ALLOW_THREADS
;
1650 if (PyErr_Occurred()) return NULL
;
1651 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1656 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1659 wxMouseEvent
* _arg0
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1674 wxPy_BEGIN_ALLOW_THREADS
;
1675 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1677 wxPy_END_ALLOW_THREADS
;
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1684 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1687 wxMouseEvent
* _arg0
;
1688 PyObject
* _argo0
= 0;
1689 char *_kwnames
[] = { "self", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1705 wxPy_END_ALLOW_THREADS
;
1706 if (PyErr_Occurred()) return NULL
;
1707 } _resultobj
= Py_BuildValue("i",_result
);
1711 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1712 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1715 wxMouseEvent
* _arg0
;
1716 PyObject
* _argo0
= 0;
1717 char *_kwnames
[] = { "self", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1733 wxPy_END_ALLOW_THREADS
;
1734 if (PyErr_Occurred()) return NULL
;
1735 } _resultobj
= Py_BuildValue("i",_result
);
1739 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1740 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1743 wxMouseEvent
* _arg0
;
1744 PyObject
* _argo0
= 0;
1745 char *_kwnames
[] = { "self", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1761 wxPy_END_ALLOW_THREADS
;
1762 if (PyErr_Occurred()) return NULL
;
1763 } _resultobj
= Py_BuildValue("i",_result
);
1767 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1768 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1771 wxMouseEvent
* _arg0
;
1772 PyObject
* _argo0
= 0;
1773 char *_kwnames
[] = { "self", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1786 wxPy_BEGIN_ALLOW_THREADS
;
1787 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1789 wxPy_END_ALLOW_THREADS
;
1790 if (PyErr_Occurred()) return NULL
;
1791 } _resultobj
= Py_BuildValue("i",_result
);
1795 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1796 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1799 wxMouseEvent
* _arg0
;
1800 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1817 wxPy_END_ALLOW_THREADS
;
1818 if (PyErr_Occurred()) return NULL
;
1819 } _resultobj
= Py_BuildValue("i",_result
);
1823 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1824 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1827 wxMouseEvent
* _arg0
;
1828 PyObject
* _argo0
= 0;
1829 char *_kwnames
[] = { "self", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1842 wxPy_BEGIN_ALLOW_THREADS
;
1843 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1845 wxPy_END_ALLOW_THREADS
;
1846 if (PyErr_Occurred()) return NULL
;
1847 } _resultobj
= Py_BuildValue("i",_result
);
1851 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1852 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1855 wxMouseEvent
* _arg0
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1873 wxPy_END_ALLOW_THREADS
;
1874 if (PyErr_Occurred()) return NULL
;
1875 } _resultobj
= Py_BuildValue("i",_result
);
1879 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1880 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1883 wxMouseEvent
* _arg0
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1901 wxPy_END_ALLOW_THREADS
;
1902 if (PyErr_Occurred()) return NULL
;
1903 } _resultobj
= Py_BuildValue("i",_result
);
1907 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1908 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1911 wxMouseEvent
* _arg0
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1926 wxPy_BEGIN_ALLOW_THREADS
;
1927 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1929 wxPy_END_ALLOW_THREADS
;
1930 if (PyErr_Occurred()) return NULL
;
1931 } _resultobj
= Py_BuildValue("i",_result
);
1935 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1936 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1939 wxMouseEvent
* _arg0
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1954 wxPy_BEGIN_ALLOW_THREADS
;
1955 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1957 wxPy_END_ALLOW_THREADS
;
1958 if (PyErr_Occurred()) return NULL
;
1959 } _resultobj
= Py_BuildValue("i",_result
);
1963 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1964 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1967 wxMouseEvent
* _arg0
;
1968 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "self", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1985 wxPy_END_ALLOW_THREADS
;
1986 if (PyErr_Occurred()) return NULL
;
1987 } _resultobj
= Py_BuildValue("i",_result
);
1991 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1992 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1995 wxMouseEvent
* _arg0
;
1996 PyObject
* _argo0
= 0;
1997 char *_kwnames
[] = { "self", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
2010 wxPy_BEGIN_ALLOW_THREADS
;
2011 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
2013 wxPy_END_ALLOW_THREADS
;
2014 if (PyErr_Occurred()) return NULL
;
2015 } _resultobj
= Py_BuildValue("i",_result
);
2019 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
2020 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2023 wxMouseEvent
* _arg0
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
2038 wxPy_BEGIN_ALLOW_THREADS
;
2039 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
2041 wxPy_END_ALLOW_THREADS
;
2042 if (PyErr_Occurred()) return NULL
;
2043 } _resultobj
= Py_BuildValue("i",_result
);
2047 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
2048 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2051 wxMouseEvent
* _arg0
;
2052 PyObject
* _argo0
= 0;
2053 char *_kwnames
[] = { "self", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
2066 wxPy_BEGIN_ALLOW_THREADS
;
2067 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
2069 wxPy_END_ALLOW_THREADS
;
2070 if (PyErr_Occurred()) return NULL
;
2071 } _resultobj
= Py_BuildValue("i",_result
);
2075 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
2076 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2079 wxMouseEvent
* _arg0
;
2080 PyObject
* _argo0
= 0;
2081 char *_kwnames
[] = { "self", NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
2087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
2094 wxPy_BEGIN_ALLOW_THREADS
;
2095 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
2097 wxPy_END_ALLOW_THREADS
;
2098 if (PyErr_Occurred()) return NULL
;
2099 } _resultobj
= Py_BuildValue("i",_result
);
2103 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
2104 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2107 wxMouseEvent
* _arg0
;
2108 PyObject
* _argo0
= 0;
2109 char *_kwnames
[] = { "self", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
2122 wxPy_BEGIN_ALLOW_THREADS
;
2123 _result
= (bool )wxMouseEvent_Moving(_arg0
);
2125 wxPy_END_ALLOW_THREADS
;
2126 if (PyErr_Occurred()) return NULL
;
2127 } _resultobj
= Py_BuildValue("i",_result
);
2131 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
2132 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2135 wxMouseEvent
* _arg0
;
2136 PyObject
* _argo0
= 0;
2137 char *_kwnames
[] = { "self", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
2150 wxPy_BEGIN_ALLOW_THREADS
;
2151 _result
= (bool )wxMouseEvent_Entering(_arg0
);
2153 wxPy_END_ALLOW_THREADS
;
2154 if (PyErr_Occurred()) return NULL
;
2155 } _resultobj
= Py_BuildValue("i",_result
);
2159 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
2160 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2163 wxMouseEvent
* _arg0
;
2164 PyObject
* _argo0
= 0;
2165 char *_kwnames
[] = { "self", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2178 wxPy_BEGIN_ALLOW_THREADS
;
2179 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
2181 wxPy_END_ALLOW_THREADS
;
2182 if (PyErr_Occurred()) return NULL
;
2183 } _resultobj
= Py_BuildValue("i",_result
);
2187 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2188 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2191 wxMouseEvent
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2210 wxPy_END_ALLOW_THREADS
;
2211 if (PyErr_Occurred()) return NULL
;
2212 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2213 _resultobj
= Py_BuildValue("s",_ptemp
);
2217 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2218 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
* _resultobj
;
2220 wxMouseEvent
* _arg0
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
2238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2248 wxPy_END_ALLOW_THREADS
;
2249 if (PyErr_Occurred()) return NULL
;
2250 } Py_INCREF(Py_None
);
2251 _resultobj
= Py_None
;
2254 o
= PyInt_FromLong((long) (*_arg1
));
2255 _resultobj
= t_output_helper(_resultobj
, o
);
2259 o
= PyInt_FromLong((long) (*_arg2
));
2260 _resultobj
= t_output_helper(_resultobj
, o
);
2265 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2266 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2269 wxMouseEvent
* _arg0
;
2271 PyObject
* _argo0
= 0;
2272 PyObject
* _argo1
= 0;
2273 char *_kwnames
[] = { "self","dc", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2287 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2297 wxPy_END_ALLOW_THREADS
;
2298 if (PyErr_Occurred()) return NULL
;
2299 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2300 _resultobj
= Py_BuildValue("s",_ptemp
);
2304 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2305 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2308 wxMouseEvent
* _arg0
;
2309 PyObject
* _argo0
= 0;
2310 char *_kwnames
[] = { "self", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2323 wxPy_BEGIN_ALLOW_THREADS
;
2324 _result
= (long )wxMouseEvent_GetX(_arg0
);
2326 wxPy_END_ALLOW_THREADS
;
2327 if (PyErr_Occurred()) return NULL
;
2328 } _resultobj
= Py_BuildValue("l",_result
);
2332 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2333 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2336 wxMouseEvent
* _arg0
;
2337 PyObject
* _argo0
= 0;
2338 char *_kwnames
[] = { "self", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2351 wxPy_BEGIN_ALLOW_THREADS
;
2352 _result
= (long )wxMouseEvent_GetY(_arg0
);
2354 wxPy_END_ALLOW_THREADS
;
2355 if (PyErr_Occurred()) return NULL
;
2356 } _resultobj
= Py_BuildValue("l",_result
);
2360 #define wxMouseEvent_GetWheelRotation(_swigobj) (_swigobj->GetWheelRotation())
2361 static PyObject
*_wrap_wxMouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2364 wxMouseEvent
* _arg0
;
2365 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelRotation",_kwnames
,&_argo0
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelRotation. Expected _wxMouseEvent_p.");
2379 wxPy_BEGIN_ALLOW_THREADS
;
2380 _result
= (int )wxMouseEvent_GetWheelRotation(_arg0
);
2382 wxPy_END_ALLOW_THREADS
;
2383 if (PyErr_Occurred()) return NULL
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxMouseEvent_GetWheelDelta(_swigobj) (_swigobj->GetWheelDelta())
2389 static PyObject
*_wrap_wxMouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2392 wxMouseEvent
* _arg0
;
2393 PyObject
* _argo0
= 0;
2394 char *_kwnames
[] = { "self", NULL
};
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelDelta",_kwnames
,&_argo0
))
2400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelDelta. Expected _wxMouseEvent_p.");
2407 wxPy_BEGIN_ALLOW_THREADS
;
2408 _result
= (int )wxMouseEvent_GetWheelDelta(_arg0
);
2410 wxPy_END_ALLOW_THREADS
;
2411 if (PyErr_Occurred()) return NULL
;
2412 } _resultobj
= Py_BuildValue("i",_result
);
2416 #define wxMouseEvent_GetLinesPerAction(_swigobj) (_swigobj->GetLinesPerAction())
2417 static PyObject
*_wrap_wxMouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2420 wxMouseEvent
* _arg0
;
2421 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetLinesPerAction",_kwnames
,&_argo0
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLinesPerAction. Expected _wxMouseEvent_p.");
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 _result
= (int )wxMouseEvent_GetLinesPerAction(_arg0
);
2438 wxPy_END_ALLOW_THREADS
;
2439 if (PyErr_Occurred()) return NULL
;
2440 } _resultobj
= Py_BuildValue("i",_result
);
2444 #define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2445 static PyObject
*_wrap_wxMouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2448 wxMouseEvent
* _arg0
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self","m_x", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2464 wxPy_BEGIN_ALLOW_THREADS
;
2465 _result
= (long )wxMouseEvent_m_x_set(_arg0
,_arg1
);
2467 wxPy_END_ALLOW_THREADS
;
2468 if (PyErr_Occurred()) return NULL
;
2469 } _resultobj
= Py_BuildValue("l",_result
);
2473 #define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2474 static PyObject
*_wrap_wxMouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2477 wxMouseEvent
* _arg0
;
2478 PyObject
* _argo0
= 0;
2479 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_x_get",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
2492 wxPy_BEGIN_ALLOW_THREADS
;
2493 _result
= (long )wxMouseEvent_m_x_get(_arg0
);
2495 wxPy_END_ALLOW_THREADS
;
2496 if (PyErr_Occurred()) return NULL
;
2497 } _resultobj
= Py_BuildValue("l",_result
);
2501 #define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2502 static PyObject
*_wrap_wxMouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2505 wxMouseEvent
* _arg0
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self","m_y", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 _result
= (long )wxMouseEvent_m_y_set(_arg0
,_arg1
);
2524 wxPy_END_ALLOW_THREADS
;
2525 if (PyErr_Occurred()) return NULL
;
2526 } _resultobj
= Py_BuildValue("l",_result
);
2530 #define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2531 static PyObject
*_wrap_wxMouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2534 wxMouseEvent
* _arg0
;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_y_get",_kwnames
,&_argo0
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
2549 wxPy_BEGIN_ALLOW_THREADS
;
2550 _result
= (long )wxMouseEvent_m_y_get(_arg0
);
2552 wxPy_END_ALLOW_THREADS
;
2553 if (PyErr_Occurred()) return NULL
;
2554 } _resultobj
= Py_BuildValue("l",_result
);
2558 #define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2559 static PyObject
*_wrap_wxMouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2562 wxMouseEvent
* _arg0
;
2564 PyObject
* _argo0
= 0;
2566 char *_kwnames
[] = { "self","m_leftDown", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_leftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
2578 _arg1
= (bool ) tempbool1
;
2580 wxPy_BEGIN_ALLOW_THREADS
;
2581 _result
= (bool )wxMouseEvent_m_leftDown_set(_arg0
,_arg1
);
2583 wxPy_END_ALLOW_THREADS
;
2584 if (PyErr_Occurred()) return NULL
;
2585 } _resultobj
= Py_BuildValue("i",_result
);
2589 #define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2590 static PyObject
*_wrap_wxMouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2593 wxMouseEvent
* _arg0
;
2594 PyObject
* _argo0
= 0;
2595 char *_kwnames
[] = { "self", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_leftDown_get",_kwnames
,&_argo0
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 _result
= (bool )wxMouseEvent_m_leftDown_get(_arg0
);
2611 wxPy_END_ALLOW_THREADS
;
2612 if (PyErr_Occurred()) return NULL
;
2613 } _resultobj
= Py_BuildValue("i",_result
);
2617 #define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2618 static PyObject
*_wrap_wxMouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2621 wxMouseEvent
* _arg0
;
2623 PyObject
* _argo0
= 0;
2625 char *_kwnames
[] = { "self","m_middleDown", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_middleDown_set",_kwnames
,&_argo0
,&tempbool1
))
2631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
2637 _arg1
= (bool ) tempbool1
;
2639 wxPy_BEGIN_ALLOW_THREADS
;
2640 _result
= (bool )wxMouseEvent_m_middleDown_set(_arg0
,_arg1
);
2642 wxPy_END_ALLOW_THREADS
;
2643 if (PyErr_Occurred()) return NULL
;
2644 } _resultobj
= Py_BuildValue("i",_result
);
2648 #define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2649 static PyObject
*_wrap_wxMouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2652 wxMouseEvent
* _arg0
;
2653 PyObject
* _argo0
= 0;
2654 char *_kwnames
[] = { "self", NULL
};
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_middleDown_get",_kwnames
,&_argo0
))
2660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
2667 wxPy_BEGIN_ALLOW_THREADS
;
2668 _result
= (bool )wxMouseEvent_m_middleDown_get(_arg0
);
2670 wxPy_END_ALLOW_THREADS
;
2671 if (PyErr_Occurred()) return NULL
;
2672 } _resultobj
= Py_BuildValue("i",_result
);
2676 #define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2677 static PyObject
*_wrap_wxMouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2680 wxMouseEvent
* _arg0
;
2682 PyObject
* _argo0
= 0;
2684 char *_kwnames
[] = { "self","m_rightDown", NULL
};
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_rightDown_set",_kwnames
,&_argo0
,&tempbool1
))
2690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
2696 _arg1
= (bool ) tempbool1
;
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= (bool )wxMouseEvent_m_rightDown_set(_arg0
,_arg1
);
2701 wxPy_END_ALLOW_THREADS
;
2702 if (PyErr_Occurred()) return NULL
;
2703 } _resultobj
= Py_BuildValue("i",_result
);
2707 #define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2708 static PyObject
*_wrap_wxMouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2711 wxMouseEvent
* _arg0
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_rightDown_get",_kwnames
,&_argo0
))
2719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 _result
= (bool )wxMouseEvent_m_rightDown_get(_arg0
);
2729 wxPy_END_ALLOW_THREADS
;
2730 if (PyErr_Occurred()) return NULL
;
2731 } _resultobj
= Py_BuildValue("i",_result
);
2735 #define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2736 static PyObject
*_wrap_wxMouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2739 wxMouseEvent
* _arg0
;
2741 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self","m_controlDown", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
2749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
2755 _arg1
= (bool ) tempbool1
;
2757 wxPy_BEGIN_ALLOW_THREADS
;
2758 _result
= (bool )wxMouseEvent_m_controlDown_set(_arg0
,_arg1
);
2760 wxPy_END_ALLOW_THREADS
;
2761 if (PyErr_Occurred()) return NULL
;
2762 } _resultobj
= Py_BuildValue("i",_result
);
2766 #define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2767 static PyObject
*_wrap_wxMouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2770 wxMouseEvent
* _arg0
;
2771 PyObject
* _argo0
= 0;
2772 char *_kwnames
[] = { "self", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_controlDown_get",_kwnames
,&_argo0
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
2785 wxPy_BEGIN_ALLOW_THREADS
;
2786 _result
= (bool )wxMouseEvent_m_controlDown_get(_arg0
);
2788 wxPy_END_ALLOW_THREADS
;
2789 if (PyErr_Occurred()) return NULL
;
2790 } _resultobj
= Py_BuildValue("i",_result
);
2794 #define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2795 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2798 wxMouseEvent
* _arg0
;
2800 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
2814 _arg1
= (bool ) tempbool1
;
2816 wxPy_BEGIN_ALLOW_THREADS
;
2817 _result
= (bool )wxMouseEvent_m_shiftDown_set(_arg0
,_arg1
);
2819 wxPy_END_ALLOW_THREADS
;
2820 if (PyErr_Occurred()) return NULL
;
2821 } _resultobj
= Py_BuildValue("i",_result
);
2825 #define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2826 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2829 wxMouseEvent
* _arg0
;
2830 PyObject
* _argo0
= 0;
2831 char *_kwnames
[] = { "self", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_shiftDown_get",_kwnames
,&_argo0
))
2837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2844 wxPy_BEGIN_ALLOW_THREADS
;
2845 _result
= (bool )wxMouseEvent_m_shiftDown_get(_arg0
);
2847 wxPy_END_ALLOW_THREADS
;
2848 if (PyErr_Occurred()) return NULL
;
2849 } _resultobj
= Py_BuildValue("i",_result
);
2853 #define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2854 static PyObject
*_wrap_wxMouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2857 wxMouseEvent
* _arg0
;
2859 PyObject
* _argo0
= 0;
2861 char *_kwnames
[] = { "self","m_altDown", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
2873 _arg1
= (bool ) tempbool1
;
2875 wxPy_BEGIN_ALLOW_THREADS
;
2876 _result
= (bool )wxMouseEvent_m_altDown_set(_arg0
,_arg1
);
2878 wxPy_END_ALLOW_THREADS
;
2879 if (PyErr_Occurred()) return NULL
;
2880 } _resultobj
= Py_BuildValue("i",_result
);
2884 #define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2885 static PyObject
*_wrap_wxMouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2888 wxMouseEvent
* _arg0
;
2889 PyObject
* _argo0
= 0;
2890 char *_kwnames
[] = { "self", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_altDown_get",_kwnames
,&_argo0
))
2896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 _result
= (bool )wxMouseEvent_m_altDown_get(_arg0
);
2906 wxPy_END_ALLOW_THREADS
;
2907 if (PyErr_Occurred()) return NULL
;
2908 } _resultobj
= Py_BuildValue("i",_result
);
2912 #define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2913 static PyObject
*_wrap_wxMouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2916 wxMouseEvent
* _arg0
;
2918 PyObject
* _argo0
= 0;
2920 char *_kwnames
[] = { "self","m_metaDown", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2932 _arg1
= (bool ) tempbool1
;
2934 wxPy_BEGIN_ALLOW_THREADS
;
2935 _result
= (bool )wxMouseEvent_m_metaDown_set(_arg0
,_arg1
);
2937 wxPy_END_ALLOW_THREADS
;
2938 if (PyErr_Occurred()) return NULL
;
2939 } _resultobj
= Py_BuildValue("i",_result
);
2943 #define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2944 static PyObject
*_wrap_wxMouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2947 wxMouseEvent
* _arg0
;
2948 PyObject
* _argo0
= 0;
2949 char *_kwnames
[] = { "self", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_metaDown_get",_kwnames
,&_argo0
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2962 wxPy_BEGIN_ALLOW_THREADS
;
2963 _result
= (bool )wxMouseEvent_m_metaDown_get(_arg0
);
2965 wxPy_END_ALLOW_THREADS
;
2966 if (PyErr_Occurred()) return NULL
;
2967 } _resultobj
= Py_BuildValue("i",_result
);
2971 #define wxMouseEvent_m_wheelRotation_set(_swigobj,_swigval) (_swigobj->m_wheelRotation = _swigval,_swigval)
2972 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2975 wxMouseEvent
* _arg0
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self","m_wheelRotation", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelRotation_set",_kwnames
,&_argo0
,&_arg1
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_set. Expected _wxMouseEvent_p.");
2991 wxPy_BEGIN_ALLOW_THREADS
;
2992 _result
= (int )wxMouseEvent_m_wheelRotation_set(_arg0
,_arg1
);
2994 wxPy_END_ALLOW_THREADS
;
2995 if (PyErr_Occurred()) return NULL
;
2996 } _resultobj
= Py_BuildValue("i",_result
);
3000 #define wxMouseEvent_m_wheelRotation_get(_swigobj) ((int ) _swigobj->m_wheelRotation)
3001 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
* _resultobj
;
3004 wxMouseEvent
* _arg0
;
3005 PyObject
* _argo0
= 0;
3006 char *_kwnames
[] = { "self", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelRotation_get",_kwnames
,&_argo0
))
3012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_get. Expected _wxMouseEvent_p.");
3019 wxPy_BEGIN_ALLOW_THREADS
;
3020 _result
= (int )wxMouseEvent_m_wheelRotation_get(_arg0
);
3022 wxPy_END_ALLOW_THREADS
;
3023 if (PyErr_Occurred()) return NULL
;
3024 } _resultobj
= Py_BuildValue("i",_result
);
3028 #define wxMouseEvent_m_wheelDelta_set(_swigobj,_swigval) (_swigobj->m_wheelDelta = _swigval,_swigval)
3029 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
* _resultobj
;
3032 wxMouseEvent
* _arg0
;
3034 PyObject
* _argo0
= 0;
3035 char *_kwnames
[] = { "self","m_wheelDelta", NULL
};
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelDelta_set",_kwnames
,&_argo0
,&_arg1
))
3041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_set. Expected _wxMouseEvent_p.");
3048 wxPy_BEGIN_ALLOW_THREADS
;
3049 _result
= (int )wxMouseEvent_m_wheelDelta_set(_arg0
,_arg1
);
3051 wxPy_END_ALLOW_THREADS
;
3052 if (PyErr_Occurred()) return NULL
;
3053 } _resultobj
= Py_BuildValue("i",_result
);
3057 #define wxMouseEvent_m_wheelDelta_get(_swigobj) ((int ) _swigobj->m_wheelDelta)
3058 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3061 wxMouseEvent
* _arg0
;
3062 PyObject
* _argo0
= 0;
3063 char *_kwnames
[] = { "self", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelDelta_get",_kwnames
,&_argo0
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_get. Expected _wxMouseEvent_p.");
3076 wxPy_BEGIN_ALLOW_THREADS
;
3077 _result
= (int )wxMouseEvent_m_wheelDelta_get(_arg0
);
3079 wxPy_END_ALLOW_THREADS
;
3080 if (PyErr_Occurred()) return NULL
;
3081 } _resultobj
= Py_BuildValue("i",_result
);
3085 #define wxMouseEvent_m_linesPerAction_set(_swigobj,_swigval) (_swigobj->m_linesPerAction = _swigval,_swigval)
3086 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
* _resultobj
;
3089 wxMouseEvent
* _arg0
;
3091 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self","m_linesPerAction", NULL
};
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_linesPerAction_set",_kwnames
,&_argo0
,&_arg1
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_set. Expected _wxMouseEvent_p.");
3105 wxPy_BEGIN_ALLOW_THREADS
;
3106 _result
= (int )wxMouseEvent_m_linesPerAction_set(_arg0
,_arg1
);
3108 wxPy_END_ALLOW_THREADS
;
3109 if (PyErr_Occurred()) return NULL
;
3110 } _resultobj
= Py_BuildValue("i",_result
);
3114 #define wxMouseEvent_m_linesPerAction_get(_swigobj) ((int ) _swigobj->m_linesPerAction)
3115 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3118 wxMouseEvent
* _arg0
;
3119 PyObject
* _argo0
= 0;
3120 char *_kwnames
[] = { "self", NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_linesPerAction_get",_kwnames
,&_argo0
))
3126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_get. Expected _wxMouseEvent_p.");
3133 wxPy_BEGIN_ALLOW_THREADS
;
3134 _result
= (int )wxMouseEvent_m_linesPerAction_get(_arg0
);
3136 wxPy_END_ALLOW_THREADS
;
3137 if (PyErr_Occurred()) return NULL
;
3138 } _resultobj
= Py_BuildValue("i",_result
);
3142 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
3145 src
= (wxKeyEvent
*) ptr
;
3146 dest
= (wxEvent
*) src
;
3147 return (void *) dest
;
3150 static void *SwigwxKeyEventTowxObject(void *ptr
) {
3153 src
= (wxKeyEvent
*) ptr
;
3154 dest
= (wxObject
*) src
;
3155 return (void *) dest
;
3158 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
3159 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3161 wxKeyEvent
* _result
;
3163 char *_kwnames
[] = { "keyEventType", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
3170 wxPy_BEGIN_ALLOW_THREADS
;
3171 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
3173 wxPy_END_ALLOW_THREADS
;
3174 if (PyErr_Occurred()) return NULL
;
3176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
3177 _resultobj
= Py_BuildValue("s",_ptemp
);
3180 _resultobj
= Py_None
;
3185 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3186 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3190 PyObject
* _argo0
= 0;
3191 char *_kwnames
[] = { "self", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
3197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
3204 wxPy_BEGIN_ALLOW_THREADS
;
3205 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
3207 wxPy_END_ALLOW_THREADS
;
3208 if (PyErr_Occurred()) return NULL
;
3209 } _resultobj
= Py_BuildValue("i",_result
);
3213 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
3214 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3218 PyObject
* _argo0
= 0;
3219 char *_kwnames
[] = { "self", NULL
};
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
3225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
3232 wxPy_BEGIN_ALLOW_THREADS
;
3233 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
3235 wxPy_END_ALLOW_THREADS
;
3236 if (PyErr_Occurred()) return NULL
;
3237 } _resultobj
= Py_BuildValue("i",_result
);
3241 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
3242 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
* _resultobj
;
3246 PyObject
* _argo0
= 0;
3247 char *_kwnames
[] = { "self", NULL
};
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
3253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
3260 wxPy_BEGIN_ALLOW_THREADS
;
3261 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
3263 wxPy_END_ALLOW_THREADS
;
3264 if (PyErr_Occurred()) return NULL
;
3265 } _resultobj
= Py_BuildValue("i",_result
);
3269 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3270 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3274 PyObject
* _argo0
= 0;
3275 char *_kwnames
[] = { "self", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
3288 wxPy_BEGIN_ALLOW_THREADS
;
3289 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
3291 wxPy_END_ALLOW_THREADS
;
3292 if (PyErr_Occurred()) return NULL
;
3293 } _resultobj
= Py_BuildValue("i",_result
);
3297 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
3298 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
3319 wxPy_END_ALLOW_THREADS
;
3320 if (PyErr_Occurred()) return NULL
;
3321 } _resultobj
= Py_BuildValue("l",_result
);
3325 #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3326 static PyObject
*_wrap_wxKeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "self", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetKeyCode",_kwnames
,&_argo0
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
3344 wxPy_BEGIN_ALLOW_THREADS
;
3345 _result
= (long )wxKeyEvent_GetKeyCode(_arg0
);
3347 wxPy_END_ALLOW_THREADS
;
3348 if (PyErr_Occurred()) return NULL
;
3349 } _resultobj
= Py_BuildValue("l",_result
);
3353 #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
3354 static PyObject
*_wrap_wxKeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3358 PyObject
* _argo0
= 0;
3359 char *_kwnames
[] = { "self", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_HasModifiers",_kwnames
,&_argo0
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
3372 wxPy_BEGIN_ALLOW_THREADS
;
3373 _result
= (bool )wxKeyEvent_HasModifiers(_arg0
);
3375 wxPy_END_ALLOW_THREADS
;
3376 if (PyErr_Occurred()) return NULL
;
3377 } _resultobj
= Py_BuildValue("i",_result
);
3381 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
3382 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3386 PyObject
* _argo0
= 0;
3387 char *_kwnames
[] = { "self", NULL
};
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
3393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
3400 wxPy_BEGIN_ALLOW_THREADS
;
3401 _result
= (long )wxKeyEvent_GetX(_arg0
);
3403 wxPy_END_ALLOW_THREADS
;
3404 if (PyErr_Occurred()) return NULL
;
3405 } _resultobj
= Py_BuildValue("l",_result
);
3409 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
3410 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
* _resultobj
;
3414 PyObject
* _argo0
= 0;
3415 char *_kwnames
[] = { "self", NULL
};
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
3421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
3428 wxPy_BEGIN_ALLOW_THREADS
;
3429 _result
= (long )wxKeyEvent_GetY(_arg0
);
3431 wxPy_END_ALLOW_THREADS
;
3432 if (PyErr_Occurred()) return NULL
;
3433 } _resultobj
= Py_BuildValue("l",_result
);
3437 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3438 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3442 PyObject
* _argo0
= 0;
3443 char *_kwnames
[] = { "self", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
3457 wxPy_BEGIN_ALLOW_THREADS
;
3458 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
3460 wxPy_END_ALLOW_THREADS
;
3461 if (PyErr_Occurred()) return NULL
;
3462 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3463 _resultobj
= Py_BuildValue("s",_ptemp
);
3467 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3468 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
* _resultobj
;
3475 PyObject
* _argo0
= 0;
3476 char *_kwnames
[] = { "self", NULL
};
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
3488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3495 wxPy_BEGIN_ALLOW_THREADS
;
3496 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3498 wxPy_END_ALLOW_THREADS
;
3499 if (PyErr_Occurred()) return NULL
;
3500 } Py_INCREF(Py_None
);
3501 _resultobj
= Py_None
;
3504 o
= PyInt_FromLong((long) (*_arg1
));
3505 _resultobj
= t_output_helper(_resultobj
, o
);
3509 o
= PyInt_FromLong((long) (*_arg2
));
3510 _resultobj
= t_output_helper(_resultobj
, o
);
3515 #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3516 static PyObject
*_wrap_wxKeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3521 PyObject
* _argo0
= 0;
3522 char *_kwnames
[] = { "self","m_x", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3535 wxPy_BEGIN_ALLOW_THREADS
;
3536 _result
= (long )wxKeyEvent_m_x_set(_arg0
,_arg1
);
3538 wxPy_END_ALLOW_THREADS
;
3539 if (PyErr_Occurred()) return NULL
;
3540 } _resultobj
= Py_BuildValue("l",_result
);
3544 #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3545 static PyObject
*_wrap_wxKeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3549 PyObject
* _argo0
= 0;
3550 char *_kwnames
[] = { "self", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_x_get",_kwnames
,&_argo0
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3563 wxPy_BEGIN_ALLOW_THREADS
;
3564 _result
= (long )wxKeyEvent_m_x_get(_arg0
);
3566 wxPy_END_ALLOW_THREADS
;
3567 if (PyErr_Occurred()) return NULL
;
3568 } _resultobj
= Py_BuildValue("l",_result
);
3572 #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3573 static PyObject
*_wrap_wxKeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3578 PyObject
* _argo0
= 0;
3579 char *_kwnames
[] = { "self","m_y", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p.");
3592 wxPy_BEGIN_ALLOW_THREADS
;
3593 _result
= (long )wxKeyEvent_m_y_set(_arg0
,_arg1
);
3595 wxPy_END_ALLOW_THREADS
;
3596 if (PyErr_Occurred()) return NULL
;
3597 } _resultobj
= Py_BuildValue("l",_result
);
3601 #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3602 static PyObject
*_wrap_wxKeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3606 PyObject
* _argo0
= 0;
3607 char *_kwnames
[] = { "self", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_y_get",_kwnames
,&_argo0
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p.");
3620 wxPy_BEGIN_ALLOW_THREADS
;
3621 _result
= (long )wxKeyEvent_m_y_get(_arg0
);
3623 wxPy_END_ALLOW_THREADS
;
3624 if (PyErr_Occurred()) return NULL
;
3625 } _resultobj
= Py_BuildValue("l",_result
);
3629 #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3630 static PyObject
*_wrap_wxKeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3635 PyObject
* _argo0
= 0;
3636 char *_kwnames
[] = { "self","m_keyCode", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_keyCode_set",_kwnames
,&_argo0
,&_arg1
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3649 wxPy_BEGIN_ALLOW_THREADS
;
3650 _result
= (long )wxKeyEvent_m_keyCode_set(_arg0
,_arg1
);
3652 wxPy_END_ALLOW_THREADS
;
3653 if (PyErr_Occurred()) return NULL
;
3654 } _resultobj
= Py_BuildValue("l",_result
);
3658 #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3659 static PyObject
*_wrap_wxKeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3663 PyObject
* _argo0
= 0;
3664 char *_kwnames
[] = { "self", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_keyCode_get",_kwnames
,&_argo0
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 _result
= (long )wxKeyEvent_m_keyCode_get(_arg0
);
3680 wxPy_END_ALLOW_THREADS
;
3681 if (PyErr_Occurred()) return NULL
;
3682 } _resultobj
= Py_BuildValue("l",_result
);
3686 #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3687 static PyObject
*_wrap_wxKeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3692 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self","m_controlDown", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
3706 _arg1
= (bool ) tempbool1
;
3708 wxPy_BEGIN_ALLOW_THREADS
;
3709 _result
= (bool )wxKeyEvent_m_controlDown_set(_arg0
,_arg1
);
3711 wxPy_END_ALLOW_THREADS
;
3712 if (PyErr_Occurred()) return NULL
;
3713 } _resultobj
= Py_BuildValue("i",_result
);
3717 #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
3718 static PyObject
*_wrap_wxKeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "self", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_controlDown_get",_kwnames
,&_argo0
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
3736 wxPy_BEGIN_ALLOW_THREADS
;
3737 _result
= (bool )wxKeyEvent_m_controlDown_get(_arg0
);
3739 wxPy_END_ALLOW_THREADS
;
3740 if (PyErr_Occurred()) return NULL
;
3741 } _resultobj
= Py_BuildValue("i",_result
);
3745 #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
3746 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3751 PyObject
* _argo0
= 0;
3753 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
3759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
3765 _arg1
= (bool ) tempbool1
;
3767 wxPy_BEGIN_ALLOW_THREADS
;
3768 _result
= (bool )wxKeyEvent_m_shiftDown_set(_arg0
,_arg1
);
3770 wxPy_END_ALLOW_THREADS
;
3771 if (PyErr_Occurred()) return NULL
;
3772 } _resultobj
= Py_BuildValue("i",_result
);
3776 #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
3777 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_shiftDown_get",_kwnames
,&_argo0
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 _result
= (bool )wxKeyEvent_m_shiftDown_get(_arg0
);
3798 wxPy_END_ALLOW_THREADS
;
3799 if (PyErr_Occurred()) return NULL
;
3800 } _resultobj
= Py_BuildValue("i",_result
);
3804 #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
3805 static PyObject
*_wrap_wxKeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
* _resultobj
;
3810 PyObject
* _argo0
= 0;
3812 char *_kwnames
[] = { "self","m_altDown", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
3818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
3824 _arg1
= (bool ) tempbool1
;
3826 wxPy_BEGIN_ALLOW_THREADS
;
3827 _result
= (bool )wxKeyEvent_m_altDown_set(_arg0
,_arg1
);
3829 wxPy_END_ALLOW_THREADS
;
3830 if (PyErr_Occurred()) return NULL
;
3831 } _resultobj
= Py_BuildValue("i",_result
);
3835 #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
3836 static PyObject
*_wrap_wxKeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3840 PyObject
* _argo0
= 0;
3841 char *_kwnames
[] = { "self", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_altDown_get",_kwnames
,&_argo0
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
3854 wxPy_BEGIN_ALLOW_THREADS
;
3855 _result
= (bool )wxKeyEvent_m_altDown_get(_arg0
);
3857 wxPy_END_ALLOW_THREADS
;
3858 if (PyErr_Occurred()) return NULL
;
3859 } _resultobj
= Py_BuildValue("i",_result
);
3863 #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
3864 static PyObject
*_wrap_wxKeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3869 PyObject
* _argo0
= 0;
3871 char *_kwnames
[] = { "self","m_metaDown", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p.");
3883 _arg1
= (bool ) tempbool1
;
3885 wxPy_BEGIN_ALLOW_THREADS
;
3886 _result
= (bool )wxKeyEvent_m_metaDown_set(_arg0
,_arg1
);
3888 wxPy_END_ALLOW_THREADS
;
3889 if (PyErr_Occurred()) return NULL
;
3890 } _resultobj
= Py_BuildValue("i",_result
);
3894 #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
3895 static PyObject
*_wrap_wxKeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
* _resultobj
;
3899 PyObject
* _argo0
= 0;
3900 char *_kwnames
[] = { "self", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_metaDown_get",_kwnames
,&_argo0
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p.");
3913 wxPy_BEGIN_ALLOW_THREADS
;
3914 _result
= (bool )wxKeyEvent_m_metaDown_get(_arg0
);
3916 wxPy_END_ALLOW_THREADS
;
3917 if (PyErr_Occurred()) return NULL
;
3918 } _resultobj
= Py_BuildValue("i",_result
);
3922 #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
3923 static PyObject
*_wrap_wxKeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3928 PyObject
* _argo0
= 0;
3930 char *_kwnames
[] = { "self","m_scanCode", NULL
};
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_scanCode_set",_kwnames
,&_argo0
,&tempbool1
))
3936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
3942 _arg1
= (bool ) tempbool1
;
3944 wxPy_BEGIN_ALLOW_THREADS
;
3945 _result
= (bool )wxKeyEvent_m_scanCode_set(_arg0
,_arg1
);
3947 wxPy_END_ALLOW_THREADS
;
3948 if (PyErr_Occurred()) return NULL
;
3949 } _resultobj
= Py_BuildValue("i",_result
);
3953 #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
3954 static PyObject
*_wrap_wxKeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3958 PyObject
* _argo0
= 0;
3959 char *_kwnames
[] = { "self", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_scanCode_get",_kwnames
,&_argo0
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
3972 wxPy_BEGIN_ALLOW_THREADS
;
3973 _result
= (bool )wxKeyEvent_m_scanCode_get(_arg0
);
3975 wxPy_END_ALLOW_THREADS
;
3976 if (PyErr_Occurred()) return NULL
;
3977 } _resultobj
= Py_BuildValue("i",_result
);
3981 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
3982 wxNavigationKeyEvent
*src
;
3984 src
= (wxNavigationKeyEvent
*) ptr
;
3985 dest
= (wxEvent
*) src
;
3986 return (void *) dest
;
3989 static void *SwigwxNavigationKeyEventTowxObject(void *ptr
) {
3990 wxNavigationKeyEvent
*src
;
3992 src
= (wxNavigationKeyEvent
*) ptr
;
3993 dest
= (wxObject
*) src
;
3994 return (void *) dest
;
3997 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
3998 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
* _resultobj
;
4000 wxNavigationKeyEvent
* _result
;
4001 char *_kwnames
[] = { NULL
};
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
4008 wxPy_BEGIN_ALLOW_THREADS
;
4009 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
4011 wxPy_END_ALLOW_THREADS
;
4012 if (PyErr_Occurred()) return NULL
;
4014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
4015 _resultobj
= Py_BuildValue("s",_ptemp
);
4018 _resultobj
= Py_None
;
4023 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
4024 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4027 wxNavigationKeyEvent
* _arg0
;
4028 PyObject
* _argo0
= 0;
4029 char *_kwnames
[] = { "self", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
4035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
4045 wxPy_END_ALLOW_THREADS
;
4046 if (PyErr_Occurred()) return NULL
;
4047 } _resultobj
= Py_BuildValue("i",_result
);
4051 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
4052 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4054 wxNavigationKeyEvent
* _arg0
;
4056 PyObject
* _argo0
= 0;
4058 char *_kwnames
[] = { "self","bForward", NULL
};
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
4064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
4070 _arg1
= (bool ) tempbool1
;
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
4075 wxPy_END_ALLOW_THREADS
;
4076 if (PyErr_Occurred()) return NULL
;
4077 } Py_INCREF(Py_None
);
4078 _resultobj
= Py_None
;
4082 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
4083 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
* _resultobj
;
4086 wxNavigationKeyEvent
* _arg0
;
4087 PyObject
* _argo0
= 0;
4088 char *_kwnames
[] = { "self", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
4094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
4104 wxPy_END_ALLOW_THREADS
;
4105 if (PyErr_Occurred()) return NULL
;
4106 } _resultobj
= Py_BuildValue("i",_result
);
4110 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
4111 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4113 wxNavigationKeyEvent
* _arg0
;
4115 PyObject
* _argo0
= 0;
4117 char *_kwnames
[] = { "self","bIs", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
4129 _arg1
= (bool ) tempbool1
;
4131 wxPy_BEGIN_ALLOW_THREADS
;
4132 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
4134 wxPy_END_ALLOW_THREADS
;
4135 if (PyErr_Occurred()) return NULL
;
4136 } Py_INCREF(Py_None
);
4137 _resultobj
= Py_None
;
4141 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
4142 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
* _resultobj
;
4145 wxNavigationKeyEvent
* _arg0
;
4146 PyObject
* _argo0
= 0;
4147 char *_kwnames
[] = { "self", NULL
};
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
4153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4160 wxPy_BEGIN_ALLOW_THREADS
;
4161 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
4163 wxPy_END_ALLOW_THREADS
;
4164 if (PyErr_Occurred()) return NULL
;
4165 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4169 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
4170 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
* _resultobj
;
4172 wxNavigationKeyEvent
* _arg0
;
4174 PyObject
* _argo0
= 0;
4175 PyObject
* _argo1
= 0;
4176 char *_kwnames
[] = { "self","win", NULL
};
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
4182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4189 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4190 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
4196 wxPy_BEGIN_ALLOW_THREADS
;
4197 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
4199 wxPy_END_ALLOW_THREADS
;
4200 if (PyErr_Occurred()) return NULL
;
4201 } Py_INCREF(Py_None
);
4202 _resultobj
= Py_None
;
4206 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
4209 src
= (wxMoveEvent
*) ptr
;
4210 dest
= (wxEvent
*) src
;
4211 return (void *) dest
;
4214 static void *SwigwxMoveEventTowxObject(void *ptr
) {
4217 src
= (wxMoveEvent
*) ptr
;
4218 dest
= (wxObject
*) src
;
4219 return (void *) dest
;
4222 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
4223 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4225 wxMoveEvent
* _result
;
4227 int _arg1
= (int ) 0;
4229 PyObject
* _obj0
= 0;
4230 char *_kwnames
[] = { "pt","id", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
4238 if (! wxPoint_helper(_obj0
, &_arg0
))
4242 wxPy_BEGIN_ALLOW_THREADS
;
4243 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
4245 wxPy_END_ALLOW_THREADS
;
4246 if (PyErr_Occurred()) return NULL
;
4248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
4249 _resultobj
= Py_BuildValue("s",_ptemp
);
4252 _resultobj
= Py_None
;
4257 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4258 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4261 wxMoveEvent
* _arg0
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self", NULL
};
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
4270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
4280 wxPy_END_ALLOW_THREADS
;
4281 if (PyErr_Occurred()) return NULL
;
4282 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4283 _resultobj
= Py_BuildValue("s",_ptemp
);
4287 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
4290 src
= (wxPaintEvent
*) ptr
;
4291 dest
= (wxEvent
*) src
;
4292 return (void *) dest
;
4295 static void *SwigwxPaintEventTowxObject(void *ptr
) {
4298 src
= (wxPaintEvent
*) ptr
;
4299 dest
= (wxObject
*) src
;
4300 return (void *) dest
;
4303 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
4304 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
* _resultobj
;
4306 wxPaintEvent
* _result
;
4307 int _arg0
= (int ) 0;
4308 char *_kwnames
[] = { "id", NULL
};
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
4315 wxPy_BEGIN_ALLOW_THREADS
;
4316 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
4318 wxPy_END_ALLOW_THREADS
;
4319 if (PyErr_Occurred()) return NULL
;
4321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
4322 _resultobj
= Py_BuildValue("s",_ptemp
);
4325 _resultobj
= Py_None
;
4330 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
4333 src
= (wxEraseEvent
*) ptr
;
4334 dest
= (wxEvent
*) src
;
4335 return (void *) dest
;
4338 static void *SwigwxEraseEventTowxObject(void *ptr
) {
4341 src
= (wxEraseEvent
*) ptr
;
4342 dest
= (wxObject
*) src
;
4343 return (void *) dest
;
4346 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
4347 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4349 wxEraseEvent
* _result
;
4350 int _arg0
= (int ) 0;
4351 wxDC
* _arg1
= (wxDC
*) NULL
;
4352 PyObject
* _argo1
= 0;
4353 char *_kwnames
[] = { "id","dc", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
4360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
4367 wxPy_BEGIN_ALLOW_THREADS
;
4368 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
4370 wxPy_END_ALLOW_THREADS
;
4371 if (PyErr_Occurred()) return NULL
;
4373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
4374 _resultobj
= Py_BuildValue("s",_ptemp
);
4377 _resultobj
= Py_None
;
4382 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
4383 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
* _resultobj
;
4386 wxEraseEvent
* _arg0
;
4387 PyObject
* _argo0
= 0;
4388 char *_kwnames
[] = { "self", NULL
};
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
4394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
4396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
4401 wxPy_BEGIN_ALLOW_THREADS
;
4402 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
4404 wxPy_END_ALLOW_THREADS
;
4405 if (PyErr_Occurred()) return NULL
;
4406 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4410 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
4413 src
= (wxFocusEvent
*) ptr
;
4414 dest
= (wxEvent
*) src
;
4415 return (void *) dest
;
4418 static void *SwigwxFocusEventTowxObject(void *ptr
) {
4421 src
= (wxFocusEvent
*) ptr
;
4422 dest
= (wxObject
*) src
;
4423 return (void *) dest
;
4426 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
4427 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4429 wxFocusEvent
* _result
;
4430 WXTYPE _arg0
= (WXTYPE
) 0;
4431 int _arg1
= (int ) 0;
4432 char *_kwnames
[] = { "eventType","id", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
4439 wxPy_BEGIN_ALLOW_THREADS
;
4440 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
4442 wxPy_END_ALLOW_THREADS
;
4443 if (PyErr_Occurred()) return NULL
;
4445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
4446 _resultobj
= Py_BuildValue("s",_ptemp
);
4449 _resultobj
= Py_None
;
4454 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
4455 wxActivateEvent
*src
;
4457 src
= (wxActivateEvent
*) ptr
;
4458 dest
= (wxEvent
*) src
;
4459 return (void *) dest
;
4462 static void *SwigwxActivateEventTowxObject(void *ptr
) {
4463 wxActivateEvent
*src
;
4465 src
= (wxActivateEvent
*) ptr
;
4466 dest
= (wxObject
*) src
;
4467 return (void *) dest
;
4470 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
4471 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
* _resultobj
;
4473 wxActivateEvent
* _result
;
4474 WXTYPE _arg0
= (WXTYPE
) 0;
4475 int _arg1
= (int ) TRUE
;
4476 int _arg2
= (int ) 0;
4477 char *_kwnames
[] = { "eventType","active","id", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4484 wxPy_BEGIN_ALLOW_THREADS
;
4485 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
4487 wxPy_END_ALLOW_THREADS
;
4488 if (PyErr_Occurred()) return NULL
;
4490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
4491 _resultobj
= Py_BuildValue("s",_ptemp
);
4494 _resultobj
= Py_None
;
4499 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
4500 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
* _resultobj
;
4503 wxActivateEvent
* _arg0
;
4504 PyObject
* _argo0
= 0;
4505 char *_kwnames
[] = { "self", NULL
};
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
4511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
4513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
4518 wxPy_BEGIN_ALLOW_THREADS
;
4519 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
4521 wxPy_END_ALLOW_THREADS
;
4522 if (PyErr_Occurred()) return NULL
;
4523 } _resultobj
= Py_BuildValue("i",_result
);
4527 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
4528 wxInitDialogEvent
*src
;
4530 src
= (wxInitDialogEvent
*) ptr
;
4531 dest
= (wxEvent
*) src
;
4532 return (void *) dest
;
4535 static void *SwigwxInitDialogEventTowxObject(void *ptr
) {
4536 wxInitDialogEvent
*src
;
4538 src
= (wxInitDialogEvent
*) ptr
;
4539 dest
= (wxObject
*) src
;
4540 return (void *) dest
;
4543 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
4544 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4546 wxInitDialogEvent
* _result
;
4547 int _arg0
= (int ) 0;
4548 char *_kwnames
[] = { "id", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
4558 wxPy_END_ALLOW_THREADS
;
4559 if (PyErr_Occurred()) return NULL
;
4561 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
4562 _resultobj
= Py_BuildValue("s",_ptemp
);
4565 _resultobj
= Py_None
;
4570 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
4573 src
= (wxMenuEvent
*) ptr
;
4574 dest
= (wxEvent
*) src
;
4575 return (void *) dest
;
4578 static void *SwigwxMenuEventTowxObject(void *ptr
) {
4581 src
= (wxMenuEvent
*) ptr
;
4582 dest
= (wxObject
*) src
;
4583 return (void *) dest
;
4586 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
4587 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4589 wxMenuEvent
* _result
;
4590 WXTYPE _arg0
= (WXTYPE
) 0;
4591 int _arg1
= (int ) 0;
4592 char *_kwnames
[] = { "id","id", NULL
};
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
4599 wxPy_BEGIN_ALLOW_THREADS
;
4600 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
4602 wxPy_END_ALLOW_THREADS
;
4603 if (PyErr_Occurred()) return NULL
;
4605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
4606 _resultobj
= Py_BuildValue("s",_ptemp
);
4609 _resultobj
= Py_None
;
4614 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
4615 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4618 wxMenuEvent
* _arg0
;
4619 PyObject
* _argo0
= 0;
4620 char *_kwnames
[] = { "self", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
4626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
4633 wxPy_BEGIN_ALLOW_THREADS
;
4634 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
4636 wxPy_END_ALLOW_THREADS
;
4637 if (PyErr_Occurred()) return NULL
;
4638 } _resultobj
= Py_BuildValue("i",_result
);
4642 static void *SwigwxShowEventTowxEvent(void *ptr
) {
4645 src
= (wxShowEvent
*) ptr
;
4646 dest
= (wxEvent
*) src
;
4647 return (void *) dest
;
4650 static void *SwigwxShowEventTowxObject(void *ptr
) {
4653 src
= (wxShowEvent
*) ptr
;
4654 dest
= (wxObject
*) src
;
4655 return (void *) dest
;
4658 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
4659 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
* _resultobj
;
4661 wxShowEvent
* _result
;
4662 int _arg0
= (int ) 0;
4663 int _arg1
= (int ) FALSE
;
4664 char *_kwnames
[] = { "id","show", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
4671 wxPy_BEGIN_ALLOW_THREADS
;
4672 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
4674 wxPy_END_ALLOW_THREADS
;
4675 if (PyErr_Occurred()) return NULL
;
4677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
4678 _resultobj
= Py_BuildValue("s",_ptemp
);
4681 _resultobj
= Py_None
;
4686 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
4687 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4689 wxShowEvent
* _arg0
;
4691 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self","show", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
4705 _arg1
= (bool ) tempbool1
;
4707 wxPy_BEGIN_ALLOW_THREADS
;
4708 wxShowEvent_SetShow(_arg0
,_arg1
);
4710 wxPy_END_ALLOW_THREADS
;
4711 if (PyErr_Occurred()) return NULL
;
4712 } Py_INCREF(Py_None
);
4713 _resultobj
= Py_None
;
4717 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
4718 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4721 wxShowEvent
* _arg0
;
4722 PyObject
* _argo0
= 0;
4723 char *_kwnames
[] = { "self", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
4736 wxPy_BEGIN_ALLOW_THREADS
;
4737 _result
= (bool )wxShowEvent_GetShow(_arg0
);
4739 wxPy_END_ALLOW_THREADS
;
4740 if (PyErr_Occurred()) return NULL
;
4741 } _resultobj
= Py_BuildValue("i",_result
);
4745 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
4746 wxIconizeEvent
*src
;
4748 src
= (wxIconizeEvent
*) ptr
;
4749 dest
= (wxEvent
*) src
;
4750 return (void *) dest
;
4753 static void *SwigwxIconizeEventTowxObject(void *ptr
) {
4754 wxIconizeEvent
*src
;
4756 src
= (wxIconizeEvent
*) ptr
;
4757 dest
= (wxObject
*) src
;
4758 return (void *) dest
;
4761 #define new_wxIconizeEvent(_swigarg0,_swigarg1) (new wxIconizeEvent(_swigarg0,_swigarg1))
4762 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4764 wxIconizeEvent
* _result
;
4765 int _arg0
= (int ) 0;
4766 bool _arg1
= (bool ) TRUE
;
4767 int tempbool1
= (int) TRUE
;
4768 char *_kwnames
[] = { "id","iconized", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxIconizeEvent",_kwnames
,&_arg0
,&tempbool1
))
4774 _arg1
= (bool ) tempbool1
;
4776 wxPy_BEGIN_ALLOW_THREADS
;
4777 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
,_arg1
);
4779 wxPy_END_ALLOW_THREADS
;
4780 if (PyErr_Occurred()) return NULL
;
4782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
4783 _resultobj
= Py_BuildValue("s",_ptemp
);
4786 _resultobj
= Py_None
;
4791 #define wxIconizeEvent_Iconized(_swigobj) (_swigobj->Iconized())
4792 static PyObject
*_wrap_wxIconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
* _resultobj
;
4795 wxIconizeEvent
* _arg0
;
4796 PyObject
* _argo0
= 0;
4797 char *_kwnames
[] = { "self", NULL
};
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconizeEvent_Iconized",_kwnames
,&_argo0
))
4803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconizeEvent_p")) {
4805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconizeEvent_Iconized. Expected _wxIconizeEvent_p.");
4810 wxPy_BEGIN_ALLOW_THREADS
;
4811 _result
= (bool )wxIconizeEvent_Iconized(_arg0
);
4813 wxPy_END_ALLOW_THREADS
;
4814 if (PyErr_Occurred()) return NULL
;
4815 } _resultobj
= Py_BuildValue("i",_result
);
4819 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
4820 wxMaximizeEvent
*src
;
4822 src
= (wxMaximizeEvent
*) ptr
;
4823 dest
= (wxEvent
*) src
;
4824 return (void *) dest
;
4827 static void *SwigwxMaximizeEventTowxObject(void *ptr
) {
4828 wxMaximizeEvent
*src
;
4830 src
= (wxMaximizeEvent
*) ptr
;
4831 dest
= (wxObject
*) src
;
4832 return (void *) dest
;
4835 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4836 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
* _resultobj
;
4838 wxMaximizeEvent
* _result
;
4839 int _arg0
= (int ) 0;
4840 char *_kwnames
[] = { "id", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
4847 wxPy_BEGIN_ALLOW_THREADS
;
4848 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
4850 wxPy_END_ALLOW_THREADS
;
4851 if (PyErr_Occurred()) return NULL
;
4853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
4854 _resultobj
= Py_BuildValue("s",_ptemp
);
4857 _resultobj
= Py_None
;
4862 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
4863 wxJoystickEvent
*src
;
4865 src
= (wxJoystickEvent
*) ptr
;
4866 dest
= (wxEvent
*) src
;
4867 return (void *) dest
;
4870 static void *SwigwxJoystickEventTowxObject(void *ptr
) {
4871 wxJoystickEvent
*src
;
4873 src
= (wxJoystickEvent
*) ptr
;
4874 dest
= (wxObject
*) src
;
4875 return (void *) dest
;
4878 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4879 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
* _resultobj
;
4881 wxJoystickEvent
* _result
;
4882 int _arg0
= (int ) wxEVT_NULL
;
4883 int _arg1
= (int ) 0;
4884 int _arg2
= (int ) wxJOYSTICK1
;
4885 int _arg3
= (int ) 0;
4886 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
4893 wxPy_BEGIN_ALLOW_THREADS
;
4894 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
4896 wxPy_END_ALLOW_THREADS
;
4897 if (PyErr_Occurred()) return NULL
;
4899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
4900 _resultobj
= Py_BuildValue("s",_ptemp
);
4903 _resultobj
= Py_None
;
4908 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4909 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
* _resultobj
;
4912 wxJoystickEvent
* _arg0
;
4913 PyObject
* _argo0
= 0;
4914 char *_kwnames
[] = { "self", NULL
};
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
4921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4928 wxPy_BEGIN_ALLOW_THREADS
;
4929 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
4931 wxPy_END_ALLOW_THREADS
;
4932 if (PyErr_Occurred()) return NULL
;
4933 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4934 _resultobj
= Py_BuildValue("s",_ptemp
);
4938 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4939 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4942 wxJoystickEvent
* _arg0
;
4943 PyObject
* _argo0
= 0;
4944 char *_kwnames
[] = { "self", NULL
};
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
4950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4957 wxPy_BEGIN_ALLOW_THREADS
;
4958 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
4960 wxPy_END_ALLOW_THREADS
;
4961 if (PyErr_Occurred()) return NULL
;
4962 } _resultobj
= Py_BuildValue("i",_result
);
4966 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
4967 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
* _resultobj
;
4970 wxJoystickEvent
* _arg0
;
4971 PyObject
* _argo0
= 0;
4972 char *_kwnames
[] = { "self", NULL
};
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
4978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
4985 wxPy_BEGIN_ALLOW_THREADS
;
4986 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
4988 wxPy_END_ALLOW_THREADS
;
4989 if (PyErr_Occurred()) return NULL
;
4990 } _resultobj
= Py_BuildValue("i",_result
);
4994 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
4995 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4998 wxJoystickEvent
* _arg0
;
4999 PyObject
* _argo0
= 0;
5000 char *_kwnames
[] = { "self", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
5006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
5016 wxPy_END_ALLOW_THREADS
;
5017 if (PyErr_Occurred()) return NULL
;
5018 } _resultobj
= Py_BuildValue("i",_result
);
5022 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
5023 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
* _resultobj
;
5026 wxJoystickEvent
* _arg0
;
5027 PyObject
* _argo0
= 0;
5028 char *_kwnames
[] = { "self", NULL
};
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
5034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
5041 wxPy_BEGIN_ALLOW_THREADS
;
5042 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
5044 wxPy_END_ALLOW_THREADS
;
5045 if (PyErr_Occurred()) return NULL
;
5046 } _resultobj
= Py_BuildValue("i",_result
);
5050 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
5051 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5053 wxJoystickEvent
* _arg0
;
5055 PyObject
* _argo0
= 0;
5056 char *_kwnames
[] = { "self","stick", NULL
};
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
5062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
5069 wxPy_BEGIN_ALLOW_THREADS
;
5070 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
5072 wxPy_END_ALLOW_THREADS
;
5073 if (PyErr_Occurred()) return NULL
;
5074 } Py_INCREF(Py_None
);
5075 _resultobj
= Py_None
;
5079 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
5080 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
* _resultobj
;
5082 wxJoystickEvent
* _arg0
;
5084 PyObject
* _argo0
= 0;
5085 char *_kwnames
[] = { "self","state", NULL
};
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
5091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
5098 wxPy_BEGIN_ALLOW_THREADS
;
5099 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
5101 wxPy_END_ALLOW_THREADS
;
5102 if (PyErr_Occurred()) return NULL
;
5103 } Py_INCREF(Py_None
);
5104 _resultobj
= Py_None
;
5108 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
5109 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
* _resultobj
;
5111 wxJoystickEvent
* _arg0
;
5113 PyObject
* _argo0
= 0;
5114 char *_kwnames
[] = { "self","change", NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
5120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
5127 wxPy_BEGIN_ALLOW_THREADS
;
5128 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
5130 wxPy_END_ALLOW_THREADS
;
5131 if (PyErr_Occurred()) return NULL
;
5132 } Py_INCREF(Py_None
);
5133 _resultobj
= Py_None
;
5137 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
5138 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
* _resultobj
;
5140 wxJoystickEvent
* _arg0
;
5142 PyObject
* _argo0
= 0;
5144 PyObject
* _obj1
= 0;
5145 char *_kwnames
[] = { "self","pos", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
5151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
5159 if (! wxPoint_helper(_obj1
, &_arg1
))
5163 wxPy_BEGIN_ALLOW_THREADS
;
5164 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
5166 wxPy_END_ALLOW_THREADS
;
5167 if (PyErr_Occurred()) return NULL
;
5168 } Py_INCREF(Py_None
);
5169 _resultobj
= Py_None
;
5173 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
5174 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
* _resultobj
;
5176 wxJoystickEvent
* _arg0
;
5178 PyObject
* _argo0
= 0;
5179 char *_kwnames
[] = { "self","zPos", NULL
};
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
5185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
5192 wxPy_BEGIN_ALLOW_THREADS
;
5193 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
5195 wxPy_END_ALLOW_THREADS
;
5196 if (PyErr_Occurred()) return NULL
;
5197 } Py_INCREF(Py_None
);
5198 _resultobj
= Py_None
;
5202 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
5203 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
* _resultobj
;
5206 wxJoystickEvent
* _arg0
;
5207 PyObject
* _argo0
= 0;
5208 char *_kwnames
[] = { "self", NULL
};
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
5214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
5221 wxPy_BEGIN_ALLOW_THREADS
;
5222 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
5224 wxPy_END_ALLOW_THREADS
;
5225 if (PyErr_Occurred()) return NULL
;
5226 } _resultobj
= Py_BuildValue("i",_result
);
5230 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
5231 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
* _resultobj
;
5234 wxJoystickEvent
* _arg0
;
5235 PyObject
* _argo0
= 0;
5236 char *_kwnames
[] = { "self", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
5252 wxPy_END_ALLOW_THREADS
;
5253 if (PyErr_Occurred()) return NULL
;
5254 } _resultobj
= Py_BuildValue("i",_result
);
5258 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
5259 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5262 wxJoystickEvent
* _arg0
;
5263 PyObject
* _argo0
= 0;
5264 char *_kwnames
[] = { "self", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
5277 wxPy_BEGIN_ALLOW_THREADS
;
5278 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
5280 wxPy_END_ALLOW_THREADS
;
5281 if (PyErr_Occurred()) return NULL
;
5282 } _resultobj
= Py_BuildValue("i",_result
);
5286 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
5287 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
* _resultobj
;
5290 wxJoystickEvent
* _arg0
;
5291 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5292 PyObject
* _argo0
= 0;
5293 char *_kwnames
[] = { "self","but", NULL
};
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
5299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
5306 wxPy_BEGIN_ALLOW_THREADS
;
5307 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
5309 wxPy_END_ALLOW_THREADS
;
5310 if (PyErr_Occurred()) return NULL
;
5311 } _resultobj
= Py_BuildValue("i",_result
);
5315 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
5316 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
* _resultobj
;
5319 wxJoystickEvent
* _arg0
;
5320 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5321 PyObject
* _argo0
= 0;
5322 char *_kwnames
[] = { "self","but", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
5335 wxPy_BEGIN_ALLOW_THREADS
;
5336 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
5338 wxPy_END_ALLOW_THREADS
;
5339 if (PyErr_Occurred()) return NULL
;
5340 } _resultobj
= Py_BuildValue("i",_result
);
5344 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
5345 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5348 wxJoystickEvent
* _arg0
;
5349 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5350 PyObject
* _argo0
= 0;
5351 char *_kwnames
[] = { "self","but", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
5364 wxPy_BEGIN_ALLOW_THREADS
;
5365 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
5367 wxPy_END_ALLOW_THREADS
;
5368 if (PyErr_Occurred()) return NULL
;
5369 } _resultobj
= Py_BuildValue("i",_result
);
5373 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
5374 wxDropFilesEvent
*src
;
5376 src
= (wxDropFilesEvent
*) ptr
;
5377 dest
= (wxEvent
*) src
;
5378 return (void *) dest
;
5381 static void *SwigwxDropFilesEventTowxObject(void *ptr
) {
5382 wxDropFilesEvent
*src
;
5384 src
= (wxDropFilesEvent
*) ptr
;
5385 dest
= (wxObject
*) src
;
5386 return (void *) dest
;
5389 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
5390 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5393 wxDropFilesEvent
* _arg0
;
5394 PyObject
* _argo0
= 0;
5395 char *_kwnames
[] = { "self", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
5409 wxPy_BEGIN_ALLOW_THREADS
;
5410 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
5412 wxPy_END_ALLOW_THREADS
;
5413 if (PyErr_Occurred()) return NULL
;
5414 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5415 _resultobj
= Py_BuildValue("s",_ptemp
);
5419 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
5420 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
* _resultobj
;
5423 wxDropFilesEvent
* _arg0
;
5424 PyObject
* _argo0
= 0;
5425 char *_kwnames
[] = { "self", NULL
};
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
5431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
5438 wxPy_BEGIN_ALLOW_THREADS
;
5439 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
5441 wxPy_END_ALLOW_THREADS
;
5442 if (PyErr_Occurred()) return NULL
;
5443 } _resultobj
= Py_BuildValue("i",_result
);
5447 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
5448 int count
= self
->GetNumberOfFiles();
5449 wxString
* files
= self
->GetFiles();
5450 PyObject
* list
= PyList_New(count
);
5453 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
5457 for (int i
=0; i
<count
; i
++) {
5458 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
5462 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5465 wxDropFilesEvent
* _arg0
;
5466 PyObject
* _argo0
= 0;
5467 char *_kwnames
[] = { "self", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
5480 wxPy_BEGIN_ALLOW_THREADS
;
5481 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
5483 wxPy_END_ALLOW_THREADS
;
5484 if (PyErr_Occurred()) return NULL
;
5486 _resultobj
= _result
;
5491 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
5494 src
= (wxIdleEvent
*) ptr
;
5495 dest
= (wxEvent
*) src
;
5496 return (void *) dest
;
5499 static void *SwigwxIdleEventTowxObject(void *ptr
) {
5502 src
= (wxIdleEvent
*) ptr
;
5503 dest
= (wxObject
*) src
;
5504 return (void *) dest
;
5507 #define new_wxIdleEvent() (new wxIdleEvent())
5508 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5510 wxIdleEvent
* _result
;
5511 char *_kwnames
[] = { NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
5518 wxPy_BEGIN_ALLOW_THREADS
;
5519 _result
= (wxIdleEvent
*)new_wxIdleEvent();
5521 wxPy_END_ALLOW_THREADS
;
5522 if (PyErr_Occurred()) return NULL
;
5524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
5525 _resultobj
= Py_BuildValue("s",_ptemp
);
5528 _resultobj
= Py_None
;
5533 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
5534 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
* _resultobj
;
5536 wxIdleEvent
* _arg0
;
5537 bool _arg1
= (bool ) TRUE
;
5538 PyObject
* _argo0
= 0;
5539 int tempbool1
= (int) TRUE
;
5540 char *_kwnames
[] = { "self","needMore", NULL
};
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
5546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
5552 _arg1
= (bool ) tempbool1
;
5554 wxPy_BEGIN_ALLOW_THREADS
;
5555 wxIdleEvent_RequestMore(_arg0
,_arg1
);
5557 wxPy_END_ALLOW_THREADS
;
5558 if (PyErr_Occurred()) return NULL
;
5559 } Py_INCREF(Py_None
);
5560 _resultobj
= Py_None
;
5564 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
5565 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
* _resultobj
;
5568 wxIdleEvent
* _arg0
;
5569 PyObject
* _argo0
= 0;
5570 char *_kwnames
[] = { "self", NULL
};
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
5576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
5583 wxPy_BEGIN_ALLOW_THREADS
;
5584 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
5586 wxPy_END_ALLOW_THREADS
;
5587 if (PyErr_Occurred()) return NULL
;
5588 } _resultobj
= Py_BuildValue("i",_result
);
5592 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
5593 wxUpdateUIEvent
*src
;
5595 src
= (wxUpdateUIEvent
*) ptr
;
5596 dest
= (wxEvent
*) src
;
5597 return (void *) dest
;
5600 static void *SwigwxUpdateUIEventTowxObject(void *ptr
) {
5601 wxUpdateUIEvent
*src
;
5603 src
= (wxUpdateUIEvent
*) ptr
;
5604 dest
= (wxObject
*) src
;
5605 return (void *) dest
;
5608 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
5609 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5611 wxUpdateUIEvent
* _result
;
5612 wxWindowID _arg0
= (wxWindowID
) 0;
5613 char *_kwnames
[] = { "commandId", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
5620 wxPy_BEGIN_ALLOW_THREADS
;
5621 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
5623 wxPy_END_ALLOW_THREADS
;
5624 if (PyErr_Occurred()) return NULL
;
5626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
5627 _resultobj
= Py_BuildValue("s",_ptemp
);
5630 _resultobj
= Py_None
;
5635 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
5636 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5639 wxUpdateUIEvent
* _arg0
;
5640 PyObject
* _argo0
= 0;
5641 char *_kwnames
[] = { "self", NULL
};
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
5647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
5654 wxPy_BEGIN_ALLOW_THREADS
;
5655 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
5657 wxPy_END_ALLOW_THREADS
;
5658 if (PyErr_Occurred()) return NULL
;
5659 } _resultobj
= Py_BuildValue("i",_result
);
5663 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5664 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5667 wxUpdateUIEvent
* _arg0
;
5668 PyObject
* _argo0
= 0;
5669 char *_kwnames
[] = { "self", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
5675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
5682 wxPy_BEGIN_ALLOW_THREADS
;
5683 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
5685 wxPy_END_ALLOW_THREADS
;
5686 if (PyErr_Occurred()) return NULL
;
5687 } _resultobj
= Py_BuildValue("i",_result
);
5691 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5692 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5695 wxUpdateUIEvent
* _arg0
;
5696 PyObject
* _argo0
= 0;
5697 char *_kwnames
[] = { "self", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
5710 wxPy_BEGIN_ALLOW_THREADS
;
5711 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
5713 wxPy_END_ALLOW_THREADS
;
5714 if (PyErr_Occurred()) return NULL
;
5716 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5724 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5725 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
* _resultobj
;
5728 wxUpdateUIEvent
* _arg0
;
5729 PyObject
* _argo0
= 0;
5730 char *_kwnames
[] = { "self", NULL
};
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
5736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
5743 wxPy_BEGIN_ALLOW_THREADS
;
5744 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
5746 wxPy_END_ALLOW_THREADS
;
5747 if (PyErr_Occurred()) return NULL
;
5748 } _resultobj
= Py_BuildValue("i",_result
);
5752 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5753 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5756 wxUpdateUIEvent
* _arg0
;
5757 PyObject
* _argo0
= 0;
5758 char *_kwnames
[] = { "self", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
5771 wxPy_BEGIN_ALLOW_THREADS
;
5772 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
5774 wxPy_END_ALLOW_THREADS
;
5775 if (PyErr_Occurred()) return NULL
;
5776 } _resultobj
= Py_BuildValue("i",_result
);
5780 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5781 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
* _resultobj
;
5784 wxUpdateUIEvent
* _arg0
;
5785 PyObject
* _argo0
= 0;
5786 char *_kwnames
[] = { "self", NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
5792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
5799 wxPy_BEGIN_ALLOW_THREADS
;
5800 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
5802 wxPy_END_ALLOW_THREADS
;
5803 if (PyErr_Occurred()) return NULL
;
5804 } _resultobj
= Py_BuildValue("i",_result
);
5808 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5809 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
* _resultobj
;
5811 wxUpdateUIEvent
* _arg0
;
5813 PyObject
* _argo0
= 0;
5815 char *_kwnames
[] = { "self","check", NULL
};
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
5821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
5827 _arg1
= (bool ) tempbool1
;
5829 wxPy_BEGIN_ALLOW_THREADS
;
5830 wxUpdateUIEvent_Check(_arg0
,_arg1
);
5832 wxPy_END_ALLOW_THREADS
;
5833 if (PyErr_Occurred()) return NULL
;
5834 } Py_INCREF(Py_None
);
5835 _resultobj
= Py_None
;
5839 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5840 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
* _resultobj
;
5842 wxUpdateUIEvent
* _arg0
;
5844 PyObject
* _argo0
= 0;
5846 char *_kwnames
[] = { "self","enable", NULL
};
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
5852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
5858 _arg1
= (bool ) tempbool1
;
5860 wxPy_BEGIN_ALLOW_THREADS
;
5861 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
5863 wxPy_END_ALLOW_THREADS
;
5864 if (PyErr_Occurred()) return NULL
;
5865 } Py_INCREF(Py_None
);
5866 _resultobj
= Py_None
;
5870 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5871 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5873 wxUpdateUIEvent
* _arg0
;
5875 PyObject
* _argo0
= 0;
5876 PyObject
* _obj1
= 0;
5877 char *_kwnames
[] = { "self","text", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
5890 #if PYTHON_API_VERSION >= 1009
5891 char* tmpPtr
; int tmpSize
;
5892 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5896 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5898 _arg1
= new wxString(tmpPtr
, tmpSize
);
5900 if (!PyString_Check(_obj1
)) {
5901 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5904 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5908 wxPy_BEGIN_ALLOW_THREADS
;
5909 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
5911 wxPy_END_ALLOW_THREADS
;
5912 if (PyErr_Occurred()) return NULL
;
5913 } Py_INCREF(Py_None
);
5914 _resultobj
= Py_None
;
5922 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
5923 wxSysColourChangedEvent
*src
;
5925 src
= (wxSysColourChangedEvent
*) ptr
;
5926 dest
= (wxEvent
*) src
;
5927 return (void *) dest
;
5930 static void *SwigwxSysColourChangedEventTowxObject(void *ptr
) {
5931 wxSysColourChangedEvent
*src
;
5933 src
= (wxSysColourChangedEvent
*) ptr
;
5934 dest
= (wxObject
*) src
;
5935 return (void *) dest
;
5938 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5939 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5941 wxSysColourChangedEvent
* _result
;
5942 char *_kwnames
[] = { NULL
};
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
5949 wxPy_BEGIN_ALLOW_THREADS
;
5950 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
5952 wxPy_END_ALLOW_THREADS
;
5953 if (PyErr_Occurred()) return NULL
;
5955 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
5956 _resultobj
= Py_BuildValue("s",_ptemp
);
5959 _resultobj
= Py_None
;
5964 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
5966 wxCommandEvent
*dest
;
5967 src
= (wxNotifyEvent
*) ptr
;
5968 dest
= (wxCommandEvent
*) src
;
5969 return (void *) dest
;
5972 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
5975 src
= (wxNotifyEvent
*) ptr
;
5976 dest
= (wxEvent
*) src
;
5977 return (void *) dest
;
5980 static void *SwigwxNotifyEventTowxObject(void *ptr
) {
5983 src
= (wxNotifyEvent
*) ptr
;
5984 dest
= (wxObject
*) src
;
5985 return (void *) dest
;
5988 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
5989 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5991 wxNotifyEvent
* _result
;
5992 int _arg0
= (int ) wxEVT_NULL
;
5993 int _arg1
= (int ) 0;
5994 char *_kwnames
[] = { "commandType","id", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
6001 wxPy_BEGIN_ALLOW_THREADS
;
6002 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
6004 wxPy_END_ALLOW_THREADS
;
6005 if (PyErr_Occurred()) return NULL
;
6007 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
6008 _resultobj
= Py_BuildValue("s",_ptemp
);
6011 _resultobj
= Py_None
;
6016 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
6017 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6020 wxNotifyEvent
* _arg0
;
6021 PyObject
* _argo0
= 0;
6022 char *_kwnames
[] = { "self", NULL
};
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
6028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
6035 wxPy_BEGIN_ALLOW_THREADS
;
6036 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
6038 wxPy_END_ALLOW_THREADS
;
6039 if (PyErr_Occurred()) return NULL
;
6040 } _resultobj
= Py_BuildValue("i",_result
);
6044 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
6045 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
* _resultobj
;
6047 wxNotifyEvent
* _arg0
;
6048 PyObject
* _argo0
= 0;
6049 char *_kwnames
[] = { "self", NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Allow",_kwnames
,&_argo0
))
6055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
6062 wxPy_BEGIN_ALLOW_THREADS
;
6063 wxNotifyEvent_Allow(_arg0
);
6065 wxPy_END_ALLOW_THREADS
;
6066 if (PyErr_Occurred()) return NULL
;
6067 } Py_INCREF(Py_None
);
6068 _resultobj
= Py_None
;
6072 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
6073 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
* _resultobj
;
6075 wxNotifyEvent
* _arg0
;
6076 PyObject
* _argo0
= 0;
6077 char *_kwnames
[] = { "self", NULL
};
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
6083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
6090 wxPy_BEGIN_ALLOW_THREADS
;
6091 wxNotifyEvent_Veto(_arg0
);
6093 wxPy_END_ALLOW_THREADS
;
6094 if (PyErr_Occurred()) return NULL
;
6095 } Py_INCREF(Py_None
);
6096 _resultobj
= Py_None
;
6100 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
6101 wxPaletteChangedEvent
*src
;
6103 src
= (wxPaletteChangedEvent
*) ptr
;
6104 dest
= (wxEvent
*) src
;
6105 return (void *) dest
;
6108 static void *SwigwxPaletteChangedEventTowxObject(void *ptr
) {
6109 wxPaletteChangedEvent
*src
;
6111 src
= (wxPaletteChangedEvent
*) ptr
;
6112 dest
= (wxObject
*) src
;
6113 return (void *) dest
;
6116 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
6117 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6119 wxPaletteChangedEvent
* _result
;
6120 wxWindowID _arg0
= (wxWindowID
) 0;
6121 char *_kwnames
[] = { "id", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
6128 wxPy_BEGIN_ALLOW_THREADS
;
6129 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
6131 wxPy_END_ALLOW_THREADS
;
6132 if (PyErr_Occurred()) return NULL
;
6134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
6135 _resultobj
= Py_BuildValue("s",_ptemp
);
6138 _resultobj
= Py_None
;
6143 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
6144 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
* _resultobj
;
6146 wxPaletteChangedEvent
* _arg0
;
6148 PyObject
* _argo0
= 0;
6149 PyObject
* _argo1
= 0;
6150 char *_kwnames
[] = { "self","win", NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
6156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
6170 wxPy_BEGIN_ALLOW_THREADS
;
6171 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
6173 wxPy_END_ALLOW_THREADS
;
6174 if (PyErr_Occurred()) return NULL
;
6175 } Py_INCREF(Py_None
);
6176 _resultobj
= Py_None
;
6180 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
6181 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6184 wxPaletteChangedEvent
* _arg0
;
6185 PyObject
* _argo0
= 0;
6186 char *_kwnames
[] = { "self", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6199 wxPy_BEGIN_ALLOW_THREADS
;
6200 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
6202 wxPy_END_ALLOW_THREADS
;
6203 if (PyErr_Occurred()) return NULL
;
6204 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6208 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
6209 wxQueryNewPaletteEvent
*src
;
6211 src
= (wxQueryNewPaletteEvent
*) ptr
;
6212 dest
= (wxEvent
*) src
;
6213 return (void *) dest
;
6216 static void *SwigwxQueryNewPaletteEventTowxObject(void *ptr
) {
6217 wxQueryNewPaletteEvent
*src
;
6219 src
= (wxQueryNewPaletteEvent
*) ptr
;
6220 dest
= (wxObject
*) src
;
6221 return (void *) dest
;
6224 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
6225 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
* _resultobj
;
6227 wxQueryNewPaletteEvent
* _result
;
6228 wxWindowID _arg0
= (wxWindowID
) 0;
6229 char *_kwnames
[] = { "id", NULL
};
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
6236 wxPy_BEGIN_ALLOW_THREADS
;
6237 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
6239 wxPy_END_ALLOW_THREADS
;
6240 if (PyErr_Occurred()) return NULL
;
6242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
6243 _resultobj
= Py_BuildValue("s",_ptemp
);
6246 _resultobj
= Py_None
;
6251 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
6252 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
* _resultobj
;
6254 wxQueryNewPaletteEvent
* _arg0
;
6256 PyObject
* _argo0
= 0;
6258 char *_kwnames
[] = { "self","realized", NULL
};
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
6264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6270 _arg1
= (bool ) tempbool1
;
6272 wxPy_BEGIN_ALLOW_THREADS
;
6273 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
6275 wxPy_END_ALLOW_THREADS
;
6276 if (PyErr_Occurred()) return NULL
;
6277 } Py_INCREF(Py_None
);
6278 _resultobj
= Py_None
;
6282 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
6283 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6286 wxQueryNewPaletteEvent
* _arg0
;
6287 PyObject
* _argo0
= 0;
6288 char *_kwnames
[] = { "self", NULL
};
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
6294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6301 wxPy_BEGIN_ALLOW_THREADS
;
6302 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
6304 wxPy_END_ALLOW_THREADS
;
6305 if (PyErr_Occurred()) return NULL
;
6306 } _resultobj
= Py_BuildValue("i",_result
);
6310 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr
) {
6311 wxWindowCreateEvent
*src
;
6312 wxCommandEvent
*dest
;
6313 src
= (wxWindowCreateEvent
*) ptr
;
6314 dest
= (wxCommandEvent
*) src
;
6315 return (void *) dest
;
6318 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
6319 wxWindowCreateEvent
*src
;
6321 src
= (wxWindowCreateEvent
*) ptr
;
6322 dest
= (wxEvent
*) src
;
6323 return (void *) dest
;
6326 static void *SwigwxWindowCreateEventTowxObject(void *ptr
) {
6327 wxWindowCreateEvent
*src
;
6329 src
= (wxWindowCreateEvent
*) ptr
;
6330 dest
= (wxObject
*) src
;
6331 return (void *) dest
;
6334 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
6335 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6337 wxWindowCreateEvent
* _result
;
6338 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6339 PyObject
* _argo0
= 0;
6340 char *_kwnames
[] = { "win", NULL
};
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
6347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
6354 wxPy_BEGIN_ALLOW_THREADS
;
6355 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
6357 wxPy_END_ALLOW_THREADS
;
6358 if (PyErr_Occurred()) return NULL
;
6360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
6361 _resultobj
= Py_BuildValue("s",_ptemp
);
6364 _resultobj
= Py_None
;
6369 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6370 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
* _resultobj
;
6373 wxWindowCreateEvent
* _arg0
;
6374 PyObject
* _argo0
= 0;
6375 char *_kwnames
[] = { "self", NULL
};
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
6381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
6383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
6388 wxPy_BEGIN_ALLOW_THREADS
;
6389 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
6391 wxPy_END_ALLOW_THREADS
;
6392 if (PyErr_Occurred()) return NULL
;
6393 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6397 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr
) {
6398 wxWindowDestroyEvent
*src
;
6399 wxCommandEvent
*dest
;
6400 src
= (wxWindowDestroyEvent
*) ptr
;
6401 dest
= (wxCommandEvent
*) src
;
6402 return (void *) dest
;
6405 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
6406 wxWindowDestroyEvent
*src
;
6408 src
= (wxWindowDestroyEvent
*) ptr
;
6409 dest
= (wxEvent
*) src
;
6410 return (void *) dest
;
6413 static void *SwigwxWindowDestroyEventTowxObject(void *ptr
) {
6414 wxWindowDestroyEvent
*src
;
6416 src
= (wxWindowDestroyEvent
*) ptr
;
6417 dest
= (wxObject
*) src
;
6418 return (void *) dest
;
6421 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
6422 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
* _resultobj
;
6424 wxWindowDestroyEvent
* _result
;
6425 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6426 PyObject
* _argo0
= 0;
6427 char *_kwnames
[] = { "win", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
6441 wxPy_BEGIN_ALLOW_THREADS
;
6442 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
6444 wxPy_END_ALLOW_THREADS
;
6445 if (PyErr_Occurred()) return NULL
;
6447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
6448 _resultobj
= Py_BuildValue("s",_ptemp
);
6451 _resultobj
= Py_None
;
6456 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6457 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
* _resultobj
;
6460 wxWindowDestroyEvent
* _arg0
;
6461 PyObject
* _argo0
= 0;
6462 char *_kwnames
[] = { "self", NULL
};
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
6468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
6470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
6475 wxPy_BEGIN_ALLOW_THREADS
;
6476 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
6478 wxPy_END_ALLOW_THREADS
;
6479 if (PyErr_Occurred()) return NULL
;
6480 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6484 static void *SwigwxTimerEventTowxEvent(void *ptr
) {
6487 src
= (wxTimerEvent
*) ptr
;
6488 dest
= (wxEvent
*) src
;
6489 return (void *) dest
;
6492 static void *SwigwxTimerEventTowxObject(void *ptr
) {
6495 src
= (wxTimerEvent
*) ptr
;
6496 dest
= (wxObject
*) src
;
6497 return (void *) dest
;
6500 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
6501 static PyObject
*_wrap_new_wxTimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6503 wxTimerEvent
* _result
;
6504 int _arg0
= (int ) 0;
6505 int _arg1
= (int ) 0;
6506 char *_kwnames
[] = { "id","interval", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTimerEvent",_kwnames
,&_arg0
,&_arg1
))
6513 wxPy_BEGIN_ALLOW_THREADS
;
6514 _result
= (wxTimerEvent
*)new_wxTimerEvent(_arg0
,_arg1
);
6516 wxPy_END_ALLOW_THREADS
;
6517 if (PyErr_Occurred()) return NULL
;
6519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimerEvent_p");
6520 _resultobj
= Py_BuildValue("s",_ptemp
);
6523 _resultobj
= Py_None
;
6528 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
6529 static PyObject
*_wrap_wxTimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
* _resultobj
;
6532 wxTimerEvent
* _arg0
;
6533 PyObject
* _argo0
= 0;
6534 char *_kwnames
[] = { "self", NULL
};
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimerEvent_GetInterval",_kwnames
,&_argo0
))
6540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimerEvent_p")) {
6542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
6547 wxPy_BEGIN_ALLOW_THREADS
;
6548 _result
= (int )wxTimerEvent_GetInterval(_arg0
);
6550 wxPy_END_ALLOW_THREADS
;
6551 if (PyErr_Occurred()) return NULL
;
6552 } _resultobj
= Py_BuildValue("i",_result
);
6556 static void *SwigwxTextUrlEventTowxCommandEvent(void *ptr
) {
6557 wxTextUrlEvent
*src
;
6558 wxCommandEvent
*dest
;
6559 src
= (wxTextUrlEvent
*) ptr
;
6560 dest
= (wxCommandEvent
*) src
;
6561 return (void *) dest
;
6564 static void *SwigwxTextUrlEventTowxEvent(void *ptr
) {
6565 wxTextUrlEvent
*src
;
6567 src
= (wxTextUrlEvent
*) ptr
;
6568 dest
= (wxEvent
*) src
;
6569 return (void *) dest
;
6572 static void *SwigwxTextUrlEventTowxObject(void *ptr
) {
6573 wxTextUrlEvent
*src
;
6575 src
= (wxTextUrlEvent
*) ptr
;
6576 dest
= (wxObject
*) src
;
6577 return (void *) dest
;
6580 #define new_wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextUrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6581 static PyObject
*_wrap_new_wxTextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
* _resultobj
;
6583 wxTextUrlEvent
* _result
;
6585 wxMouseEvent
* _arg1
;
6588 PyObject
* _argo1
= 0;
6589 char *_kwnames
[] = { "id","evtMouse","start","end", NULL
};
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iOll:new_wxTextUrlEvent",_kwnames
,&_arg0
,&_argo1
,&_arg2
,&_arg3
))
6596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxTextUrlEvent. Expected _wxMouseEvent_p.");
6603 wxPy_BEGIN_ALLOW_THREADS
;
6604 _result
= (wxTextUrlEvent
*)new_wxTextUrlEvent(_arg0
,*_arg1
,_arg2
,_arg3
);
6606 wxPy_END_ALLOW_THREADS
;
6607 if (PyErr_Occurred()) return NULL
;
6609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextUrlEvent_p");
6610 _resultobj
= Py_BuildValue("s",_ptemp
);
6613 _resultobj
= Py_None
;
6618 #define wxTextUrlEvent_GetMouseEvent(_swigobj) (_swigobj->GetMouseEvent())
6619 static PyObject
*_wrap_wxTextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
* _resultobj
;
6621 wxMouseEvent
* _result
;
6622 wxTextUrlEvent
* _arg0
;
6623 PyObject
* _argo0
= 0;
6624 char *_kwnames
[] = { "self", NULL
};
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetMouseEvent",_kwnames
,&_argo0
))
6630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
6632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetMouseEvent. Expected _wxTextUrlEvent_p.");
6637 wxPy_BEGIN_ALLOW_THREADS
;
6638 const wxMouseEvent
& _result_ref
= wxTextUrlEvent_GetMouseEvent(_arg0
);
6639 _result
= (wxMouseEvent
*) &_result_ref
;
6641 wxPy_END_ALLOW_THREADS
;
6642 if (PyErr_Occurred()) return NULL
;
6643 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6647 #define wxTextUrlEvent_GetURLStart(_swigobj) (_swigobj->GetURLStart())
6648 static PyObject
*_wrap_wxTextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
* _resultobj
;
6651 wxTextUrlEvent
* _arg0
;
6652 PyObject
* _argo0
= 0;
6653 char *_kwnames
[] = { "self", NULL
};
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetURLStart",_kwnames
,&_argo0
))
6659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
6661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetURLStart. Expected _wxTextUrlEvent_p.");
6666 wxPy_BEGIN_ALLOW_THREADS
;
6667 _result
= (long )wxTextUrlEvent_GetURLStart(_arg0
);
6669 wxPy_END_ALLOW_THREADS
;
6670 if (PyErr_Occurred()) return NULL
;
6671 } _resultobj
= Py_BuildValue("l",_result
);
6675 #define wxTextUrlEvent_GetURLEnd(_swigobj) (_swigobj->GetURLEnd())
6676 static PyObject
*_wrap_wxTextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
* _resultobj
;
6679 wxTextUrlEvent
* _arg0
;
6680 PyObject
* _argo0
= 0;
6681 char *_kwnames
[] = { "self", NULL
};
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextUrlEvent_GetURLEnd",_kwnames
,&_argo0
))
6687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextUrlEvent_p")) {
6689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextUrlEvent_GetURLEnd. Expected _wxTextUrlEvent_p.");
6694 wxPy_BEGIN_ALLOW_THREADS
;
6695 _result
= (long )wxTextUrlEvent_GetURLEnd(_arg0
);
6697 wxPy_END_ALLOW_THREADS
;
6698 if (PyErr_Occurred()) return NULL
;
6699 } _resultobj
= Py_BuildValue("l",_result
);
6703 static void *SwigwxPyEventTowxEvent(void *ptr
) {
6706 src
= (wxPyEvent
*) ptr
;
6707 dest
= (wxEvent
*) src
;
6708 return (void *) dest
;
6711 static void *SwigwxPyEventTowxObject(void *ptr
) {
6714 src
= (wxPyEvent
*) ptr
;
6715 dest
= (wxObject
*) src
;
6716 return (void *) dest
;
6719 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
6720 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
* _resultobj
;
6722 wxPyEvent
* _result
;
6723 int _arg0
= (int ) 0;
6724 char *_kwnames
[] = { "id", NULL
};
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
6731 wxPy_BEGIN_ALLOW_THREADS
;
6732 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
6734 wxPy_END_ALLOW_THREADS
;
6735 if (PyErr_Occurred()) return NULL
;
6737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
6738 _resultobj
= Py_BuildValue("s",_ptemp
);
6741 _resultobj
= Py_None
;
6746 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
6747 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
* _resultobj
;
6750 PyObject
* _argo0
= 0;
6751 char *_kwnames
[] = { "self", NULL
};
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
6757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
6764 wxPy_BEGIN_ALLOW_THREADS
;
6765 delete_wxPyEvent(_arg0
);
6767 wxPy_END_ALLOW_THREADS
;
6768 if (PyErr_Occurred()) return NULL
;
6769 } Py_INCREF(Py_None
);
6770 _resultobj
= Py_None
;
6774 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6775 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
* _resultobj
;
6779 PyObject
* _argo0
= 0;
6780 PyObject
* _obj1
= 0;
6781 char *_kwnames
[] = { "self","self", NULL
};
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
6797 wxPy_BEGIN_ALLOW_THREADS
;
6798 wxPyEvent_SetSelf(_arg0
,_arg1
);
6800 wxPy_END_ALLOW_THREADS
;
6801 if (PyErr_Occurred()) return NULL
;
6802 } Py_INCREF(Py_None
);
6803 _resultobj
= Py_None
;
6807 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6808 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
* _resultobj
;
6812 PyObject
* _argo0
= 0;
6813 char *_kwnames
[] = { "self", NULL
};
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
6819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
6826 wxPy_BEGIN_ALLOW_THREADS
;
6827 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
6829 wxPy_END_ALLOW_THREADS
;
6830 if (PyErr_Occurred()) return NULL
;
6832 _resultobj
= _result
;
6837 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
6838 wxPyCommandEvent
*src
;
6839 wxCommandEvent
*dest
;
6840 src
= (wxPyCommandEvent
*) ptr
;
6841 dest
= (wxCommandEvent
*) src
;
6842 return (void *) dest
;
6845 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
6846 wxPyCommandEvent
*src
;
6848 src
= (wxPyCommandEvent
*) ptr
;
6849 dest
= (wxEvent
*) src
;
6850 return (void *) dest
;
6853 static void *SwigwxPyCommandEventTowxObject(void *ptr
) {
6854 wxPyCommandEvent
*src
;
6856 src
= (wxPyCommandEvent
*) ptr
;
6857 dest
= (wxObject
*) src
;
6858 return (void *) dest
;
6861 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
6862 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6864 wxPyCommandEvent
* _result
;
6865 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6866 int _arg1
= (int ) 0;
6867 char *_kwnames
[] = { "commandType","id", NULL
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
6874 wxPy_BEGIN_ALLOW_THREADS
;
6875 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
6877 wxPy_END_ALLOW_THREADS
;
6878 if (PyErr_Occurred()) return NULL
;
6880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
6881 _resultobj
= Py_BuildValue("s",_ptemp
);
6884 _resultobj
= Py_None
;
6889 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
6890 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6892 wxPyCommandEvent
* _arg0
;
6893 PyObject
* _argo0
= 0;
6894 char *_kwnames
[] = { "self", NULL
};
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
6900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
6907 wxPy_BEGIN_ALLOW_THREADS
;
6908 delete_wxPyCommandEvent(_arg0
);
6910 wxPy_END_ALLOW_THREADS
;
6911 if (PyErr_Occurred()) return NULL
;
6912 } Py_INCREF(Py_None
);
6913 _resultobj
= Py_None
;
6917 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6918 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
* _resultobj
;
6920 wxPyCommandEvent
* _arg0
;
6922 PyObject
* _argo0
= 0;
6923 PyObject
* _obj1
= 0;
6924 char *_kwnames
[] = { "self","self", NULL
};
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
6940 wxPy_BEGIN_ALLOW_THREADS
;
6941 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
6943 wxPy_END_ALLOW_THREADS
;
6944 if (PyErr_Occurred()) return NULL
;
6945 } Py_INCREF(Py_None
);
6946 _resultobj
= Py_None
;
6950 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6951 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
* _resultobj
;
6954 wxPyCommandEvent
* _arg0
;
6955 PyObject
* _argo0
= 0;
6956 char *_kwnames
[] = { "self", NULL
};
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
6962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
6969 wxPy_BEGIN_ALLOW_THREADS
;
6970 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
6972 wxPy_END_ALLOW_THREADS
;
6973 if (PyErr_Occurred()) return NULL
;
6975 _resultobj
= _result
;
6980 static PyMethodDef eventscMethods
[] = {
6981 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6982 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6983 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6984 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6985 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6986 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6987 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6988 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6989 { "wxTextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_wxTextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
6990 { "wxTextUrlEvent_GetURLStart", (PyCFunction
) _wrap_wxTextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
6991 { "wxTextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_wxTextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6992 { "new_wxTextUrlEvent", (PyCFunction
) _wrap_new_wxTextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
6993 { "wxTimerEvent_GetInterval", (PyCFunction
) _wrap_wxTimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "new_wxTimerEvent", (PyCFunction
) _wrap_new_wxTimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "wxIconizeEvent_Iconized", (PyCFunction
) _wrap_wxIconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxMouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "wxMouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxMouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxMouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxMouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxMouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "wxMouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_wxMouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxMouseEvent_GetWheelDelta", (PyCFunction
) _wrap_wxMouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxMouseEvent_GetWheelRotation", (PyCFunction
) _wrap_wxMouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxCommandEvent_GetClientData", (PyCFunction
) _wrap_wxCommandEvent_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxNewEventType", (PyCFunction
) _wrap_wxNewEventType
, METH_VARARGS
| METH_KEYWORDS
},
7201 * This table is used by the pointer type-checker
7203 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7204 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
7205 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
7206 { "_wxEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxEvent
},
7207 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
7208 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
7209 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
7210 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
7211 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
7212 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
7213 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
7214 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
7215 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
7216 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
7217 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
7218 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
7219 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
7220 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
7221 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
7222 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
7223 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
7224 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
7225 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
7226 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
7227 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
7228 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
7229 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
7230 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
7231 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
7232 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
7233 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
7234 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
7235 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
7236 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
7237 { "_signed_long","_long",0},
7238 { "_wxPrintQuality","_wxCoord",0},
7239 { "_wxPrintQuality","_int",0},
7240 { "_wxPrintQuality","_signed_int",0},
7241 { "_wxPrintQuality","_unsigned_int",0},
7242 { "_wxPrintQuality","_wxWindowID",0},
7243 { "_wxPrintQuality","_uint",0},
7244 { "_wxPrintQuality","_EBool",0},
7245 { "_wxPrintQuality","_size_t",0},
7246 { "_wxPrintQuality","_time_t",0},
7247 { "_byte","_unsigned_char",0},
7248 { "_long","_unsigned_long",0},
7249 { "_long","_signed_long",0},
7250 { "_size_t","_wxCoord",0},
7251 { "_size_t","_wxPrintQuality",0},
7252 { "_size_t","_time_t",0},
7253 { "_size_t","_unsigned_int",0},
7254 { "_size_t","_int",0},
7255 { "_size_t","_wxWindowID",0},
7256 { "_size_t","_uint",0},
7257 { "_uint","_wxCoord",0},
7258 { "_uint","_wxPrintQuality",0},
7259 { "_uint","_time_t",0},
7260 { "_uint","_size_t",0},
7261 { "_uint","_unsigned_int",0},
7262 { "_uint","_int",0},
7263 { "_uint","_wxWindowID",0},
7264 { "_wxChar","_char",0},
7265 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
7266 { "_wxCommandEvent","_wxTextUrlEvent",SwigwxTextUrlEventTowxCommandEvent
},
7267 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
7268 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
7269 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
7270 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
7271 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
7272 { "_char","_wxChar",0},
7273 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7274 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
7275 { "_EBool","_wxCoord",0},
7276 { "_EBool","_wxPrintQuality",0},
7277 { "_EBool","_signed_int",0},
7278 { "_EBool","_int",0},
7279 { "_EBool","_wxWindowID",0},
7280 { "_unsigned_long","_long",0},
7281 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7282 { "_signed_int","_wxCoord",0},
7283 { "_signed_int","_wxPrintQuality",0},
7284 { "_signed_int","_EBool",0},
7285 { "_signed_int","_wxWindowID",0},
7286 { "_signed_int","_int",0},
7287 { "_WXTYPE","_short",0},
7288 { "_WXTYPE","_signed_short",0},
7289 { "_WXTYPE","_unsigned_short",0},
7290 { "_unsigned_short","_WXTYPE",0},
7291 { "_unsigned_short","_short",0},
7292 { "_wxObject","_wxPyCommandEvent",SwigwxPyCommandEventTowxObject
},
7293 { "_wxObject","_wxPyEvent",SwigwxPyEventTowxObject
},
7294 { "_wxObject","_wxTextUrlEvent",SwigwxTextUrlEventTowxObject
},
7295 { "_wxObject","_wxTimerEvent",SwigwxTimerEventTowxObject
},
7296 { "_wxObject","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject
},
7297 { "_wxObject","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject
},
7298 { "_wxObject","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject
},
7299 { "_wxObject","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject
},
7300 { "_wxObject","_wxNotifyEvent",SwigwxNotifyEventTowxObject
},
7301 { "_wxObject","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject
},
7302 { "_wxObject","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject
},
7303 { "_wxObject","_wxIdleEvent",SwigwxIdleEventTowxObject
},
7304 { "_wxObject","_wxDropFilesEvent",SwigwxDropFilesEventTowxObject
},
7305 { "_wxObject","_wxJoystickEvent",SwigwxJoystickEventTowxObject
},
7306 { "_wxObject","_wxMaximizeEvent",SwigwxMaximizeEventTowxObject
},
7307 { "_wxObject","_wxIconizeEvent",SwigwxIconizeEventTowxObject
},
7308 { "_wxObject","_wxShowEvent",SwigwxShowEventTowxObject
},
7309 { "_wxObject","_wxMenuEvent",SwigwxMenuEventTowxObject
},
7310 { "_wxObject","_wxInitDialogEvent",SwigwxInitDialogEventTowxObject
},
7311 { "_wxObject","_wxActivateEvent",SwigwxActivateEventTowxObject
},
7312 { "_wxObject","_wxFocusEvent",SwigwxFocusEventTowxObject
},
7313 { "_wxObject","_wxEraseEvent",SwigwxEraseEventTowxObject
},
7314 { "_wxObject","_wxPaintEvent",SwigwxPaintEventTowxObject
},
7315 { "_wxObject","_wxMoveEvent",SwigwxMoveEventTowxObject
},
7316 { "_wxObject","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject
},
7317 { "_wxObject","_wxKeyEvent",SwigwxKeyEventTowxObject
},
7318 { "_wxObject","_wxMouseEvent",SwigwxMouseEventTowxObject
},
7319 { "_wxObject","_wxSpinEvent",SwigwxSpinEventTowxObject
},
7320 { "_wxObject","_wxScrollWinEvent",SwigwxScrollWinEventTowxObject
},
7321 { "_wxObject","_wxScrollEvent",SwigwxScrollEventTowxObject
},
7322 { "_wxObject","_wxCommandEvent",SwigwxCommandEventTowxObject
},
7323 { "_wxObject","_wxCloseEvent",SwigwxCloseEventTowxObject
},
7324 { "_wxObject","_wxSizeEvent",SwigwxSizeEventTowxObject
},
7325 { "_wxObject","_wxEvent",SwigwxEventTowxObject
},
7326 { "_signed_short","_WXTYPE",0},
7327 { "_signed_short","_short",0},
7328 { "_unsigned_char","_byte",0},
7329 { "_unsigned_int","_wxCoord",0},
7330 { "_unsigned_int","_wxPrintQuality",0},
7331 { "_unsigned_int","_time_t",0},
7332 { "_unsigned_int","_size_t",0},
7333 { "_unsigned_int","_uint",0},
7334 { "_unsigned_int","_wxWindowID",0},
7335 { "_unsigned_int","_int",0},
7336 { "_short","_WXTYPE",0},
7337 { "_short","_unsigned_short",0},
7338 { "_short","_signed_short",0},
7339 { "_wxWindowID","_wxCoord",0},
7340 { "_wxWindowID","_wxPrintQuality",0},
7341 { "_wxWindowID","_time_t",0},
7342 { "_wxWindowID","_size_t",0},
7343 { "_wxWindowID","_EBool",0},
7344 { "_wxWindowID","_uint",0},
7345 { "_wxWindowID","_int",0},
7346 { "_wxWindowID","_signed_int",0},
7347 { "_wxWindowID","_unsigned_int",0},
7348 { "_int","_wxCoord",0},
7349 { "_int","_wxPrintQuality",0},
7350 { "_int","_time_t",0},
7351 { "_int","_size_t",0},
7352 { "_int","_EBool",0},
7353 { "_int","_uint",0},
7354 { "_int","_wxWindowID",0},
7355 { "_int","_unsigned_int",0},
7356 { "_int","_signed_int",0},
7357 { "_time_t","_wxCoord",0},
7358 { "_time_t","_wxPrintQuality",0},
7359 { "_time_t","_unsigned_int",0},
7360 { "_time_t","_int",0},
7361 { "_time_t","_wxWindowID",0},
7362 { "_time_t","_uint",0},
7363 { "_time_t","_size_t",0},
7364 { "_wxCoord","_int",0},
7365 { "_wxCoord","_signed_int",0},
7366 { "_wxCoord","_unsigned_int",0},
7367 { "_wxCoord","_wxWindowID",0},
7368 { "_wxCoord","_uint",0},
7369 { "_wxCoord","_EBool",0},
7370 { "_wxCoord","_size_t",0},
7371 { "_wxCoord","_time_t",0},
7372 { "_wxCoord","_wxPrintQuality",0},
7375 static PyObject
*SWIG_globals
;
7379 SWIGEXPORT(void) initeventsc() {
7381 SWIG_globals
= SWIG_newvarlink();
7382 m
= Py_InitModule("eventsc", eventscMethods
);
7383 d
= PyModule_GetDict(m
);
7386 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7387 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);