+static void *SwigwxSpinButtonTowxControl(void *ptr) {
+ wxSpinButton *src;
+ wxControl *dest;
+ src = (wxSpinButton *) ptr;
+ dest = (wxControl *) src;
+ return (void *) dest;
+}
+
+static void *SwigwxSpinButtonTowxWindow(void *ptr) {
+ wxSpinButton *src;
+ wxWindow *dest;
+ src = (wxSpinButton *) ptr;
+ dest = (wxWindow *) src;
+ return (void *) dest;
+}
+
+static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
+ wxSpinButton *src;
+ wxEvtHandler *dest;
+ src = (wxSpinButton *) ptr;
+ dest = (wxEvtHandler *) src;
+ return (void *) dest;
+}
+
+#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
+static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxSpinButton * _result;
+ wxWindow * _arg0;
+ wxWindowID _arg1 = -1;
+ wxPoint * _arg2 = &wxPyDefaultPosition;
+ wxSize * _arg3 = &wxPyDefaultSize;
+ long _arg4 = (wxSP_HORIZONTAL);
+ char * _arg5 = "spinButton";
+ char * _argc0 = 0;
+ char * _argc2 = 0;
+ char * _argc3 = 0;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s|issls:new_wxSpinButton",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSpinButton. Expected _wxPoint_p.");
+ return NULL;
+ }
+ }
+ if (_argc3) {
+ if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSpinButton. Expected _wxSize_p.");
+ return NULL;
+ }
+ }
+ _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
+static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxSpinButton * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetMax",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxSpinButton_GetMax(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
+static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxSpinButton * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetMin",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxSpinButton_GetMin(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
+static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxSpinButton * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetValue",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxSpinButton_GetValue(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxSpinButton * _arg0;
+ int _arg1;
+ int _arg2;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sii:wxSpinButton_SetRange",&_argc0,&_arg1,&_arg2))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
+ return NULL;
+ }
+ }
+ wxSpinButton_SetRange(_arg0,_arg1,_arg2);
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
+static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxSpinButton * _arg0;
+ int _arg1;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxSpinButton_SetValue",&_argc0,&_arg1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
+ return NULL;
+ }
+ }
+ wxSpinButton_SetValue(_arg0,_arg1);
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+