-#define wxKeyEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxKeyEvent_Position(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxKeyEvent * _arg0;
- float * _arg1;
- float temp;
- float * _arg2;
- float temp0;
- char * _argc0 = 0;
-
- self = self;
-{
- _arg1 = &temp;
-}
-{
- _arg2 = &temp0;
-}
- if(!PyArg_ParseTuple(args,"s:wxKeyEvent_Position",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_Position. Expected _wxKeyEvent_p.");
- return NULL;
- }
- }
- wxKeyEvent_Position(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
-{
- PyObject *o;
- o = PyFloat_FromDouble((double) (*_arg1));
- _resultobj = t_output_helper(_resultobj, o);
-}
-{
- PyObject *o;
- o = PyFloat_FromDouble((double) (*_arg2));
- _resultobj = t_output_helper(_resultobj, o);
-}
- return _resultobj;
-}
-
-#define wxKeyEvent_GetX(_swigobj) (_swigobj->GetX())
-static PyObject *_wrap_wxKeyEvent_GetX(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- float _result;
- wxKeyEvent * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxKeyEvent_GetX",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetX. Expected _wxKeyEvent_p.");
- return NULL;
- }
- }
- _result = (float )wxKeyEvent_GetX(_arg0);
- _resultobj = Py_BuildValue("f",_result);
- return _resultobj;
-}
-
-#define wxKeyEvent_GetY(_swigobj) (_swigobj->GetY())
-static PyObject *_wrap_wxKeyEvent_GetY(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- float _result;
- wxKeyEvent * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxKeyEvent_GetY",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_GetY. Expected _wxKeyEvent_p.");
- return NULL;
- }
- }
- _result = (float )wxKeyEvent_GetY(_arg0);
- _resultobj = Py_BuildValue("f",_result);
- return _resultobj;
-}
-