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) (new wxIconizeEvent(_swigarg0))
4723 static PyObject
*_wrap_new_wxIconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4725 wxIconizeEvent
* _result
;
4726 int _arg0
= (int ) 0;
4727 char *_kwnames
[] = { "id", NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxIconizeEvent",_kwnames
,&_arg0
))
4734 wxPy_BEGIN_ALLOW_THREADS
;
4735 _result
= (wxIconizeEvent
*)new_wxIconizeEvent(_arg0
);
4737 wxPy_END_ALLOW_THREADS
;
4738 if (PyErr_Occurred()) return NULL
;
4740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconizeEvent_p");
4741 _resultobj
= Py_BuildValue("s",_ptemp
);
4744 _resultobj
= Py_None
;
4749 static void *SwigwxMaximizeEventTowxEvent(void *ptr
) {
4750 wxMaximizeEvent
*src
;
4752 src
= (wxMaximizeEvent
*) ptr
;
4753 dest
= (wxEvent
*) src
;
4754 return (void *) dest
;
4757 static void *SwigwxMaximizeEventTowxObject(void *ptr
) {
4758 wxMaximizeEvent
*src
;
4760 src
= (wxMaximizeEvent
*) ptr
;
4761 dest
= (wxObject
*) src
;
4762 return (void *) dest
;
4765 #define new_wxMaximizeEvent(_swigarg0) (new wxMaximizeEvent(_swigarg0))
4766 static PyObject
*_wrap_new_wxMaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4768 wxMaximizeEvent
* _result
;
4769 int _arg0
= (int ) 0;
4770 char *_kwnames
[] = { "id", NULL
};
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxMaximizeEvent",_kwnames
,&_arg0
))
4777 wxPy_BEGIN_ALLOW_THREADS
;
4778 _result
= (wxMaximizeEvent
*)new_wxMaximizeEvent(_arg0
);
4780 wxPy_END_ALLOW_THREADS
;
4781 if (PyErr_Occurred()) return NULL
;
4783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMaximizeEvent_p");
4784 _resultobj
= Py_BuildValue("s",_ptemp
);
4787 _resultobj
= Py_None
;
4792 static void *SwigwxJoystickEventTowxEvent(void *ptr
) {
4793 wxJoystickEvent
*src
;
4795 src
= (wxJoystickEvent
*) ptr
;
4796 dest
= (wxEvent
*) src
;
4797 return (void *) dest
;
4800 static void *SwigwxJoystickEventTowxObject(void *ptr
) {
4801 wxJoystickEvent
*src
;
4803 src
= (wxJoystickEvent
*) ptr
;
4804 dest
= (wxObject
*) src
;
4805 return (void *) dest
;
4808 #define new_wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxJoystickEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4809 static PyObject
*_wrap_new_wxJoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4811 wxJoystickEvent
* _result
;
4812 int _arg0
= (int ) wxEVT_NULL
;
4813 int _arg1
= (int ) 0;
4814 int _arg2
= (int ) wxJOYSTICK1
;
4815 int _arg3
= (int ) 0;
4816 char *_kwnames
[] = { "type","state","joystick","change", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxJoystickEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
4823 wxPy_BEGIN_ALLOW_THREADS
;
4824 _result
= (wxJoystickEvent
*)new_wxJoystickEvent(_arg0
,_arg1
,_arg2
,_arg3
);
4826 wxPy_END_ALLOW_THREADS
;
4827 if (PyErr_Occurred()) return NULL
;
4829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystickEvent_p");
4830 _resultobj
= Py_BuildValue("s",_ptemp
);
4833 _resultobj
= Py_None
;
4838 #define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
4839 static PyObject
*_wrap_wxJoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
* _resultobj
;
4842 wxJoystickEvent
* _arg0
;
4843 PyObject
* _argo0
= 0;
4844 char *_kwnames
[] = { "self", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetPosition",_kwnames
,&_argo0
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
4858 wxPy_BEGIN_ALLOW_THREADS
;
4859 _result
= new wxPoint (wxJoystickEvent_GetPosition(_arg0
));
4861 wxPy_END_ALLOW_THREADS
;
4862 if (PyErr_Occurred()) return NULL
;
4863 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4864 _resultobj
= Py_BuildValue("s",_ptemp
);
4868 #define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
4869 static PyObject
*_wrap_wxJoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4872 wxJoystickEvent
* _arg0
;
4873 PyObject
* _argo0
= 0;
4874 char *_kwnames
[] = { "self", NULL
};
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetZPosition",_kwnames
,&_argo0
))
4880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
4887 wxPy_BEGIN_ALLOW_THREADS
;
4888 _result
= (int )wxJoystickEvent_GetZPosition(_arg0
);
4890 wxPy_END_ALLOW_THREADS
;
4891 if (PyErr_Occurred()) return NULL
;
4892 } _resultobj
= Py_BuildValue("i",_result
);
4896 #define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
4897 static PyObject
*_wrap_wxJoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4900 wxJoystickEvent
* _arg0
;
4901 PyObject
* _argo0
= 0;
4902 char *_kwnames
[] = { "self", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonState",_kwnames
,&_argo0
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
4915 wxPy_BEGIN_ALLOW_THREADS
;
4916 _result
= (int )wxJoystickEvent_GetButtonState(_arg0
);
4918 wxPy_END_ALLOW_THREADS
;
4919 if (PyErr_Occurred()) return NULL
;
4920 } _resultobj
= Py_BuildValue("i",_result
);
4924 #define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
4925 static PyObject
*_wrap_wxJoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4928 wxJoystickEvent
* _arg0
;
4929 PyObject
* _argo0
= 0;
4930 char *_kwnames
[] = { "self", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetButtonChange",_kwnames
,&_argo0
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
4943 wxPy_BEGIN_ALLOW_THREADS
;
4944 _result
= (int )wxJoystickEvent_GetButtonChange(_arg0
);
4946 wxPy_END_ALLOW_THREADS
;
4947 if (PyErr_Occurred()) return NULL
;
4948 } _resultobj
= Py_BuildValue("i",_result
);
4952 #define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
4953 static PyObject
*_wrap_wxJoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
* _resultobj
;
4956 wxJoystickEvent
* _arg0
;
4957 PyObject
* _argo0
= 0;
4958 char *_kwnames
[] = { "self", NULL
};
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_GetJoystick",_kwnames
,&_argo0
))
4964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
4971 wxPy_BEGIN_ALLOW_THREADS
;
4972 _result
= (int )wxJoystickEvent_GetJoystick(_arg0
);
4974 wxPy_END_ALLOW_THREADS
;
4975 if (PyErr_Occurred()) return NULL
;
4976 } _resultobj
= Py_BuildValue("i",_result
);
4980 #define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
4981 static PyObject
*_wrap_wxJoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4983 wxJoystickEvent
* _arg0
;
4985 PyObject
* _argo0
= 0;
4986 char *_kwnames
[] = { "self","stick", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetJoystick",_kwnames
,&_argo0
,&_arg1
))
4992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 wxJoystickEvent_SetJoystick(_arg0
,_arg1
);
5002 wxPy_END_ALLOW_THREADS
;
5003 if (PyErr_Occurred()) return NULL
;
5004 } Py_INCREF(Py_None
);
5005 _resultobj
= Py_None
;
5009 #define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
5010 static PyObject
*_wrap_wxJoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5012 wxJoystickEvent
* _arg0
;
5014 PyObject
* _argo0
= 0;
5015 char *_kwnames
[] = { "self","state", NULL
};
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonState",_kwnames
,&_argo0
,&_arg1
))
5021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
5028 wxPy_BEGIN_ALLOW_THREADS
;
5029 wxJoystickEvent_SetButtonState(_arg0
,_arg1
);
5031 wxPy_END_ALLOW_THREADS
;
5032 if (PyErr_Occurred()) return NULL
;
5033 } Py_INCREF(Py_None
);
5034 _resultobj
= Py_None
;
5038 #define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
5039 static PyObject
*_wrap_wxJoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
* _resultobj
;
5041 wxJoystickEvent
* _arg0
;
5043 PyObject
* _argo0
= 0;
5044 char *_kwnames
[] = { "self","change", NULL
};
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetButtonChange",_kwnames
,&_argo0
,&_arg1
))
5050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
5057 wxPy_BEGIN_ALLOW_THREADS
;
5058 wxJoystickEvent_SetButtonChange(_arg0
,_arg1
);
5060 wxPy_END_ALLOW_THREADS
;
5061 if (PyErr_Occurred()) return NULL
;
5062 } Py_INCREF(Py_None
);
5063 _resultobj
= Py_None
;
5067 #define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
5068 static PyObject
*_wrap_wxJoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5070 wxJoystickEvent
* _arg0
;
5072 PyObject
* _argo0
= 0;
5074 PyObject
* _obj1
= 0;
5075 char *_kwnames
[] = { "self","pos", NULL
};
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxJoystickEvent_SetPosition",_kwnames
,&_argo0
,&_obj1
))
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_SetPosition. Expected _wxJoystickEvent_p.");
5089 if (! wxPoint_helper(_obj1
, &_arg1
))
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 wxJoystickEvent_SetPosition(_arg0
,*_arg1
);
5096 wxPy_END_ALLOW_THREADS
;
5097 if (PyErr_Occurred()) return NULL
;
5098 } Py_INCREF(Py_None
);
5099 _resultobj
= Py_None
;
5103 #define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
5104 static PyObject
*_wrap_wxJoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
* _resultobj
;
5106 wxJoystickEvent
* _arg0
;
5108 PyObject
* _argo0
= 0;
5109 char *_kwnames
[] = { "self","zPos", NULL
};
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystickEvent_SetZPosition",_kwnames
,&_argo0
,&_arg1
))
5115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
5122 wxPy_BEGIN_ALLOW_THREADS
;
5123 wxJoystickEvent_SetZPosition(_arg0
,_arg1
);
5125 wxPy_END_ALLOW_THREADS
;
5126 if (PyErr_Occurred()) return NULL
;
5127 } Py_INCREF(Py_None
);
5128 _resultobj
= Py_None
;
5132 #define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
5133 static PyObject
*_wrap_wxJoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
* _resultobj
;
5136 wxJoystickEvent
* _arg0
;
5137 PyObject
* _argo0
= 0;
5138 char *_kwnames
[] = { "self", NULL
};
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsButton",_kwnames
,&_argo0
))
5144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
5151 wxPy_BEGIN_ALLOW_THREADS
;
5152 _result
= (bool )wxJoystickEvent_IsButton(_arg0
);
5154 wxPy_END_ALLOW_THREADS
;
5155 if (PyErr_Occurred()) return NULL
;
5156 } _resultobj
= Py_BuildValue("i",_result
);
5160 #define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
5161 static PyObject
*_wrap_wxJoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
* _resultobj
;
5164 wxJoystickEvent
* _arg0
;
5165 PyObject
* _argo0
= 0;
5166 char *_kwnames
[] = { "self", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsMove",_kwnames
,&_argo0
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
5179 wxPy_BEGIN_ALLOW_THREADS
;
5180 _result
= (bool )wxJoystickEvent_IsMove(_arg0
);
5182 wxPy_END_ALLOW_THREADS
;
5183 if (PyErr_Occurred()) return NULL
;
5184 } _resultobj
= Py_BuildValue("i",_result
);
5188 #define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
5189 static PyObject
*_wrap_wxJoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5192 wxJoystickEvent
* _arg0
;
5193 PyObject
* _argo0
= 0;
5194 char *_kwnames
[] = { "self", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystickEvent_IsZMove",_kwnames
,&_argo0
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
5207 wxPy_BEGIN_ALLOW_THREADS
;
5208 _result
= (bool )wxJoystickEvent_IsZMove(_arg0
);
5210 wxPy_END_ALLOW_THREADS
;
5211 if (PyErr_Occurred()) return NULL
;
5212 } _resultobj
= Py_BuildValue("i",_result
);
5216 #define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
5217 static PyObject
*_wrap_wxJoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
* _resultobj
;
5220 wxJoystickEvent
* _arg0
;
5221 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5222 PyObject
* _argo0
= 0;
5223 char *_kwnames
[] = { "self","but", NULL
};
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonDown",_kwnames
,&_argo0
,&_arg1
))
5229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
5236 wxPy_BEGIN_ALLOW_THREADS
;
5237 _result
= (bool )wxJoystickEvent_ButtonDown(_arg0
,_arg1
);
5239 wxPy_END_ALLOW_THREADS
;
5240 if (PyErr_Occurred()) return NULL
;
5241 } _resultobj
= Py_BuildValue("i",_result
);
5245 #define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
5246 static PyObject
*_wrap_wxJoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
* _resultobj
;
5249 wxJoystickEvent
* _arg0
;
5250 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5251 PyObject
* _argo0
= 0;
5252 char *_kwnames
[] = { "self","but", NULL
};
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonUp",_kwnames
,&_argo0
,&_arg1
))
5258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
5265 wxPy_BEGIN_ALLOW_THREADS
;
5266 _result
= (bool )wxJoystickEvent_ButtonUp(_arg0
,_arg1
);
5268 wxPy_END_ALLOW_THREADS
;
5269 if (PyErr_Occurred()) return NULL
;
5270 } _resultobj
= Py_BuildValue("i",_result
);
5274 #define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
5275 static PyObject
*_wrap_wxJoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
* _resultobj
;
5278 wxJoystickEvent
* _arg0
;
5279 int _arg1
= (int ) wxJOY_BUTTON_ANY
;
5280 PyObject
* _argo0
= 0;
5281 char *_kwnames
[] = { "self","but", NULL
};
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxJoystickEvent_ButtonIsDown",_kwnames
,&_argo0
,&_arg1
))
5287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystickEvent_p")) {
5289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
5294 wxPy_BEGIN_ALLOW_THREADS
;
5295 _result
= (bool )wxJoystickEvent_ButtonIsDown(_arg0
,_arg1
);
5297 wxPy_END_ALLOW_THREADS
;
5298 if (PyErr_Occurred()) return NULL
;
5299 } _resultobj
= Py_BuildValue("i",_result
);
5303 static void *SwigwxDropFilesEventTowxEvent(void *ptr
) {
5304 wxDropFilesEvent
*src
;
5306 src
= (wxDropFilesEvent
*) ptr
;
5307 dest
= (wxEvent
*) src
;
5308 return (void *) dest
;
5311 static void *SwigwxDropFilesEventTowxObject(void *ptr
) {
5312 wxDropFilesEvent
*src
;
5314 src
= (wxDropFilesEvent
*) ptr
;
5315 dest
= (wxObject
*) src
;
5316 return (void *) dest
;
5319 #define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
5320 static PyObject
*_wrap_wxDropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
* _resultobj
;
5323 wxDropFilesEvent
* _arg0
;
5324 PyObject
* _argo0
= 0;
5325 char *_kwnames
[] = { "self", NULL
};
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetPosition",_kwnames
,&_argo0
))
5332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
5339 wxPy_BEGIN_ALLOW_THREADS
;
5340 _result
= new wxPoint (wxDropFilesEvent_GetPosition(_arg0
));
5342 wxPy_END_ALLOW_THREADS
;
5343 if (PyErr_Occurred()) return NULL
;
5344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5345 _resultobj
= Py_BuildValue("s",_ptemp
);
5349 #define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
5350 static PyObject
*_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
* _resultobj
;
5353 wxDropFilesEvent
* _arg0
;
5354 PyObject
* _argo0
= 0;
5355 char *_kwnames
[] = { "self", NULL
};
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetNumberOfFiles",_kwnames
,&_argo0
))
5361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
5368 wxPy_BEGIN_ALLOW_THREADS
;
5369 _result
= (int )wxDropFilesEvent_GetNumberOfFiles(_arg0
);
5371 wxPy_END_ALLOW_THREADS
;
5372 if (PyErr_Occurred()) return NULL
;
5373 } _resultobj
= Py_BuildValue("i",_result
);
5377 static PyObject
* wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
) {
5378 int count
= self
->GetNumberOfFiles();
5379 wxString
* files
= self
->GetFiles();
5380 PyObject
* list
= PyList_New(count
);
5383 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
5387 for (int i
=0; i
<count
; i
++) {
5388 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
5392 static PyObject
*_wrap_wxDropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5395 wxDropFilesEvent
* _arg0
;
5396 PyObject
* _argo0
= 0;
5397 char *_kwnames
[] = { "self", NULL
};
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropFilesEvent_GetFiles",_kwnames
,&_argo0
))
5403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDropFilesEvent_p")) {
5405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
5410 wxPy_BEGIN_ALLOW_THREADS
;
5411 _result
= (PyObject
*)wxDropFilesEvent_GetFiles(_arg0
);
5413 wxPy_END_ALLOW_THREADS
;
5414 if (PyErr_Occurred()) return NULL
;
5416 _resultobj
= _result
;
5421 static void *SwigwxIdleEventTowxEvent(void *ptr
) {
5424 src
= (wxIdleEvent
*) ptr
;
5425 dest
= (wxEvent
*) src
;
5426 return (void *) dest
;
5429 static void *SwigwxIdleEventTowxObject(void *ptr
) {
5432 src
= (wxIdleEvent
*) ptr
;
5433 dest
= (wxObject
*) src
;
5434 return (void *) dest
;
5437 #define new_wxIdleEvent() (new wxIdleEvent())
5438 static PyObject
*_wrap_new_wxIdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
* _resultobj
;
5440 wxIdleEvent
* _result
;
5441 char *_kwnames
[] = { NULL
};
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIdleEvent",_kwnames
))
5448 wxPy_BEGIN_ALLOW_THREADS
;
5449 _result
= (wxIdleEvent
*)new_wxIdleEvent();
5451 wxPy_END_ALLOW_THREADS
;
5452 if (PyErr_Occurred()) return NULL
;
5454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIdleEvent_p");
5455 _resultobj
= Py_BuildValue("s",_ptemp
);
5458 _resultobj
= Py_None
;
5463 #define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
5464 static PyObject
*_wrap_wxIdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
* _resultobj
;
5466 wxIdleEvent
* _arg0
;
5467 bool _arg1
= (bool ) TRUE
;
5468 PyObject
* _argo0
= 0;
5469 int tempbool1
= (int) TRUE
;
5470 char *_kwnames
[] = { "self","needMore", NULL
};
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIdleEvent_RequestMore",_kwnames
,&_argo0
,&tempbool1
))
5476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
5482 _arg1
= (bool ) tempbool1
;
5484 wxPy_BEGIN_ALLOW_THREADS
;
5485 wxIdleEvent_RequestMore(_arg0
,_arg1
);
5487 wxPy_END_ALLOW_THREADS
;
5488 if (PyErr_Occurred()) return NULL
;
5489 } Py_INCREF(Py_None
);
5490 _resultobj
= Py_None
;
5494 #define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
5495 static PyObject
*_wrap_wxIdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5498 wxIdleEvent
* _arg0
;
5499 PyObject
* _argo0
= 0;
5500 char *_kwnames
[] = { "self", NULL
};
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIdleEvent_MoreRequested",_kwnames
,&_argo0
))
5506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIdleEvent_p")) {
5508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
5513 wxPy_BEGIN_ALLOW_THREADS
;
5514 _result
= (bool )wxIdleEvent_MoreRequested(_arg0
);
5516 wxPy_END_ALLOW_THREADS
;
5517 if (PyErr_Occurred()) return NULL
;
5518 } _resultobj
= Py_BuildValue("i",_result
);
5522 static void *SwigwxUpdateUIEventTowxEvent(void *ptr
) {
5523 wxUpdateUIEvent
*src
;
5525 src
= (wxUpdateUIEvent
*) ptr
;
5526 dest
= (wxEvent
*) src
;
5527 return (void *) dest
;
5530 static void *SwigwxUpdateUIEventTowxObject(void *ptr
) {
5531 wxUpdateUIEvent
*src
;
5533 src
= (wxUpdateUIEvent
*) ptr
;
5534 dest
= (wxObject
*) src
;
5535 return (void *) dest
;
5538 #define new_wxUpdateUIEvent(_swigarg0) (new wxUpdateUIEvent(_swigarg0))
5539 static PyObject
*_wrap_new_wxUpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
* _resultobj
;
5541 wxUpdateUIEvent
* _result
;
5542 wxWindowID _arg0
= (wxWindowID
) 0;
5543 char *_kwnames
[] = { "commandId", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxUpdateUIEvent",_kwnames
,&_arg0
))
5550 wxPy_BEGIN_ALLOW_THREADS
;
5551 _result
= (wxUpdateUIEvent
*)new_wxUpdateUIEvent(_arg0
);
5553 wxPy_END_ALLOW_THREADS
;
5554 if (PyErr_Occurred()) return NULL
;
5556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxUpdateUIEvent_p");
5557 _resultobj
= Py_BuildValue("s",_ptemp
);
5560 _resultobj
= Py_None
;
5565 #define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
5566 static PyObject
*_wrap_wxUpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5569 wxUpdateUIEvent
* _arg0
;
5570 PyObject
* _argo0
= 0;
5571 char *_kwnames
[] = { "self", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetChecked",_kwnames
,&_argo0
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
5584 wxPy_BEGIN_ALLOW_THREADS
;
5585 _result
= (bool )wxUpdateUIEvent_GetChecked(_arg0
);
5587 wxPy_END_ALLOW_THREADS
;
5588 if (PyErr_Occurred()) return NULL
;
5589 } _resultobj
= Py_BuildValue("i",_result
);
5593 #define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
5594 static PyObject
*_wrap_wxUpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
* _resultobj
;
5597 wxUpdateUIEvent
* _arg0
;
5598 PyObject
* _argo0
= 0;
5599 char *_kwnames
[] = { "self", NULL
};
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetEnabled",_kwnames
,&_argo0
))
5605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
5612 wxPy_BEGIN_ALLOW_THREADS
;
5613 _result
= (bool )wxUpdateUIEvent_GetEnabled(_arg0
);
5615 wxPy_END_ALLOW_THREADS
;
5616 if (PyErr_Occurred()) return NULL
;
5617 } _resultobj
= Py_BuildValue("i",_result
);
5621 #define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
5622 static PyObject
*_wrap_wxUpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
* _resultobj
;
5625 wxUpdateUIEvent
* _arg0
;
5626 PyObject
* _argo0
= 0;
5627 char *_kwnames
[] = { "self", NULL
};
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetText",_kwnames
,&_argo0
))
5633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
5640 wxPy_BEGIN_ALLOW_THREADS
;
5641 _result
= new wxString (wxUpdateUIEvent_GetText(_arg0
));
5643 wxPy_END_ALLOW_THREADS
;
5644 if (PyErr_Occurred()) return NULL
;
5646 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5654 #define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
5655 static PyObject
*_wrap_wxUpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
* _resultobj
;
5658 wxUpdateUIEvent
* _arg0
;
5659 PyObject
* _argo0
= 0;
5660 char *_kwnames
[] = { "self", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetText",_kwnames
,&_argo0
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
5673 wxPy_BEGIN_ALLOW_THREADS
;
5674 _result
= (bool )wxUpdateUIEvent_GetSetText(_arg0
);
5676 wxPy_END_ALLOW_THREADS
;
5677 if (PyErr_Occurred()) return NULL
;
5678 } _resultobj
= Py_BuildValue("i",_result
);
5682 #define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
5683 static PyObject
*_wrap_wxUpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5686 wxUpdateUIEvent
* _arg0
;
5687 PyObject
* _argo0
= 0;
5688 char *_kwnames
[] = { "self", NULL
};
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetChecked",_kwnames
,&_argo0
))
5694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
5701 wxPy_BEGIN_ALLOW_THREADS
;
5702 _result
= (bool )wxUpdateUIEvent_GetSetChecked(_arg0
);
5704 wxPy_END_ALLOW_THREADS
;
5705 if (PyErr_Occurred()) return NULL
;
5706 } _resultobj
= Py_BuildValue("i",_result
);
5710 #define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
5711 static PyObject
*_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
* _resultobj
;
5714 wxUpdateUIEvent
* _arg0
;
5715 PyObject
* _argo0
= 0;
5716 char *_kwnames
[] = { "self", NULL
};
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxUpdateUIEvent_GetSetEnabled",_kwnames
,&_argo0
))
5722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
5729 wxPy_BEGIN_ALLOW_THREADS
;
5730 _result
= (bool )wxUpdateUIEvent_GetSetEnabled(_arg0
);
5732 wxPy_END_ALLOW_THREADS
;
5733 if (PyErr_Occurred()) return NULL
;
5734 } _resultobj
= Py_BuildValue("i",_result
);
5738 #define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5739 static PyObject
*_wrap_wxUpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
* _resultobj
;
5741 wxUpdateUIEvent
* _arg0
;
5743 PyObject
* _argo0
= 0;
5745 char *_kwnames
[] = { "self","check", NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Check",_kwnames
,&_argo0
,&tempbool1
))
5751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxUpdateUIEvent_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
5757 _arg1
= (bool ) tempbool1
;
5759 wxPy_BEGIN_ALLOW_THREADS
;
5760 wxUpdateUIEvent_Check(_arg0
,_arg1
);
5762 wxPy_END_ALLOW_THREADS
;
5763 if (PyErr_Occurred()) return NULL
;
5764 } Py_INCREF(Py_None
);
5765 _resultobj
= Py_None
;
5769 #define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5770 static PyObject
*_wrap_wxUpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
* _resultobj
;
5772 wxUpdateUIEvent
* _arg0
;
5774 PyObject
* _argo0
= 0;
5776 char *_kwnames
[] = { "self","enable", NULL
};
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxUpdateUIEvent_Enable",_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_Enable. Expected _wxUpdateUIEvent_p.");
5788 _arg1
= (bool ) tempbool1
;
5790 wxPy_BEGIN_ALLOW_THREADS
;
5791 wxUpdateUIEvent_Enable(_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_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5801 static PyObject
*_wrap_wxUpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
* _resultobj
;
5803 wxUpdateUIEvent
* _arg0
;
5805 PyObject
* _argo0
= 0;
5806 PyObject
* _obj1
= 0;
5807 char *_kwnames
[] = { "self","text", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxUpdateUIEvent_SetText",_kwnames
,&_argo0
,&_obj1
))
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_SetText. Expected _wxUpdateUIEvent_p.");
5820 #if PYTHON_API_VERSION >= 1009
5821 char* tmpPtr
; int tmpSize
;
5822 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5826 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5828 _arg1
= new wxString(tmpPtr
, tmpSize
);
5830 if (!PyString_Check(_obj1
)) {
5831 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5834 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5838 wxPy_BEGIN_ALLOW_THREADS
;
5839 wxUpdateUIEvent_SetText(_arg0
,*_arg1
);
5841 wxPy_END_ALLOW_THREADS
;
5842 if (PyErr_Occurred()) return NULL
;
5843 } Py_INCREF(Py_None
);
5844 _resultobj
= Py_None
;
5852 static void *SwigwxSysColourChangedEventTowxEvent(void *ptr
) {
5853 wxSysColourChangedEvent
*src
;
5855 src
= (wxSysColourChangedEvent
*) ptr
;
5856 dest
= (wxEvent
*) src
;
5857 return (void *) dest
;
5860 static void *SwigwxSysColourChangedEventTowxObject(void *ptr
) {
5861 wxSysColourChangedEvent
*src
;
5863 src
= (wxSysColourChangedEvent
*) ptr
;
5864 dest
= (wxObject
*) src
;
5865 return (void *) dest
;
5868 #define new_wxSysColourChangedEvent() (new wxSysColourChangedEvent())
5869 static PyObject
*_wrap_new_wxSysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5871 wxSysColourChangedEvent
* _result
;
5872 char *_kwnames
[] = { NULL
};
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSysColourChangedEvent",_kwnames
))
5879 wxPy_BEGIN_ALLOW_THREADS
;
5880 _result
= (wxSysColourChangedEvent
*)new_wxSysColourChangedEvent();
5882 wxPy_END_ALLOW_THREADS
;
5883 if (PyErr_Occurred()) return NULL
;
5885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSysColourChangedEvent_p");
5886 _resultobj
= Py_BuildValue("s",_ptemp
);
5889 _resultobj
= Py_None
;
5894 static void *SwigwxNotifyEventTowxCommandEvent(void *ptr
) {
5896 wxCommandEvent
*dest
;
5897 src
= (wxNotifyEvent
*) ptr
;
5898 dest
= (wxCommandEvent
*) src
;
5899 return (void *) dest
;
5902 static void *SwigwxNotifyEventTowxEvent(void *ptr
) {
5905 src
= (wxNotifyEvent
*) ptr
;
5906 dest
= (wxEvent
*) src
;
5907 return (void *) dest
;
5910 static void *SwigwxNotifyEventTowxObject(void *ptr
) {
5913 src
= (wxNotifyEvent
*) ptr
;
5914 dest
= (wxObject
*) src
;
5915 return (void *) dest
;
5918 #define new_wxNotifyEvent(_swigarg0,_swigarg1) (new wxNotifyEvent(_swigarg0,_swigarg1))
5919 static PyObject
*_wrap_new_wxNotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
* _resultobj
;
5921 wxNotifyEvent
* _result
;
5922 int _arg0
= (int ) wxEVT_NULL
;
5923 int _arg1
= (int ) 0;
5924 char *_kwnames
[] = { "commandType","id", NULL
};
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxNotifyEvent",_kwnames
,&_arg0
,&_arg1
))
5931 wxPy_BEGIN_ALLOW_THREADS
;
5932 _result
= (wxNotifyEvent
*)new_wxNotifyEvent(_arg0
,_arg1
);
5934 wxPy_END_ALLOW_THREADS
;
5935 if (PyErr_Occurred()) return NULL
;
5937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotifyEvent_p");
5938 _resultobj
= Py_BuildValue("s",_ptemp
);
5941 _resultobj
= Py_None
;
5946 #define wxNotifyEvent_IsAllowed(_swigobj) (_swigobj->IsAllowed())
5947 static PyObject
*_wrap_wxNotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5950 wxNotifyEvent
* _arg0
;
5951 PyObject
* _argo0
= 0;
5952 char *_kwnames
[] = { "self", NULL
};
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_IsAllowed",_kwnames
,&_argo0
))
5958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_IsAllowed. Expected _wxNotifyEvent_p.");
5965 wxPy_BEGIN_ALLOW_THREADS
;
5966 _result
= (bool )wxNotifyEvent_IsAllowed(_arg0
);
5968 wxPy_END_ALLOW_THREADS
;
5969 if (PyErr_Occurred()) return NULL
;
5970 } _resultobj
= Py_BuildValue("i",_result
);
5974 #define wxNotifyEvent_Allow(_swigobj) (_swigobj->Allow())
5975 static PyObject
*_wrap_wxNotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
* _resultobj
;
5977 wxNotifyEvent
* _arg0
;
5978 PyObject
* _argo0
= 0;
5979 char *_kwnames
[] = { "self", NULL
};
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Allow",_kwnames
,&_argo0
))
5985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
5987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Allow. Expected _wxNotifyEvent_p.");
5992 wxPy_BEGIN_ALLOW_THREADS
;
5993 wxNotifyEvent_Allow(_arg0
);
5995 wxPy_END_ALLOW_THREADS
;
5996 if (PyErr_Occurred()) return NULL
;
5997 } Py_INCREF(Py_None
);
5998 _resultobj
= Py_None
;
6002 #define wxNotifyEvent_Veto(_swigobj) (_swigobj->Veto())
6003 static PyObject
*_wrap_wxNotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
* _resultobj
;
6005 wxNotifyEvent
* _arg0
;
6006 PyObject
* _argo0
= 0;
6007 char *_kwnames
[] = { "self", NULL
};
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotifyEvent_Veto",_kwnames
,&_argo0
))
6013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotifyEvent_p")) {
6015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotifyEvent_Veto. Expected _wxNotifyEvent_p.");
6020 wxPy_BEGIN_ALLOW_THREADS
;
6021 wxNotifyEvent_Veto(_arg0
);
6023 wxPy_END_ALLOW_THREADS
;
6024 if (PyErr_Occurred()) return NULL
;
6025 } Py_INCREF(Py_None
);
6026 _resultobj
= Py_None
;
6030 static void *SwigwxPaletteChangedEventTowxEvent(void *ptr
) {
6031 wxPaletteChangedEvent
*src
;
6033 src
= (wxPaletteChangedEvent
*) ptr
;
6034 dest
= (wxEvent
*) src
;
6035 return (void *) dest
;
6038 static void *SwigwxPaletteChangedEventTowxObject(void *ptr
) {
6039 wxPaletteChangedEvent
*src
;
6041 src
= (wxPaletteChangedEvent
*) ptr
;
6042 dest
= (wxObject
*) src
;
6043 return (void *) dest
;
6046 #define new_wxPaletteChangedEvent(_swigarg0) (new wxPaletteChangedEvent(_swigarg0))
6047 static PyObject
*_wrap_new_wxPaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
* _resultobj
;
6049 wxPaletteChangedEvent
* _result
;
6050 wxWindowID _arg0
= (wxWindowID
) 0;
6051 char *_kwnames
[] = { "id", NULL
};
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPaletteChangedEvent",_kwnames
,&_arg0
))
6058 wxPy_BEGIN_ALLOW_THREADS
;
6059 _result
= (wxPaletteChangedEvent
*)new_wxPaletteChangedEvent(_arg0
);
6061 wxPy_END_ALLOW_THREADS
;
6062 if (PyErr_Occurred()) return NULL
;
6064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaletteChangedEvent_p");
6065 _resultobj
= Py_BuildValue("s",_ptemp
);
6068 _resultobj
= Py_None
;
6073 #define wxPaletteChangedEvent_SetChangedWindow(_swigobj,_swigarg0) (_swigobj->SetChangedWindow(_swigarg0))
6074 static PyObject
*_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
* _resultobj
;
6076 wxPaletteChangedEvent
* _arg0
;
6078 PyObject
* _argo0
= 0;
6079 PyObject
* _argo1
= 0;
6080 char *_kwnames
[] = { "self","win", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPaletteChangedEvent_SetChangedWindow",_kwnames
,&_argo0
,&_argo1
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPaletteChangedEvent_SetChangedWindow. Expected _wxWindow_p.");
6100 wxPy_BEGIN_ALLOW_THREADS
;
6101 wxPaletteChangedEvent_SetChangedWindow(_arg0
,_arg1
);
6103 wxPy_END_ALLOW_THREADS
;
6104 if (PyErr_Occurred()) return NULL
;
6105 } Py_INCREF(Py_None
);
6106 _resultobj
= Py_None
;
6110 #define wxPaletteChangedEvent_GetChangedWindow(_swigobj) (_swigobj->GetChangedWindow())
6111 static PyObject
*_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
* _resultobj
;
6114 wxPaletteChangedEvent
* _arg0
;
6115 PyObject
* _argo0
= 0;
6116 char *_kwnames
[] = { "self", NULL
};
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPaletteChangedEvent_GetChangedWindow",_kwnames
,&_argo0
))
6122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPaletteChangedEvent_p")) {
6124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPaletteChangedEvent_GetChangedWindow. Expected _wxPaletteChangedEvent_p.");
6129 wxPy_BEGIN_ALLOW_THREADS
;
6130 _result
= (wxWindow
*)wxPaletteChangedEvent_GetChangedWindow(_arg0
);
6132 wxPy_END_ALLOW_THREADS
;
6133 if (PyErr_Occurred()) return NULL
;
6134 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6138 static void *SwigwxQueryNewPaletteEventTowxEvent(void *ptr
) {
6139 wxQueryNewPaletteEvent
*src
;
6141 src
= (wxQueryNewPaletteEvent
*) ptr
;
6142 dest
= (wxEvent
*) src
;
6143 return (void *) dest
;
6146 static void *SwigwxQueryNewPaletteEventTowxObject(void *ptr
) {
6147 wxQueryNewPaletteEvent
*src
;
6149 src
= (wxQueryNewPaletteEvent
*) ptr
;
6150 dest
= (wxObject
*) src
;
6151 return (void *) dest
;
6154 #define new_wxQueryNewPaletteEvent(_swigarg0) (new wxQueryNewPaletteEvent(_swigarg0))
6155 static PyObject
*_wrap_new_wxQueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
* _resultobj
;
6157 wxQueryNewPaletteEvent
* _result
;
6158 wxWindowID _arg0
= (wxWindowID
) 0;
6159 char *_kwnames
[] = { "id", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxQueryNewPaletteEvent",_kwnames
,&_arg0
))
6166 wxPy_BEGIN_ALLOW_THREADS
;
6167 _result
= (wxQueryNewPaletteEvent
*)new_wxQueryNewPaletteEvent(_arg0
);
6169 wxPy_END_ALLOW_THREADS
;
6170 if (PyErr_Occurred()) return NULL
;
6172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxQueryNewPaletteEvent_p");
6173 _resultobj
= Py_BuildValue("s",_ptemp
);
6176 _resultobj
= Py_None
;
6181 #define wxQueryNewPaletteEvent_SetPaletteRealized(_swigobj,_swigarg0) (_swigobj->SetPaletteRealized(_swigarg0))
6182 static PyObject
*_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
* _resultobj
;
6184 wxQueryNewPaletteEvent
* _arg0
;
6186 PyObject
* _argo0
= 0;
6188 char *_kwnames
[] = { "self","realized", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxQueryNewPaletteEvent_SetPaletteRealized",_kwnames
,&_argo0
,&tempbool1
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_SetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6200 _arg1
= (bool ) tempbool1
;
6202 wxPy_BEGIN_ALLOW_THREADS
;
6203 wxQueryNewPaletteEvent_SetPaletteRealized(_arg0
,_arg1
);
6205 wxPy_END_ALLOW_THREADS
;
6206 if (PyErr_Occurred()) return NULL
;
6207 } Py_INCREF(Py_None
);
6208 _resultobj
= Py_None
;
6212 #define wxQueryNewPaletteEvent_GetPaletteRealized(_swigobj) (_swigobj->GetPaletteRealized())
6213 static PyObject
*_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
* _resultobj
;
6216 wxQueryNewPaletteEvent
* _arg0
;
6217 PyObject
* _argo0
= 0;
6218 char *_kwnames
[] = { "self", NULL
};
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxQueryNewPaletteEvent_GetPaletteRealized",_kwnames
,&_argo0
))
6224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxQueryNewPaletteEvent_p")) {
6226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxQueryNewPaletteEvent_GetPaletteRealized. Expected _wxQueryNewPaletteEvent_p.");
6231 wxPy_BEGIN_ALLOW_THREADS
;
6232 _result
= (bool )wxQueryNewPaletteEvent_GetPaletteRealized(_arg0
);
6234 wxPy_END_ALLOW_THREADS
;
6235 if (PyErr_Occurred()) return NULL
;
6236 } _resultobj
= Py_BuildValue("i",_result
);
6240 static void *SwigwxWindowCreateEventTowxCommandEvent(void *ptr
) {
6241 wxWindowCreateEvent
*src
;
6242 wxCommandEvent
*dest
;
6243 src
= (wxWindowCreateEvent
*) ptr
;
6244 dest
= (wxCommandEvent
*) src
;
6245 return (void *) dest
;
6248 static void *SwigwxWindowCreateEventTowxEvent(void *ptr
) {
6249 wxWindowCreateEvent
*src
;
6251 src
= (wxWindowCreateEvent
*) ptr
;
6252 dest
= (wxEvent
*) src
;
6253 return (void *) dest
;
6256 static void *SwigwxWindowCreateEventTowxObject(void *ptr
) {
6257 wxWindowCreateEvent
*src
;
6259 src
= (wxWindowCreateEvent
*) ptr
;
6260 dest
= (wxObject
*) src
;
6261 return (void *) dest
;
6264 #define new_wxWindowCreateEvent(_swigarg0) (new wxWindowCreateEvent(_swigarg0))
6265 static PyObject
*_wrap_new_wxWindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6267 wxWindowCreateEvent
* _result
;
6268 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6269 PyObject
* _argo0
= 0;
6270 char *_kwnames
[] = { "win", NULL
};
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowCreateEvent",_kwnames
,&_argo0
))
6277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowCreateEvent. Expected _wxWindow_p.");
6284 wxPy_BEGIN_ALLOW_THREADS
;
6285 _result
= (wxWindowCreateEvent
*)new_wxWindowCreateEvent(_arg0
);
6287 wxPy_END_ALLOW_THREADS
;
6288 if (PyErr_Occurred()) return NULL
;
6290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowCreateEvent_p");
6291 _resultobj
= Py_BuildValue("s",_ptemp
);
6294 _resultobj
= Py_None
;
6299 #define wxWindowCreateEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6300 static PyObject
*_wrap_wxWindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6303 wxWindowCreateEvent
* _arg0
;
6304 PyObject
* _argo0
= 0;
6305 char *_kwnames
[] = { "self", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowCreateEvent_GetWindow",_kwnames
,&_argo0
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowCreateEvent_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowCreateEvent_GetWindow. Expected _wxWindowCreateEvent_p.");
6318 wxPy_BEGIN_ALLOW_THREADS
;
6319 _result
= (wxWindow
*)wxWindowCreateEvent_GetWindow(_arg0
);
6321 wxPy_END_ALLOW_THREADS
;
6322 if (PyErr_Occurred()) return NULL
;
6323 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6327 static void *SwigwxWindowDestroyEventTowxCommandEvent(void *ptr
) {
6328 wxWindowDestroyEvent
*src
;
6329 wxCommandEvent
*dest
;
6330 src
= (wxWindowDestroyEvent
*) ptr
;
6331 dest
= (wxCommandEvent
*) src
;
6332 return (void *) dest
;
6335 static void *SwigwxWindowDestroyEventTowxEvent(void *ptr
) {
6336 wxWindowDestroyEvent
*src
;
6338 src
= (wxWindowDestroyEvent
*) ptr
;
6339 dest
= (wxEvent
*) src
;
6340 return (void *) dest
;
6343 static void *SwigwxWindowDestroyEventTowxObject(void *ptr
) {
6344 wxWindowDestroyEvent
*src
;
6346 src
= (wxWindowDestroyEvent
*) ptr
;
6347 dest
= (wxObject
*) src
;
6348 return (void *) dest
;
6351 #define new_wxWindowDestroyEvent(_swigarg0) (new wxWindowDestroyEvent(_swigarg0))
6352 static PyObject
*_wrap_new_wxWindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
* _resultobj
;
6354 wxWindowDestroyEvent
* _result
;
6355 wxWindow
* _arg0
= (wxWindow
*) NULL
;
6356 PyObject
* _argo0
= 0;
6357 char *_kwnames
[] = { "win", NULL
};
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDestroyEvent",_kwnames
,&_argo0
))
6364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDestroyEvent. Expected _wxWindow_p.");
6371 wxPy_BEGIN_ALLOW_THREADS
;
6372 _result
= (wxWindowDestroyEvent
*)new_wxWindowDestroyEvent(_arg0
);
6374 wxPy_END_ALLOW_THREADS
;
6375 if (PyErr_Occurred()) return NULL
;
6377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDestroyEvent_p");
6378 _resultobj
= Py_BuildValue("s",_ptemp
);
6381 _resultobj
= Py_None
;
6386 #define wxWindowDestroyEvent_GetWindow(_swigobj) (_swigobj->GetWindow())
6387 static PyObject
*_wrap_wxWindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
* _resultobj
;
6390 wxWindowDestroyEvent
* _arg0
;
6391 PyObject
* _argo0
= 0;
6392 char *_kwnames
[] = { "self", NULL
};
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindowDestroyEvent_GetWindow",_kwnames
,&_argo0
))
6398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDestroyEvent_p")) {
6400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindowDestroyEvent_GetWindow. Expected _wxWindowDestroyEvent_p.");
6405 wxPy_BEGIN_ALLOW_THREADS
;
6406 _result
= (wxWindow
*)wxWindowDestroyEvent_GetWindow(_arg0
);
6408 wxPy_END_ALLOW_THREADS
;
6409 if (PyErr_Occurred()) return NULL
;
6410 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6414 static void *SwigwxTimerEventTowxEvent(void *ptr
) {
6417 src
= (wxTimerEvent
*) ptr
;
6418 dest
= (wxEvent
*) src
;
6419 return (void *) dest
;
6422 static void *SwigwxTimerEventTowxObject(void *ptr
) {
6425 src
= (wxTimerEvent
*) ptr
;
6426 dest
= (wxObject
*) src
;
6427 return (void *) dest
;
6430 #define new_wxTimerEvent(_swigarg0,_swigarg1) (new wxTimerEvent(_swigarg0,_swigarg1))
6431 static PyObject
*_wrap_new_wxTimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6433 wxTimerEvent
* _result
;
6434 int _arg0
= (int ) 0;
6435 int _arg1
= (int ) 0;
6436 char *_kwnames
[] = { "id","interval", NULL
};
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTimerEvent",_kwnames
,&_arg0
,&_arg1
))
6443 wxPy_BEGIN_ALLOW_THREADS
;
6444 _result
= (wxTimerEvent
*)new_wxTimerEvent(_arg0
,_arg1
);
6446 wxPy_END_ALLOW_THREADS
;
6447 if (PyErr_Occurred()) return NULL
;
6449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTimerEvent_p");
6450 _resultobj
= Py_BuildValue("s",_ptemp
);
6453 _resultobj
= Py_None
;
6458 #define wxTimerEvent_GetInterval(_swigobj) (_swigobj->GetInterval())
6459 static PyObject
*_wrap_wxTimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6462 wxTimerEvent
* _arg0
;
6463 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTimerEvent_GetInterval",_kwnames
,&_argo0
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTimerEvent_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTimerEvent_GetInterval. Expected _wxTimerEvent_p.");
6477 wxPy_BEGIN_ALLOW_THREADS
;
6478 _result
= (int )wxTimerEvent_GetInterval(_arg0
);
6480 wxPy_END_ALLOW_THREADS
;
6481 if (PyErr_Occurred()) return NULL
;
6482 } _resultobj
= Py_BuildValue("i",_result
);
6486 static void *SwigwxPyEventTowxEvent(void *ptr
) {
6489 src
= (wxPyEvent
*) ptr
;
6490 dest
= (wxEvent
*) src
;
6491 return (void *) dest
;
6494 static void *SwigwxPyEventTowxObject(void *ptr
) {
6497 src
= (wxPyEvent
*) ptr
;
6498 dest
= (wxObject
*) src
;
6499 return (void *) dest
;
6502 #define new_wxPyEvent(_swigarg0) (new wxPyEvent(_swigarg0))
6503 static PyObject
*_wrap_new_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6505 wxPyEvent
* _result
;
6506 int _arg0
= (int ) 0;
6507 char *_kwnames
[] = { "id", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxPyEvent",_kwnames
,&_arg0
))
6514 wxPy_BEGIN_ALLOW_THREADS
;
6515 _result
= (wxPyEvent
*)new_wxPyEvent(_arg0
);
6517 wxPy_END_ALLOW_THREADS
;
6518 if (PyErr_Occurred()) return NULL
;
6520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEvent_p");
6521 _resultobj
= Py_BuildValue("s",_ptemp
);
6524 _resultobj
= Py_None
;
6529 #define delete_wxPyEvent(_swigobj) (delete _swigobj)
6530 static PyObject
*_wrap_delete_wxPyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6533 PyObject
* _argo0
= 0;
6534 char *_kwnames
[] = { "self", NULL
};
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyEvent",_kwnames
,&_argo0
))
6540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyEvent. Expected _wxPyEvent_p.");
6547 wxPy_BEGIN_ALLOW_THREADS
;
6548 delete_wxPyEvent(_arg0
);
6550 wxPy_END_ALLOW_THREADS
;
6551 if (PyErr_Occurred()) return NULL
;
6552 } Py_INCREF(Py_None
);
6553 _resultobj
= Py_None
;
6557 #define wxPyEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6558 static PyObject
*_wrap_wxPyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
* _resultobj
;
6562 PyObject
* _argo0
= 0;
6563 PyObject
* _obj1
= 0;
6564 char *_kwnames
[] = { "self","self", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_SetSelf. Expected _wxPyEvent_p.");
6580 wxPy_BEGIN_ALLOW_THREADS
;
6581 wxPyEvent_SetSelf(_arg0
,_arg1
);
6583 wxPy_END_ALLOW_THREADS
;
6584 if (PyErr_Occurred()) return NULL
;
6585 } Py_INCREF(Py_None
);
6586 _resultobj
= Py_None
;
6590 #define wxPyEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6591 static PyObject
*_wrap_wxPyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
* _resultobj
;
6595 PyObject
* _argo0
= 0;
6596 char *_kwnames
[] = { "self", NULL
};
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyEvent_GetSelf",_kwnames
,&_argo0
))
6602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEvent_p")) {
6604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEvent_GetSelf. Expected _wxPyEvent_p.");
6609 wxPy_BEGIN_ALLOW_THREADS
;
6610 _result
= (PyObject
*)wxPyEvent_GetSelf(_arg0
);
6612 wxPy_END_ALLOW_THREADS
;
6613 if (PyErr_Occurred()) return NULL
;
6615 _resultobj
= _result
;
6620 static void *SwigwxPyCommandEventTowxCommandEvent(void *ptr
) {
6621 wxPyCommandEvent
*src
;
6622 wxCommandEvent
*dest
;
6623 src
= (wxPyCommandEvent
*) ptr
;
6624 dest
= (wxCommandEvent
*) src
;
6625 return (void *) dest
;
6628 static void *SwigwxPyCommandEventTowxEvent(void *ptr
) {
6629 wxPyCommandEvent
*src
;
6631 src
= (wxPyCommandEvent
*) ptr
;
6632 dest
= (wxEvent
*) src
;
6633 return (void *) dest
;
6636 static void *SwigwxPyCommandEventTowxObject(void *ptr
) {
6637 wxPyCommandEvent
*src
;
6639 src
= (wxPyCommandEvent
*) ptr
;
6640 dest
= (wxObject
*) src
;
6641 return (void *) dest
;
6644 #define new_wxPyCommandEvent(_swigarg0,_swigarg1) (new wxPyCommandEvent(_swigarg0,_swigarg1))
6645 static PyObject
*_wrap_new_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
* _resultobj
;
6647 wxPyCommandEvent
* _result
;
6648 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6649 int _arg1
= (int ) 0;
6650 char *_kwnames
[] = { "commandType","id", NULL
};
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxPyCommandEvent",_kwnames
,&_arg0
,&_arg1
))
6657 wxPy_BEGIN_ALLOW_THREADS
;
6658 _result
= (wxPyCommandEvent
*)new_wxPyCommandEvent(_arg0
,_arg1
);
6660 wxPy_END_ALLOW_THREADS
;
6661 if (PyErr_Occurred()) return NULL
;
6663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCommandEvent_p");
6664 _resultobj
= Py_BuildValue("s",_ptemp
);
6667 _resultobj
= Py_None
;
6672 #define delete_wxPyCommandEvent(_swigobj) (delete _swigobj)
6673 static PyObject
*_wrap_delete_wxPyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
* _resultobj
;
6675 wxPyCommandEvent
* _arg0
;
6676 PyObject
* _argo0
= 0;
6677 char *_kwnames
[] = { "self", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyCommandEvent",_kwnames
,&_argo0
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyCommandEvent. Expected _wxPyCommandEvent_p.");
6690 wxPy_BEGIN_ALLOW_THREADS
;
6691 delete_wxPyCommandEvent(_arg0
);
6693 wxPy_END_ALLOW_THREADS
;
6694 if (PyErr_Occurred()) return NULL
;
6695 } Py_INCREF(Py_None
);
6696 _resultobj
= Py_None
;
6700 #define wxPyCommandEvent_SetSelf(_swigobj,_swigarg0) (_swigobj->SetSelf(_swigarg0))
6701 static PyObject
*_wrap_wxPyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
* _resultobj
;
6703 wxPyCommandEvent
* _arg0
;
6705 PyObject
* _argo0
= 0;
6706 PyObject
* _obj1
= 0;
6707 char *_kwnames
[] = { "self","self", NULL
};
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCommandEvent_SetSelf",_kwnames
,&_argo0
,&_obj1
))
6713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_SetSelf. Expected _wxPyCommandEvent_p.");
6723 wxPy_BEGIN_ALLOW_THREADS
;
6724 wxPyCommandEvent_SetSelf(_arg0
,_arg1
);
6726 wxPy_END_ALLOW_THREADS
;
6727 if (PyErr_Occurred()) return NULL
;
6728 } Py_INCREF(Py_None
);
6729 _resultobj
= Py_None
;
6733 #define wxPyCommandEvent_GetSelf(_swigobj) (_swigobj->GetSelf())
6734 static PyObject
*_wrap_wxPyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
* _resultobj
;
6737 wxPyCommandEvent
* _arg0
;
6738 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyCommandEvent_GetSelf",_kwnames
,&_argo0
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCommandEvent_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCommandEvent_GetSelf. Expected _wxPyCommandEvent_p.");
6752 wxPy_BEGIN_ALLOW_THREADS
;
6753 _result
= (PyObject
*)wxPyCommandEvent_GetSelf(_arg0
);
6755 wxPy_END_ALLOW_THREADS
;
6756 if (PyErr_Occurred()) return NULL
;
6758 _resultobj
= _result
;
6763 static PyMethodDef eventscMethods
[] = {
6764 { "wxPyCommandEvent_GetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6765 { "wxPyCommandEvent_SetSelf", (PyCFunction
) _wrap_wxPyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6766 { "delete_wxPyCommandEvent", (PyCFunction
) _wrap_delete_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6767 { "new_wxPyCommandEvent", (PyCFunction
) _wrap_new_wxPyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6768 { "wxPyEvent_GetSelf", (PyCFunction
) _wrap_wxPyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6769 { "wxPyEvent_SetSelf", (PyCFunction
) _wrap_wxPyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
6770 { "delete_wxPyEvent", (PyCFunction
) _wrap_delete_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6771 { "new_wxPyEvent", (PyCFunction
) _wrap_new_wxPyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6772 { "wxTimerEvent_GetInterval", (PyCFunction
) _wrap_wxTimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6773 { "new_wxTimerEvent", (PyCFunction
) _wrap_new_wxTimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
6774 { "wxWindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_wxWindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6775 { "new_wxWindowDestroyEvent", (PyCFunction
) _wrap_new_wxWindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6776 { "wxWindowCreateEvent_GetWindow", (PyCFunction
) _wrap_wxWindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6777 { "new_wxWindowCreateEvent", (PyCFunction
) _wrap_new_wxWindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6778 { "wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6779 { "wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
6780 { "new_wxQueryNewPaletteEvent", (PyCFunction
) _wrap_new_wxQueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
6781 { "wxPaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6782 { "wxPaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_wxPaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
6783 { "new_wxPaletteChangedEvent", (PyCFunction
) _wrap_new_wxPaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6784 { "wxNotifyEvent_Veto", (PyCFunction
) _wrap_wxNotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6785 { "wxNotifyEvent_Allow", (PyCFunction
) _wrap_wxNotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
6786 { "wxNotifyEvent_IsAllowed", (PyCFunction
) _wrap_wxNotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
6787 { "new_wxNotifyEvent", (PyCFunction
) _wrap_new_wxNotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6788 { "new_wxSysColourChangedEvent", (PyCFunction
) _wrap_new_wxSysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
6789 { "wxUpdateUIEvent_SetText", (PyCFunction
) _wrap_wxUpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
6790 { "wxUpdateUIEvent_Enable", (PyCFunction
) _wrap_wxUpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6791 { "wxUpdateUIEvent_Check", (PyCFunction
) _wrap_wxUpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
6792 { "wxUpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6793 { "wxUpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6794 { "wxUpdateUIEvent_GetSetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
6795 { "wxUpdateUIEvent_GetText", (PyCFunction
) _wrap_wxUpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
6796 { "wxUpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_wxUpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6797 { "wxUpdateUIEvent_GetChecked", (PyCFunction
) _wrap_wxUpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
6798 { "new_wxUpdateUIEvent", (PyCFunction
) _wrap_new_wxUpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
6799 { "wxIdleEvent_MoreRequested", (PyCFunction
) _wrap_wxIdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
6800 { "wxIdleEvent_RequestMore", (PyCFunction
) _wrap_wxIdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
6801 { "new_wxIdleEvent", (PyCFunction
) _wrap_new_wxIdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
6802 { "wxDropFilesEvent_GetFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
6803 { "wxDropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_wxDropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
6804 { "wxDropFilesEvent_GetPosition", (PyCFunction
) _wrap_wxDropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6805 { "wxJoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6806 { "wxJoystickEvent_ButtonUp", (PyCFunction
) _wrap_wxJoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6807 { "wxJoystickEvent_ButtonDown", (PyCFunction
) _wrap_wxJoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6808 { "wxJoystickEvent_IsZMove", (PyCFunction
) _wrap_wxJoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
6809 { "wxJoystickEvent_IsMove", (PyCFunction
) _wrap_wxJoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
6810 { "wxJoystickEvent_IsButton", (PyCFunction
) _wrap_wxJoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6811 { "wxJoystickEvent_SetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6812 { "wxJoystickEvent_SetPosition", (PyCFunction
) _wrap_wxJoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6813 { "wxJoystickEvent_SetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6814 { "wxJoystickEvent_SetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6815 { "wxJoystickEvent_SetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6816 { "wxJoystickEvent_GetJoystick", (PyCFunction
) _wrap_wxJoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6817 { "wxJoystickEvent_GetButtonChange", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
6818 { "wxJoystickEvent_GetButtonState", (PyCFunction
) _wrap_wxJoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6819 { "wxJoystickEvent_GetZPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6820 { "wxJoystickEvent_GetPosition", (PyCFunction
) _wrap_wxJoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6821 { "new_wxJoystickEvent", (PyCFunction
) _wrap_new_wxJoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
6822 { "new_wxMaximizeEvent", (PyCFunction
) _wrap_new_wxMaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6823 { "new_wxIconizeEvent", (PyCFunction
) _wrap_new_wxIconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6824 { "wxShowEvent_GetShow", (PyCFunction
) _wrap_wxShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
6825 { "wxShowEvent_SetShow", (PyCFunction
) _wrap_wxShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
6826 { "new_wxShowEvent", (PyCFunction
) _wrap_new_wxShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
6827 { "wxMenuEvent_GetMenuId", (PyCFunction
) _wrap_wxMenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
6828 { "new_wxMenuEvent", (PyCFunction
) _wrap_new_wxMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
6829 { "new_wxInitDialogEvent", (PyCFunction
) _wrap_new_wxInitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
6830 { "wxActivateEvent_GetActive", (PyCFunction
) _wrap_wxActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
6831 { "new_wxActivateEvent", (PyCFunction
) _wrap_new_wxActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
6832 { "new_wxFocusEvent", (PyCFunction
) _wrap_new_wxFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
6833 { "wxEraseEvent_GetDC", (PyCFunction
) _wrap_wxEraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6834 { "new_wxEraseEvent", (PyCFunction
) _wrap_new_wxEraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6835 { "new_wxPaintEvent", (PyCFunction
) _wrap_new_wxPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
6836 { "wxMoveEvent_GetPosition", (PyCFunction
) _wrap_wxMoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6837 { "new_wxMoveEvent", (PyCFunction
) _wrap_new_wxMoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
6838 { "wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6839 { "wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
6840 { "wxNavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6841 { "wxNavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_wxNavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
6842 { "wxNavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6843 { "wxNavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_wxNavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
6844 { "new_wxNavigationKeyEvent", (PyCFunction
) _wrap_new_wxNavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6845 { "wxKeyEvent_m_scanCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6846 { "wxKeyEvent_m_scanCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6847 { "wxKeyEvent_m_metaDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6848 { "wxKeyEvent_m_metaDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6849 { "wxKeyEvent_m_altDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6850 { "wxKeyEvent_m_altDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6851 { "wxKeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6852 { "wxKeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6853 { "wxKeyEvent_m_controlDown_get", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6854 { "wxKeyEvent_m_controlDown_set", (PyCFunction
) _wrap_wxKeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6855 { "wxKeyEvent_m_keyCode_get", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
6856 { "wxKeyEvent_m_keyCode_set", (PyCFunction
) _wrap_wxKeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
6857 { "wxKeyEvent_m_y_get", (PyCFunction
) _wrap_wxKeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6858 { "wxKeyEvent_m_y_set", (PyCFunction
) _wrap_wxKeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6859 { "wxKeyEvent_m_x_get", (PyCFunction
) _wrap_wxKeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6860 { "wxKeyEvent_m_x_set", (PyCFunction
) _wrap_wxKeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6861 { "wxKeyEvent_GetPositionTuple", (PyCFunction
) _wrap_wxKeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6862 { "wxKeyEvent_GetPosition", (PyCFunction
) _wrap_wxKeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6863 { "wxKeyEvent_GetY", (PyCFunction
) _wrap_wxKeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6864 { "wxKeyEvent_GetX", (PyCFunction
) _wrap_wxKeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6865 { "wxKeyEvent_HasModifiers", (PyCFunction
) _wrap_wxKeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
6866 { "wxKeyEvent_GetKeyCode", (PyCFunction
) _wrap_wxKeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6867 { "wxKeyEvent_KeyCode", (PyCFunction
) _wrap_wxKeyEvent_KeyCode
, METH_VARARGS
| METH_KEYWORDS
},
6868 { "wxKeyEvent_ShiftDown", (PyCFunction
) _wrap_wxKeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6869 { "wxKeyEvent_AltDown", (PyCFunction
) _wrap_wxKeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6870 { "wxKeyEvent_MetaDown", (PyCFunction
) _wrap_wxKeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6871 { "wxKeyEvent_ControlDown", (PyCFunction
) _wrap_wxKeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6872 { "new_wxKeyEvent", (PyCFunction
) _wrap_new_wxKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
6873 { "wxMouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
6874 { "wxMouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_wxMouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
6875 { "wxMouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
6876 { "wxMouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
6877 { "wxMouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
6878 { "wxMouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_wxMouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
6879 { "wxMouseEvent_m_metaDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6880 { "wxMouseEvent_m_metaDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6881 { "wxMouseEvent_m_altDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6882 { "wxMouseEvent_m_altDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6883 { "wxMouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6884 { "wxMouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6885 { "wxMouseEvent_m_controlDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6886 { "wxMouseEvent_m_controlDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6887 { "wxMouseEvent_m_rightDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6888 { "wxMouseEvent_m_rightDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6889 { "wxMouseEvent_m_middleDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6890 { "wxMouseEvent_m_middleDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6891 { "wxMouseEvent_m_leftDown_get", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
6892 { "wxMouseEvent_m_leftDown_set", (PyCFunction
) _wrap_wxMouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
6893 { "wxMouseEvent_m_y_get", (PyCFunction
) _wrap_wxMouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
6894 { "wxMouseEvent_m_y_set", (PyCFunction
) _wrap_wxMouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
6895 { "wxMouseEvent_m_x_get", (PyCFunction
) _wrap_wxMouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
6896 { "wxMouseEvent_m_x_set", (PyCFunction
) _wrap_wxMouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
6897 { "wxMouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_wxMouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
6898 { "wxMouseEvent_GetWheelDelta", (PyCFunction
) _wrap_wxMouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
6899 { "wxMouseEvent_GetWheelRotation", (PyCFunction
) _wrap_wxMouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
6900 { "wxMouseEvent_GetY", (PyCFunction
) _wrap_wxMouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
6901 { "wxMouseEvent_GetX", (PyCFunction
) _wrap_wxMouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
6902 { "wxMouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_wxMouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
6903 { "wxMouseEvent_GetPositionTuple", (PyCFunction
) _wrap_wxMouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6904 { "wxMouseEvent_GetPosition", (PyCFunction
) _wrap_wxMouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6905 { "wxMouseEvent_Leaving", (PyCFunction
) _wrap_wxMouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
6906 { "wxMouseEvent_Entering", (PyCFunction
) _wrap_wxMouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
6907 { "wxMouseEvent_Moving", (PyCFunction
) _wrap_wxMouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
6908 { "wxMouseEvent_Dragging", (PyCFunction
) _wrap_wxMouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
6909 { "wxMouseEvent_RightIsDown", (PyCFunction
) _wrap_wxMouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6910 { "wxMouseEvent_MiddleIsDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6911 { "wxMouseEvent_LeftIsDown", (PyCFunction
) _wrap_wxMouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6912 { "wxMouseEvent_RightDClick", (PyCFunction
) _wrap_wxMouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
6913 { "wxMouseEvent_MiddleDClick", (PyCFunction
) _wrap_wxMouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
6914 { "wxMouseEvent_LeftDClick", (PyCFunction
) _wrap_wxMouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
6915 { "wxMouseEvent_RightUp", (PyCFunction
) _wrap_wxMouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
6916 { "wxMouseEvent_MiddleUp", (PyCFunction
) _wrap_wxMouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
6917 { "wxMouseEvent_LeftUp", (PyCFunction
) _wrap_wxMouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
6918 { "wxMouseEvent_RightDown", (PyCFunction
) _wrap_wxMouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
6919 { "wxMouseEvent_MiddleDown", (PyCFunction
) _wrap_wxMouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
6920 { "wxMouseEvent_LeftDown", (PyCFunction
) _wrap_wxMouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
6921 { "wxMouseEvent_ShiftDown", (PyCFunction
) _wrap_wxMouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
6922 { "wxMouseEvent_AltDown", (PyCFunction
) _wrap_wxMouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
6923 { "wxMouseEvent_MetaDown", (PyCFunction
) _wrap_wxMouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
6924 { "wxMouseEvent_ControlDown", (PyCFunction
) _wrap_wxMouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
6925 { "wxMouseEvent_ButtonIsDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
6926 { "wxMouseEvent_Button", (PyCFunction
) _wrap_wxMouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
6927 { "wxMouseEvent_ButtonUp", (PyCFunction
) _wrap_wxMouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
6928 { "wxMouseEvent_ButtonDClick", (PyCFunction
) _wrap_wxMouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
6929 { "wxMouseEvent_ButtonDown", (PyCFunction
) _wrap_wxMouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
6930 { "wxMouseEvent_IsButton", (PyCFunction
) _wrap_wxMouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
6931 { "new_wxMouseEvent", (PyCFunction
) _wrap_new_wxMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6932 { "new_wxSpinEvent", (PyCFunction
) _wrap_new_wxSpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6933 { "wxScrollWinEvent_GetPosition", (PyCFunction
) _wrap_wxScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6934 { "wxScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6935 { "new_wxScrollWinEvent", (PyCFunction
) _wrap_new_wxScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
6936 { "wxScrollEvent_GetPosition", (PyCFunction
) _wrap_wxScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6937 { "wxScrollEvent_GetOrientation", (PyCFunction
) _wrap_wxScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
6938 { "new_wxScrollEvent", (PyCFunction
) _wrap_new_wxScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
6939 { "wxCommandEvent_SetInt", (PyCFunction
) _wrap_wxCommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
6940 { "wxCommandEvent_SetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6941 { "wxCommandEvent_SetString", (PyCFunction
) _wrap_wxCommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
6942 { "wxCommandEvent_IsSelection", (PyCFunction
) _wrap_wxCommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
6943 { "wxCommandEvent_GetString", (PyCFunction
) _wrap_wxCommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
6944 { "wxCommandEvent_GetSelection", (PyCFunction
) _wrap_wxCommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6945 { "wxCommandEvent_GetInt", (PyCFunction
) _wrap_wxCommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
6946 { "wxCommandEvent_GetExtraLong", (PyCFunction
) _wrap_wxCommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
6947 { "wxCommandEvent_Checked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6948 { "wxCommandEvent_IsChecked", (PyCFunction
) _wrap_wxCommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6949 { "new_wxCommandEvent", (PyCFunction
) _wrap_new_wxCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
6950 { "wxCloseEvent_SetCanVeto", (PyCFunction
) _wrap_wxCloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6951 { "wxCloseEvent_GetVeto", (PyCFunction
) _wrap_wxCloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
6952 { "wxCloseEvent_CanVeto", (PyCFunction
) _wrap_wxCloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
6953 { "wxCloseEvent_Veto", (PyCFunction
) _wrap_wxCloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
6954 { "wxCloseEvent_GetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6955 { "wxCloseEvent_SetLoggingOff", (PyCFunction
) _wrap_wxCloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
6956 { "new_wxCloseEvent", (PyCFunction
) _wrap_new_wxCloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
6957 { "wxSizeEvent_GetSize", (PyCFunction
) _wrap_wxSizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6958 { "new_wxSizeEvent", (PyCFunction
) _wrap_new_wxSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
6959 { "wxEvent_Skip", (PyCFunction
) _wrap_wxEvent_Skip
, METH_VARARGS
| METH_KEYWORDS
},
6960 { "wxEvent_SetTimestamp", (PyCFunction
) _wrap_wxEvent_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6961 { "wxEvent_SetId", (PyCFunction
) _wrap_wxEvent_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6962 { "wxEvent_SetEventType", (PyCFunction
) _wrap_wxEvent_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
6963 { "wxEvent_SetEventObject", (PyCFunction
) _wrap_wxEvent_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
6964 { "wxEvent_GetTimestamp", (PyCFunction
) _wrap_wxEvent_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
6965 { "wxEvent_GetSkipped", (PyCFunction
) _wrap_wxEvent_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
6966 { "wxEvent_GetId", (PyCFunction
) _wrap_wxEvent_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6967 { "wxEvent_GetEventType", (PyCFunction
) _wrap_wxEvent_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
6968 { "wxEvent_GetEventObject", (PyCFunction
) _wrap_wxEvent_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
6969 { "delete_wxEvent", (PyCFunction
) _wrap_delete_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
6970 { "new_wxEvent", (PyCFunction
) _wrap_new_wxEvent
, METH_VARARGS
| METH_KEYWORDS
},
6971 { "wxNewEventType", (PyCFunction
) _wrap_wxNewEventType
, METH_VARARGS
| METH_KEYWORDS
},
6978 * This table is used by the pointer type-checker
6980 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6981 { "_wxEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxEvent
},
6982 { "_wxEvent","_wxPyEvent",SwigwxPyEventTowxEvent
},
6983 { "_wxEvent","_wxTimerEvent",SwigwxTimerEventTowxEvent
},
6984 { "_wxEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxEvent
},
6985 { "_wxEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxEvent
},
6986 { "_wxEvent","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxEvent
},
6987 { "_wxEvent","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxEvent
},
6988 { "_wxEvent","_wxNotifyEvent",SwigwxNotifyEventTowxEvent
},
6989 { "_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent
},
6990 { "_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent
},
6991 { "_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent
},
6992 { "_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent
},
6993 { "_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent
},
6994 { "_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent
},
6995 { "_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent
},
6996 { "_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent
},
6997 { "_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent
},
6998 { "_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent
},
6999 { "_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent
},
7000 { "_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent
},
7001 { "_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent
},
7002 { "_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent
},
7003 { "_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent
},
7004 { "_wxEvent","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxEvent
},
7005 { "_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent
},
7006 { "_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent
},
7007 { "_wxEvent","_wxSpinEvent",SwigwxSpinEventTowxEvent
},
7008 { "_wxEvent","_wxScrollWinEvent",SwigwxScrollWinEventTowxEvent
},
7009 { "_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent
},
7010 { "_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent
},
7011 { "_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent
},
7012 { "_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent
},
7013 { "_signed_long","_long",0},
7014 { "_wxPrintQuality","_wxCoord",0},
7015 { "_wxPrintQuality","_int",0},
7016 { "_wxPrintQuality","_signed_int",0},
7017 { "_wxPrintQuality","_unsigned_int",0},
7018 { "_wxPrintQuality","_wxWindowID",0},
7019 { "_wxPrintQuality","_uint",0},
7020 { "_wxPrintQuality","_EBool",0},
7021 { "_wxPrintQuality","_size_t",0},
7022 { "_wxPrintQuality","_time_t",0},
7023 { "_byte","_unsigned_char",0},
7024 { "_long","_unsigned_long",0},
7025 { "_long","_signed_long",0},
7026 { "_size_t","_wxCoord",0},
7027 { "_size_t","_wxPrintQuality",0},
7028 { "_size_t","_time_t",0},
7029 { "_size_t","_unsigned_int",0},
7030 { "_size_t","_int",0},
7031 { "_size_t","_wxWindowID",0},
7032 { "_size_t","_uint",0},
7033 { "_uint","_wxCoord",0},
7034 { "_uint","_wxPrintQuality",0},
7035 { "_uint","_time_t",0},
7036 { "_uint","_size_t",0},
7037 { "_uint","_unsigned_int",0},
7038 { "_uint","_int",0},
7039 { "_uint","_wxWindowID",0},
7040 { "_wxChar","_char",0},
7041 { "_wxCommandEvent","_wxPyCommandEvent",SwigwxPyCommandEventTowxCommandEvent
},
7042 { "_wxCommandEvent","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxCommandEvent
},
7043 { "_wxCommandEvent","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxCommandEvent
},
7044 { "_wxCommandEvent","_wxNotifyEvent",SwigwxNotifyEventTowxCommandEvent
},
7045 { "_wxCommandEvent","_wxSpinEvent",SwigwxSpinEventTowxCommandEvent
},
7046 { "_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent
},
7047 { "_char","_wxChar",0},
7048 { "_wxScrollEvent","_wxSpinEvent",SwigwxSpinEventTowxScrollEvent
},
7049 { "_EBool","_wxCoord",0},
7050 { "_EBool","_wxPrintQuality",0},
7051 { "_EBool","_signed_int",0},
7052 { "_EBool","_int",0},
7053 { "_EBool","_wxWindowID",0},
7054 { "_unsigned_long","_long",0},
7055 { "_signed_int","_wxCoord",0},
7056 { "_signed_int","_wxPrintQuality",0},
7057 { "_signed_int","_EBool",0},
7058 { "_signed_int","_wxWindowID",0},
7059 { "_signed_int","_int",0},
7060 { "_WXTYPE","_short",0},
7061 { "_WXTYPE","_signed_short",0},
7062 { "_WXTYPE","_unsigned_short",0},
7063 { "_unsigned_short","_WXTYPE",0},
7064 { "_unsigned_short","_short",0},
7065 { "_wxObject","_wxPyCommandEvent",SwigwxPyCommandEventTowxObject
},
7066 { "_wxObject","_wxPyEvent",SwigwxPyEventTowxObject
},
7067 { "_wxObject","_wxTimerEvent",SwigwxTimerEventTowxObject
},
7068 { "_wxObject","_wxWindowDestroyEvent",SwigwxWindowDestroyEventTowxObject
},
7069 { "_wxObject","_wxWindowCreateEvent",SwigwxWindowCreateEventTowxObject
},
7070 { "_wxObject","_wxQueryNewPaletteEvent",SwigwxQueryNewPaletteEventTowxObject
},
7071 { "_wxObject","_wxPaletteChangedEvent",SwigwxPaletteChangedEventTowxObject
},
7072 { "_wxObject","_wxNotifyEvent",SwigwxNotifyEventTowxObject
},
7073 { "_wxObject","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxObject
},
7074 { "_wxObject","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxObject
},
7075 { "_wxObject","_wxIdleEvent",SwigwxIdleEventTowxObject
},
7076 { "_wxObject","_wxDropFilesEvent",SwigwxDropFilesEventTowxObject
},
7077 { "_wxObject","_wxJoystickEvent",SwigwxJoystickEventTowxObject
},
7078 { "_wxObject","_wxMaximizeEvent",SwigwxMaximizeEventTowxObject
},
7079 { "_wxObject","_wxIconizeEvent",SwigwxIconizeEventTowxObject
},
7080 { "_wxObject","_wxShowEvent",SwigwxShowEventTowxObject
},
7081 { "_wxObject","_wxMenuEvent",SwigwxMenuEventTowxObject
},
7082 { "_wxObject","_wxInitDialogEvent",SwigwxInitDialogEventTowxObject
},
7083 { "_wxObject","_wxActivateEvent",SwigwxActivateEventTowxObject
},
7084 { "_wxObject","_wxFocusEvent",SwigwxFocusEventTowxObject
},
7085 { "_wxObject","_wxEraseEvent",SwigwxEraseEventTowxObject
},
7086 { "_wxObject","_wxPaintEvent",SwigwxPaintEventTowxObject
},
7087 { "_wxObject","_wxMoveEvent",SwigwxMoveEventTowxObject
},
7088 { "_wxObject","_wxNavigationKeyEvent",SwigwxNavigationKeyEventTowxObject
},
7089 { "_wxObject","_wxKeyEvent",SwigwxKeyEventTowxObject
},
7090 { "_wxObject","_wxMouseEvent",SwigwxMouseEventTowxObject
},
7091 { "_wxObject","_wxSpinEvent",SwigwxSpinEventTowxObject
},
7092 { "_wxObject","_wxScrollWinEvent",SwigwxScrollWinEventTowxObject
},
7093 { "_wxObject","_wxScrollEvent",SwigwxScrollEventTowxObject
},
7094 { "_wxObject","_wxCommandEvent",SwigwxCommandEventTowxObject
},
7095 { "_wxObject","_wxCloseEvent",SwigwxCloseEventTowxObject
},
7096 { "_wxObject","_wxSizeEvent",SwigwxSizeEventTowxObject
},
7097 { "_wxObject","_wxEvent",SwigwxEventTowxObject
},
7098 { "_signed_short","_WXTYPE",0},
7099 { "_signed_short","_short",0},
7100 { "_unsigned_char","_byte",0},
7101 { "_unsigned_int","_wxCoord",0},
7102 { "_unsigned_int","_wxPrintQuality",0},
7103 { "_unsigned_int","_time_t",0},
7104 { "_unsigned_int","_size_t",0},
7105 { "_unsigned_int","_uint",0},
7106 { "_unsigned_int","_wxWindowID",0},
7107 { "_unsigned_int","_int",0},
7108 { "_short","_WXTYPE",0},
7109 { "_short","_unsigned_short",0},
7110 { "_short","_signed_short",0},
7111 { "_wxWindowID","_wxCoord",0},
7112 { "_wxWindowID","_wxPrintQuality",0},
7113 { "_wxWindowID","_time_t",0},
7114 { "_wxWindowID","_size_t",0},
7115 { "_wxWindowID","_EBool",0},
7116 { "_wxWindowID","_uint",0},
7117 { "_wxWindowID","_int",0},
7118 { "_wxWindowID","_signed_int",0},
7119 { "_wxWindowID","_unsigned_int",0},
7120 { "_int","_wxCoord",0},
7121 { "_int","_wxPrintQuality",0},
7122 { "_int","_time_t",0},
7123 { "_int","_size_t",0},
7124 { "_int","_EBool",0},
7125 { "_int","_uint",0},
7126 { "_int","_wxWindowID",0},
7127 { "_int","_unsigned_int",0},
7128 { "_int","_signed_int",0},
7129 { "_time_t","_wxCoord",0},
7130 { "_time_t","_wxPrintQuality",0},
7131 { "_time_t","_unsigned_int",0},
7132 { "_time_t","_int",0},
7133 { "_time_t","_wxWindowID",0},
7134 { "_time_t","_uint",0},
7135 { "_time_t","_size_t",0},
7136 { "_wxCoord","_int",0},
7137 { "_wxCoord","_signed_int",0},
7138 { "_wxCoord","_unsigned_int",0},
7139 { "_wxCoord","_wxWindowID",0},
7140 { "_wxCoord","_uint",0},
7141 { "_wxCoord","_EBool",0},
7142 { "_wxCoord","_size_t",0},
7143 { "_wxCoord","_time_t",0},
7144 { "_wxCoord","_wxPrintQuality",0},
7147 static PyObject
*SWIG_globals
;
7151 SWIGEXPORT(void) initeventsc() {
7153 SWIG_globals
= SWIG_newvarlink();
7154 m
= Py_InitModule("eventsc", eventscMethods
);
7155 d
= PyModule_GetDict(m
);
7158 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7159 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);