+#define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
+static PyObject *_wrap_new_wxPalette(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxPalette * _result;
+ int _arg0;
+ byte * _arg1;
+ byte * _arg2;
+ byte * _arg3;
+ PyObject * _obj1 = 0;
+ PyObject * _obj2 = 0;
+ PyObject * _obj3 = 0;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"OOO:new_wxPalette",&_obj1,&_obj2,&_obj3))
+ return NULL;
+{
+ _arg1 = byte_LIST_helper(_obj1);
+ if (_arg1 == NULL) {
+ return NULL;
+ }
+}
+{
+ _arg2 = byte_LIST_helper(_obj2);
+ if (_arg2 == NULL) {
+ return NULL;
+ }
+}
+ if (_obj3)
+{
+ _arg3 = byte_LIST_helper(_obj3);
+ if (_arg3 == NULL) {
+ return NULL;
+ }
+}
+{
+ _arg0 = PyList_Size(_obj1);
+}
+ _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ delete [] _arg1;
+}
+{
+ delete [] _arg2;
+}
+{
+ delete [] _arg3;
+}
+ return _resultobj;
+}
+
+#define delete_wxPalette(_swigobj) (delete _swigobj)
+static PyObject *_wrap_delete_wxPalette(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxPalette * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:delete_wxPalette",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
+ return NULL;
+ }
+ }
+ delete_wxPalette(_arg0);
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
+static PyObject *_wrap_wxPalette_GetPixel(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxPalette * _arg0;
+ byte _arg1;
+ byte _arg2;
+ byte _arg3;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sbbb:wxPalette_GetPixel",&_argc0,&_arg1,&_arg2,&_arg3))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
+static PyObject *_wrap_wxPalette_GetRGB(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPalette * _arg0;
+ int _arg1;
+ byte * _arg2;
+ byte * _arg3;
+ byte * _arg4;
+ char * _argc0 = 0;
+ char * _argc2 = 0;
+ char * _argc3 = 0;
+ char * _argc4 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sisss:wxPalette_GetRGB",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_byte_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
+ return NULL;
+ }
+ }
+ if (_argc3) {
+ if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_byte_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
+ return NULL;
+ }
+ }
+ if (_argc4) {
+ if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_byte_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
+ return NULL;
+ }
+ }
+ _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxPalette_Ok(_swigobj) (_swigobj->Ok())
+static PyObject *_wrap_wxPalette_Ok(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPalette * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxPalette_Ok",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
+ return NULL;
+ }
+ }
+ _result = (bool )wxPalette_Ok(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+