-static PyMethodDef gdicMethods[] = {
- { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close, 1 },
- { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC, 1 },
- { "new_wxPrinterDC", _wrap_new_wxPrinterDC, 1 },
- { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC, 1 },
- { "new_wxPaintDC", _wrap_new_wxPaintDC, 1 },
- { "new_wxClientDC", _wrap_new_wxClientDC, 1 },
- { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop, 1 },
- { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect, 1 },
- { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop, 1 },
- { "new_wxScreenDC", _wrap_new_wxScreenDC, 1 },
- { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject, 1 },
- { "new_wxMemoryDC", _wrap_new_wxMemoryDC, 1 },
- { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap, 1 },
- { "wxDC_StartPage", _wrap_wxDC_StartPage, 1 },
- { "wxDC_StartDoc", _wrap_wxDC_StartDoc, 1 },
- { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale, 1 },
- { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground, 1 },
- { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground, 1 },
- { "wxDC_SetPen", _wrap_wxDC_SetPen, 1 },
- { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization, 1 },
- { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode, 1 },
- { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction, 1 },
- { "wxDC_SetFont", _wrap_wxDC_SetFont, 1 },
- { "wxDC_SetBrush", _wrap_wxDC_SetBrush, 1 },
- { "wxDC_SetPalette", _wrap_wxDC_SetPalette, 1 },
- { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion, 1 },
- { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode, 1 },
- { "wxDC_SetBackground", _wrap_wxDC_SetBackground, 1 },
- { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin, 1 },
- { "wxDC_Ok", _wrap_wxDC_Ok, 1 },
- { "wxDC_MinY", _wrap_wxDC_MinY, 1 },
- { "wxDC_MinX", _wrap_wxDC_MinX, 1 },
- { "wxDC_MaxY", _wrap_wxDC_MaxY, 1 },
- { "wxDC_MaxX", _wrap_wxDC_MaxX, 1 },
- { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel, 1 },
- { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY, 1 },
- { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel, 1 },
- { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX, 1 },
- { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground, 1 },
- { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent, 1 },
- { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground, 1 },
- { "wxDC_GetSize", _wrap_wxDC_GetSize, 1 },
- { "wxDC_GetPixel", _wrap_wxDC_GetPixel, 1 },
- { "wxDC_GetPen", _wrap_wxDC_GetPen, 1 },
- { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization, 1 },
- { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode, 1 },
- { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction, 1 },
- { "wxDC_GetFont", _wrap_wxDC_GetFont, 1 },
- { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox, 1 },
- { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth, 1 },
- { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight, 1 },
- { "wxDC_GetBrush", _wrap_wxDC_GetBrush, 1 },
- { "wxDC_GetBackground", _wrap_wxDC_GetBackground, 1 },
- { "wxDC_EndPage", _wrap_wxDC_EndPage, 1 },
- { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing, 1 },
- { "wxDC_EndDoc", _wrap_wxDC_EndDoc, 1 },
- { "wxDC_DrawText", _wrap_wxDC_DrawText, 1 },
- { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline, 1 },
- { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle, 1 },
- { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle, 1 },
- { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint, 1 },
- { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon, 1 },
- { "wxDC_DrawLines", _wrap_wxDC_DrawLines, 1 },
- { "wxDC_DrawLine", _wrap_wxDC_DrawLine, 1 },
- { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon, 1 },
+#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;
+ }
+}
+{
+ if (_obj1) {
+ _arg0 = PyList_Size(_obj1);
+ }
+ else {
+ _arg0 = 0;
+ }
+}
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} 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;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxPalette(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} 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;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _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;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} _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;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxPalette_Ok(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
+static PyObject *_wrap_new_wxImageList(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxImageList * _result;
+ int _arg0;
+ int _arg1;
+ bool _arg2 = (1);
+ int _arg3 = 1;
+ int tempbool2;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ii|ii:new_wxImageList",&_arg0,&_arg1,&tempbool2,&_arg3))
+ return NULL;
+ _arg2 = (bool ) tempbool2;
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxImageList *)new_wxImageList(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define delete_wxImageList(_swigobj) (delete _swigobj)
+static PyObject *_wrap_delete_wxImageList(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxImageList * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:delete_wxImageList",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxImageList(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxImageList_Add(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxImageList * _arg0;
+ wxBitmap * _arg1;
+ wxBitmap * _arg2 = &wxNullBitmap;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+ char * _argc2 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss|s:wxImageList_Add",&_argc0,&_argc1,&_argc2))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxImageList_Add(_arg0,*_arg1,*_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxImageList_AddWithColourMask(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxImageList * _arg0;
+ wxBitmap * _arg1;
+ wxColour * _arg2;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+ char * _argc2 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sss:wxImageList_AddWithColourMask",&_argc0,&_argc1,&_argc2))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxColour_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxImageList_AddWithColourMask(_arg0,*_arg1,*_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
+static PyObject *_wrap_wxImageList_AddIcon(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxImageList * _arg0;
+ wxIcon * _arg1;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss:wxImageList_AddIcon",&_argc0,&_argc1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxImageList_AddIcon(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
+static PyObject *_wrap_wxImageList_Replace(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ int _arg1;
+ wxBitmap * _arg2;
+ wxBitmap * _arg3 = &wxNullBitmap;
+ char * _argc0 = 0;
+ char * _argc2 = 0;
+ char * _argc3 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sis|s:wxImageList_Replace",&_argc0,&_arg1,&_argc2,&_argc3))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+ if (_argc3) {
+ if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_Replace(_arg0,_arg1,*_arg2,*_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxImageList_ReplaceIcon(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ int _arg1;
+ wxIcon * _arg2;
+ char * _argc0 = 0;
+ char * _argc2 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sis:wxImageList_ReplaceIcon",&_argc0,&_arg1,&_argc2))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxIcon_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_ReplaceIcon(_arg0,_arg1,*_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
+static PyObject *_wrap_wxImageList_Draw(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ int _arg1;
+ wxDC * _arg2;
+ int _arg3;
+ int _arg4;
+ int _arg5 = (wxIMAGELIST_DRAW_NORMAL);
+ bool _arg6 = (0);
+ char * _argc0 = 0;
+ char * _argc2 = 0;
+ int tempbool6;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"sisii|ii:wxImageList_Draw",&_argc0,&_arg1,&_argc2,&_arg3,&_arg4,&_arg5,&tempbool6))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+ if (_argc2) {
+ if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxDC_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
+ return NULL;
+ }
+ }
+ _arg6 = (bool ) tempbool6;
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_Draw(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
+static PyObject *_wrap_wxImageList_GetImageCount(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxImageList * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxImageList_GetImageCount",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxImageList_GetImageCount(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
+static PyObject *_wrap_wxImageList_Remove(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ int _arg1;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxImageList_Remove",&_argc0,&_arg1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_Remove(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
+static PyObject *_wrap_wxImageList_RemoveAll(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxImageList * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxImageList_RemoveAll",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxImageList_RemoveAll(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+static PyMethodDef gdicMethods[] = {
+ { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll, 1 },
+ { "wxImageList_Remove", _wrap_wxImageList_Remove, 1 },
+ { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount, 1 },
+ { "wxImageList_Draw", _wrap_wxImageList_Draw, 1 },
+ { "wxImageList_ReplaceIcon", _wrap_wxImageList_ReplaceIcon, 1 },
+ { "wxImageList_Replace", _wrap_wxImageList_Replace, 1 },
+ { "wxImageList_AddIcon", _wrap_wxImageList_AddIcon, 1 },
+ { "wxImageList_AddWithColourMask", _wrap_wxImageList_AddWithColourMask, 1 },
+ { "wxImageList_Add", _wrap_wxImageList_Add, 1 },
+ { "delete_wxImageList", _wrap_delete_wxImageList, 1 },
+ { "new_wxImageList", _wrap_new_wxImageList, 1 },
+ { "wxPalette_Ok", _wrap_wxPalette_Ok, 1 },
+ { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB, 1 },
+ { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel, 1 },
+ { "delete_wxPalette", _wrap_delete_wxPalette, 1 },
+ { "new_wxPalette", _wrap_new_wxPalette, 1 },
+ { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close, 1 },
+ { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC, 1 },
+ { "new_wxPrinterDC", _wrap_new_wxPrinterDC, 1 },
+ { "new_wxWindowDC", _wrap_new_wxWindowDC, 1 },
+ { "new_wxPaintDC", _wrap_new_wxPaintDC, 1 },
+ { "new_wxClientDC", _wrap_new_wxClientDC, 1 },
+ { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop, 1 },
+ { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect, 1 },
+ { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop, 1 },
+ { "new_wxScreenDC", _wrap_new_wxScreenDC, 1 },
+ { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject, 1 },
+ { "new_wxMemoryDC", _wrap_new_wxMemoryDC, 1 },
+ { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap, 1 },
+ { "wxDC_StartPage", _wrap_wxDC_StartPage, 1 },
+ { "wxDC_StartDoc", _wrap_wxDC_StartDoc, 1 },
+ { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale, 1 },
+ { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground, 1 },
+ { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground, 1 },
+ { "wxDC_SetPen", _wrap_wxDC_SetPen, 1 },
+ { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization, 1 },
+ { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode, 1 },
+ { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction, 1 },
+ { "wxDC_SetFont", _wrap_wxDC_SetFont, 1 },
+ { "wxDC_SetBrush", _wrap_wxDC_SetBrush, 1 },
+ { "wxDC_SetPalette", _wrap_wxDC_SetPalette, 1 },
+ { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion, 1 },
+ { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode, 1 },
+ { "wxDC_SetBackground", _wrap_wxDC_SetBackground, 1 },
+ { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin, 1 },
+ { "wxDC_Ok", _wrap_wxDC_Ok, 1 },
+ { "wxDC_MinY", _wrap_wxDC_MinY, 1 },
+ { "wxDC_MinX", _wrap_wxDC_MinX, 1 },
+ { "wxDC_MaxY", _wrap_wxDC_MaxY, 1 },
+ { "wxDC_MaxX", _wrap_wxDC_MaxX, 1 },
+ { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel, 1 },
+ { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY, 1 },
+ { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel, 1 },
+ { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX, 1 },
+ { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground, 1 },
+ { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent, 1 },
+ { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent, 1 },
+ { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground, 1 },
+ { "wxDC_GetSize", _wrap_wxDC_GetSize, 1 },
+ { "wxDC_GetSizeTuple", _wrap_wxDC_GetSizeTuple, 1 },
+ { "wxDC_GetPixel", _wrap_wxDC_GetPixel, 1 },
+ { "wxDC_GetPen", _wrap_wxDC_GetPen, 1 },
+ { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization, 1 },
+ { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode, 1 },
+ { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction, 1 },
+ { "wxDC_GetFont", _wrap_wxDC_GetFont, 1 },
+ { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox, 1 },
+ { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth, 1 },
+ { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight, 1 },
+ { "wxDC_GetBrush", _wrap_wxDC_GetBrush, 1 },
+ { "wxDC_GetBackground", _wrap_wxDC_GetBackground, 1 },
+ { "wxDC_FloodFill", _wrap_wxDC_FloodFill, 1 },
+ { "wxDC_EndPage", _wrap_wxDC_EndPage, 1 },
+ { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing, 1 },
+ { "wxDC_EndDoc", _wrap_wxDC_EndDoc, 1 },
+ { "wxDC_DrawText", _wrap_wxDC_DrawText, 1 },
+ { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline, 1 },
+ { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle, 1 },
+ { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle, 1 },
+ { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint, 1 },
+ { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon, 1 },
+ { "wxDC_DrawLines", _wrap_wxDC_DrawLines, 1 },
+ { "wxDC_DrawLine", _wrap_wxDC_DrawLine, 1 },
+ { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon, 1 },