the .cpp files. It caused CVS conflicts because of the RCS ID being different each time. - A few minor fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2848 lines
102 KiB
C++
2848 lines
102 KiB
C++
/*
|
|
* FILE : events.cpp
|
|
*
|
|
* This file was automatically generated by :
|
|
* Simplified Wrapper and Interface Generator (SWIG)
|
|
* Version 1.1 (Patch 5)
|
|
*
|
|
* Portions Copyright (c) 1995-1998
|
|
* The University of Utah and The Regents of the University of California.
|
|
* Permission is granted to distribute this file in any manner provided
|
|
* this notice remains intact.
|
|
*
|
|
* Do not make changes to this file--changes will be lost!
|
|
*
|
|
*/
|
|
|
|
|
|
#define SWIGCODE
|
|
/* Implementation : PYTHON */
|
|
|
|
#define SWIGPYTHON
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
/* Definitions for Windows/Unix exporting */
|
|
#if defined(__WIN32__)
|
|
# if defined(_MSC_VER)
|
|
# define SWIGEXPORT(a,b) __declspec(dllexport) a b
|
|
# else
|
|
# if defined(__BORLANDC__)
|
|
# define SWIGEXPORT(a,b) a _export b
|
|
# else
|
|
# define SWIGEXPORT(a,b) a b
|
|
# endif
|
|
# endif
|
|
#else
|
|
# define SWIGEXPORT(a,b) a b
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include "Python.h"
|
|
extern void SWIG_MakePtr(char *, void *, char *);
|
|
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
|
|
extern char *SWIG_GetPtr(char *, void **, char *);
|
|
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
|
|
extern PyObject *SWIG_newvarlink(void);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#define SWIG_init initeventsc
|
|
|
|
#define SWIG_name "eventsc"
|
|
|
|
#include "helpers.h"
|
|
|
|
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
|
|
PyObject* o2;
|
|
if (!target) {
|
|
target = o;
|
|
} else if (target == Py_None) {
|
|
Py_DECREF(Py_None);
|
|
target = o;
|
|
} else {
|
|
if (!PyList_Check(target)) {
|
|
o2 = target;
|
|
target = PyList_New(0);
|
|
PyList_Append(target, o2);
|
|
Py_XDECREF(o2);
|
|
}
|
|
PyList_Append(target,o);
|
|
Py_XDECREF(o);
|
|
}
|
|
return target;
|
|
}
|
|
|
|
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|
PyObject* o2;
|
|
PyObject* o3;
|
|
|
|
if (!target) {
|
|
target = o;
|
|
} else if (target == Py_None) {
|
|
Py_DECREF(Py_None);
|
|
target = o;
|
|
} else {
|
|
if (!PyTuple_Check(target)) {
|
|
o2 = target;
|
|
target = PyTuple_New(1);
|
|
PyTuple_SetItem(target, 0, o2);
|
|
}
|
|
o3 = PyTuple_New(1);
|
|
PyTuple_SetItem(o3, 0, o);
|
|
|
|
o2 = target;
|
|
target = PySequence_Concat(o2, o3);
|
|
Py_DECREF(o2);
|
|
Py_DECREF(o3);
|
|
}
|
|
return target;
|
|
}
|
|
|
|
|
|
extern int* int_LIST_helper(PyObject* source);
|
|
extern long* long_LIST_helper(PyObject* source);
|
|
extern char** string_LIST_helper(PyObject* source);
|
|
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
|
|
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
|
|
extern wxString* wxString_LIST_helper(PyObject* source);
|
|
#ifdef __WXMSW__
|
|
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
|
|
#endif
|
|
|
|
|
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
|
#define wxEvent_GetEventObject(_swigobj) (_swigobj->GetEventObject())
|
|
static PyObject *_wrap_wxEvent_GetEventObject(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxObject * _result;
|
|
wxEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxEvent_GetEventObject",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventObject. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxObject *)wxEvent_GetEventObject(_arg0);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxEvent_GetEventType(_swigobj) (_swigobj->GetEventType())
|
|
static PyObject *_wrap_wxEvent_GetEventType(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxEventType _result;
|
|
wxEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxEvent_GetEventType",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetEventType. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxEventType )wxEvent_GetEventType(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxEvent_GetId(_swigobj) (_swigobj->GetId())
|
|
static PyObject *_wrap_wxEvent_GetId(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxEvent_GetId",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetId. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxEvent_GetId(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxEvent_GetSkipped(_swigobj) (_swigobj->GetSkipped())
|
|
static PyObject *_wrap_wxEvent_GetSkipped(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxEvent_GetSkipped",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetSkipped. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxEvent_GetSkipped(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxEvent_GetTimestamp(_swigobj) (_swigobj->GetTimestamp())
|
|
static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
long _result;
|
|
wxEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxEvent_GetTimestamp",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_GetTimestamp. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (long )wxEvent_GetTimestamp(_arg0);
|
|
_resultobj = Py_BuildValue("l",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxEvent_SetEventObject(_swigobj,_swigarg0) (_swigobj->SetEventObject(_swigarg0))
|
|
static PyObject *_wrap_wxEvent_SetEventObject(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxEvent * _arg0;
|
|
wxObject * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxEvent_SetEventObject",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventObject. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxObject_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvent_SetEventObject. Expected _wxObject_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxEvent_SetEventObject(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxEvent_SetEventType(_swigobj,_swigarg0) (_swigobj->SetEventType(_swigarg0))
|
|
static PyObject *_wrap_wxEvent_SetEventType(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxEvent * _arg0;
|
|
wxEventType _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxEvent_SetEventType",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetEventType. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxEvent_SetEventType(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxEvent_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
|
|
static PyObject *_wrap_wxEvent_SetId(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxEvent * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxEvent_SetId",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetId. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxEvent_SetId(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxEvent_SetTimestamp(_swigobj,_swigarg0) (_swigobj->SetTimestamp(_swigarg0))
|
|
static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxEvent * _arg0;
|
|
long _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sl:wxEvent_SetTimestamp",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_SetTimestamp. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxEvent_SetTimestamp(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxEvent_Skip(_swigobj,_swigarg0) (_swigobj->Skip(_swigarg0))
|
|
static PyObject *_wrap_wxEvent_Skip(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxEvent * _arg0;
|
|
bool _arg1 = (1);
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxEvent_Skip",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvent_Skip. Expected _wxEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxEvent_Skip(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxSizeEventTowxEvent(void *ptr) {
|
|
wxSizeEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxSizeEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxSizeEvent_GetSize(_swigobj) (_swigobj->GetSize())
|
|
static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxSizeEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxSizeEvent_GetSize",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSizeEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizeEvent_GetSize. Expected _wxSizeEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxSize (wxSizeEvent_GetSize(_arg0));
|
|
SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxCloseEventTowxEvent(void *ptr) {
|
|
wxCloseEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxCloseEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxCloseEvent_GetSessionEnding(_swigobj) (_swigobj->GetSessionEnding())
|
|
static PyObject *_wrap_wxCloseEvent_GetSessionEnding(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxCloseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCloseEvent_GetSessionEnding",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetSessionEnding. Expected _wxCloseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxCloseEvent_GetSessionEnding(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCloseEvent_GetLoggingOff(_swigobj) (_swigobj->GetLoggingOff())
|
|
static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxCloseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCloseEvent_GetLoggingOff",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetLoggingOff. Expected _wxCloseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxCloseEvent_GetLoggingOff(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCloseEvent_Veto(_swigobj,_swigarg0) (_swigobj->Veto(_swigarg0))
|
|
static PyObject *_wrap_wxCloseEvent_Veto(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxCloseEvent * _arg0;
|
|
bool _arg1 = (1);
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxCloseEvent_Veto",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_Veto. Expected _wxCloseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxCloseEvent_Veto(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCloseEvent_GetVeto(_swigobj) (_swigobj->GetVeto())
|
|
static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxCloseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCloseEvent_GetVeto",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetVeto. Expected _wxCloseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxCloseEvent_GetVeto(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCloseEvent_SetForce(_swigobj,_swigarg0) (_swigobj->SetForce(_swigarg0))
|
|
static PyObject *_wrap_wxCloseEvent_SetForce(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxCloseEvent * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxCloseEvent_SetForce",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_SetForce. Expected _wxCloseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxCloseEvent_SetForce(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCloseEvent_GetForce(_swigobj) (_swigobj->GetForce())
|
|
static PyObject *_wrap_wxCloseEvent_GetForce(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxCloseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCloseEvent_GetForce",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCloseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCloseEvent_GetForce. Expected _wxCloseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxCloseEvent_GetForce(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxCommandEventTowxEvent(void *ptr) {
|
|
wxCommandEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxCommandEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxCommandEvent_Checked(_swigobj) (_swigobj->Checked())
|
|
static PyObject *_wrap_wxCommandEvent_Checked(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxCommandEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCommandEvent_Checked",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_Checked. Expected _wxCommandEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxCommandEvent_Checked(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCommandEvent_GetExtraLong(_swigobj) (_swigobj->GetExtraLong())
|
|
static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
long _result;
|
|
wxCommandEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetExtraLong",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetExtraLong. Expected _wxCommandEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (long )wxCommandEvent_GetExtraLong(_arg0);
|
|
_resultobj = Py_BuildValue("l",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCommandEvent_GetInt(_swigobj) (_swigobj->GetInt())
|
|
static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxCommandEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetInt",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetInt. Expected _wxCommandEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxCommandEvent_GetInt(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCommandEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
|
|
static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxCommandEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetSelection",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetSelection. Expected _wxCommandEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxCommandEvent_GetSelection(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCommandEvent_GetString(_swigobj) (_swigobj->GetString())
|
|
static PyObject *_wrap_wxCommandEvent_GetString(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
char * _result;
|
|
wxCommandEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCommandEvent_GetString",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_GetString. Expected _wxCommandEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (char *)wxCommandEvent_GetString(_arg0);
|
|
_resultobj = Py_BuildValue("s", _result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxCommandEvent_IsSelection(_swigobj) (_swigobj->IsSelection())
|
|
static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxCommandEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxCommandEvent_IsSelection",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCommandEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCommandEvent_IsSelection. Expected _wxCommandEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxCommandEvent_IsSelection(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxScrollEventTowxCommandEvent(void *ptr) {
|
|
wxScrollEvent *src;
|
|
wxCommandEvent *dest;
|
|
src = (wxScrollEvent *) ptr;
|
|
dest = (wxCommandEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxScrollEventTowxEvent(void *ptr) {
|
|
wxScrollEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxScrollEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxScrollEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
|
|
static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxScrollEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxScrollEvent_GetOrientation",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetOrientation. Expected _wxScrollEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxScrollEvent_GetOrientation(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxScrollEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
|
|
static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxScrollEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxScrollEvent_GetPosition",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollEvent_GetPosition. Expected _wxScrollEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxScrollEvent_GetPosition(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxMouseEventTowxEvent(void *ptr) {
|
|
wxMouseEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxMouseEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxMouseEvent_IsButton(_swigobj) (_swigobj->IsButton())
|
|
static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_IsButton",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_IsButton. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_IsButton(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
|
|
static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
int _arg1 = -1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxMouseEvent_ButtonDown",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_ButtonDown(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_ButtonDClick(_swigobj,_swigarg0) (_swigobj->ButtonDClick(_swigarg0))
|
|
static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
int _arg1 = -1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxMouseEvent_ButtonDClick",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonDClick. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_ButtonDClick(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
|
|
static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
int _arg1 = -1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxMouseEvent_ButtonUp",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonUp. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_ButtonUp(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_Button(_swigobj,_swigarg0) (_swigobj->Button(_swigarg0))
|
|
static PyObject *_wrap_wxMouseEvent_Button(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMouseEvent_Button",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Button. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_Button(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
|
|
static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxMouseEvent_ButtonIsDown",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ButtonIsDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_ButtonIsDown(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
|
|
static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_ControlDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ControlDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_ControlDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
|
|
static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MetaDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MetaDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_MetaDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_AltDown(_swigobj) (_swigobj->AltDown())
|
|
static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_AltDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_AltDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_AltDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
|
|
static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_ShiftDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_ShiftDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_ShiftDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_LeftDown(_swigobj) (_swigobj->LeftDown())
|
|
static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_LeftDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_MiddleDown(_swigobj) (_swigobj->MiddleDown())
|
|
static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_MiddleDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_RightDown(_swigobj) (_swigobj->RightDown())
|
|
static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_RightDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_LeftUp(_swigobj) (_swigobj->LeftUp())
|
|
static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftUp",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftUp. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_LeftUp(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_MiddleUp(_swigobj) (_swigobj->MiddleUp())
|
|
static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleUp",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleUp. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_MiddleUp(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_RightUp(_swigobj) (_swigobj->RightUp())
|
|
static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightUp",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightUp. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_RightUp(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_LeftDClick(_swigobj) (_swigobj->LeftDClick())
|
|
static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftDClick",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftDClick. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_LeftDClick(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_MiddleDClick(_swigobj) (_swigobj->MiddleDClick())
|
|
static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleDClick",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleDClick. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_MiddleDClick(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_RightDClick(_swigobj) (_swigobj->RightDClick())
|
|
static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightDClick",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightDClick. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_RightDClick(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_LeftIsDown(_swigobj) (_swigobj->LeftIsDown())
|
|
static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_LeftIsDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_LeftIsDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_LeftIsDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_MiddleIsDown(_swigobj) (_swigobj->MiddleIsDown())
|
|
static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_MiddleIsDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_MiddleIsDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_MiddleIsDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_RightIsDown(_swigobj) (_swigobj->RightIsDown())
|
|
static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_RightIsDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_RightIsDown. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_RightIsDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_Dragging(_swigobj) (_swigobj->Dragging())
|
|
static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Dragging",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Dragging. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_Dragging(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_Moving(_swigobj) (_swigobj->Moving())
|
|
static PyObject *_wrap_wxMouseEvent_Moving(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Moving",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Moving. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_Moving(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_Entering(_swigobj) (_swigobj->Entering())
|
|
static PyObject *_wrap_wxMouseEvent_Entering(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Entering",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Entering. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_Entering(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_Leaving(_swigobj) (_swigobj->Leaving())
|
|
static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Leaving",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Leaving. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxMouseEvent_Leaving(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_Position(_swigobj,_swigarg0,_swigarg1) (_swigobj->Position(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxMouseEvent_Position(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxMouseEvent * _arg0;
|
|
long * _arg1;
|
|
long temp;
|
|
long * _arg2;
|
|
long temp0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
{
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
_arg2 = &temp0;
|
|
}
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_Position",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_Position. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxMouseEvent_Position(_arg0,_arg1,_arg2);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
|
|
static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxPoint * _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_GetPosition",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetPosition. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxPoint (wxMouseEvent_GetPosition(_arg0));
|
|
SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_GetLogicalPosition(_swigobj,_swigarg0) (_swigobj->GetLogicalPosition(_swigarg0))
|
|
static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxPoint * _result;
|
|
wxMouseEvent * _arg0;
|
|
wxDC * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxMouseEvent_GetLogicalPosition",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetLogicalPosition. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMouseEvent_GetLogicalPosition. Expected _wxDC_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxPoint (wxMouseEvent_GetLogicalPosition(_arg0,*_arg1));
|
|
SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_GetX(_swigobj) (_swigobj->GetX())
|
|
static PyObject *_wrap_wxMouseEvent_GetX(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
long _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_GetX",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetX. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (long )wxMouseEvent_GetX(_arg0);
|
|
_resultobj = Py_BuildValue("l",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxMouseEvent_GetY(_swigobj) (_swigobj->GetY())
|
|
static PyObject *_wrap_wxMouseEvent_GetY(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
long _result;
|
|
wxMouseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMouseEvent_GetY",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMouseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMouseEvent_GetY. Expected _wxMouseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (long )wxMouseEvent_GetY(_arg0);
|
|
_resultobj = Py_BuildValue("l",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxKeyEventTowxEvent(void *ptr) {
|
|
wxKeyEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxKeyEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxKeyEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
|
|
static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxKeyEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxKeyEvent_ControlDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ControlDown. Expected _wxKeyEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxKeyEvent_ControlDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxKeyEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
|
|
static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxKeyEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxKeyEvent_MetaDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_MetaDown. Expected _wxKeyEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxKeyEvent_MetaDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxKeyEvent_AltDown(_swigobj) (_swigobj->AltDown())
|
|
static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxKeyEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxKeyEvent_AltDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_AltDown. Expected _wxKeyEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxKeyEvent_AltDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxKeyEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
|
|
static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxKeyEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxKeyEvent_ShiftDown",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_ShiftDown. Expected _wxKeyEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxKeyEvent_ShiftDown(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxKeyEvent_KeyCode(_swigobj) (_swigobj->KeyCode())
|
|
static PyObject *_wrap_wxKeyEvent_KeyCode(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
long _result;
|
|
wxKeyEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxKeyEvent_KeyCode",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxKeyEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxKeyEvent_KeyCode. Expected _wxKeyEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (long )wxKeyEvent_KeyCode(_arg0);
|
|
_resultobj = Py_BuildValue("l",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
static void *SwigwxMoveEventTowxEvent(void *ptr) {
|
|
wxMoveEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxMoveEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxMoveEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
|
|
static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxPoint * _result;
|
|
wxMoveEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMoveEvent_GetPosition",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMoveEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMoveEvent_GetPosition. Expected _wxMoveEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxPoint (wxMoveEvent_GetPosition(_arg0));
|
|
SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxPaintEventTowxEvent(void *ptr) {
|
|
wxPaintEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxPaintEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxEraseEventTowxEvent(void *ptr) {
|
|
wxEraseEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxEraseEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxEraseEvent_GetDC(_swigobj) (_swigobj->GetDC())
|
|
static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxDC * _result;
|
|
wxEraseEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxEraseEvent_GetDC",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEraseEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEraseEvent_GetDC. Expected _wxEraseEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (wxDC *)wxEraseEvent_GetDC(_arg0);
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxFocusEventTowxEvent(void *ptr) {
|
|
wxFocusEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxFocusEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxActivateEventTowxEvent(void *ptr) {
|
|
wxActivateEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxActivateEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxActivateEvent_GetActive(_swigobj) (_swigobj->GetActive())
|
|
static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxActivateEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxActivateEvent_GetActive",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxActivateEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxActivateEvent_GetActive. Expected _wxActivateEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxActivateEvent_GetActive(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxInitDialogEventTowxEvent(void *ptr) {
|
|
wxInitDialogEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxInitDialogEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxMenuEventTowxEvent(void *ptr) {
|
|
wxMenuEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxMenuEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxMenuEvent_GetMenuId(_swigobj) (_swigobj->GetMenuId())
|
|
static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxMenuEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxMenuEvent_GetMenuId",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuEvent_GetMenuId. Expected _wxMenuEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxMenuEvent_GetMenuId(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxShowEventTowxEvent(void *ptr) {
|
|
wxShowEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxShowEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxShowEvent_SetShow(_swigobj,_swigarg0) (_swigobj->SetShow(_swigarg0))
|
|
static PyObject *_wrap_wxShowEvent_SetShow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxShowEvent * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxShowEvent_SetShow",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxShowEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_SetShow. Expected _wxShowEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxShowEvent_SetShow(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxShowEvent_GetShow(_swigobj) (_swigobj->GetShow())
|
|
static PyObject *_wrap_wxShowEvent_GetShow(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxShowEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxShowEvent_GetShow",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxShowEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowEvent_GetShow. Expected _wxShowEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxShowEvent_GetShow(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxIconizeEventTowxEvent(void *ptr) {
|
|
wxIconizeEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxIconizeEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxMaximizeEventTowxEvent(void *ptr) {
|
|
wxMaximizeEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxMaximizeEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxJoystickEventTowxEvent(void *ptr) {
|
|
wxJoystickEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxJoystickEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxJoystickEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
|
|
static PyObject *_wrap_wxJoystickEvent_GetPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxPoint * _result;
|
|
wxJoystickEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetPosition",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetPosition. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxPoint (wxJoystickEvent_GetPosition(_arg0));
|
|
SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_GetZPosition(_swigobj) (_swigobj->GetZPosition())
|
|
static PyObject *_wrap_wxJoystickEvent_GetZPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxJoystickEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetZPosition",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetZPosition. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxJoystickEvent_GetZPosition(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_GetButtonState(_swigobj) (_swigobj->GetButtonState())
|
|
static PyObject *_wrap_wxJoystickEvent_GetButtonState(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxJoystickEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetButtonState",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonState. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxJoystickEvent_GetButtonState(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_GetButtonChange(_swigobj) (_swigobj->GetButtonChange())
|
|
static PyObject *_wrap_wxJoystickEvent_GetButtonChange(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxJoystickEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetButtonChange",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetButtonChange. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxJoystickEvent_GetButtonChange(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_GetJoystick(_swigobj) (_swigobj->GetJoystick())
|
|
static PyObject *_wrap_wxJoystickEvent_GetJoystick(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxJoystickEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_GetJoystick",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_GetJoystick. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxJoystickEvent_GetJoystick(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_SetJoystick(_swigobj,_swigarg0) (_swigobj->SetJoystick(_swigarg0))
|
|
static PyObject *_wrap_wxJoystickEvent_SetJoystick(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxJoystickEvent * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetJoystick",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetJoystick. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxJoystickEvent_SetJoystick(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_SetButtonState(_swigobj,_swigarg0) (_swigobj->SetButtonState(_swigarg0))
|
|
static PyObject *_wrap_wxJoystickEvent_SetButtonState(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxJoystickEvent * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetButtonState",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonState. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxJoystickEvent_SetButtonState(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_SetButtonChange(_swigobj,_swigarg0) (_swigobj->SetButtonChange(_swigarg0))
|
|
static PyObject *_wrap_wxJoystickEvent_SetButtonChange(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxJoystickEvent * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetButtonChange",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetButtonChange. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxJoystickEvent_SetButtonChange(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
|
|
static PyObject *_wrap_wxJoystickEvent_SetPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxJoystickEvent * _arg0;
|
|
wxPoint * _arg1;
|
|
char * _argc0 = 0;
|
|
char * _argc1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"ss:wxJoystickEvent_SetPosition",&_argc0,&_argc1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetPosition. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argc1) {
|
|
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystickEvent_SetPosition. Expected _wxPoint_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxJoystickEvent_SetPosition(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_SetZPosition(_swigobj,_swigarg0) (_swigobj->SetZPosition(_swigarg0))
|
|
static PyObject *_wrap_wxJoystickEvent_SetZPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxJoystickEvent * _arg0;
|
|
int _arg1;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxJoystickEvent_SetZPosition",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_SetZPosition. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
wxJoystickEvent_SetZPosition(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_IsButton(_swigobj) (_swigobj->IsButton())
|
|
static PyObject *_wrap_wxJoystickEvent_IsButton(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxJoystickEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_IsButton",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsButton. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxJoystickEvent_IsButton(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_IsMove(_swigobj) (_swigobj->IsMove())
|
|
static PyObject *_wrap_wxJoystickEvent_IsMove(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxJoystickEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_IsMove",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsMove. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxJoystickEvent_IsMove(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_IsZMove(_swigobj) (_swigobj->IsZMove())
|
|
static PyObject *_wrap_wxJoystickEvent_IsZMove(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxJoystickEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxJoystickEvent_IsZMove",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_IsZMove. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxJoystickEvent_IsZMove(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_ButtonDown(_swigobj,_swigarg0) (_swigobj->ButtonDown(_swigarg0))
|
|
static PyObject *_wrap_wxJoystickEvent_ButtonDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxJoystickEvent * _arg0;
|
|
int _arg1 = wxJOY_BUTTON_ANY;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxJoystickEvent_ButtonDown",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonDown. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxJoystickEvent_ButtonDown(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_ButtonUp(_swigobj,_swigarg0) (_swigobj->ButtonUp(_swigarg0))
|
|
static PyObject *_wrap_wxJoystickEvent_ButtonUp(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxJoystickEvent * _arg0;
|
|
int _arg1 = wxJOY_BUTTON_ANY;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxJoystickEvent_ButtonUp",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonUp. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxJoystickEvent_ButtonUp(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxJoystickEvent_ButtonIsDown(_swigobj,_swigarg0) (_swigobj->ButtonIsDown(_swigarg0))
|
|
static PyObject *_wrap_wxJoystickEvent_ButtonIsDown(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxJoystickEvent * _arg0;
|
|
int _arg1 = wxJOY_BUTTON_ANY;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxJoystickEvent_ButtonIsDown",&_argc0,&_arg1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxJoystickEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystickEvent_ButtonIsDown. Expected _wxJoystickEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxJoystickEvent_ButtonIsDown(_arg0,_arg1);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxDropFilesEventTowxEvent(void *ptr) {
|
|
wxDropFilesEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxDropFilesEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxDropFilesEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
|
|
static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxPoint * _result;
|
|
wxDropFilesEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxDropFilesEvent_GetPosition",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetPosition. Expected _wxDropFilesEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxPoint (wxDropFilesEvent_GetPosition(_arg0));
|
|
SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxDropFilesEvent_GetNumberOfFiles(_swigobj) (_swigobj->GetNumberOfFiles())
|
|
static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxDropFilesEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxDropFilesEvent_GetNumberOfFiles",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetNumberOfFiles. Expected _wxDropFilesEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (int )wxDropFilesEvent_GetNumberOfFiles(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static PyObject * wxDropFilesEvent_GetFiles(wxDropFilesEvent *self) {
|
|
int count = self->GetNumberOfFiles();
|
|
wxString* files = self->GetFiles();
|
|
PyObject* list = PyList_New(count);
|
|
|
|
if (!list) {
|
|
PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
|
|
return NULL;
|
|
}
|
|
|
|
for (int i=0; i<count; i++) {
|
|
PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
|
|
}
|
|
return list;
|
|
}
|
|
static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
PyObject * _result;
|
|
wxDropFilesEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxDropFilesEvent_GetFiles",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDropFilesEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDropFilesEvent_GetFiles. Expected _wxDropFilesEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (PyObject *)wxDropFilesEvent_GetFiles(_arg0);
|
|
{
|
|
_resultobj = _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxIdleEventTowxEvent(void *ptr) {
|
|
wxIdleEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxIdleEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxIdleEvent_RequestMore(_swigobj,_swigarg0) (_swigobj->RequestMore(_swigarg0))
|
|
static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxIdleEvent * _arg0;
|
|
bool _arg1 = (1);
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s|i:wxIdleEvent_RequestMore",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIdleEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_RequestMore. Expected _wxIdleEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxIdleEvent_RequestMore(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxIdleEvent_MoreRequested(_swigobj) (_swigobj->MoreRequested())
|
|
static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxIdleEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxIdleEvent_MoreRequested",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIdleEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIdleEvent_MoreRequested. Expected _wxIdleEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxIdleEvent_MoreRequested(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxUpdateUIEventTowxEvent(void *ptr) {
|
|
wxUpdateUIEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxUpdateUIEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxUpdateUIEvent_GetChecked(_swigobj) (_swigobj->GetChecked())
|
|
static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxUpdateUIEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetChecked",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetChecked. Expected _wxUpdateUIEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxUpdateUIEvent_GetChecked(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxUpdateUIEvent_GetEnabled(_swigobj) (_swigobj->GetEnabled())
|
|
static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxUpdateUIEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetEnabled",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetEnabled. Expected _wxUpdateUIEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxUpdateUIEvent_GetEnabled(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxUpdateUIEvent_GetText(_swigobj) (_swigobj->GetText())
|
|
static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxUpdateUIEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetText",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetText. Expected _wxUpdateUIEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = new wxString (wxUpdateUIEvent_GetText(_arg0));
|
|
{
|
|
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxUpdateUIEvent_GetSetText(_swigobj) (_swigobj->GetSetText())
|
|
static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxUpdateUIEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetSetText",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetText. Expected _wxUpdateUIEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxUpdateUIEvent_GetSetText(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxUpdateUIEvent_GetSetChecked(_swigobj) (_swigobj->GetSetChecked())
|
|
static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxUpdateUIEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetSetChecked",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetChecked. Expected _wxUpdateUIEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxUpdateUIEvent_GetSetChecked(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxUpdateUIEvent_GetSetEnabled(_swigobj) (_swigobj->GetSetEnabled())
|
|
static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxUpdateUIEvent * _arg0;
|
|
char * _argc0 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"s:wxUpdateUIEvent_GetSetEnabled",&_argc0))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_GetSetEnabled. Expected _wxUpdateUIEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_result = (bool )wxUpdateUIEvent_GetSetEnabled(_arg0);
|
|
_resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxUpdateUIEvent_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
|
|
static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxUpdateUIEvent * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxUpdateUIEvent_Check",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Check. Expected _wxUpdateUIEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxUpdateUIEvent_Check(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxUpdateUIEvent_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
|
|
static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxUpdateUIEvent * _arg0;
|
|
bool _arg1;
|
|
char * _argc0 = 0;
|
|
int tempbool1;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"si:wxUpdateUIEvent_Enable",&_argc0,&tempbool1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_Enable. Expected _wxUpdateUIEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
wxUpdateUIEvent_Enable(_arg0,_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxUpdateUIEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
|
|
static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *self, PyObject *args) {
|
|
PyObject * _resultobj;
|
|
wxUpdateUIEvent * _arg0;
|
|
wxString * _arg1;
|
|
char * _argc0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTuple(args,"sO:wxUpdateUIEvent_SetText",&_argc0,&_obj1))
|
|
return NULL;
|
|
if (_argc0) {
|
|
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxUpdateUIEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxUpdateUIEvent_SetText. Expected _wxUpdateUIEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1));
|
|
}
|
|
wxUpdateUIEvent_SetText(_arg0,*_arg1);
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxSysColourChangedEventTowxEvent(void *ptr) {
|
|
wxSysColourChangedEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxSysColourChangedEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static PyMethodDef eventscMethods[] = {
|
|
{ "wxUpdateUIEvent_SetText", _wrap_wxUpdateUIEvent_SetText, 1 },
|
|
{ "wxUpdateUIEvent_Enable", _wrap_wxUpdateUIEvent_Enable, 1 },
|
|
{ "wxUpdateUIEvent_Check", _wrap_wxUpdateUIEvent_Check, 1 },
|
|
{ "wxUpdateUIEvent_GetSetEnabled", _wrap_wxUpdateUIEvent_GetSetEnabled, 1 },
|
|
{ "wxUpdateUIEvent_GetSetChecked", _wrap_wxUpdateUIEvent_GetSetChecked, 1 },
|
|
{ "wxUpdateUIEvent_GetSetText", _wrap_wxUpdateUIEvent_GetSetText, 1 },
|
|
{ "wxUpdateUIEvent_GetText", _wrap_wxUpdateUIEvent_GetText, 1 },
|
|
{ "wxUpdateUIEvent_GetEnabled", _wrap_wxUpdateUIEvent_GetEnabled, 1 },
|
|
{ "wxUpdateUIEvent_GetChecked", _wrap_wxUpdateUIEvent_GetChecked, 1 },
|
|
{ "wxIdleEvent_MoreRequested", _wrap_wxIdleEvent_MoreRequested, 1 },
|
|
{ "wxIdleEvent_RequestMore", _wrap_wxIdleEvent_RequestMore, 1 },
|
|
{ "wxDropFilesEvent_GetFiles", _wrap_wxDropFilesEvent_GetFiles, 1 },
|
|
{ "wxDropFilesEvent_GetNumberOfFiles", _wrap_wxDropFilesEvent_GetNumberOfFiles, 1 },
|
|
{ "wxDropFilesEvent_GetPosition", _wrap_wxDropFilesEvent_GetPosition, 1 },
|
|
{ "wxJoystickEvent_ButtonIsDown", _wrap_wxJoystickEvent_ButtonIsDown, 1 },
|
|
{ "wxJoystickEvent_ButtonUp", _wrap_wxJoystickEvent_ButtonUp, 1 },
|
|
{ "wxJoystickEvent_ButtonDown", _wrap_wxJoystickEvent_ButtonDown, 1 },
|
|
{ "wxJoystickEvent_IsZMove", _wrap_wxJoystickEvent_IsZMove, 1 },
|
|
{ "wxJoystickEvent_IsMove", _wrap_wxJoystickEvent_IsMove, 1 },
|
|
{ "wxJoystickEvent_IsButton", _wrap_wxJoystickEvent_IsButton, 1 },
|
|
{ "wxJoystickEvent_SetZPosition", _wrap_wxJoystickEvent_SetZPosition, 1 },
|
|
{ "wxJoystickEvent_SetPosition", _wrap_wxJoystickEvent_SetPosition, 1 },
|
|
{ "wxJoystickEvent_SetButtonChange", _wrap_wxJoystickEvent_SetButtonChange, 1 },
|
|
{ "wxJoystickEvent_SetButtonState", _wrap_wxJoystickEvent_SetButtonState, 1 },
|
|
{ "wxJoystickEvent_SetJoystick", _wrap_wxJoystickEvent_SetJoystick, 1 },
|
|
{ "wxJoystickEvent_GetJoystick", _wrap_wxJoystickEvent_GetJoystick, 1 },
|
|
{ "wxJoystickEvent_GetButtonChange", _wrap_wxJoystickEvent_GetButtonChange, 1 },
|
|
{ "wxJoystickEvent_GetButtonState", _wrap_wxJoystickEvent_GetButtonState, 1 },
|
|
{ "wxJoystickEvent_GetZPosition", _wrap_wxJoystickEvent_GetZPosition, 1 },
|
|
{ "wxJoystickEvent_GetPosition", _wrap_wxJoystickEvent_GetPosition, 1 },
|
|
{ "wxShowEvent_GetShow", _wrap_wxShowEvent_GetShow, 1 },
|
|
{ "wxShowEvent_SetShow", _wrap_wxShowEvent_SetShow, 1 },
|
|
{ "wxMenuEvent_GetMenuId", _wrap_wxMenuEvent_GetMenuId, 1 },
|
|
{ "wxActivateEvent_GetActive", _wrap_wxActivateEvent_GetActive, 1 },
|
|
{ "wxEraseEvent_GetDC", _wrap_wxEraseEvent_GetDC, 1 },
|
|
{ "wxMoveEvent_GetPosition", _wrap_wxMoveEvent_GetPosition, 1 },
|
|
{ "wxKeyEvent_GetY", _wrap_wxKeyEvent_GetY, 1 },
|
|
{ "wxKeyEvent_GetX", _wrap_wxKeyEvent_GetX, 1 },
|
|
{ "wxKeyEvent_Position", _wrap_wxKeyEvent_Position, 1 },
|
|
{ "wxKeyEvent_KeyCode", _wrap_wxKeyEvent_KeyCode, 1 },
|
|
{ "wxKeyEvent_ShiftDown", _wrap_wxKeyEvent_ShiftDown, 1 },
|
|
{ "wxKeyEvent_AltDown", _wrap_wxKeyEvent_AltDown, 1 },
|
|
{ "wxKeyEvent_MetaDown", _wrap_wxKeyEvent_MetaDown, 1 },
|
|
{ "wxKeyEvent_ControlDown", _wrap_wxKeyEvent_ControlDown, 1 },
|
|
{ "wxMouseEvent_GetY", _wrap_wxMouseEvent_GetY, 1 },
|
|
{ "wxMouseEvent_GetX", _wrap_wxMouseEvent_GetX, 1 },
|
|
{ "wxMouseEvent_GetLogicalPosition", _wrap_wxMouseEvent_GetLogicalPosition, 1 },
|
|
{ "wxMouseEvent_GetPosition", _wrap_wxMouseEvent_GetPosition, 1 },
|
|
{ "wxMouseEvent_Position", _wrap_wxMouseEvent_Position, 1 },
|
|
{ "wxMouseEvent_Leaving", _wrap_wxMouseEvent_Leaving, 1 },
|
|
{ "wxMouseEvent_Entering", _wrap_wxMouseEvent_Entering, 1 },
|
|
{ "wxMouseEvent_Moving", _wrap_wxMouseEvent_Moving, 1 },
|
|
{ "wxMouseEvent_Dragging", _wrap_wxMouseEvent_Dragging, 1 },
|
|
{ "wxMouseEvent_RightIsDown", _wrap_wxMouseEvent_RightIsDown, 1 },
|
|
{ "wxMouseEvent_MiddleIsDown", _wrap_wxMouseEvent_MiddleIsDown, 1 },
|
|
{ "wxMouseEvent_LeftIsDown", _wrap_wxMouseEvent_LeftIsDown, 1 },
|
|
{ "wxMouseEvent_RightDClick", _wrap_wxMouseEvent_RightDClick, 1 },
|
|
{ "wxMouseEvent_MiddleDClick", _wrap_wxMouseEvent_MiddleDClick, 1 },
|
|
{ "wxMouseEvent_LeftDClick", _wrap_wxMouseEvent_LeftDClick, 1 },
|
|
{ "wxMouseEvent_RightUp", _wrap_wxMouseEvent_RightUp, 1 },
|
|
{ "wxMouseEvent_MiddleUp", _wrap_wxMouseEvent_MiddleUp, 1 },
|
|
{ "wxMouseEvent_LeftUp", _wrap_wxMouseEvent_LeftUp, 1 },
|
|
{ "wxMouseEvent_RightDown", _wrap_wxMouseEvent_RightDown, 1 },
|
|
{ "wxMouseEvent_MiddleDown", _wrap_wxMouseEvent_MiddleDown, 1 },
|
|
{ "wxMouseEvent_LeftDown", _wrap_wxMouseEvent_LeftDown, 1 },
|
|
{ "wxMouseEvent_ShiftDown", _wrap_wxMouseEvent_ShiftDown, 1 },
|
|
{ "wxMouseEvent_AltDown", _wrap_wxMouseEvent_AltDown, 1 },
|
|
{ "wxMouseEvent_MetaDown", _wrap_wxMouseEvent_MetaDown, 1 },
|
|
{ "wxMouseEvent_ControlDown", _wrap_wxMouseEvent_ControlDown, 1 },
|
|
{ "wxMouseEvent_ButtonIsDown", _wrap_wxMouseEvent_ButtonIsDown, 1 },
|
|
{ "wxMouseEvent_Button", _wrap_wxMouseEvent_Button, 1 },
|
|
{ "wxMouseEvent_ButtonUp", _wrap_wxMouseEvent_ButtonUp, 1 },
|
|
{ "wxMouseEvent_ButtonDClick", _wrap_wxMouseEvent_ButtonDClick, 1 },
|
|
{ "wxMouseEvent_ButtonDown", _wrap_wxMouseEvent_ButtonDown, 1 },
|
|
{ "wxMouseEvent_IsButton", _wrap_wxMouseEvent_IsButton, 1 },
|
|
{ "wxScrollEvent_GetPosition", _wrap_wxScrollEvent_GetPosition, 1 },
|
|
{ "wxScrollEvent_GetOrientation", _wrap_wxScrollEvent_GetOrientation, 1 },
|
|
{ "wxCommandEvent_IsSelection", _wrap_wxCommandEvent_IsSelection, 1 },
|
|
{ "wxCommandEvent_GetString", _wrap_wxCommandEvent_GetString, 1 },
|
|
{ "wxCommandEvent_GetSelection", _wrap_wxCommandEvent_GetSelection, 1 },
|
|
{ "wxCommandEvent_GetInt", _wrap_wxCommandEvent_GetInt, 1 },
|
|
{ "wxCommandEvent_GetExtraLong", _wrap_wxCommandEvent_GetExtraLong, 1 },
|
|
{ "wxCommandEvent_Checked", _wrap_wxCommandEvent_Checked, 1 },
|
|
{ "wxCloseEvent_GetForce", _wrap_wxCloseEvent_GetForce, 1 },
|
|
{ "wxCloseEvent_SetForce", _wrap_wxCloseEvent_SetForce, 1 },
|
|
{ "wxCloseEvent_GetVeto", _wrap_wxCloseEvent_GetVeto, 1 },
|
|
{ "wxCloseEvent_Veto", _wrap_wxCloseEvent_Veto, 1 },
|
|
{ "wxCloseEvent_GetLoggingOff", _wrap_wxCloseEvent_GetLoggingOff, 1 },
|
|
{ "wxCloseEvent_GetSessionEnding", _wrap_wxCloseEvent_GetSessionEnding, 1 },
|
|
{ "wxSizeEvent_GetSize", _wrap_wxSizeEvent_GetSize, 1 },
|
|
{ "wxEvent_Skip", _wrap_wxEvent_Skip, 1 },
|
|
{ "wxEvent_SetTimestamp", _wrap_wxEvent_SetTimestamp, 1 },
|
|
{ "wxEvent_SetId", _wrap_wxEvent_SetId, 1 },
|
|
{ "wxEvent_SetEventType", _wrap_wxEvent_SetEventType, 1 },
|
|
{ "wxEvent_SetEventObject", _wrap_wxEvent_SetEventObject, 1 },
|
|
{ "wxEvent_GetTimestamp", _wrap_wxEvent_GetTimestamp, 1 },
|
|
{ "wxEvent_GetSkipped", _wrap_wxEvent_GetSkipped, 1 },
|
|
{ "wxEvent_GetId", _wrap_wxEvent_GetId, 1 },
|
|
{ "wxEvent_GetEventType", _wrap_wxEvent_GetEventType, 1 },
|
|
{ "wxEvent_GetEventObject", _wrap_wxEvent_GetEventObject, 1 },
|
|
{ NULL, NULL }
|
|
};
|
|
static PyObject *SWIG_globals;
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
SWIGEXPORT(void,initeventsc)() {
|
|
PyObject *m, *d;
|
|
SWIG_globals = SWIG_newvarlink();
|
|
m = Py_InitModule("eventsc", eventscMethods);
|
|
d = PyModule_GetDict(m);
|
|
/*
|
|
* These are the pointer type-equivalency mappings.
|
|
* (Used by the SWIG pointer type-checker).
|
|
*/
|
|
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
|
|
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
|
|
SWIG_RegisterMapping("_signed_long","_long",0);
|
|
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
|
|
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
|
|
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
|
|
SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
|
|
SWIG_RegisterMapping("_byte","_unsigned_char",0);
|
|
SWIG_RegisterMapping("_long","_unsigned_long",0);
|
|
SWIG_RegisterMapping("_long","_signed_long",0);
|
|
SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
|
|
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
|
|
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
|
|
SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
|
|
SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
|
|
SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
|
|
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
|
|
SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
|
|
SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
|
|
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
|
|
SWIG_RegisterMapping("_uint","_unsigned_int",0);
|
|
SWIG_RegisterMapping("_uint","_int",0);
|
|
SWIG_RegisterMapping("_uint","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxSysColourChangedEvent",SwigwxSysColourChangedEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxUpdateUIEvent",SwigwxUpdateUIEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxIdleEvent",SwigwxIdleEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxIdleEvent",SwigwxIdleEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxDropFilesEvent",SwigwxDropFilesEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxJoystickEvent",SwigwxJoystickEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxMaximizeEvent",SwigwxMaximizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxIconizeEvent",SwigwxIconizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxShowEvent",SwigwxShowEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxShowEvent",SwigwxShowEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxMenuEvent",SwigwxMenuEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxMenuEvent",SwigwxMenuEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxInitDialogEvent",SwigwxInitDialogEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxActivateEvent",SwigwxActivateEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxActivateEvent",SwigwxActivateEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxFocusEvent",SwigwxFocusEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxFocusEvent",SwigwxFocusEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxEraseEvent",SwigwxEraseEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxEraseEvent",SwigwxEraseEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxPaintEvent",SwigwxPaintEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxPaintEvent",SwigwxPaintEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxMoveEvent",SwigwxMoveEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxMoveEvent",SwigwxMoveEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxKeyEvent",SwigwxKeyEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxKeyEvent",SwigwxKeyEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxMouseEvent",SwigwxMouseEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxMouseEvent",SwigwxMouseEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxScrollEvent",SwigwxScrollEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxScrollEvent",SwigwxScrollEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxCommandEvent",SwigwxCommandEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxCommandEvent",SwigwxCommandEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxCloseEvent",SwigwxCloseEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxCloseEvent",SwigwxCloseEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_class_wxSizeEvent",SwigwxSizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxSizeEvent",SwigwxSizeEventTowxEvent);
|
|
SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
|
|
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
|
|
SWIG_RegisterMapping("_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
|
|
SWIG_RegisterMapping("_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
|
|
SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
|
|
SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
|
|
SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
|
|
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
|
|
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
|
|
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
|
|
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
|
|
SWIG_RegisterMapping("_EBool","_signed_int",0);
|
|
SWIG_RegisterMapping("_EBool","_int",0);
|
|
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
|
|
SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
|
|
SWIG_RegisterMapping("_unsigned_long","_long",0);
|
|
SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
|
|
SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
|
|
SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
|
|
SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
|
|
SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
|
|
SWIG_RegisterMapping("_signed_int","_EBool",0);
|
|
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_signed_int","_int",0);
|
|
SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
|
|
SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
|
|
SWIG_RegisterMapping("_WXTYPE","_short",0);
|
|
SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
|
|
SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
|
|
SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
|
|
SWIG_RegisterMapping("_unsigned_short","_short",0);
|
|
SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
|
|
SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
|
|
SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
|
|
SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
|
|
SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
|
|
SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
|
|
SWIG_RegisterMapping("_signed_short","_short",0);
|
|
SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
|
|
SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
|
|
SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
|
|
SWIG_RegisterMapping("_unsigned_char","_byte",0);
|
|
SWIG_RegisterMapping("_unsigned_int","_uint",0);
|
|
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_unsigned_int","_int",0);
|
|
SWIG_RegisterMapping("_short","_WXTYPE",0);
|
|
SWIG_RegisterMapping("_short","_unsigned_short",0);
|
|
SWIG_RegisterMapping("_short","_signed_short",0);
|
|
SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
|
|
SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_uint",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_int",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
|
|
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
|
|
SWIG_RegisterMapping("_int","_EBool",0);
|
|
SWIG_RegisterMapping("_int","_uint",0);
|
|
SWIG_RegisterMapping("_int","_wxWindowID",0);
|
|
SWIG_RegisterMapping("_int","_unsigned_int",0);
|
|
SWIG_RegisterMapping("_int","_signed_int",0);
|
|
SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
|
|
SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
|
|
SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
|
|
SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
|
|
SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
|
|
SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
|
|
SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
|
|
SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
|
|
SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
|
|
SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
|
|
SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
|
|
SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
|
|
SWIG_RegisterMapping("_class_wxCommandEvent","_wxScrollEvent",SwigwxScrollEventTowxCommandEvent);
|
|
SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
|
|
SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
|
|
SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
|
|
SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
|
|
SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
|
|
SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
|
|
}
|