2 * FILE : src/msw/events.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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 is required for parameter";
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 void *SwigwxScrollEventTowxCommandEvent(void *ptr
) {
1103 wxCommandEvent
*dest
;
1104 src
= (wxScrollEvent
*) ptr
;
1105 dest
= (wxCommandEvent
*) src
;
1106 return (void *) dest
;
1109 static void *SwigwxScrollEventTowxEvent(void *ptr
) {
1112 src
= (wxScrollEvent
*) ptr
;
1113 dest
= (wxEvent
*) src
;
1114 return (void *) dest
;
1117 static void *SwigwxScrollEventTowxObject(void *ptr
) {
1120 src
= (wxScrollEvent
*) ptr
;
1121 dest
= (wxObject
*) src
;
1122 return (void *) dest
;
1125 #define new_wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxScrollEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1126 static PyObject
*_wrap_new_wxScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
* _resultobj
;
1128 wxScrollEvent
* _result
;
1129 int _arg0
= (int ) 0;
1130 int _arg1
= (int ) 0;
1131 int _arg2
= (int ) 0;
1132 int _arg3
= (int ) 0;
1133 char *_kwnames
[] = { "commandType","id","pos","orientation", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxScrollEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= (wxScrollEvent
*)new_wxScrollEvent(_arg0
,_arg1
,_arg2
,_arg3
);
1143 wxPy_END_ALLOW_THREADS
;
1144 if (PyErr_Occurred()) return NULL
;
1146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollEvent_p");
1147 _resultobj
= Py_BuildValue("s",_ptemp
);
1150 _resultobj
= Py_None
;
1155 #define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1156 static PyObject
*_wrap_wxScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 wxScrollEvent
* _arg0
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetOrientation",_kwnames
,&_argo0
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 _result
= (int )wxScrollEvent_GetOrientation(_arg0
);
1177 wxPy_END_ALLOW_THREADS
;
1178 if (PyErr_Occurred()) return NULL
;
1179 } _resultobj
= Py_BuildValue("i",_result
);
1183 #define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1184 static PyObject
*_wrap_wxScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1187 wxScrollEvent
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollEvent_GetPosition",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollEvent_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= (int )wxScrollEvent_GetPosition(_arg0
);
1205 wxPy_END_ALLOW_THREADS
;
1206 if (PyErr_Occurred()) return NULL
;
1207 } _resultobj
= Py_BuildValue("i",_result
);
1211 static void *SwigwxScrollWinEventTowxEvent(void *ptr
) {
1212 wxScrollWinEvent
*src
;
1214 src
= (wxScrollWinEvent
*) ptr
;
1215 dest
= (wxEvent
*) src
;
1216 return (void *) dest
;
1219 static void *SwigwxScrollWinEventTowxObject(void *ptr
) {
1220 wxScrollWinEvent
*src
;
1222 src
= (wxScrollWinEvent
*) ptr
;
1223 dest
= (wxObject
*) src
;
1224 return (void *) dest
;
1227 #define new_wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2) (new wxScrollWinEvent(_swigarg0,_swigarg1,_swigarg2))
1228 static PyObject
*_wrap_new_wxScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1230 wxScrollWinEvent
* _result
;
1231 int _arg0
= (int ) 0;
1232 int _arg1
= (int ) 0;
1233 int _arg2
= (int ) 0;
1234 char *_kwnames
[] = { "commandType","pos","orientation", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxScrollWinEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1241 wxPy_BEGIN_ALLOW_THREADS
;
1242 _result
= (wxScrollWinEvent
*)new_wxScrollWinEvent(_arg0
,_arg1
,_arg2
);
1244 wxPy_END_ALLOW_THREADS
;
1245 if (PyErr_Occurred()) return NULL
;
1247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollWinEvent_p");
1248 _resultobj
= Py_BuildValue("s",_ptemp
);
1251 _resultobj
= Py_None
;
1256 #define wxScrollWinEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1257 static PyObject
*_wrap_wxScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1260 wxScrollWinEvent
* _arg0
;
1261 PyObject
* _argo0
= 0;
1262 char *_kwnames
[] = { "self", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetOrientation",_kwnames
,&_argo0
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetOrientation. Expected _wxScrollWinEvent_p.");
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 _result
= (int )wxScrollWinEvent_GetOrientation(_arg0
);
1278 wxPy_END_ALLOW_THREADS
;
1279 if (PyErr_Occurred()) return NULL
;
1280 } _resultobj
= Py_BuildValue("i",_result
);
1284 #define wxScrollWinEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
1285 static PyObject
*_wrap_wxScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
* _resultobj
;
1288 wxScrollWinEvent
* _arg0
;
1289 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollWinEvent_GetPosition",_kwnames
,&_argo0
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollWinEvent_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollWinEvent_GetPosition. Expected _wxScrollWinEvent_p.");
1303 wxPy_BEGIN_ALLOW_THREADS
;
1304 _result
= (int )wxScrollWinEvent_GetPosition(_arg0
);
1306 wxPy_END_ALLOW_THREADS
;
1307 if (PyErr_Occurred()) return NULL
;
1308 } _resultobj
= Py_BuildValue("i",_result
);
1312 static void *SwigwxSpinEventTowxScrollEvent(void *ptr
) {
1314 wxScrollEvent
*dest
;
1315 src
= (wxSpinEvent
*) ptr
;
1316 dest
= (wxScrollEvent
*) src
;
1317 return (void *) dest
;
1320 static void *SwigwxSpinEventTowxCommandEvent(void *ptr
) {
1322 wxCommandEvent
*dest
;
1323 src
= (wxSpinEvent
*) ptr
;
1324 dest
= (wxCommandEvent
*) src
;
1325 return (void *) dest
;
1328 static void *SwigwxSpinEventTowxEvent(void *ptr
) {
1331 src
= (wxSpinEvent
*) ptr
;
1332 dest
= (wxEvent
*) src
;
1333 return (void *) dest
;
1336 static void *SwigwxSpinEventTowxObject(void *ptr
) {
1339 src
= (wxSpinEvent
*) ptr
;
1340 dest
= (wxObject
*) src
;
1341 return (void *) dest
;
1344 #define new_wxSpinEvent(_swigarg0,_swigarg1) (new wxSpinEvent(_swigarg0,_swigarg1))
1345 static PyObject
*_wrap_new_wxSpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1347 wxSpinEvent
* _result
;
1348 int _arg0
= (int ) 0;
1349 int _arg1
= (int ) 0;
1350 char *_kwnames
[] = { "commandType","id", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxSpinEvent",_kwnames
,&_arg0
,&_arg1
))
1357 wxPy_BEGIN_ALLOW_THREADS
;
1358 _result
= (wxSpinEvent
*)new_wxSpinEvent(_arg0
,_arg1
);
1360 wxPy_END_ALLOW_THREADS
;
1361 if (PyErr_Occurred()) return NULL
;
1363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinEvent_p");
1364 _resultobj
= Py_BuildValue("s",_ptemp
);
1367 _resultobj
= Py_None
;
1372 static void *SwigwxMouseEventTowxEvent(void *ptr
) {
1375 src
= (wxMouseEvent
*) ptr
;
1376 dest
= (wxEvent
*) src
;
1377 return (void *) dest
;
1380 static void *SwigwxMouseEventTowxObject(void *ptr
) {
1383 src
= (wxMouseEvent
*) ptr
;
1384 dest
= (wxObject
*) src
;
1385 return (void *) dest
;
1388 #define new_wxMouseEvent(_swigarg0) (new wxMouseEvent(_swigarg0))
1389 static PyObject
*_wrap_new_wxMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1391 wxMouseEvent
* _result
;
1392 int _arg0
= (int ) 0;
1393 char *_kwnames
[] = { "mouseEventType", NULL
};
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMouseEvent",_kwnames
,&_arg0
))
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 _result
= (wxMouseEvent
*)new_wxMouseEvent(_arg0
);
1403 wxPy_END_ALLOW_THREADS
;
1404 if (PyErr_Occurred()) return NULL
;
1406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMouseEvent_p");
1407 _resultobj
= Py_BuildValue("s",_ptemp
);
1410 _resultobj
= Py_None
;
1415 #define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
1416 static PyObject
*_wrap_wxMouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1419 wxMouseEvent
* _arg0
;
1420 PyObject
* _argo0
= 0;
1421 char *_kwnames
[] = { "self", NULL
};
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_IsButton",_kwnames
,&_argo0
))
1427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
1434 wxPy_BEGIN_ALLOW_THREADS
;
1435 _result
= (bool )wxMouseEvent_IsButton(_arg0
);
1437 wxPy_END_ALLOW_THREADS
;
1438 if (PyErr_Occurred()) return NULL
;
1439 } _resultobj
= Py_BuildValue("i",_result
);
1443 #define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
1444 static PyObject
*_wrap_wxMouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1447 wxMouseEvent
* _arg0
;
1448 int _arg1
= (int ) -1;
1449 PyObject
* _argo0
= 0;
1450 char *_kwnames
[] = { "self","but", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
1456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
1463 wxPy_BEGIN_ALLOW_THREADS
;
1464 _result
= (bool )wxMouseEvent_ButtonDown(_arg0
,_arg1
);
1466 wxPy_END_ALLOW_THREADS
;
1467 if (PyErr_Occurred()) return NULL
;
1468 } _resultobj
= Py_BuildValue("i",_result
);
1472 #define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
1473 static PyObject
*_wrap_wxMouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1476 wxMouseEvent
* _arg0
;
1477 int _arg1
= (int ) -1;
1478 PyObject
* _argo0
= 0;
1479 char *_kwnames
[] = { "self","but", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonDClick",_kwnames
,&_argo0
,&_arg1
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 _result
= (bool )wxMouseEvent_ButtonDClick(_arg0
,_arg1
);
1495 wxPy_END_ALLOW_THREADS
;
1496 if (PyErr_Occurred()) return NULL
;
1497 } _resultobj
= Py_BuildValue("i",_result
);
1501 #define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
1502 static PyObject
*_wrap_wxMouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
* _resultobj
;
1505 wxMouseEvent
* _arg0
;
1506 int _arg1
= (int ) -1;
1507 PyObject
* _argo0
= 0;
1508 char *_kwnames
[] = { "self","but", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMouseEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
1514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
1521 wxPy_BEGIN_ALLOW_THREADS
;
1522 _result
= (bool )wxMouseEvent_ButtonUp(_arg0
,_arg1
);
1524 wxPy_END_ALLOW_THREADS
;
1525 if (PyErr_Occurred()) return NULL
;
1526 } _resultobj
= Py_BuildValue("i",_result
);
1530 #define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
1531 static PyObject
*_wrap_wxMouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1534 wxMouseEvent
* _arg0
;
1536 PyObject
* _argo0
= 0;
1537 char *_kwnames
[] = { "self","but", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_Button",_kwnames
,&_argo0
,&_arg1
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
1550 wxPy_BEGIN_ALLOW_THREADS
;
1551 _result
= (bool )wxMouseEvent_Button(_arg0
,_arg1
);
1553 wxPy_END_ALLOW_THREADS
;
1554 if (PyErr_Occurred()) return NULL
;
1555 } _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
1560 static PyObject
*_wrap_wxMouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1563 wxMouseEvent
* _arg0
;
1565 PyObject
* _argo0
= 0;
1566 char *_kwnames
[] = { "self","but", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
1579 wxPy_BEGIN_ALLOW_THREADS
;
1580 _result
= (bool )wxMouseEvent_ButtonIsDown(_arg0
,_arg1
);
1582 wxPy_END_ALLOW_THREADS
;
1583 if (PyErr_Occurred()) return NULL
;
1584 } _resultobj
= Py_BuildValue("i",_result
);
1588 #define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
1589 static PyObject
*_wrap_wxMouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1592 wxMouseEvent
* _arg0
;
1593 PyObject
* _argo0
= 0;
1594 char *_kwnames
[] = { "self", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ControlDown",_kwnames
,&_argo0
))
1600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
1607 wxPy_BEGIN_ALLOW_THREADS
;
1608 _result
= (bool )wxMouseEvent_ControlDown(_arg0
);
1610 wxPy_END_ALLOW_THREADS
;
1611 if (PyErr_Occurred()) return NULL
;
1612 } _resultobj
= Py_BuildValue("i",_result
);
1616 #define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
1617 static PyObject
*_wrap_wxMouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
* _resultobj
;
1620 wxMouseEvent
* _arg0
;
1621 PyObject
* _argo0
= 0;
1622 char *_kwnames
[] = { "self", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MetaDown",_kwnames
,&_argo0
))
1628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 _result
= (bool )wxMouseEvent_MetaDown(_arg0
);
1638 wxPy_END_ALLOW_THREADS
;
1639 if (PyErr_Occurred()) return NULL
;
1640 } _resultobj
= Py_BuildValue("i",_result
);
1644 #define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
1645 static PyObject
*_wrap_wxMouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1648 wxMouseEvent
* _arg0
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_AltDown",_kwnames
,&_argo0
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (bool )wxMouseEvent_AltDown(_arg0
);
1666 wxPy_END_ALLOW_THREADS
;
1667 if (PyErr_Occurred()) return NULL
;
1668 } _resultobj
= Py_BuildValue("i",_result
);
1672 #define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
1673 static PyObject
*_wrap_wxMouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1676 wxMouseEvent
* _arg0
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_ShiftDown",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (bool )wxMouseEvent_ShiftDown(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 if (PyErr_Occurred()) return NULL
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
1701 static PyObject
*_wrap_wxMouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1704 wxMouseEvent
* _arg0
;
1705 PyObject
* _argo0
= 0;
1706 char *_kwnames
[] = { "self", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDown",_kwnames
,&_argo0
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 _result
= (bool )wxMouseEvent_LeftDown(_arg0
);
1722 wxPy_END_ALLOW_THREADS
;
1723 if (PyErr_Occurred()) return NULL
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 #define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
1729 static PyObject
*_wrap_wxMouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1732 wxMouseEvent
* _arg0
;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDown",_kwnames
,&_argo0
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
1747 wxPy_BEGIN_ALLOW_THREADS
;
1748 _result
= (bool )wxMouseEvent_MiddleDown(_arg0
);
1750 wxPy_END_ALLOW_THREADS
;
1751 if (PyErr_Occurred()) return NULL
;
1752 } _resultobj
= Py_BuildValue("i",_result
);
1756 #define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
1757 static PyObject
*_wrap_wxMouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1760 wxMouseEvent
* _arg0
;
1761 PyObject
* _argo0
= 0;
1762 char *_kwnames
[] = { "self", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDown",_kwnames
,&_argo0
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
1775 wxPy_BEGIN_ALLOW_THREADS
;
1776 _result
= (bool )wxMouseEvent_RightDown(_arg0
);
1778 wxPy_END_ALLOW_THREADS
;
1779 if (PyErr_Occurred()) return NULL
;
1780 } _resultobj
= Py_BuildValue("i",_result
);
1784 #define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
1785 static PyObject
*_wrap_wxMouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1788 wxMouseEvent
* _arg0
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftUp",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
1803 wxPy_BEGIN_ALLOW_THREADS
;
1804 _result
= (bool )wxMouseEvent_LeftUp(_arg0
);
1806 wxPy_END_ALLOW_THREADS
;
1807 if (PyErr_Occurred()) return NULL
;
1808 } _resultobj
= Py_BuildValue("i",_result
);
1812 #define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
1813 static PyObject
*_wrap_wxMouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1816 wxMouseEvent
* _arg0
;
1817 PyObject
* _argo0
= 0;
1818 char *_kwnames
[] = { "self", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleUp",_kwnames
,&_argo0
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
1831 wxPy_BEGIN_ALLOW_THREADS
;
1832 _result
= (bool )wxMouseEvent_MiddleUp(_arg0
);
1834 wxPy_END_ALLOW_THREADS
;
1835 if (PyErr_Occurred()) return NULL
;
1836 } _resultobj
= Py_BuildValue("i",_result
);
1840 #define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
1841 static PyObject
*_wrap_wxMouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1844 wxMouseEvent
* _arg0
;
1845 PyObject
* _argo0
= 0;
1846 char *_kwnames
[] = { "self", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightUp",_kwnames
,&_argo0
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
1859 wxPy_BEGIN_ALLOW_THREADS
;
1860 _result
= (bool )wxMouseEvent_RightUp(_arg0
);
1862 wxPy_END_ALLOW_THREADS
;
1863 if (PyErr_Occurred()) return NULL
;
1864 } _resultobj
= Py_BuildValue("i",_result
);
1868 #define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
1869 static PyObject
*_wrap_wxMouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1872 wxMouseEvent
* _arg0
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftDClick",_kwnames
,&_argo0
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (bool )wxMouseEvent_LeftDClick(_arg0
);
1890 wxPy_END_ALLOW_THREADS
;
1891 if (PyErr_Occurred()) return NULL
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 #define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
1897 static PyObject
*_wrap_wxMouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1900 wxMouseEvent
* _arg0
;
1901 PyObject
* _argo0
= 0;
1902 char *_kwnames
[] = { "self", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleDClick",_kwnames
,&_argo0
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 _result
= (bool )wxMouseEvent_MiddleDClick(_arg0
);
1918 wxPy_END_ALLOW_THREADS
;
1919 if (PyErr_Occurred()) return NULL
;
1920 } _resultobj
= Py_BuildValue("i",_result
);
1924 #define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
1925 static PyObject
*_wrap_wxMouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
* _resultobj
;
1928 wxMouseEvent
* _arg0
;
1929 PyObject
* _argo0
= 0;
1930 char *_kwnames
[] = { "self", NULL
};
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightDClick",_kwnames
,&_argo0
))
1936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
1943 wxPy_BEGIN_ALLOW_THREADS
;
1944 _result
= (bool )wxMouseEvent_RightDClick(_arg0
);
1946 wxPy_END_ALLOW_THREADS
;
1947 if (PyErr_Occurred()) return NULL
;
1948 } _resultobj
= Py_BuildValue("i",_result
);
1952 #define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
1953 static PyObject
*_wrap_wxMouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1956 wxMouseEvent
* _arg0
;
1957 PyObject
* _argo0
= 0;
1958 char *_kwnames
[] = { "self", NULL
};
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_LeftIsDown",_kwnames
,&_argo0
))
1964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 _result
= (bool )wxMouseEvent_LeftIsDown(_arg0
);
1974 wxPy_END_ALLOW_THREADS
;
1975 if (PyErr_Occurred()) return NULL
;
1976 } _resultobj
= Py_BuildValue("i",_result
);
1980 #define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
1981 static PyObject
*_wrap_wxMouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1984 wxMouseEvent
* _arg0
;
1985 PyObject
* _argo0
= 0;
1986 char *_kwnames
[] = { "self", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_MiddleIsDown",_kwnames
,&_argo0
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
1999 wxPy_BEGIN_ALLOW_THREADS
;
2000 _result
= (bool )wxMouseEvent_MiddleIsDown(_arg0
);
2002 wxPy_END_ALLOW_THREADS
;
2003 if (PyErr_Occurred()) return NULL
;
2004 } _resultobj
= Py_BuildValue("i",_result
);
2008 #define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
2009 static PyObject
*_wrap_wxMouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2012 wxMouseEvent
* _arg0
;
2013 PyObject
* _argo0
= 0;
2014 char *_kwnames
[] = { "self", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_RightIsDown",_kwnames
,&_argo0
))
2020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
2027 wxPy_BEGIN_ALLOW_THREADS
;
2028 _result
= (bool )wxMouseEvent_RightIsDown(_arg0
);
2030 wxPy_END_ALLOW_THREADS
;
2031 if (PyErr_Occurred()) return NULL
;
2032 } _resultobj
= Py_BuildValue("i",_result
);
2036 #define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
2037 static PyObject
*_wrap_wxMouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
* _resultobj
;
2040 wxMouseEvent
* _arg0
;
2041 PyObject
* _argo0
= 0;
2042 char *_kwnames
[] = { "self", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Dragging",_kwnames
,&_argo0
))
2048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
2055 wxPy_BEGIN_ALLOW_THREADS
;
2056 _result
= (bool )wxMouseEvent_Dragging(_arg0
);
2058 wxPy_END_ALLOW_THREADS
;
2059 if (PyErr_Occurred()) return NULL
;
2060 } _resultobj
= Py_BuildValue("i",_result
);
2064 #define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
2065 static PyObject
*_wrap_wxMouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
* _resultobj
;
2068 wxMouseEvent
* _arg0
;
2069 PyObject
* _argo0
= 0;
2070 char *_kwnames
[] = { "self", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Moving",_kwnames
,&_argo0
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
2083 wxPy_BEGIN_ALLOW_THREADS
;
2084 _result
= (bool )wxMouseEvent_Moving(_arg0
);
2086 wxPy_END_ALLOW_THREADS
;
2087 if (PyErr_Occurred()) return NULL
;
2088 } _resultobj
= Py_BuildValue("i",_result
);
2092 #define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
2093 static PyObject
*_wrap_wxMouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2096 wxMouseEvent
* _arg0
;
2097 PyObject
* _argo0
= 0;
2098 char *_kwnames
[] = { "self", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Entering",_kwnames
,&_argo0
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 _result
= (bool )wxMouseEvent_Entering(_arg0
);
2114 wxPy_END_ALLOW_THREADS
;
2115 if (PyErr_Occurred()) return NULL
;
2116 } _resultobj
= Py_BuildValue("i",_result
);
2120 #define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
2121 static PyObject
*_wrap_wxMouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2124 wxMouseEvent
* _arg0
;
2125 PyObject
* _argo0
= 0;
2126 char *_kwnames
[] = { "self", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_Leaving",_kwnames
,&_argo0
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
2139 wxPy_BEGIN_ALLOW_THREADS
;
2140 _result
= (bool )wxMouseEvent_Leaving(_arg0
);
2142 wxPy_END_ALLOW_THREADS
;
2143 if (PyErr_Occurred()) return NULL
;
2144 } _resultobj
= Py_BuildValue("i",_result
);
2148 #define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
2149 static PyObject
*_wrap_wxMouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2152 wxMouseEvent
* _arg0
;
2153 PyObject
* _argo0
= 0;
2154 char *_kwnames
[] = { "self", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPosition",_kwnames
,&_argo0
))
2161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
2168 wxPy_BEGIN_ALLOW_THREADS
;
2169 _result
= new wxPoint (wxMouseEvent_GetPosition(_arg0
));
2171 wxPy_END_ALLOW_THREADS
;
2172 if (PyErr_Occurred()) return NULL
;
2173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2174 _resultobj
= Py_BuildValue("s",_ptemp
);
2178 #define wxMouseEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2179 static PyObject
*_wrap_wxMouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2181 wxMouseEvent
* _arg0
;
2186 PyObject
* _argo0
= 0;
2187 char *_kwnames
[] = { "self", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetPositionTuple",_kwnames
,&_argo0
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetPositionTuple. Expected _wxMouseEvent_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 wxMouseEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2209 wxPy_END_ALLOW_THREADS
;
2210 if (PyErr_Occurred()) return NULL
;
2211 } Py_INCREF(Py_None
);
2212 _resultobj
= Py_None
;
2215 o
= PyInt_FromLong((long) (*_arg1
));
2216 _resultobj
= t_output_helper(_resultobj
, o
);
2220 o
= PyInt_FromLong((long) (*_arg2
));
2221 _resultobj
= t_output_helper(_resultobj
, o
);
2226 #define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
2227 static PyObject
*_wrap_wxMouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2230 wxMouseEvent
* _arg0
;
2232 PyObject
* _argo0
= 0;
2233 PyObject
* _argo1
= 0;
2234 char *_kwnames
[] = { "self","dc", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMouseEvent_GetLogicalPosition",_kwnames
,&_argo0
,&_argo1
))
2241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
2248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
2255 wxPy_BEGIN_ALLOW_THREADS
;
2256 _result
= new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0
,*_arg1
));
2258 wxPy_END_ALLOW_THREADS
;
2259 if (PyErr_Occurred()) return NULL
;
2260 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2261 _resultobj
= Py_BuildValue("s",_ptemp
);
2265 #define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
2266 static PyObject
*_wrap_wxMouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2269 wxMouseEvent
* _arg0
;
2270 PyObject
* _argo0
= 0;
2271 char *_kwnames
[] = { "self", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetX",_kwnames
,&_argo0
))
2277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
2284 wxPy_BEGIN_ALLOW_THREADS
;
2285 _result
= (long )wxMouseEvent_GetX(_arg0
);
2287 wxPy_END_ALLOW_THREADS
;
2288 if (PyErr_Occurred()) return NULL
;
2289 } _resultobj
= Py_BuildValue("l",_result
);
2293 #define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
2294 static PyObject
*_wrap_wxMouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2297 wxMouseEvent
* _arg0
;
2298 PyObject
* _argo0
= 0;
2299 char *_kwnames
[] = { "self", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetY",_kwnames
,&_argo0
))
2305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
2312 wxPy_BEGIN_ALLOW_THREADS
;
2313 _result
= (long )wxMouseEvent_GetY(_arg0
);
2315 wxPy_END_ALLOW_THREADS
;
2316 if (PyErr_Occurred()) return NULL
;
2317 } _resultobj
= Py_BuildValue("l",_result
);
2321 #define wxMouseEvent_GetWheelRotation(_swigobj) (_swigobj->GetWheelRotation())
2322 static PyObject
*_wrap_wxMouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2325 wxMouseEvent
* _arg0
;
2326 PyObject
* _argo0
= 0;
2327 char *_kwnames
[] = { "self", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelRotation",_kwnames
,&_argo0
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelRotation. Expected _wxMouseEvent_p.");
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 _result
= (int )wxMouseEvent_GetWheelRotation(_arg0
);
2343 wxPy_END_ALLOW_THREADS
;
2344 if (PyErr_Occurred()) return NULL
;
2345 } _resultobj
= Py_BuildValue("i",_result
);
2349 #define wxMouseEvent_GetWheelDelta(_swigobj) (_swigobj->GetWheelDelta())
2350 static PyObject
*_wrap_wxMouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2353 wxMouseEvent
* _arg0
;
2354 PyObject
* _argo0
= 0;
2355 char *_kwnames
[] = { "self", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetWheelDelta",_kwnames
,&_argo0
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetWheelDelta. Expected _wxMouseEvent_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 _result
= (int )wxMouseEvent_GetWheelDelta(_arg0
);
2371 wxPy_END_ALLOW_THREADS
;
2372 if (PyErr_Occurred()) return NULL
;
2373 } _resultobj
= Py_BuildValue("i",_result
);
2377 #define wxMouseEvent_GetLinesPerAction(_swigobj) (_swigobj->GetLinesPerAction())
2378 static PyObject
*_wrap_wxMouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2381 wxMouseEvent
* _arg0
;
2382 PyObject
* _argo0
= 0;
2383 char *_kwnames
[] = { "self", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_GetLinesPerAction",_kwnames
,&_argo0
))
2389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_GetLinesPerAction. Expected _wxMouseEvent_p.");
2396 wxPy_BEGIN_ALLOW_THREADS
;
2397 _result
= (int )wxMouseEvent_GetLinesPerAction(_arg0
);
2399 wxPy_END_ALLOW_THREADS
;
2400 if (PyErr_Occurred()) return NULL
;
2401 } _resultobj
= Py_BuildValue("i",_result
);
2405 #define wxMouseEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2406 static PyObject
*_wrap_wxMouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2409 wxMouseEvent
* _arg0
;
2411 PyObject
* _argo0
= 0;
2412 char *_kwnames
[] = { "self","m_x", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_set. Expected _wxMouseEvent_p.");
2425 wxPy_BEGIN_ALLOW_THREADS
;
2426 _result
= (long )wxMouseEvent_m_x_set(_arg0
,_arg1
);
2428 wxPy_END_ALLOW_THREADS
;
2429 if (PyErr_Occurred()) return NULL
;
2430 } _resultobj
= Py_BuildValue("l",_result
);
2434 #define wxMouseEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
2435 static PyObject
*_wrap_wxMouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2438 wxMouseEvent
* _arg0
;
2439 PyObject
* _argo0
= 0;
2440 char *_kwnames
[] = { "self", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_x_get",_kwnames
,&_argo0
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_x_get. Expected _wxMouseEvent_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 _result
= (long )wxMouseEvent_m_x_get(_arg0
);
2456 wxPy_END_ALLOW_THREADS
;
2457 if (PyErr_Occurred()) return NULL
;
2458 } _resultobj
= Py_BuildValue("l",_result
);
2462 #define wxMouseEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2463 static PyObject
*_wrap_wxMouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2466 wxMouseEvent
* _arg0
;
2468 PyObject
* _argo0
= 0;
2469 char *_kwnames
[] = { "self","m_y", NULL
};
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxMouseEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
2475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_set. Expected _wxMouseEvent_p.");
2482 wxPy_BEGIN_ALLOW_THREADS
;
2483 _result
= (long )wxMouseEvent_m_y_set(_arg0
,_arg1
);
2485 wxPy_END_ALLOW_THREADS
;
2486 if (PyErr_Occurred()) return NULL
;
2487 } _resultobj
= Py_BuildValue("l",_result
);
2491 #define wxMouseEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
2492 static PyObject
*_wrap_wxMouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2495 wxMouseEvent
* _arg0
;
2496 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_y_get",_kwnames
,&_argo0
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_y_get. Expected _wxMouseEvent_p.");
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 _result
= (long )wxMouseEvent_m_y_get(_arg0
);
2513 wxPy_END_ALLOW_THREADS
;
2514 if (PyErr_Occurred()) return NULL
;
2515 } _resultobj
= Py_BuildValue("l",_result
);
2519 #define wxMouseEvent_m_leftDown_set(_swigobj,_swigval) (_swigobj->m_leftDown = _swigval,_swigval)
2520 static PyObject
*_wrap_wxMouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2523 wxMouseEvent
* _arg0
;
2525 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self","m_leftDown", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_leftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_set. Expected _wxMouseEvent_p.");
2539 _arg1
= (bool ) tempbool1
;
2541 wxPy_BEGIN_ALLOW_THREADS
;
2542 _result
= (bool )wxMouseEvent_m_leftDown_set(_arg0
,_arg1
);
2544 wxPy_END_ALLOW_THREADS
;
2545 if (PyErr_Occurred()) return NULL
;
2546 } _resultobj
= Py_BuildValue("i",_result
);
2550 #define wxMouseEvent_m_leftDown_get(_swigobj) ((bool ) _swigobj->m_leftDown)
2551 static PyObject
*_wrap_wxMouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2554 wxMouseEvent
* _arg0
;
2555 PyObject
* _argo0
= 0;
2556 char *_kwnames
[] = { "self", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_leftDown_get",_kwnames
,&_argo0
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_leftDown_get. Expected _wxMouseEvent_p.");
2569 wxPy_BEGIN_ALLOW_THREADS
;
2570 _result
= (bool )wxMouseEvent_m_leftDown_get(_arg0
);
2572 wxPy_END_ALLOW_THREADS
;
2573 if (PyErr_Occurred()) return NULL
;
2574 } _resultobj
= Py_BuildValue("i",_result
);
2578 #define wxMouseEvent_m_middleDown_set(_swigobj,_swigval) (_swigobj->m_middleDown = _swigval,_swigval)
2579 static PyObject
*_wrap_wxMouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2582 wxMouseEvent
* _arg0
;
2584 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self","m_middleDown", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_middleDown_set",_kwnames
,&_argo0
,&tempbool1
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_set. Expected _wxMouseEvent_p.");
2598 _arg1
= (bool ) tempbool1
;
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 _result
= (bool )wxMouseEvent_m_middleDown_set(_arg0
,_arg1
);
2603 wxPy_END_ALLOW_THREADS
;
2604 if (PyErr_Occurred()) return NULL
;
2605 } _resultobj
= Py_BuildValue("i",_result
);
2609 #define wxMouseEvent_m_middleDown_get(_swigobj) ((bool ) _swigobj->m_middleDown)
2610 static PyObject
*_wrap_wxMouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
* _resultobj
;
2613 wxMouseEvent
* _arg0
;
2614 PyObject
* _argo0
= 0;
2615 char *_kwnames
[] = { "self", NULL
};
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_middleDown_get",_kwnames
,&_argo0
))
2621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_middleDown_get. Expected _wxMouseEvent_p.");
2628 wxPy_BEGIN_ALLOW_THREADS
;
2629 _result
= (bool )wxMouseEvent_m_middleDown_get(_arg0
);
2631 wxPy_END_ALLOW_THREADS
;
2632 if (PyErr_Occurred()) return NULL
;
2633 } _resultobj
= Py_BuildValue("i",_result
);
2637 #define wxMouseEvent_m_rightDown_set(_swigobj,_swigval) (_swigobj->m_rightDown = _swigval,_swigval)
2638 static PyObject
*_wrap_wxMouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2641 wxMouseEvent
* _arg0
;
2643 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self","m_rightDown", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_rightDown_set",_kwnames
,&_argo0
,&tempbool1
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_set. Expected _wxMouseEvent_p.");
2657 _arg1
= (bool ) tempbool1
;
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 _result
= (bool )wxMouseEvent_m_rightDown_set(_arg0
,_arg1
);
2662 wxPy_END_ALLOW_THREADS
;
2663 if (PyErr_Occurred()) return NULL
;
2664 } _resultobj
= Py_BuildValue("i",_result
);
2668 #define wxMouseEvent_m_rightDown_get(_swigobj) ((bool ) _swigobj->m_rightDown)
2669 static PyObject
*_wrap_wxMouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
* _resultobj
;
2672 wxMouseEvent
* _arg0
;
2673 PyObject
* _argo0
= 0;
2674 char *_kwnames
[] = { "self", NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_rightDown_get",_kwnames
,&_argo0
))
2680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_rightDown_get. Expected _wxMouseEvent_p.");
2687 wxPy_BEGIN_ALLOW_THREADS
;
2688 _result
= (bool )wxMouseEvent_m_rightDown_get(_arg0
);
2690 wxPy_END_ALLOW_THREADS
;
2691 if (PyErr_Occurred()) return NULL
;
2692 } _resultobj
= Py_BuildValue("i",_result
);
2696 #define wxMouseEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
2697 static PyObject
*_wrap_wxMouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
* _resultobj
;
2700 wxMouseEvent
* _arg0
;
2702 PyObject
* _argo0
= 0;
2704 char *_kwnames
[] = { "self","m_controlDown", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_set. Expected _wxMouseEvent_p.");
2716 _arg1
= (bool ) tempbool1
;
2718 wxPy_BEGIN_ALLOW_THREADS
;
2719 _result
= (bool )wxMouseEvent_m_controlDown_set(_arg0
,_arg1
);
2721 wxPy_END_ALLOW_THREADS
;
2722 if (PyErr_Occurred()) return NULL
;
2723 } _resultobj
= Py_BuildValue("i",_result
);
2727 #define wxMouseEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
2728 static PyObject
*_wrap_wxMouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
* _resultobj
;
2731 wxMouseEvent
* _arg0
;
2732 PyObject
* _argo0
= 0;
2733 char *_kwnames
[] = { "self", NULL
};
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_controlDown_get",_kwnames
,&_argo0
))
2739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_controlDown_get. Expected _wxMouseEvent_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (bool )wxMouseEvent_m_controlDown_get(_arg0
);
2749 wxPy_END_ALLOW_THREADS
;
2750 if (PyErr_Occurred()) return NULL
;
2751 } _resultobj
= Py_BuildValue("i",_result
);
2755 #define wxMouseEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
2756 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2759 wxMouseEvent
* _arg0
;
2761 PyObject
* _argo0
= 0;
2763 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
2769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_set. Expected _wxMouseEvent_p.");
2775 _arg1
= (bool ) tempbool1
;
2777 wxPy_BEGIN_ALLOW_THREADS
;
2778 _result
= (bool )wxMouseEvent_m_shiftDown_set(_arg0
,_arg1
);
2780 wxPy_END_ALLOW_THREADS
;
2781 if (PyErr_Occurred()) return NULL
;
2782 } _resultobj
= Py_BuildValue("i",_result
);
2786 #define wxMouseEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
2787 static PyObject
*_wrap_wxMouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2790 wxMouseEvent
* _arg0
;
2791 PyObject
* _argo0
= 0;
2792 char *_kwnames
[] = { "self", NULL
};
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_shiftDown_get",_kwnames
,&_argo0
))
2798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_shiftDown_get. Expected _wxMouseEvent_p.");
2805 wxPy_BEGIN_ALLOW_THREADS
;
2806 _result
= (bool )wxMouseEvent_m_shiftDown_get(_arg0
);
2808 wxPy_END_ALLOW_THREADS
;
2809 if (PyErr_Occurred()) return NULL
;
2810 } _resultobj
= Py_BuildValue("i",_result
);
2814 #define wxMouseEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
2815 static PyObject
*_wrap_wxMouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2818 wxMouseEvent
* _arg0
;
2820 PyObject
* _argo0
= 0;
2822 char *_kwnames
[] = { "self","m_altDown", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_set. Expected _wxMouseEvent_p.");
2834 _arg1
= (bool ) tempbool1
;
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 _result
= (bool )wxMouseEvent_m_altDown_set(_arg0
,_arg1
);
2839 wxPy_END_ALLOW_THREADS
;
2840 if (PyErr_Occurred()) return NULL
;
2841 } _resultobj
= Py_BuildValue("i",_result
);
2845 #define wxMouseEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
2846 static PyObject
*_wrap_wxMouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2849 wxMouseEvent
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_altDown_get",_kwnames
,&_argo0
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_altDown_get. Expected _wxMouseEvent_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 _result
= (bool )wxMouseEvent_m_altDown_get(_arg0
);
2867 wxPy_END_ALLOW_THREADS
;
2868 if (PyErr_Occurred()) return NULL
;
2869 } _resultobj
= Py_BuildValue("i",_result
);
2873 #define wxMouseEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
2874 static PyObject
*_wrap_wxMouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2877 wxMouseEvent
* _arg0
;
2879 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self","m_metaDown", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_set. Expected _wxMouseEvent_p.");
2893 _arg1
= (bool ) tempbool1
;
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 _result
= (bool )wxMouseEvent_m_metaDown_set(_arg0
,_arg1
);
2898 wxPy_END_ALLOW_THREADS
;
2899 if (PyErr_Occurred()) return NULL
;
2900 } _resultobj
= Py_BuildValue("i",_result
);
2904 #define wxMouseEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
2905 static PyObject
*_wrap_wxMouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2908 wxMouseEvent
* _arg0
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_metaDown_get",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_metaDown_get. Expected _wxMouseEvent_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (bool )wxMouseEvent_m_metaDown_get(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 if (PyErr_Occurred()) return NULL
;
2928 } _resultobj
= Py_BuildValue("i",_result
);
2932 #define wxMouseEvent_m_wheelRotation_set(_swigobj,_swigval) (_swigobj->m_wheelRotation = _swigval,_swigval)
2933 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2936 wxMouseEvent
* _arg0
;
2938 PyObject
* _argo0
= 0;
2939 char *_kwnames
[] = { "self","m_wheelRotation", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelRotation_set",_kwnames
,&_argo0
,&_arg1
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_set. Expected _wxMouseEvent_p.");
2952 wxPy_BEGIN_ALLOW_THREADS
;
2953 _result
= (int )wxMouseEvent_m_wheelRotation_set(_arg0
,_arg1
);
2955 wxPy_END_ALLOW_THREADS
;
2956 if (PyErr_Occurred()) return NULL
;
2957 } _resultobj
= Py_BuildValue("i",_result
);
2961 #define wxMouseEvent_m_wheelRotation_get(_swigobj) ((int ) _swigobj->m_wheelRotation)
2962 static PyObject
*_wrap_wxMouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2965 wxMouseEvent
* _arg0
;
2966 PyObject
* _argo0
= 0;
2967 char *_kwnames
[] = { "self", NULL
};
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelRotation_get",_kwnames
,&_argo0
))
2973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelRotation_get. Expected _wxMouseEvent_p.");
2980 wxPy_BEGIN_ALLOW_THREADS
;
2981 _result
= (int )wxMouseEvent_m_wheelRotation_get(_arg0
);
2983 wxPy_END_ALLOW_THREADS
;
2984 if (PyErr_Occurred()) return NULL
;
2985 } _resultobj
= Py_BuildValue("i",_result
);
2989 #define wxMouseEvent_m_wheelDelta_set(_swigobj,_swigval) (_swigobj->m_wheelDelta = _swigval,_swigval)
2990 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2993 wxMouseEvent
* _arg0
;
2995 PyObject
* _argo0
= 0;
2996 char *_kwnames
[] = { "self","m_wheelDelta", NULL
};
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_wheelDelta_set",_kwnames
,&_argo0
,&_arg1
))
3002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_set. Expected _wxMouseEvent_p.");
3009 wxPy_BEGIN_ALLOW_THREADS
;
3010 _result
= (int )wxMouseEvent_m_wheelDelta_set(_arg0
,_arg1
);
3012 wxPy_END_ALLOW_THREADS
;
3013 if (PyErr_Occurred()) return NULL
;
3014 } _resultobj
= Py_BuildValue("i",_result
);
3018 #define wxMouseEvent_m_wheelDelta_get(_swigobj) ((int ) _swigobj->m_wheelDelta)
3019 static PyObject
*_wrap_wxMouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
* _resultobj
;
3022 wxMouseEvent
* _arg0
;
3023 PyObject
* _argo0
= 0;
3024 char *_kwnames
[] = { "self", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_wheelDelta_get",_kwnames
,&_argo0
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_wheelDelta_get. Expected _wxMouseEvent_p.");
3037 wxPy_BEGIN_ALLOW_THREADS
;
3038 _result
= (int )wxMouseEvent_m_wheelDelta_get(_arg0
);
3040 wxPy_END_ALLOW_THREADS
;
3041 if (PyErr_Occurred()) return NULL
;
3042 } _resultobj
= Py_BuildValue("i",_result
);
3046 #define wxMouseEvent_m_linesPerAction_set(_swigobj,_swigval) (_swigobj->m_linesPerAction = _swigval,_swigval)
3047 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3050 wxMouseEvent
* _arg0
;
3052 PyObject
* _argo0
= 0;
3053 char *_kwnames
[] = { "self","m_linesPerAction", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMouseEvent_m_linesPerAction_set",_kwnames
,&_argo0
,&_arg1
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_set. Expected _wxMouseEvent_p.");
3066 wxPy_BEGIN_ALLOW_THREADS
;
3067 _result
= (int )wxMouseEvent_m_linesPerAction_set(_arg0
,_arg1
);
3069 wxPy_END_ALLOW_THREADS
;
3070 if (PyErr_Occurred()) return NULL
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 #define wxMouseEvent_m_linesPerAction_get(_swigobj) ((int ) _swigobj->m_linesPerAction)
3076 static PyObject
*_wrap_wxMouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3079 wxMouseEvent
* _arg0
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMouseEvent_m_linesPerAction_get",_kwnames
,&_argo0
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMouseEvent_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMouseEvent_m_linesPerAction_get. Expected _wxMouseEvent_p.");
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 _result
= (int )wxMouseEvent_m_linesPerAction_get(_arg0
);
3097 wxPy_END_ALLOW_THREADS
;
3098 if (PyErr_Occurred()) return NULL
;
3099 } _resultobj
= Py_BuildValue("i",_result
);
3103 static void *SwigwxKeyEventTowxEvent(void *ptr
) {
3106 src
= (wxKeyEvent
*) ptr
;
3107 dest
= (wxEvent
*) src
;
3108 return (void *) dest
;
3111 static void *SwigwxKeyEventTowxObject(void *ptr
) {
3114 src
= (wxKeyEvent
*) ptr
;
3115 dest
= (wxObject
*) src
;
3116 return (void *) dest
;
3119 #define new_wxKeyEvent(_swigarg0) (new wxKeyEvent(_swigarg0))
3120 static PyObject
*_wrap_new_wxKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
* _resultobj
;
3122 wxKeyEvent
* _result
;
3124 char *_kwnames
[] = { "keyEventType", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxKeyEvent",_kwnames
,&_arg0
))
3131 wxPy_BEGIN_ALLOW_THREADS
;
3132 _result
= (wxKeyEvent
*)new_wxKeyEvent(_arg0
);
3134 wxPy_END_ALLOW_THREADS
;
3135 if (PyErr_Occurred()) return NULL
;
3137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
3138 _resultobj
= Py_BuildValue("s",_ptemp
);
3141 _resultobj
= Py_None
;
3146 #define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3147 static PyObject
*_wrap_wxKeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3151 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ControlDown",_kwnames
,&_argo0
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
3165 wxPy_BEGIN_ALLOW_THREADS
;
3166 _result
= (bool )wxKeyEvent_ControlDown(_arg0
);
3168 wxPy_END_ALLOW_THREADS
;
3169 if (PyErr_Occurred()) return NULL
;
3170 } _resultobj
= Py_BuildValue("i",_result
);
3174 #define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
3175 static PyObject
*_wrap_wxKeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3179 PyObject
* _argo0
= 0;
3180 char *_kwnames
[] = { "self", NULL
};
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_MetaDown",_kwnames
,&_argo0
))
3186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
3193 wxPy_BEGIN_ALLOW_THREADS
;
3194 _result
= (bool )wxKeyEvent_MetaDown(_arg0
);
3196 wxPy_END_ALLOW_THREADS
;
3197 if (PyErr_Occurred()) return NULL
;
3198 } _resultobj
= Py_BuildValue("i",_result
);
3202 #define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
3203 static PyObject
*_wrap_wxKeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3207 PyObject
* _argo0
= 0;
3208 char *_kwnames
[] = { "self", NULL
};
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_AltDown",_kwnames
,&_argo0
))
3214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
3221 wxPy_BEGIN_ALLOW_THREADS
;
3222 _result
= (bool )wxKeyEvent_AltDown(_arg0
);
3224 wxPy_END_ALLOW_THREADS
;
3225 if (PyErr_Occurred()) return NULL
;
3226 } _resultobj
= Py_BuildValue("i",_result
);
3230 #define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3231 static PyObject
*_wrap_wxKeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3235 PyObject
* _argo0
= 0;
3236 char *_kwnames
[] = { "self", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_ShiftDown",_kwnames
,&_argo0
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
3249 wxPy_BEGIN_ALLOW_THREADS
;
3250 _result
= (bool )wxKeyEvent_ShiftDown(_arg0
);
3252 wxPy_END_ALLOW_THREADS
;
3253 if (PyErr_Occurred()) return NULL
;
3254 } _resultobj
= Py_BuildValue("i",_result
);
3258 #define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
3259 static PyObject
*_wrap_wxKeyEvent_KeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
* _resultobj
;
3263 PyObject
* _argo0
= 0;
3264 char *_kwnames
[] = { "self", NULL
};
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_KeyCode",_kwnames
,&_argo0
))
3270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
3277 wxPy_BEGIN_ALLOW_THREADS
;
3278 _result
= (long )wxKeyEvent_KeyCode(_arg0
);
3280 wxPy_END_ALLOW_THREADS
;
3281 if (PyErr_Occurred()) return NULL
;
3282 } _resultobj
= Py_BuildValue("l",_result
);
3286 #define wxKeyEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3287 static PyObject
*_wrap_wxKeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3291 PyObject
* _argo0
= 0;
3292 char *_kwnames
[] = { "self", NULL
};
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetKeyCode",_kwnames
,&_argo0
))
3298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetKeyCode. Expected _wxKeyEvent_p.");
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 _result
= (long )wxKeyEvent_GetKeyCode(_arg0
);
3308 wxPy_END_ALLOW_THREADS
;
3309 if (PyErr_Occurred()) return NULL
;
3310 } _resultobj
= Py_BuildValue("l",_result
);
3314 #define wxKeyEvent_HasModifiers(_swigobj) (_swigobj->HasModifiers())
3315 static PyObject
*_wrap_wxKeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_HasModifiers",_kwnames
,&_argo0
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_HasModifiers. Expected _wxKeyEvent_p.");
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 _result
= (bool )wxKeyEvent_HasModifiers(_arg0
);
3336 wxPy_END_ALLOW_THREADS
;
3337 if (PyErr_Occurred()) return NULL
;
3338 } _resultobj
= Py_BuildValue("i",_result
);
3342 #define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
3343 static PyObject
*_wrap_wxKeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3347 PyObject
* _argo0
= 0;
3348 char *_kwnames
[] = { "self", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetX",_kwnames
,&_argo0
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
3361 wxPy_BEGIN_ALLOW_THREADS
;
3362 _result
= (long )wxKeyEvent_GetX(_arg0
);
3364 wxPy_END_ALLOW_THREADS
;
3365 if (PyErr_Occurred()) return NULL
;
3366 } _resultobj
= Py_BuildValue("l",_result
);
3370 #define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
3371 static PyObject
*_wrap_wxKeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3375 PyObject
* _argo0
= 0;
3376 char *_kwnames
[] = { "self", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetY",_kwnames
,&_argo0
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
3389 wxPy_BEGIN_ALLOW_THREADS
;
3390 _result
= (long )wxKeyEvent_GetY(_arg0
);
3392 wxPy_END_ALLOW_THREADS
;
3393 if (PyErr_Occurred()) return NULL
;
3394 } _resultobj
= Py_BuildValue("l",_result
);
3398 #define wxKeyEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3399 static PyObject
*_wrap_wxKeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
* _resultobj
;
3403 PyObject
* _argo0
= 0;
3404 char *_kwnames
[] = { "self", NULL
};
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPosition",_kwnames
,&_argo0
))
3411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPosition. Expected _wxKeyEvent_p.");
3418 wxPy_BEGIN_ALLOW_THREADS
;
3419 _result
= new wxPoint (wxKeyEvent_GetPosition(_arg0
));
3421 wxPy_END_ALLOW_THREADS
;
3422 if (PyErr_Occurred()) return NULL
;
3423 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3424 _resultobj
= Py_BuildValue("s",_ptemp
);
3428 #define wxKeyEvent_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3429 static PyObject
*_wrap_wxKeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
* _resultobj
;
3436 PyObject
* _argo0
= 0;
3437 char *_kwnames
[] = { "self", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_GetPositionTuple",_kwnames
,&_argo0
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_GetPositionTuple. Expected _wxKeyEvent_p.");
3456 wxPy_BEGIN_ALLOW_THREADS
;
3457 wxKeyEvent_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3459 wxPy_END_ALLOW_THREADS
;
3460 if (PyErr_Occurred()) return NULL
;
3461 } Py_INCREF(Py_None
);
3462 _resultobj
= Py_None
;
3465 o
= PyInt_FromLong((long) (*_arg1
));
3466 _resultobj
= t_output_helper(_resultobj
, o
);
3470 o
= PyInt_FromLong((long) (*_arg2
));
3471 _resultobj
= t_output_helper(_resultobj
, o
);
3476 #define wxKeyEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3477 static PyObject
*_wrap_wxKeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3482 PyObject
* _argo0
= 0;
3483 char *_kwnames
[] = { "self","m_x", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_set. Expected _wxKeyEvent_p.");
3496 wxPy_BEGIN_ALLOW_THREADS
;
3497 _result
= (long )wxKeyEvent_m_x_set(_arg0
,_arg1
);
3499 wxPy_END_ALLOW_THREADS
;
3500 if (PyErr_Occurred()) return NULL
;
3501 } _resultobj
= Py_BuildValue("l",_result
);
3505 #define wxKeyEvent_m_x_get(_swigobj) ((long ) _swigobj->m_x)
3506 static PyObject
*_wrap_wxKeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3510 PyObject
* _argo0
= 0;
3511 char *_kwnames
[] = { "self", NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_x_get",_kwnames
,&_argo0
))
3517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_x_get. Expected _wxKeyEvent_p.");
3524 wxPy_BEGIN_ALLOW_THREADS
;
3525 _result
= (long )wxKeyEvent_m_x_get(_arg0
);
3527 wxPy_END_ALLOW_THREADS
;
3528 if (PyErr_Occurred()) return NULL
;
3529 } _resultobj
= Py_BuildValue("l",_result
);
3533 #define wxKeyEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3534 static PyObject
*_wrap_wxKeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
* _resultobj
;
3539 PyObject
* _argo0
= 0;
3540 char *_kwnames
[] = { "self","m_y", NULL
};
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_set. Expected _wxKeyEvent_p.");
3553 wxPy_BEGIN_ALLOW_THREADS
;
3554 _result
= (long )wxKeyEvent_m_y_set(_arg0
,_arg1
);
3556 wxPy_END_ALLOW_THREADS
;
3557 if (PyErr_Occurred()) return NULL
;
3558 } _resultobj
= Py_BuildValue("l",_result
);
3562 #define wxKeyEvent_m_y_get(_swigobj) ((long ) _swigobj->m_y)
3563 static PyObject
*_wrap_wxKeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
* _resultobj
;
3567 PyObject
* _argo0
= 0;
3568 char *_kwnames
[] = { "self", NULL
};
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_y_get",_kwnames
,&_argo0
))
3574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_y_get. Expected _wxKeyEvent_p.");
3581 wxPy_BEGIN_ALLOW_THREADS
;
3582 _result
= (long )wxKeyEvent_m_y_get(_arg0
);
3584 wxPy_END_ALLOW_THREADS
;
3585 if (PyErr_Occurred()) return NULL
;
3586 } _resultobj
= Py_BuildValue("l",_result
);
3590 #define wxKeyEvent_m_keyCode_set(_swigobj,_swigval) (_swigobj->m_keyCode = _swigval,_swigval)
3591 static PyObject
*_wrap_wxKeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3596 PyObject
* _argo0
= 0;
3597 char *_kwnames
[] = { "self","m_keyCode", NULL
};
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxKeyEvent_m_keyCode_set",_kwnames
,&_argo0
,&_arg1
))
3603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_set. Expected _wxKeyEvent_p.");
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 _result
= (long )wxKeyEvent_m_keyCode_set(_arg0
,_arg1
);
3613 wxPy_END_ALLOW_THREADS
;
3614 if (PyErr_Occurred()) return NULL
;
3615 } _resultobj
= Py_BuildValue("l",_result
);
3619 #define wxKeyEvent_m_keyCode_get(_swigobj) ((long ) _swigobj->m_keyCode)
3620 static PyObject
*_wrap_wxKeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3624 PyObject
* _argo0
= 0;
3625 char *_kwnames
[] = { "self", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_keyCode_get",_kwnames
,&_argo0
))
3631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_keyCode_get. Expected _wxKeyEvent_p.");
3638 wxPy_BEGIN_ALLOW_THREADS
;
3639 _result
= (long )wxKeyEvent_m_keyCode_get(_arg0
);
3641 wxPy_END_ALLOW_THREADS
;
3642 if (PyErr_Occurred()) return NULL
;
3643 } _resultobj
= Py_BuildValue("l",_result
);
3647 #define wxKeyEvent_m_controlDown_set(_swigobj,_swigval) (_swigobj->m_controlDown = _swigval,_swigval)
3648 static PyObject
*_wrap_wxKeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3653 PyObject
* _argo0
= 0;
3655 char *_kwnames
[] = { "self","m_controlDown", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_controlDown_set",_kwnames
,&_argo0
,&tempbool1
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_set. Expected _wxKeyEvent_p.");
3667 _arg1
= (bool ) tempbool1
;
3669 wxPy_BEGIN_ALLOW_THREADS
;
3670 _result
= (bool )wxKeyEvent_m_controlDown_set(_arg0
,_arg1
);
3672 wxPy_END_ALLOW_THREADS
;
3673 if (PyErr_Occurred()) return NULL
;
3674 } _resultobj
= Py_BuildValue("i",_result
);
3678 #define wxKeyEvent_m_controlDown_get(_swigobj) ((bool ) _swigobj->m_controlDown)
3679 static PyObject
*_wrap_wxKeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
* _resultobj
;
3683 PyObject
* _argo0
= 0;
3684 char *_kwnames
[] = { "self", NULL
};
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_controlDown_get",_kwnames
,&_argo0
))
3690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_controlDown_get. Expected _wxKeyEvent_p.");
3697 wxPy_BEGIN_ALLOW_THREADS
;
3698 _result
= (bool )wxKeyEvent_m_controlDown_get(_arg0
);
3700 wxPy_END_ALLOW_THREADS
;
3701 if (PyErr_Occurred()) return NULL
;
3702 } _resultobj
= Py_BuildValue("i",_result
);
3706 #define wxKeyEvent_m_shiftDown_set(_swigobj,_swigval) (_swigobj->m_shiftDown = _swigval,_swigval)
3707 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3712 PyObject
* _argo0
= 0;
3714 char *_kwnames
[] = { "self","m_shiftDown", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_shiftDown_set",_kwnames
,&_argo0
,&tempbool1
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_set. Expected _wxKeyEvent_p.");
3726 _arg1
= (bool ) tempbool1
;
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 _result
= (bool )wxKeyEvent_m_shiftDown_set(_arg0
,_arg1
);
3731 wxPy_END_ALLOW_THREADS
;
3732 if (PyErr_Occurred()) return NULL
;
3733 } _resultobj
= Py_BuildValue("i",_result
);
3737 #define wxKeyEvent_m_shiftDown_get(_swigobj) ((bool ) _swigobj->m_shiftDown)
3738 static PyObject
*_wrap_wxKeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3742 PyObject
* _argo0
= 0;
3743 char *_kwnames
[] = { "self", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_shiftDown_get",_kwnames
,&_argo0
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_shiftDown_get. Expected _wxKeyEvent_p.");
3756 wxPy_BEGIN_ALLOW_THREADS
;
3757 _result
= (bool )wxKeyEvent_m_shiftDown_get(_arg0
);
3759 wxPy_END_ALLOW_THREADS
;
3760 if (PyErr_Occurred()) return NULL
;
3761 } _resultobj
= Py_BuildValue("i",_result
);
3765 #define wxKeyEvent_m_altDown_set(_swigobj,_swigval) (_swigobj->m_altDown = _swigval,_swigval)
3766 static PyObject
*_wrap_wxKeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
* _resultobj
;
3771 PyObject
* _argo0
= 0;
3773 char *_kwnames
[] = { "self","m_altDown", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_altDown_set",_kwnames
,&_argo0
,&tempbool1
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_set. Expected _wxKeyEvent_p.");
3785 _arg1
= (bool ) tempbool1
;
3787 wxPy_BEGIN_ALLOW_THREADS
;
3788 _result
= (bool )wxKeyEvent_m_altDown_set(_arg0
,_arg1
);
3790 wxPy_END_ALLOW_THREADS
;
3791 if (PyErr_Occurred()) return NULL
;
3792 } _resultobj
= Py_BuildValue("i",_result
);
3796 #define wxKeyEvent_m_altDown_get(_swigobj) ((bool ) _swigobj->m_altDown)
3797 static PyObject
*_wrap_wxKeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3801 PyObject
* _argo0
= 0;
3802 char *_kwnames
[] = { "self", NULL
};
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_altDown_get",_kwnames
,&_argo0
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_altDown_get. Expected _wxKeyEvent_p.");
3815 wxPy_BEGIN_ALLOW_THREADS
;
3816 _result
= (bool )wxKeyEvent_m_altDown_get(_arg0
);
3818 wxPy_END_ALLOW_THREADS
;
3819 if (PyErr_Occurred()) return NULL
;
3820 } _resultobj
= Py_BuildValue("i",_result
);
3824 #define wxKeyEvent_m_metaDown_set(_swigobj,_swigval) (_swigobj->m_metaDown = _swigval,_swigval)
3825 static PyObject
*_wrap_wxKeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3830 PyObject
* _argo0
= 0;
3832 char *_kwnames
[] = { "self","m_metaDown", NULL
};
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_metaDown_set",_kwnames
,&_argo0
,&tempbool1
))
3838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_set. Expected _wxKeyEvent_p.");
3844 _arg1
= (bool ) tempbool1
;
3846 wxPy_BEGIN_ALLOW_THREADS
;
3847 _result
= (bool )wxKeyEvent_m_metaDown_set(_arg0
,_arg1
);
3849 wxPy_END_ALLOW_THREADS
;
3850 if (PyErr_Occurred()) return NULL
;
3851 } _resultobj
= Py_BuildValue("i",_result
);
3855 #define wxKeyEvent_m_metaDown_get(_swigobj) ((bool ) _swigobj->m_metaDown)
3856 static PyObject
*_wrap_wxKeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3860 PyObject
* _argo0
= 0;
3861 char *_kwnames
[] = { "self", NULL
};
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_metaDown_get",_kwnames
,&_argo0
))
3867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_metaDown_get. Expected _wxKeyEvent_p.");
3874 wxPy_BEGIN_ALLOW_THREADS
;
3875 _result
= (bool )wxKeyEvent_m_metaDown_get(_arg0
);
3877 wxPy_END_ALLOW_THREADS
;
3878 if (PyErr_Occurred()) return NULL
;
3879 } _resultobj
= Py_BuildValue("i",_result
);
3883 #define wxKeyEvent_m_scanCode_set(_swigobj,_swigval) (_swigobj->m_scanCode = _swigval,_swigval)
3884 static PyObject
*_wrap_wxKeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
* _resultobj
;
3889 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self","m_scanCode", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxKeyEvent_m_scanCode_set",_kwnames
,&_argo0
,&tempbool1
))
3897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_set. Expected _wxKeyEvent_p.");
3903 _arg1
= (bool ) tempbool1
;
3905 wxPy_BEGIN_ALLOW_THREADS
;
3906 _result
= (bool )wxKeyEvent_m_scanCode_set(_arg0
,_arg1
);
3908 wxPy_END_ALLOW_THREADS
;
3909 if (PyErr_Occurred()) return NULL
;
3910 } _resultobj
= Py_BuildValue("i",_result
);
3914 #define wxKeyEvent_m_scanCode_get(_swigobj) ((bool ) _swigobj->m_scanCode)
3915 static PyObject
*_wrap_wxKeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3919 PyObject
* _argo0
= 0;
3920 char *_kwnames
[] = { "self", NULL
};
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxKeyEvent_m_scanCode_get",_kwnames
,&_argo0
))
3926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxKeyEvent_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxKeyEvent_m_scanCode_get. Expected _wxKeyEvent_p.");
3933 wxPy_BEGIN_ALLOW_THREADS
;
3934 _result
= (bool )wxKeyEvent_m_scanCode_get(_arg0
);
3936 wxPy_END_ALLOW_THREADS
;
3937 if (PyErr_Occurred()) return NULL
;
3938 } _resultobj
= Py_BuildValue("i",_result
);
3942 static void *SwigwxNavigationKeyEventTowxEvent(void *ptr
) {
3943 wxNavigationKeyEvent
*src
;
3945 src
= (wxNavigationKeyEvent
*) ptr
;
3946 dest
= (wxEvent
*) src
;
3947 return (void *) dest
;
3950 static void *SwigwxNavigationKeyEventTowxObject(void *ptr
) {
3951 wxNavigationKeyEvent
*src
;
3953 src
= (wxNavigationKeyEvent
*) ptr
;
3954 dest
= (wxObject
*) src
;
3955 return (void *) dest
;
3958 #define new_wxNavigationKeyEvent() (new wxNavigationKeyEvent())
3959 static PyObject
*_wrap_new_wxNavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3961 wxNavigationKeyEvent
* _result
;
3962 char *_kwnames
[] = { NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNavigationKeyEvent",_kwnames
))
3969 wxPy_BEGIN_ALLOW_THREADS
;
3970 _result
= (wxNavigationKeyEvent
*)new_wxNavigationKeyEvent();
3972 wxPy_END_ALLOW_THREADS
;
3973 if (PyErr_Occurred()) return NULL
;
3975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNavigationKeyEvent_p");
3976 _resultobj
= Py_BuildValue("s",_ptemp
);
3979 _resultobj
= Py_None
;
3984 #define wxNavigationKeyEvent_GetDirection(_swigobj) (_swigobj->GetDirection())
3985 static PyObject
*_wrap_wxNavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
* _resultobj
;
3988 wxNavigationKeyEvent
* _arg0
;
3989 PyObject
* _argo0
= 0;
3990 char *_kwnames
[] = { "self", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetDirection",_kwnames
,&_argo0
))
3996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetDirection. Expected _wxNavigationKeyEvent_p.");
4003 wxPy_BEGIN_ALLOW_THREADS
;
4004 _result
= (bool )wxNavigationKeyEvent_GetDirection(_arg0
);
4006 wxPy_END_ALLOW_THREADS
;
4007 if (PyErr_Occurred()) return NULL
;
4008 } _resultobj
= Py_BuildValue("i",_result
);
4012 #define wxNavigationKeyEvent_SetDirection(_swigobj,_swigarg0) (_swigobj->SetDirection(_swigarg0))
4013 static PyObject
*_wrap_wxNavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
* _resultobj
;
4015 wxNavigationKeyEvent
* _arg0
;
4017 PyObject
* _argo0
= 0;
4019 char *_kwnames
[] = { "self","bForward", NULL
};
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetDirection",_kwnames
,&_argo0
,&tempbool1
))
4025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetDirection. Expected _wxNavigationKeyEvent_p.");
4031 _arg1
= (bool ) tempbool1
;
4033 wxPy_BEGIN_ALLOW_THREADS
;
4034 wxNavigationKeyEvent_SetDirection(_arg0
,_arg1
);
4036 wxPy_END_ALLOW_THREADS
;
4037 if (PyErr_Occurred()) return NULL
;
4038 } Py_INCREF(Py_None
);
4039 _resultobj
= Py_None
;
4043 #define wxNavigationKeyEvent_IsWindowChange(_swigobj) (_swigobj->IsWindowChange())
4044 static PyObject
*_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4047 wxNavigationKeyEvent
* _arg0
;
4048 PyObject
* _argo0
= 0;
4049 char *_kwnames
[] = { "self", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_IsWindowChange",_kwnames
,&_argo0
))
4055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_IsWindowChange. Expected _wxNavigationKeyEvent_p.");
4062 wxPy_BEGIN_ALLOW_THREADS
;
4063 _result
= (bool )wxNavigationKeyEvent_IsWindowChange(_arg0
);
4065 wxPy_END_ALLOW_THREADS
;
4066 if (PyErr_Occurred()) return NULL
;
4067 } _resultobj
= Py_BuildValue("i",_result
);
4071 #define wxNavigationKeyEvent_SetWindowChange(_swigobj,_swigarg0) (_swigobj->SetWindowChange(_swigarg0))
4072 static PyObject
*_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4074 wxNavigationKeyEvent
* _arg0
;
4076 PyObject
* _argo0
= 0;
4078 char *_kwnames
[] = { "self","bIs", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNavigationKeyEvent_SetWindowChange",_kwnames
,&_argo0
,&tempbool1
))
4084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetWindowChange. Expected _wxNavigationKeyEvent_p.");
4090 _arg1
= (bool ) tempbool1
;
4092 wxPy_BEGIN_ALLOW_THREADS
;
4093 wxNavigationKeyEvent_SetWindowChange(_arg0
,_arg1
);
4095 wxPy_END_ALLOW_THREADS
;
4096 if (PyErr_Occurred()) return NULL
;
4097 } Py_INCREF(Py_None
);
4098 _resultobj
= Py_None
;
4102 #define wxNavigationKeyEvent_GetCurrentFocus(_swigobj) (_swigobj->GetCurrentFocus())
4103 static PyObject
*_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4106 wxNavigationKeyEvent
* _arg0
;
4107 PyObject
* _argo0
= 0;
4108 char *_kwnames
[] = { "self", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNavigationKeyEvent_GetCurrentFocus",_kwnames
,&_argo0
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_GetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4121 wxPy_BEGIN_ALLOW_THREADS
;
4122 _result
= (wxWindow
*)wxNavigationKeyEvent_GetCurrentFocus(_arg0
);
4124 wxPy_END_ALLOW_THREADS
;
4125 if (PyErr_Occurred()) return NULL
;
4126 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4130 #define wxNavigationKeyEvent_SetCurrentFocus(_swigobj,_swigarg0) (_swigobj->SetCurrentFocus(_swigarg0))
4131 static PyObject
*_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4133 wxNavigationKeyEvent
* _arg0
;
4135 PyObject
* _argo0
= 0;
4136 PyObject
* _argo1
= 0;
4137 char *_kwnames
[] = { "self","win", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNavigationKeyEvent_SetCurrentFocus",_kwnames
,&_argo0
,&_argo1
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNavigationKeyEvent_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxNavigationKeyEvent_p.");
4150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNavigationKeyEvent_SetCurrentFocus. Expected _wxWindow_p.");
4157 wxPy_BEGIN_ALLOW_THREADS
;
4158 wxNavigationKeyEvent_SetCurrentFocus(_arg0
,_arg1
);
4160 wxPy_END_ALLOW_THREADS
;
4161 if (PyErr_Occurred()) return NULL
;
4162 } Py_INCREF(Py_None
);
4163 _resultobj
= Py_None
;
4167 static void *SwigwxMoveEventTowxEvent(void *ptr
) {
4170 src
= (wxMoveEvent
*) ptr
;
4171 dest
= (wxEvent
*) src
;
4172 return (void *) dest
;
4175 static void *SwigwxMoveEventTowxObject(void *ptr
) {
4178 src
= (wxMoveEvent
*) ptr
;
4179 dest
= (wxObject
*) src
;
4180 return (void *) dest
;
4183 #define new_wxMoveEvent(_swigarg0,_swigarg1) (new wxMoveEvent(_swigarg0,_swigarg1))
4184 static PyObject
*_wrap_new_wxMoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4186 wxMoveEvent
* _result
;
4188 int _arg1
= (int ) 0;
4190 PyObject
* _obj0
= 0;
4191 char *_kwnames
[] = { "pt","id", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxMoveEvent",_kwnames
,&_obj0
,&_arg1
))
4199 if (! wxPoint_helper(_obj0
, &_arg0
))
4203 wxPy_BEGIN_ALLOW_THREADS
;
4204 _result
= (wxMoveEvent
*)new_wxMoveEvent(*_arg0
,_arg1
);
4206 wxPy_END_ALLOW_THREADS
;
4207 if (PyErr_Occurred()) return NULL
;
4209 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMoveEvent_p");
4210 _resultobj
= Py_BuildValue("s",_ptemp
);
4213 _resultobj
= Py_None
;
4218 #define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4219 static PyObject
*_wrap_wxMoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4222 wxMoveEvent
* _arg0
;
4223 PyObject
* _argo0
= 0;
4224 char *_kwnames
[] = { "self", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMoveEvent_GetPosition",_kwnames
,&_argo0
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMoveEvent_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
4238 wxPy_BEGIN_ALLOW_THREADS
;
4239 _result
= new wxPoint (wxMoveEvent_GetPosition(_arg0
));
4241 wxPy_END_ALLOW_THREADS
;
4242 if (PyErr_Occurred()) return NULL
;
4243 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4244 _resultobj
= Py_BuildValue("s",_ptemp
);
4248 static void *SwigwxPaintEventTowxEvent(void *ptr
) {
4251 src
= (wxPaintEvent
*) ptr
;
4252 dest
= (wxEvent
*) src
;
4253 return (void *) dest
;
4256 static void *SwigwxPaintEventTowxObject(void *ptr
) {
4259 src
= (wxPaintEvent
*) ptr
;
4260 dest
= (wxObject
*) src
;
4261 return (void *) dest
;
4264 #define new_wxPaintEvent(_swigarg0) (new wxPaintEvent(_swigarg0))
4265 static PyObject
*_wrap_new_wxPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4267 wxPaintEvent
* _result
;
4268 int _arg0
= (int ) 0;
4269 char *_kwnames
[] = { "id", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaintEvent",_kwnames
,&_arg0
))
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (wxPaintEvent
*)new_wxPaintEvent(_arg0
);
4279 wxPy_END_ALLOW_THREADS
;
4280 if (PyErr_Occurred()) return NULL
;
4282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintEvent_p");
4283 _resultobj
= Py_BuildValue("s",_ptemp
);
4286 _resultobj
= Py_None
;
4291 static void *SwigwxEraseEventTowxEvent(void *ptr
) {
4294 src
= (wxEraseEvent
*) ptr
;
4295 dest
= (wxEvent
*) src
;
4296 return (void *) dest
;
4299 static void *SwigwxEraseEventTowxObject(void *ptr
) {
4302 src
= (wxEraseEvent
*) ptr
;
4303 dest
= (wxObject
*) src
;
4304 return (void *) dest
;
4307 #define new_wxEraseEvent(_swigarg0,_swigarg1) (new wxEraseEvent(_swigarg0,_swigarg1))
4308 static PyObject
*_wrap_new_wxEraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
* _resultobj
;
4310 wxEraseEvent
* _result
;
4311 int _arg0
= (int ) 0;
4312 wxDC
* _arg1
= (wxDC
*) NULL
;
4313 PyObject
* _argo1
= 0;
4314 char *_kwnames
[] = { "id","dc", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxEraseEvent",_kwnames
,&_arg0
,&_argo1
))
4321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxEraseEvent. Expected _wxDC_p.");
4328 wxPy_BEGIN_ALLOW_THREADS
;
4329 _result
= (wxEraseEvent
*)new_wxEraseEvent(_arg0
,_arg1
);
4331 wxPy_END_ALLOW_THREADS
;
4332 if (PyErr_Occurred()) return NULL
;
4334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEraseEvent_p");
4335 _resultobj
= Py_BuildValue("s",_ptemp
);
4338 _resultobj
= Py_None
;
4343 #define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
4344 static PyObject
*_wrap_wxEraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4347 wxEraseEvent
* _arg0
;
4348 PyObject
* _argo0
= 0;
4349 char *_kwnames
[] = { "self", NULL
};
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEraseEvent_GetDC",_kwnames
,&_argo0
))
4355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEraseEvent_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
4362 wxPy_BEGIN_ALLOW_THREADS
;
4363 _result
= (wxDC
*)wxEraseEvent_GetDC(_arg0
);
4365 wxPy_END_ALLOW_THREADS
;
4366 if (PyErr_Occurred()) return NULL
;
4367 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4371 static void *SwigwxFocusEventTowxEvent(void *ptr
) {
4374 src
= (wxFocusEvent
*) ptr
;
4375 dest
= (wxEvent
*) src
;
4376 return (void *) dest
;
4379 static void *SwigwxFocusEventTowxObject(void *ptr
) {
4382 src
= (wxFocusEvent
*) ptr
;
4383 dest
= (wxObject
*) src
;
4384 return (void *) dest
;
4387 #define new_wxFocusEvent(_swigarg0,_swigarg1) (new wxFocusEvent(_swigarg0,_swigarg1))
4388 static PyObject
*_wrap_new_wxFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
* _resultobj
;
4390 wxFocusEvent
* _result
;
4391 WXTYPE _arg0
= (WXTYPE
) 0;
4392 int _arg1
= (int ) 0;
4393 char *_kwnames
[] = { "eventType","id", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxFocusEvent",_kwnames
,&_arg0
,&_arg1
))
4400 wxPy_BEGIN_ALLOW_THREADS
;
4401 _result
= (wxFocusEvent
*)new_wxFocusEvent(_arg0
,_arg1
);
4403 wxPy_END_ALLOW_THREADS
;
4404 if (PyErr_Occurred()) return NULL
;
4406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFocusEvent_p");
4407 _resultobj
= Py_BuildValue("s",_ptemp
);
4410 _resultobj
= Py_None
;
4415 static void *SwigwxActivateEventTowxEvent(void *ptr
) {
4416 wxActivateEvent
*src
;
4418 src
= (wxActivateEvent
*) ptr
;
4419 dest
= (wxEvent
*) src
;
4420 return (void *) dest
;
4423 static void *SwigwxActivateEventTowxObject(void *ptr
) {
4424 wxActivateEvent
*src
;
4426 src
= (wxActivateEvent
*) ptr
;
4427 dest
= (wxObject
*) src
;
4428 return (void *) dest
;
4431 #define new_wxActivateEvent(_swigarg0,_swigarg1,_swigarg2) (new wxActivateEvent(_swigarg0,_swigarg1,_swigarg2))
4432 static PyObject
*_wrap_new_wxActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4434 wxActivateEvent
* _result
;
4435 WXTYPE _arg0
= (WXTYPE
) 0;
4436 int _arg1
= (int ) TRUE
;
4437 int _arg2
= (int ) 0;
4438 char *_kwnames
[] = { "eventType","active","id", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hii:new_wxActivateEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4445 wxPy_BEGIN_ALLOW_THREADS
;
4446 _result
= (wxActivateEvent
*)new_wxActivateEvent(_arg0
,_arg1
,_arg2
);
4448 wxPy_END_ALLOW_THREADS
;
4449 if (PyErr_Occurred()) return NULL
;
4451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxActivateEvent_p");
4452 _resultobj
= Py_BuildValue("s",_ptemp
);
4455 _resultobj
= Py_None
;
4460 #define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
4461 static PyObject
*_wrap_wxActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4464 wxActivateEvent
* _arg0
;
4465 PyObject
* _argo0
= 0;
4466 char *_kwnames
[] = { "self", NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxActivateEvent_GetActive",_kwnames
,&_argo0
))
4472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxActivateEvent_p")) {
4474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
4479 wxPy_BEGIN_ALLOW_THREADS
;
4480 _result
= (bool )wxActivateEvent_GetActive(_arg0
);
4482 wxPy_END_ALLOW_THREADS
;
4483 if (PyErr_Occurred()) return NULL
;
4484 } _resultobj
= Py_BuildValue("i",_result
);
4488 static void *SwigwxInitDialogEventTowxEvent(void *ptr
) {
4489 wxInitDialogEvent
*src
;
4491 src
= (wxInitDialogEvent
*) ptr
;
4492 dest
= (wxEvent
*) src
;
4493 return (void *) dest
;
4496 static void *SwigwxInitDialogEventTowxObject(void *ptr
) {
4497 wxInitDialogEvent
*src
;
4499 src
= (wxInitDialogEvent
*) ptr
;
4500 dest
= (wxObject
*) src
;
4501 return (void *) dest
;
4504 #define new_wxInitDialogEvent(_swigarg0) (new wxInitDialogEvent(_swigarg0))
4505 static PyObject
*_wrap_new_wxInitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
* _resultobj
;
4507 wxInitDialogEvent
* _result
;
4508 int _arg0
= (int ) 0;
4509 char *_kwnames
[] = { "id", NULL
};
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxInitDialogEvent",_kwnames
,&_arg0
))
4516 wxPy_BEGIN_ALLOW_THREADS
;
4517 _result
= (wxInitDialogEvent
*)new_wxInitDialogEvent(_arg0
);
4519 wxPy_END_ALLOW_THREADS
;
4520 if (PyErr_Occurred()) return NULL
;
4522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxInitDialogEvent_p");
4523 _resultobj
= Py_BuildValue("s",_ptemp
);
4526 _resultobj
= Py_None
;
4531 static void *SwigwxMenuEventTowxEvent(void *ptr
) {
4534 src
= (wxMenuEvent
*) ptr
;
4535 dest
= (wxEvent
*) src
;
4536 return (void *) dest
;
4539 static void *SwigwxMenuEventTowxObject(void *ptr
) {
4542 src
= (wxMenuEvent
*) ptr
;
4543 dest
= (wxObject
*) src
;
4544 return (void *) dest
;
4547 #define new_wxMenuEvent(_swigarg0,_swigarg1) (new wxMenuEvent(_swigarg0,_swigarg1))
4548 static PyObject
*_wrap_new_wxMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
* _resultobj
;
4550 wxMenuEvent
* _result
;
4551 WXTYPE _arg0
= (WXTYPE
) 0;
4552 int _arg1
= (int ) 0;
4553 char *_kwnames
[] = { "id","id", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|hi:new_wxMenuEvent",_kwnames
,&_arg0
,&_arg1
))
4560 wxPy_BEGIN_ALLOW_THREADS
;
4561 _result
= (wxMenuEvent
*)new_wxMenuEvent(_arg0
,_arg1
);
4563 wxPy_END_ALLOW_THREADS
;
4564 if (PyErr_Occurred()) return NULL
;
4566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuEvent_p");
4567 _resultobj
= Py_BuildValue("s",_ptemp
);
4570 _resultobj
= Py_None
;
4575 #define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
4576 static PyObject
*_wrap_wxMenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
* _resultobj
;
4579 wxMenuEvent
* _arg0
;
4580 PyObject
* _argo0
= 0;
4581 char *_kwnames
[] = { "self", NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuEvent_GetMenuId",_kwnames
,&_argo0
))
4587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuEvent_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
4594 wxPy_BEGIN_ALLOW_THREADS
;
4595 _result
= (int )wxMenuEvent_GetMenuId(_arg0
);
4597 wxPy_END_ALLOW_THREADS
;
4598 if (PyErr_Occurred()) return NULL
;
4599 } _resultobj
= Py_BuildValue("i",_result
);
4603 static void *SwigwxShowEventTowxEvent(void *ptr
) {
4606 src
= (wxShowEvent
*) ptr
;
4607 dest
= (wxEvent
*) src
;
4608 return (void *) dest
;
4611 static void *SwigwxShowEventTowxObject(void *ptr
) {
4614 src
= (wxShowEvent
*) ptr
;
4615 dest
= (wxObject
*) src
;
4616 return (void *) dest
;
4619 #define new_wxShowEvent(_swigarg0,_swigarg1) (new wxShowEvent(_swigarg0,_swigarg1))
4620 static PyObject
*_wrap_new_wxShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4622 wxShowEvent
* _result
;
4623 int _arg0
= (int ) 0;
4624 int _arg1
= (int ) FALSE
;
4625 char *_kwnames
[] = { "id","show", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxShowEvent",_kwnames
,&_arg0
,&_arg1
))
4632 wxPy_BEGIN_ALLOW_THREADS
;
4633 _result
= (wxShowEvent
*)new_wxShowEvent(_arg0
,_arg1
);
4635 wxPy_END_ALLOW_THREADS
;
4636 if (PyErr_Occurred()) return NULL
;
4638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShowEvent_p");
4639 _resultobj
= Py_BuildValue("s",_ptemp
);
4642 _resultobj
= Py_None
;
4647 #define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
4648 static PyObject
*_wrap_wxShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4650 wxShowEvent
* _arg0
;
4652 PyObject
* _argo0
= 0;
4654 char *_kwnames
[] = { "self","show", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShowEvent_SetShow",_kwnames
,&_argo0
,&tempbool1
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
4666 _arg1
= (bool ) tempbool1
;
4668 wxPy_BEGIN_ALLOW_THREADS
;
4669 wxShowEvent_SetShow(_arg0
,_arg1
);
4671 wxPy_END_ALLOW_THREADS
;
4672 if (PyErr_Occurred()) return NULL
;
4673 } Py_INCREF(Py_None
);
4674 _resultobj
= Py_None
;
4678 #define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
4679 static PyObject
*_wrap_wxShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4682 wxShowEvent
* _arg0
;
4683 PyObject
* _argo0
= 0;
4684 char *_kwnames
[] = { "self", NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShowEvent_GetShow",_kwnames
,&_argo0
))
4690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShowEvent_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
4697 wxPy_BEGIN_ALLOW_THREADS
;
4698 _result
= (bool )wxShowEvent_GetShow(_arg0
);
4700 wxPy_END_ALLOW_THREADS
;
4701 if (PyErr_Occurred()) return NULL
;
4702 } _resultobj
= Py_BuildValue("i",_result
);
4706 static void *SwigwxIconizeEventTowxEvent(void *ptr
) {
4707 wxIconizeEvent
*src
;
4709 src
= (wxIconizeEvent
*) ptr
;
4710 dest
= (wxEvent
*) src
;
4711 return (void *) dest
;
4714 static void *SwigwxIconizeEventTowxObject(void *ptr
) {
4715 wxIconizeEvent
*src
;
4717 src
= (wxIconizeEvent
*) ptr
;
4718 dest
= (wxObject
*) src
;
4719 return (void *) dest
;
4722 #define new_wxIconizeEvent(_swigarg0,_swigarg1) (new wxIconizeEvent(_swigarg0,_swigarg1))
4723 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4725 wxIconizeEvent
* _result
;
4726 int _arg0
= (int ) 0;
4727 bool _arg1
= (bool ) TRUE
;
4728 int tempbool1
= (int) TRUE
;
4729 char *_kwnames
[] = { "id","iconized", NULL
};
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxIconizeEvent",_kwnames
,&_arg0
,&tempbool1
))
4735 _arg1
= (bool ) tempbool1
;
4737 wxPy_BEGIN_ALLOW_THREADS
;
4738 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
,_arg1
);
4740 wxPy_END_ALLOW_THREADS
;
4741 if (PyErr_Occurred()) return NULL
;
4743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
4744 _resultobj
= Py_BuildValue("s",_ptemp
);
4747 _resultobj
= Py_None
;
4752 #define wxIconizeEvent_Iconized(_swigobj) (_swigobj->Iconized())
4753 static PyObject
*_wrap_wxIconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4756 wxIconizeEvent
* _arg0
;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconizeEvent_Iconized",_kwnames
,&_argo0
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconizeEvent_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconizeEvent_Iconized. Expected _wxIconizeEvent_p.");
4771 wxPy_BEGIN_ALLOW_THREADS
;
4772 _result
= (bool )wxIconizeEvent_Iconized(_arg0
);
4774 wxPy_END_ALLOW_THREADS
;
4775 if (PyErr_Occurred()) return NULL
;
4776 } _resultobj
= Py_BuildValue("i",_result
);
4780 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
4781 wxMaximizeEvent
*src
;
4783 src
= (wxMaximizeEvent
*) ptr
;
4784 dest
= (wxEvent
*) src
;
4785 return (void *) dest
;
4788 static void *SwigwxMaximizeEventTowxObject(void *ptr
) {
4789 wxMaximizeEvent
*src
;
4791 src
= (wxMaximizeEvent
*) ptr
;
4792 dest
= (wxObject
*) src
;
4793 return (void *) dest
;
4796 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4797 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4799 wxMaximizeEvent
* _result
;
4800 int _arg0
= (int ) 0;
4801 char *_kwnames
[] = { "id", NULL
};
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
4808 wxPy_BEGIN_ALLOW_THREADS
;
4809 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
4811 wxPy_END_ALLOW_THREADS
;
4812 if (PyErr_Occurred()) return NULL
;
4814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
4815 _resultobj
= Py_BuildValue("s",_ptemp
);
4818 _resultobj
= Py_None
;
4823 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
4824 wxJoystickEvent
*src
;
4826 src
= (wxJoystickEvent
*) ptr
;
4827 dest
= (wxEvent
*) src
;
4828 return (void *) dest
;
4831 static void *SwigwxJoystickEventTowxObject(void *ptr
) {
4832 wxJoystickEvent
*src
;
4834 src
= (wxJoystickEvent
*) ptr
;
4835 dest
= (wxObject
*) src
;
4836 return (void *) dest
;
4839 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4840 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4842 wxJoystickEvent
* _result
;
4843 int _arg0
= (int ) wxEVT_NULL
;
4844 int _arg1
= (int ) 0;
4845 int _arg2
= (int ) wxJOYSTICK1
;
4846 int _arg3
= (int ) 0;
4847 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
4854 wxPy_BEGIN_ALLOW_THREADS
;
4855 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
4857 wxPy_END_ALLOW_THREADS
;
4858 if (PyErr_Occurred()) return NULL
;
4860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
4861 _resultobj
= Py_BuildValue("s",_ptemp
);
4864 _resultobj
= Py_None
;
4869 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4870 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4873 wxJoystickEvent
* _arg0
;
4874 PyObject
* _argo0
= 0;
4875 char *_kwnames
[] = { "self", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
4882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4889 wxPy_BEGIN_ALLOW_THREADS
;
4890 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
4892 wxPy_END_ALLOW_THREADS
;
4893 if (PyErr_Occurred()) return NULL
;
4894 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4895 _resultobj
= Py_BuildValue("s",_ptemp
);
4899 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4900 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4903 wxJoystickEvent
* _arg0
;
4904 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4918 wxPy_BEGIN_ALLOW_THREADS
;
4919 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
4921 wxPy_END_ALLOW_THREADS
;
4922 if (PyErr_Occurred()) return NULL
;
4923 } _resultobj
= Py_BuildValue("i",_result
);
4927 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
4928 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4931 wxJoystickEvent
* _arg0
;
4932 PyObject
* _argo0
= 0;
4933 char *_kwnames
[] = { "self", NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
4946 wxPy_BEGIN_ALLOW_THREADS
;
4947 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
4949 wxPy_END_ALLOW_THREADS
;
4950 if (PyErr_Occurred()) return NULL
;
4951 } _resultobj
= Py_BuildValue("i",_result
);
4955 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
4956 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4959 wxJoystickEvent
* _arg0
;
4960 PyObject
* _argo0
= 0;
4961 char *_kwnames
[] = { "self", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
4974 wxPy_BEGIN_ALLOW_THREADS
;
4975 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
4977 wxPy_END_ALLOW_THREADS
;
4978 if (PyErr_Occurred()) return NULL
;
4979 } _resultobj
= Py_BuildValue("i",_result
);
4983 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
4984 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
* _resultobj
;
4987 wxJoystickEvent
* _arg0
;
4988 PyObject
* _argo0
= 0;
4989 char *_kwnames
[] = { "self", NULL
};
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
4995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
5002 wxPy_BEGIN_ALLOW_THREADS
;
5003 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
5005 wxPy_END_ALLOW_THREADS
;
5006 if (PyErr_Occurred()) return NULL
;
5007 } _resultobj
= Py_BuildValue("i",_result
);
5011 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
5012 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
* _resultobj
;
5014 wxJoystickEvent
* _arg0
;
5016 PyObject
* _argo0
= 0;
5017 char *_kwnames
[] = { "self","stick", NULL
};
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
5023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
5030 wxPy_BEGIN_ALLOW_THREADS
;
5031 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
5033 wxPy_END_ALLOW_THREADS
;
5034 if (PyErr_Occurred()) return NULL
;
5035 } Py_INCREF(Py_None
);
5036 _resultobj
= Py_None
;
5040 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
5041 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
* _resultobj
;
5043 wxJoystickEvent
* _arg0
;
5045 PyObject
* _argo0
= 0;
5046 char *_kwnames
[] = { "self","state", NULL
};
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
5052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
5059 wxPy_BEGIN_ALLOW_THREADS
;
5060 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
5062 wxPy_END_ALLOW_THREADS
;
5063 if (PyErr_Occurred()) return NULL
;
5064 } Py_INCREF(Py_None
);
5065 _resultobj
= Py_None
;
5069 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
5070 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
* _resultobj
;
5072 wxJoystickEvent
* _arg0
;
5074 PyObject
* _argo0
= 0;
5075 char *_kwnames
[] = { "self","change", NULL
};
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
5081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
5088 wxPy_BEGIN_ALLOW_THREADS
;
5089 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
5091 wxPy_END_ALLOW_THREADS
;
5092 if (PyErr_Occurred()) return NULL
;
5093 } Py_INCREF(Py_None
);
5094 _resultobj
= Py_None
;
5098 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
5099 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
* _resultobj
;
5101 wxJoystickEvent
* _arg0
;
5103 PyObject
* _argo0
= 0;
5105 PyObject
* _obj1
= 0;
5106 char *_kwnames
[] = { "self","pos", NULL
};
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
5112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
5120 if (! wxPoint_helper(_obj1
, &_arg1
))
5124 wxPy_BEGIN_ALLOW_THREADS
;
5125 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
5127 wxPy_END_ALLOW_THREADS
;
5128 if (PyErr_Occurred()) return NULL
;
5129 } Py_INCREF(Py_None
);
5130 _resultobj
= Py_None
;
5134 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
5135 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
* _resultobj
;
5137 wxJoystickEvent
* _arg0
;
5139 PyObject
* _argo0
= 0;
5140 char *_kwnames
[] = { "self","zPos", NULL
};
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
5146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
5153 wxPy_BEGIN_ALLOW_THREADS
;
5154 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
5156 wxPy_END_ALLOW_THREADS
;
5157 if (PyErr_Occurred()) return NULL
;
5158 } Py_INCREF(Py_None
);
5159 _resultobj
= Py_None
;
5163 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
5164 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5167 wxJoystickEvent
* _arg0
;
5168 PyObject
* _argo0
= 0;
5169 char *_kwnames
[] = { "self", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
5182 wxPy_BEGIN_ALLOW_THREADS
;
5183 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
5185 wxPy_END_ALLOW_THREADS
;
5186 if (PyErr_Occurred()) return NULL
;
5187 } _resultobj
= Py_BuildValue("i",_result
);
5191 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
5192 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
* _resultobj
;
5195 wxJoystickEvent
* _arg0
;
5196 PyObject
* _argo0
= 0;
5197 char *_kwnames
[] = { "self", NULL
};
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
5203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
5210 wxPy_BEGIN_ALLOW_THREADS
;
5211 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
5213 wxPy_END_ALLOW_THREADS
;
5214 if (PyErr_Occurred()) return NULL
;
5215 } _resultobj
= Py_BuildValue("i",_result
);
5219 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
5220 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
* _resultobj
;
5223 wxJoystickEvent
* _arg0
;
5224 PyObject
* _argo0
= 0;
5225 char *_kwnames
[] = { "self", NULL
};
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
5231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
5238 wxPy_BEGIN_ALLOW_THREADS
;
5239 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
5241 wxPy_END_ALLOW_THREADS
;
5242 if (PyErr_Occurred()) return NULL
;
5243 } _resultobj
= Py_BuildValue("i",_result
);
5247 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
5248 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
* _resultobj
;
5251 wxJoystickEvent
* _arg0
;
5252 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5253 PyObject
* _argo0
= 0;
5254 char *_kwnames
[] = { "self","but", NULL
};
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
5260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
5267 wxPy_BEGIN_ALLOW_THREADS
;
5268 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
5270 wxPy_END_ALLOW_THREADS
;
5271 if (PyErr_Occurred()) return NULL
;
5272 } _resultobj
= Py_BuildValue("i",_result
);
5276 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
5277 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5280 wxJoystickEvent
* _arg0
;
5281 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5282 PyObject
* _argo0
= 0;
5283 char *_kwnames
[] = { "self","but", NULL
};
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
5289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
5296 wxPy_BEGIN_ALLOW_THREADS
;
5297 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
5299 wxPy_END_ALLOW_THREADS
;
5300 if (PyErr_Occurred()) return NULL
;
5301 } _resultobj
= Py_BuildValue("i",_result
);
5305 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
5306 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
* _resultobj
;
5309 wxJoystickEvent
* _arg0
;
5310 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5311 PyObject
* _argo0
= 0;
5312 char *_kwnames
[] = { "self","but", NULL
};
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
5318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
5325 wxPy_BEGIN_ALLOW_THREADS
;
5326 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
5328 wxPy_END_ALLOW_THREADS
;
5329 if (PyErr_Occurred()) return NULL
;
5330 } _resultobj
= Py_BuildValue("i",_result
);
5334 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
5335 wxDropFilesEvent
*src
;
5337 src
= (wxDropFilesEvent
*) ptr
;
5338 dest
= (wxEvent
*) src
;
5339 return (void *) dest
;
5342 static void *SwigwxDropFilesEventTowxObject(void *ptr
) {
5343 wxDropFilesEvent
*src
;
5345 src
= (wxDropFilesEvent
*) ptr
;
5346 dest
= (wxObject
*) src
;
5347 return (void *) dest
;
5350 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
5351 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5354 wxDropFilesEvent
* _arg0
;
5355 PyObject
* _argo0
= 0;
5356 char *_kwnames
[] = { "self", NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
5363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
5370 wxPy_BEGIN_ALLOW_THREADS
;
5371 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
5373 wxPy_END_ALLOW_THREADS
;
5374 if (PyErr_Occurred()) return NULL
;
5375 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5376 _resultobj
= Py_BuildValue("s",_ptemp
);
5380 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
5381 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
* _resultobj
;
5384 wxDropFilesEvent
* _arg0
;
5385 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
5399 wxPy_BEGIN_ALLOW_THREADS
;
5400 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
5402 wxPy_END_ALLOW_THREADS
;
5403 if (PyErr_Occurred()) return NULL
;
5404 } _resultobj
= Py_BuildValue("i",_result
);
5408 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
5409 int count
= self
->GetNumberOfFiles();
5410 wxString
* files
= self
->GetFiles();
5411 PyObject
* list
= PyList_New(count
);
5414 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
5418 for (int i
=0; i
<count
; i
++) {
5419 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
5423 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5426 wxDropFilesEvent
* _arg0
;
5427 PyObject
* _argo0
= 0;
5428 char *_kwnames
[] = { "self", NULL
};
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
5434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
5441 wxPy_BEGIN_ALLOW_THREADS
;
5442 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
5444 wxPy_END_ALLOW_THREADS
;
5445 if (PyErr_Occurred()) return NULL
;
5447 _resultobj
= _result
;
5452 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
5455 src
= (wxIdleEvent
*) ptr
;
5456 dest
= (wxEvent
*) src
;
5457 return (void *) dest
;
5460 static void *SwigwxIdleEventTowxObject(void *ptr
) {
5463 src
= (wxIdleEvent
*) ptr
;
5464 dest
= (wxObject
*) src
;
5465 return (void *) dest
;
5468 #define new_wxIdleEvent() (new wxIdleEvent())
5469 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
* _resultobj
;
5471 wxIdleEvent
* _result
;
5472 char *_kwnames
[] = { NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 _result
= (wxIdleEvent
*)new_wxIdleEvent();
5482 wxPy_END_ALLOW_THREADS
;
5483 if (PyErr_Occurred()) return NULL
;
5485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
5486 _resultobj
= Py_BuildValue("s",_ptemp
);
5489 _resultobj
= Py_None
;
5494 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
5495 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5497 wxIdleEvent
* _arg0
;
5498 bool _arg1
= (bool ) TRUE
;
5499 PyObject
* _argo0
= 0;
5500 int tempbool1
= (int) TRUE
;
5501 char *_kwnames
[] = { "self","needMore", NULL
};
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
5507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
5513 _arg1
= (bool ) tempbool1
;
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 wxIdleEvent_RequestMore(_arg0
,_arg1
);
5518 wxPy_END_ALLOW_THREADS
;
5519 if (PyErr_Occurred()) return NULL
;
5520 } Py_INCREF(Py_None
);
5521 _resultobj
= Py_None
;
5525 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
5526 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5529 wxIdleEvent
* _arg0
;
5530 PyObject
* _argo0
= 0;
5531 char *_kwnames
[] = { "self", NULL
};
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
5537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
5544 wxPy_BEGIN_ALLOW_THREADS
;
5545 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
5547 wxPy_END_ALLOW_THREADS
;
5548 if (PyErr_Occurred()) return NULL
;
5549 } _resultobj
= Py_BuildValue("i",_result
);
5553 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
5554 wxUpdateUIEvent
*src
;
5556 src
= (wxUpdateUIEvent
*) ptr
;
5557 dest
= (wxEvent
*) src
;
5558 return (void *) dest
;
5561 static void *SwigwxUpdateUIEventTowxObject(void *ptr
) {
5562 wxUpdateUIEvent
*src
;
5564 src
= (wxUpdateUIEvent
*) ptr
;
5565 dest
= (wxObject
*) src
;
5566 return (void *) dest
;
5569 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
5570 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5572 wxUpdateUIEvent
* _result
;
5573 wxWindowID _arg0
= (wxWindowID
) 0;
5574 char *_kwnames
[] = { "commandId", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
5581 wxPy_BEGIN_ALLOW_THREADS
;
5582 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
5584 wxPy_END_ALLOW_THREADS
;
5585 if (PyErr_Occurred()) return NULL
;
5587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
5588 _resultobj
= Py_BuildValue("s",_ptemp
);
5591 _resultobj
= Py_None
;
5596 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
5597 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
* _resultobj
;
5600 wxUpdateUIEvent
* _arg0
;
5601 PyObject
* _argo0
= 0;
5602 char *_kwnames
[] = { "self", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
5608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
5615 wxPy_BEGIN_ALLOW_THREADS
;
5616 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
5618 wxPy_END_ALLOW_THREADS
;
5619 if (PyErr_Occurred()) return NULL
;
5620 } _resultobj
= Py_BuildValue("i",_result
);
5624 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5625 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
* _resultobj
;
5628 wxUpdateUIEvent
* _arg0
;
5629 PyObject
* _argo0
= 0;
5630 char *_kwnames
[] = { "self", NULL
};
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
5636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
5643 wxPy_BEGIN_ALLOW_THREADS
;
5644 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
5646 wxPy_END_ALLOW_THREADS
;
5647 if (PyErr_Occurred()) return NULL
;
5648 } _resultobj
= Py_BuildValue("i",_result
);
5652 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5653 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
* _resultobj
;
5656 wxUpdateUIEvent
* _arg0
;
5657 PyObject
* _argo0
= 0;
5658 char *_kwnames
[] = { "self", NULL
};
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
5664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
5671 wxPy_BEGIN_ALLOW_THREADS
;
5672 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
5674 wxPy_END_ALLOW_THREADS
;
5675 if (PyErr_Occurred()) return NULL
;
5677 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5685 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5686 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
* _resultobj
;
5689 wxUpdateUIEvent
* _arg0
;
5690 PyObject
* _argo0
= 0;
5691 char *_kwnames
[] = { "self", NULL
};
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
5697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
5704 wxPy_BEGIN_ALLOW_THREADS
;
5705 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
5707 wxPy_END_ALLOW_THREADS
;
5708 if (PyErr_Occurred()) return NULL
;
5709 } _resultobj
= Py_BuildValue("i",_result
);
5713 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5714 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
* _resultobj
;
5717 wxUpdateUIEvent
* _arg0
;
5718 PyObject
* _argo0
= 0;
5719 char *_kwnames
[] = { "self", NULL
};
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
5725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
5732 wxPy_BEGIN_ALLOW_THREADS
;
5733 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
5735 wxPy_END_ALLOW_THREADS
;
5736 if (PyErr_Occurred()) return NULL
;
5737 } _resultobj
= Py_BuildValue("i",_result
);
5741 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5742 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
* _resultobj
;
5745 wxUpdateUIEvent
* _arg0
;
5746 PyObject
* _argo0
= 0;
5747 char *_kwnames
[] = { "self", NULL
};
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
5753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
5760 wxPy_BEGIN_ALLOW_THREADS
;
5761 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
5763 wxPy_END_ALLOW_THREADS
;
5764 if (PyErr_Occurred()) return NULL
;
5765 } _resultobj
= Py_BuildValue("i",_result
);
5769 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5770 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
* _resultobj
;
5772 wxUpdateUIEvent
* _arg0
;
5774 PyObject
* _argo0
= 0;
5776 char *_kwnames
[] = { "self","check", NULL
};
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
5782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
5788 _arg1
= (bool ) tempbool1
;
5790 wxPy_BEGIN_ALLOW_THREADS
;
5791 wxUpdateUIEvent_Check(_arg0
,_arg1
);
5793 wxPy_END_ALLOW_THREADS
;
5794 if (PyErr_Occurred()) return NULL
;
5795 } Py_INCREF(Py_None
);
5796 _resultobj
= Py_None
;
5800 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5801 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
* _resultobj
;
5803 wxUpdateUIEvent
* _arg0
;
5805 PyObject
* _argo0
= 0;
5807 char *_kwnames
[] = { "self","enable", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_kwnames
,&_argo0
,&tempbool1
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
5819 _arg1
= (bool ) tempbool1
;
5821 wxPy_BEGIN_ALLOW_THREADS
;
5822 wxUpdateUIEvent_Enable(_arg0
,_arg1
);
5824 wxPy_END_ALLOW_THREADS
;
5825 if (PyErr_Occurred()) return NULL
;
5826 } Py_INCREF(Py_None
);
5827 _resultobj
= Py_None
;
5831 #define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5832 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5834 wxUpdateUIEvent
* _arg0
;
5836 PyObject
* _argo0
= 0;
5837 PyObject
* _obj1
= 0;
5838 char *_kwnames
[] = { "self","text", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
5851 #if PYTHON_API_VERSION >= 1009
5852 char* tmpPtr
; int tmpSize
;
5853 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5857 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5859 _arg1
= new wxString(tmpPtr
, tmpSize
);
5861 if (!PyString_Check(_obj1
)) {
5862 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5865 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
5872 wxPy_END_ALLOW_THREADS
;
5873 if (PyErr_Occurred()) return NULL
;
5874 } Py_INCREF(Py_None
);
5875 _resultobj
= Py_None
;
5883 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
5884 wxSysColourChangedEvent
*src
;
5886 src
= (wxSysColourChangedEvent
*) ptr
;
5887 dest
= (wxEvent
*) src
;
5888 return (void *) dest
;
5891 static void *SwigwxSysColourChangedEventTowxObject(void *ptr
) {
5892 wxSysColourChangedEvent
*src
;
5894 src
= (wxSysColourChangedEvent
*) ptr
;
5895 dest
= (wxObject
*) src
;
5896 return (void *) dest
;
5899 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5900 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5902 wxSysColourChangedEvent
* _result
;
5903 char *_kwnames
[] = { NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
5910 wxPy_BEGIN_ALLOW_THREADS
;
5911 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
5913 wxPy_END_ALLOW_THREADS
;
5914 if (PyErr_Occurred()) return NULL
;
5916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
5917 _resultobj
= Py_BuildValue("s",_ptemp
);
5920 _resultobj
= Py_None
;
5925 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
5927 wxCommandEvent
*dest
;
5928 src
= (wxNotifyEvent
*) ptr
;
5929 dest
= (wxCommandEvent
*) src
;
5930 return (void *) dest
;
5933 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
5936 src
= (wxNotifyEvent
*) ptr
;
5937 dest
= (wxEvent
*) src
;
5938 return (void *) dest
;
5941 static void *SwigwxNotifyEventTowxObject(void *ptr
) {
5944 src
= (wxNotifyEvent
*) ptr
;
5945 dest
= (wxObject
*) src
;
5946 return (void *) dest
;
5949 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
5950 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
* _resultobj
;
5952 wxNotifyEvent
* _result
;
5953 int _arg0
= (int ) wxEVT_NULL
;
5954 int _arg1
= (int ) 0;
5955 char *_kwnames
[] = { "commandType","id", NULL
};
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
5962 wxPy_BEGIN_ALLOW_THREADS
;
5963 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
5965 wxPy_END_ALLOW_THREADS
;
5966 if (PyErr_Occurred()) return NULL
;
5968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
5969 _resultobj
= Py_BuildValue("s",_ptemp
);
5972 _resultobj
= Py_None
;
5977 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
5978 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
* _resultobj
;
5981 wxNotifyEvent
* _arg0
;
5982 PyObject
* _argo0
= 0;
5983 char *_kwnames
[] = { "self", NULL
};
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
5989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
5996 wxPy_BEGIN_ALLOW_THREADS
;
5997 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
5999 wxPy_END_ALLOW_THREADS
;
6000 if (PyErr_Occurred()) return NULL
;
6001 } _resultobj
= Py_BuildValue("i",_result
);
6005 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
6006 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6008 wxNotifyEvent
* _arg0
;
6009 PyObject
* _argo0
= 0;
6010 char *_kwnames
[] = { "self", NULL
};
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Allow",_kwnames
,&_argo0
))
6016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
6023 wxPy_BEGIN_ALLOW_THREADS
;
6024 wxNotifyEvent_Allow(_arg0
);
6026 wxPy_END_ALLOW_THREADS
;
6027 if (PyErr_Occurred()) return NULL
;
6028 } Py_INCREF(Py_None
);
6029 _resultobj
= Py_None
;
6033 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
6034 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
* _resultobj
;
6036 wxNotifyEvent
* _arg0
;
6037 PyObject
* _argo0
= 0;
6038 char *_kwnames
[] = { "self", NULL
};
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
6044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
6051 wxPy_BEGIN_ALLOW_THREADS
;
6052 wxNotifyEvent_Veto(_arg0
);
6054 wxPy_END_ALLOW_THREADS
;
6055 if (PyErr_Occurred()) return NULL
;
6056 } Py_INCREF(Py_None
);
6057 _resultobj
= Py_None
;
6061 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
6062 wxPaletteChangedEvent
*src
;
6064 src
= (wxPaletteChangedEvent
*) ptr
;
6065 dest
= (wxEvent
*) src
;
6066 return (void *) dest
;
6069 static void *SwigwxPaletteChangedEventTowxObject(void *ptr
) {
6070 wxPaletteChangedEvent
*src
;
6072 src
= (wxPaletteChangedEvent
*) ptr
;
6073 dest
= (wxObject
*) src
;
6074 return (void *) dest
;
6077 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
6078 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6080 wxPaletteChangedEvent
* _result
;
6081 wxWindowID _arg0
= (wxWindowID
) 0;
6082 char *_kwnames
[] = { "id", NULL
};
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
6089 wxPy_BEGIN_ALLOW_THREADS
;
6090 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
6092 wxPy_END_ALLOW_THREADS
;
6093 if (PyErr_Occurred()) return NULL
;
6095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
6096 _resultobj
= Py_BuildValue("s",_ptemp
);
6099 _resultobj
= Py_None
;
6104 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
6105 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6107 wxPaletteChangedEvent
* _arg0
;
6109 PyObject
* _argo0
= 0;
6110 PyObject
* _argo1
= 0;
6111 char *_kwnames
[] = { "self","win", NULL
};
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
6117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
6131 wxPy_BEGIN_ALLOW_THREADS
;
6132 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
6134 wxPy_END_ALLOW_THREADS
;
6135 if (PyErr_Occurred()) return NULL
;
6136 } Py_INCREF(Py_None
);
6137 _resultobj
= Py_None
;
6141 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
6142 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6145 wxPaletteChangedEvent
* _arg0
;
6146 PyObject
* _argo0
= 0;
6147 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6160 wxPy_BEGIN_ALLOW_THREADS
;
6161 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
6163 wxPy_END_ALLOW_THREADS
;
6164 if (PyErr_Occurred()) return NULL
;
6165 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6169 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
6170 wxQueryNewPaletteEvent
*src
;
6172 src
= (wxQueryNewPaletteEvent
*) ptr
;
6173 dest
= (wxEvent
*) src
;
6174 return (void *) dest
;
6177 static void *SwigwxQueryNewPaletteEventTowxObject(void *ptr
) {
6178 wxQueryNewPaletteEvent
*src
;
6180 src
= (wxQueryNewPaletteEvent
*) ptr
;
6181 dest
= (wxObject
*) src
;
6182 return (void *) dest
;
6185 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
6186 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
* _resultobj
;
6188 wxQueryNewPaletteEvent
* _result
;
6189 wxWindowID _arg0
= (wxWindowID
) 0;
6190 char *_kwnames
[] = { "id", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
6197 wxPy_BEGIN_ALLOW_THREADS
;
6198 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
6200 wxPy_END_ALLOW_THREADS
;
6201 if (PyErr_Occurred()) return NULL
;
6203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
6204 _resultobj
= Py_BuildValue("s",_ptemp
);
6207 _resultobj
= Py_None
;
6212 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
6213 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
* _resultobj
;
6215 wxQueryNewPaletteEvent
* _arg0
;
6217 PyObject
* _argo0
= 0;
6219 char *_kwnames
[] = { "self","realized", NULL
};
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
6225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6231 _arg1
= (bool ) tempbool1
;
6233 wxPy_BEGIN_ALLOW_THREADS
;
6234 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
6236 wxPy_END_ALLOW_THREADS
;
6237 if (PyErr_Occurred()) return NULL
;
6238 } Py_INCREF(Py_None
);
6239 _resultobj
= Py_None
;
6243 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
6244 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6247 wxQueryNewPaletteEvent
* _arg0
;
6248 PyObject
* _argo0
= 0;
6249 char *_kwnames
[] = { "self", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
6255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6262 wxPy_BEGIN_ALLOW_THREADS
;
6263 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
6265 wxPy_END_ALLOW_THREADS
;
6266 if (PyErr_Occurred()) return NULL
;
6267 } _resultobj
= Py_BuildValue("i",_result
);
6271 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr
) {
6272 wxWindowCreateEvent
*src
;
6273 wxCommandEvent
*dest
;
6274 src
= (wxWindowCreateEvent
*) ptr
;
6275 dest
= (wxCommandEvent
*) src
;
6276 return (void *) dest
;
6279 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
6280 wxWindowCreateEvent
*src
;
6282 src
= (wxWindowCreateEvent
*) ptr
;
6283 dest
= (wxEvent
*) src
;
6284 return (void *) dest
;
6287 static void *SwigwxWindowCreateEventTowxObject(void *ptr
) {
6288 wxWindowCreateEvent
*src
;
6290 src
= (wxWindowCreateEvent
*) ptr
;
6291 dest
= (wxObject
*) src
;
6292 return (void *) dest
;
6295 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
6296 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
* _resultobj
;
6298 wxWindowCreateEvent
* _result
;
6299 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6300 PyObject
* _argo0
= 0;
6301 char *_kwnames
[] = { "win", NULL
};
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
6308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
6315 wxPy_BEGIN_ALLOW_THREADS
;
6316 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
6318 wxPy_END_ALLOW_THREADS
;
6319 if (PyErr_Occurred()) return NULL
;
6321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
6322 _resultobj
= Py_BuildValue("s",_ptemp
);
6325 _resultobj
= Py_None
;
6330 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6331 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
* _resultobj
;
6334 wxWindowCreateEvent
* _arg0
;
6335 PyObject
* _argo0
= 0;
6336 char *_kwnames
[] = { "self", NULL
};
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
6342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
6344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
6349 wxPy_BEGIN_ALLOW_THREADS
;
6350 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
6352 wxPy_END_ALLOW_THREADS
;
6353 if (PyErr_Occurred()) return NULL
;
6354 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6358 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr
) {
6359 wxWindowDestroyEvent
*src
;
6360 wxCommandEvent
*dest
;
6361 src
= (wxWindowDestroyEvent
*) ptr
;
6362 dest
= (wxCommandEvent
*) src
;
6363 return (void *) dest
;
6366 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
6367 wxWindowDestroyEvent
*src
;
6369 src
= (wxWindowDestroyEvent
*) ptr
;
6370 dest
= (wxEvent
*) src
;
6371 return (void *) dest
;
6374 static void *SwigwxWindowDestroyEventTowxObject(void *ptr
) {
6375 wxWindowDestroyEvent
*src
;
6377 src
= (wxWindowDestroyEvent
*) ptr
;
6378 dest
= (wxObject
*) src
;
6379 return (void *) dest
;
6382 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
6383 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6385 wxWindowDestroyEvent
* _result
;
6386 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6387 PyObject
* _argo0
= 0;
6388 char *_kwnames
[] = { "win", NULL
};
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
6395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
6402 wxPy_BEGIN_ALLOW_THREADS
;
6403 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
6405 wxPy_END_ALLOW_THREADS
;
6406 if (PyErr_Occurred()) return NULL
;
6408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
6409 _resultobj
= Py_BuildValue("s",_ptemp
);
6412 _resultobj
= Py_None
;
6417 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6418 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6421 wxWindowDestroyEvent
* _arg0
;
6422 PyObject
* _argo0
= 0;
6423 char *_kwnames
[] = { "self", NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
6429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
6436 wxPy_BEGIN_ALLOW_THREADS
;
6437 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
6439 wxPy_END_ALLOW_THREADS
;
6440 if (PyErr_Occurred()) return NULL
;
6441 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6445 static void *SwigwxTimerEventTowxEvent(void *ptr
) {
6448 src
= (wxTimerEvent
*) ptr
;
6449 dest
= (wxEvent
*) src
;
6450 return (void *) dest
;
6453 static void *SwigwxTimerEventTowxObject(void *ptr
) {
6456 src
= (wxTimerEvent
*) ptr
;
6457 dest
= (wxObject
*) src
;
6458 return (void *) dest
;
6461 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
6462 static PyObject
*_wrap_new_wxTimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6464 wxTimerEvent
* _result
;
6465 int _arg0
= (int ) 0;
6466 int _arg1
= (int ) 0;
6467 char *_kwnames
[] = { "id","interval", NULL
};
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTimerEvent",_kwnames
,&_arg0
,&_arg1
))
6474 wxPy_BEGIN_ALLOW_THREADS
;
6475 _result
= (wxTimerEvent
*)new_wxTimerEvent(_arg0
,_arg1
);
6477 wxPy_END_ALLOW_THREADS
;
6478 if (PyErr_Occurred()) return NULL
;
6480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimerEvent_p");
6481 _resultobj
= Py_BuildValue("s",_ptemp
);
6484 _resultobj
= Py_None
;
6489 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
6490 static PyObject
*_wrap_wxTimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6493 wxTimerEvent
* _arg0
;
6494 PyObject
* _argo0
= 0;
6495 char *_kwnames
[] = { "self", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimerEvent_GetInterval",_kwnames
,&_argo0
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimerEvent_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
6508 wxPy_BEGIN_ALLOW_THREADS
;
6509 _result
= (int )wxTimerEvent_GetInterval(_arg0
);
6511 wxPy_END_ALLOW_THREADS
;
6512 if (PyErr_Occurred()) return NULL
;
6513 } _resultobj
= Py_BuildValue("i",_result
);
6517 static void *SwigwxPyEventTowxEvent(void *ptr
) {
6520 src
= (wxPyEvent
*) ptr
;
6521 dest
= (wxEvent
*) src
;
6522 return (void *) dest
;
6525 static void *SwigwxPyEventTowxObject(void *ptr
) {
6528 src
= (wxPyEvent
*) ptr
;
6529 dest
= (wxObject
*) src
;
6530 return (void *) dest
;
6533 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
6534 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6536 wxPyEvent
* _result
;
6537 int _arg0
= (int ) 0;
6538 char *_kwnames
[] = { "id", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
6545 wxPy_BEGIN_ALLOW_THREADS
;
6546 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
6548 wxPy_END_ALLOW_THREADS
;
6549 if (PyErr_Occurred()) return NULL
;
6551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
6552 _resultobj
= Py_BuildValue("s",_ptemp
);
6555 _resultobj
= Py_None
;
6560 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
6561 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
* _resultobj
;
6564 PyObject
* _argo0
= 0;
6565 char *_kwnames
[] = { "self", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
6578 wxPy_BEGIN_ALLOW_THREADS
;
6579 delete_wxPyEvent(_arg0
);
6581 wxPy_END_ALLOW_THREADS
;
6582 if (PyErr_Occurred()) return NULL
;
6583 } Py_INCREF(Py_None
);
6584 _resultobj
= Py_None
;
6588 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6589 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6593 PyObject
* _argo0
= 0;
6594 PyObject
* _obj1
= 0;
6595 char *_kwnames
[] = { "self","self", NULL
};
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
6611 wxPy_BEGIN_ALLOW_THREADS
;
6612 wxPyEvent_SetSelf(_arg0
,_arg1
);
6614 wxPy_END_ALLOW_THREADS
;
6615 if (PyErr_Occurred()) return NULL
;
6616 } Py_INCREF(Py_None
);
6617 _resultobj
= Py_None
;
6621 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6622 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
* _resultobj
;
6626 PyObject
* _argo0
= 0;
6627 char *_kwnames
[] = { "self", NULL
};
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
6633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
6640 wxPy_BEGIN_ALLOW_THREADS
;
6641 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
6643 wxPy_END_ALLOW_THREADS
;
6644 if (PyErr_Occurred()) return NULL
;
6646 _resultobj
= _result
;
6651 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
6652 wxPyCommandEvent
*src
;
6653 wxCommandEvent
*dest
;
6654 src
= (wxPyCommandEvent
*) ptr
;
6655 dest
= (wxCommandEvent
*) src
;
6656 return (void *) dest
;
6659 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
6660 wxPyCommandEvent
*src
;
6662 src
= (wxPyCommandEvent
*) ptr
;
6663 dest
= (wxEvent
*) src
;
6664 return (void *) dest
;
6667 static void *SwigwxPyCommandEventTowxObject(void *ptr
) {
6668 wxPyCommandEvent
*src
;
6670 src
= (wxPyCommandEvent
*) ptr
;
6671 dest
= (wxObject
*) src
;
6672 return (void *) dest
;
6675 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
6676 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
* _resultobj
;
6678 wxPyCommandEvent
* _result
;
6679 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6680 int _arg1
= (int ) 0;
6681 char *_kwnames
[] = { "commandType","id", NULL
};
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
6688 wxPy_BEGIN_ALLOW_THREADS
;
6689 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
6691 wxPy_END_ALLOW_THREADS
;
6692 if (PyErr_Occurred()) return NULL
;
6694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
6695 _resultobj
= Py_BuildValue("s",_ptemp
);
6698 _resultobj
= Py_None
;
6703 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
6704 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6706 wxPyCommandEvent
* _arg0
;
6707 PyObject
* _argo0
= 0;
6708 char *_kwnames
[] = { "self", NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
6714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
6721 wxPy_BEGIN_ALLOW_THREADS
;
6722 delete_wxPyCommandEvent(_arg0
);
6724 wxPy_END_ALLOW_THREADS
;
6725 if (PyErr_Occurred()) return NULL
;
6726 } Py_INCREF(Py_None
);
6727 _resultobj
= Py_None
;
6731 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6732 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
* _resultobj
;
6734 wxPyCommandEvent
* _arg0
;
6736 PyObject
* _argo0
= 0;
6737 PyObject
* _obj1
= 0;
6738 char *_kwnames
[] = { "self","self", NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
6754 wxPy_BEGIN_ALLOW_THREADS
;
6755 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
6757 wxPy_END_ALLOW_THREADS
;
6758 if (PyErr_Occurred()) return NULL
;
6759 } Py_INCREF(Py_None
);
6760 _resultobj
= Py_None
;
6764 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6765 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
* _resultobj
;
6768 wxPyCommandEvent
* _arg0
;
6769 PyObject
* _argo0
= 0;
6770 char *_kwnames
[] = { "self", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
6783 wxPy_BEGIN_ALLOW_THREADS
;
6784 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
6786 wxPy_END_ALLOW_THREADS
;
6787 if (PyErr_Occurred()) return NULL
;
6789 _resultobj
= _result
;
6794 static PyMethodDef eventscMethods
[] = {
6795 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6796 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6797 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6798 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6799 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6800 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6801 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6802 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6803 { "wxTimerEvent_GetInterval", (PyCFunction
) _wrap_wxTimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6804 { "new_wxTimerEvent", (PyCFunction
) _wrap_new_wxTimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
6805 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6806 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6807 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6808 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6809 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6810 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6811 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
6812 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6813 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6814 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6815 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6816 { "wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
6817 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
6818 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6819 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6820 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
6821 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6822 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
6823 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6824 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6825 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
6826 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
6827 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6828 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6829 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
6830 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
6831 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
6832 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
6833 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
6834 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
6835 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6836 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6837 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6838 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6839 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
6840 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
6841 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6842 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6843 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6844 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6845 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6846 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6847 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6848 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6849 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6850 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6851 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6852 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
6853 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6854 { "wxIconizeEvent_Iconized", (PyCFunction
) _wrap_wxIconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
6855 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6856 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
6857 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
6858 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
6859 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
6860 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
6861 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
6862 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
6863 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6864 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
6865 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6866 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6867 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
6868 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6869 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
6870 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6871 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6872 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6873 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6874 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6875 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6876 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6877 { "wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6878 { "wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6879 { "wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6880 { "wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6881 { "wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6882 { "wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6883 { "wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6884 { "wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6885 { "wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6886 { "wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6887 { "wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6888 { "wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6889 { "wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6890 { "wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6891 { "wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6892 { "wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6893 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6894 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6895 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6896 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6897 { "wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
6898 { "wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6899 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6900 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6901 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6902 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6903 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6904 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6905 { "wxMouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
6906 { "wxMouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
6907 { "wxMouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
6908 { "wxMouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
6909 { "wxMouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
6910 { "wxMouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
6911 { "wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6912 { "wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6913 { "wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6914 { "wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6915 { "wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6916 { "wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6917 { "wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6918 { "wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6919 { "wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6920 { "wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6921 { "wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6922 { "wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6923 { "wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6924 { "wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6925 { "wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6926 { "wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6927 { "wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6928 { "wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6929 { "wxMouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_wxMouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
6930 { "wxMouseEvent_GetWheelDelta", (PyCFunction
) _wrap_wxMouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
6931 { "wxMouseEvent_GetWheelRotation", (PyCFunction
) _wrap_wxMouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
6932 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6933 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6934 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
6935 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6936 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6937 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
6938 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
6939 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
6940 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
6941 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6942 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6943 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6944 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
6945 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
6946 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
6947 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
6948 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
6949 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
6950 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
6951 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
6952 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
6953 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6954 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6955 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6956 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6957 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6958 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
6959 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6960 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
6961 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6962 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6963 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6964 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6965 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6966 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6967 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6968 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6969 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6970 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
6971 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
6972 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6973 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
6974 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
6975 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
6976 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6977 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
6978 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6979 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6980 { "wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6981 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6982 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6983 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
6984 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6985 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6986 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6987 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6988 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6989 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6990 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6991 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
6992 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6993 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxNewEventType", (PyCFunction
) _wrap_wxNewEventType
, METH_VARARGS
| METH_KEYWORDS
},
7010 * This table is used by the pointer type-checker
7012 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7013 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
7014 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
7015 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
7016 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
7017 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
7018 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
7019 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
7020 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
7021 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
7022 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
7023 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
7024 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
7025 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
7026 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
7027 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
7028 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
7029 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
7030 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
7031 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
7032 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
7033 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
7034 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
7035 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
7036 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
7037 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
7038 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
7039 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
7040 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
7041 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
7042 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
7043 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
7044 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
7045 { "_signed_long","_long",0},
7046 { "_wxPrintQuality","_wxCoord",0},
7047 { "_wxPrintQuality","_int",0},
7048 { "_wxPrintQuality","_signed_int",0},
7049 { "_wxPrintQuality","_unsigned_int",0},
7050 { "_wxPrintQuality","_wxWindowID",0},
7051 { "_wxPrintQuality","_uint",0},
7052 { "_wxPrintQuality","_EBool",0},
7053 { "_wxPrintQuality","_size_t",0},
7054 { "_wxPrintQuality","_time_t",0},
7055 { "_byte","_unsigned_char",0},
7056 { "_long","_unsigned_long",0},
7057 { "_long","_signed_long",0},
7058 { "_size_t","_wxCoord",0},
7059 { "_size_t","_wxPrintQuality",0},
7060 { "_size_t","_time_t",0},
7061 { "_size_t","_unsigned_int",0},
7062 { "_size_t","_int",0},
7063 { "_size_t","_wxWindowID",0},
7064 { "_size_t","_uint",0},
7065 { "_uint","_wxCoord",0},
7066 { "_uint","_wxPrintQuality",0},
7067 { "_uint","_time_t",0},
7068 { "_uint","_size_t",0},
7069 { "_uint","_unsigned_int",0},
7070 { "_uint","_int",0},
7071 { "_uint","_wxWindowID",0},
7072 { "_wxChar","_char",0},
7073 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
7074 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
7075 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
7076 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
7077 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
7078 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
7079 { "_char","_wxChar",0},
7080 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
7081 { "_EBool","_wxCoord",0},
7082 { "_EBool","_wxPrintQuality",0},
7083 { "_EBool","_signed_int",0},
7084 { "_EBool","_int",0},
7085 { "_EBool","_wxWindowID",0},
7086 { "_unsigned_long","_long",0},
7087 { "_signed_int","_wxCoord",0},
7088 { "_signed_int","_wxPrintQuality",0},
7089 { "_signed_int","_EBool",0},
7090 { "_signed_int","_wxWindowID",0},
7091 { "_signed_int","_int",0},
7092 { "_WXTYPE","_short",0},
7093 { "_WXTYPE","_signed_short",0},
7094 { "_WXTYPE","_unsigned_short",0},
7095 { "_unsigned_short","_WXTYPE",0},
7096 { "_unsigned_short","_short",0},
7097 { "_wxObject","_wxPyCommandEvent",SwigwxPyCommandEventTowxObject
},
7098 { "_wxObject","_wxPyEvent",SwigwxPyEventTowxObject
},
7099 { "_wxObject","_wxTimerEvent",SwigwxTimerEventTowxObject
},
7100 { "_wxObject","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject
},
7101 { "_wxObject","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject
},
7102 { "_wxObject","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject
},
7103 { "_wxObject","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject
},
7104 { "_wxObject","_wxNotifyEvent",SwigwxNotifyEventTowxObject
},
7105 { "_wxObject","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject
},
7106 { "_wxObject","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject
},
7107 { "_wxObject","_wxIdleEvent",SwigwxIdleEventTowxObject
},
7108 { "_wxObject","_wxDropFilesEvent",SwigwxDropFilesEventTowxObject
},
7109 { "_wxObject","_wxJoystickEvent",SwigwxJoystickEventTowxObject
},
7110 { "_wxObject","_wxMaximizeEvent",SwigwxMaximizeEventTowxObject
},
7111 { "_wxObject","_wxIconizeEvent",SwigwxIconizeEventTowxObject
},
7112 { "_wxObject","_wxShowEvent",SwigwxShowEventTowxObject
},
7113 { "_wxObject","_wxMenuEvent",SwigwxMenuEventTowxObject
},
7114 { "_wxObject","_wxInitDialogEvent",SwigwxInitDialogEventTowxObject
},
7115 { "_wxObject","_wxActivateEvent",SwigwxActivateEventTowxObject
},
7116 { "_wxObject","_wxFocusEvent",SwigwxFocusEventTowxObject
},
7117 { "_wxObject","_wxEraseEvent",SwigwxEraseEventTowxObject
},
7118 { "_wxObject","_wxPaintEvent",SwigwxPaintEventTowxObject
},
7119 { "_wxObject","_wxMoveEvent",SwigwxMoveEventTowxObject
},
7120 { "_wxObject","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject
},
7121 { "_wxObject","_wxKeyEvent",SwigwxKeyEventTowxObject
},
7122 { "_wxObject","_wxMouseEvent",SwigwxMouseEventTowxObject
},
7123 { "_wxObject","_wxSpinEvent",SwigwxSpinEventTowxObject
},
7124 { "_wxObject","_wxScrollWinEvent",SwigwxScrollWinEventTowxObject
},
7125 { "_wxObject","_wxScrollEvent",SwigwxScrollEventTowxObject
},
7126 { "_wxObject","_wxCommandEvent",SwigwxCommandEventTowxObject
},
7127 { "_wxObject","_wxCloseEvent",SwigwxCloseEventTowxObject
},
7128 { "_wxObject","_wxSizeEvent",SwigwxSizeEventTowxObject
},
7129 { "_wxObject","_wxEvent",SwigwxEventTowxObject
},
7130 { "_signed_short","_WXTYPE",0},
7131 { "_signed_short","_short",0},
7132 { "_unsigned_char","_byte",0},
7133 { "_unsigned_int","_wxCoord",0},
7134 { "_unsigned_int","_wxPrintQuality",0},
7135 { "_unsigned_int","_time_t",0},
7136 { "_unsigned_int","_size_t",0},
7137 { "_unsigned_int","_uint",0},
7138 { "_unsigned_int","_wxWindowID",0},
7139 { "_unsigned_int","_int",0},
7140 { "_short","_WXTYPE",0},
7141 { "_short","_unsigned_short",0},
7142 { "_short","_signed_short",0},
7143 { "_wxWindowID","_wxCoord",0},
7144 { "_wxWindowID","_wxPrintQuality",0},
7145 { "_wxWindowID","_time_t",0},
7146 { "_wxWindowID","_size_t",0},
7147 { "_wxWindowID","_EBool",0},
7148 { "_wxWindowID","_uint",0},
7149 { "_wxWindowID","_int",0},
7150 { "_wxWindowID","_signed_int",0},
7151 { "_wxWindowID","_unsigned_int",0},
7152 { "_int","_wxCoord",0},
7153 { "_int","_wxPrintQuality",0},
7154 { "_int","_time_t",0},
7155 { "_int","_size_t",0},
7156 { "_int","_EBool",0},
7157 { "_int","_uint",0},
7158 { "_int","_wxWindowID",0},
7159 { "_int","_unsigned_int",0},
7160 { "_int","_signed_int",0},
7161 { "_time_t","_wxCoord",0},
7162 { "_time_t","_wxPrintQuality",0},
7163 { "_time_t","_unsigned_int",0},
7164 { "_time_t","_int",0},
7165 { "_time_t","_wxWindowID",0},
7166 { "_time_t","_uint",0},
7167 { "_time_t","_size_t",0},
7168 { "_wxCoord","_int",0},
7169 { "_wxCoord","_signed_int",0},
7170 { "_wxCoord","_unsigned_int",0},
7171 { "_wxCoord","_wxWindowID",0},
7172 { "_wxCoord","_uint",0},
7173 { "_wxCoord","_EBool",0},
7174 { "_wxCoord","_size_t",0},
7175 { "_wxCoord","_time_t",0},
7176 { "_wxCoord","_wxPrintQuality",0},
7179 static PyObject
*SWIG_globals
;
7183 SWIGEXPORT(void) initeventsc() {
7185 SWIG_globals
= SWIG_newvarlink();
7186 m
= Py_InitModule("eventsc", eventscMethods
);
7187 d
= PyModule_GetDict(m
);
7190 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7191 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);