2 * FILE : src/gtk/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initgdic
55 #define SWIG_name "gdic"
58 #include <wx/imaglist.h>
59 #include <wx/fontmap.h>
60 #include <wx/fontenc.h>
61 #include <wx/fontmap.h>
62 #include <wx/fontutil.h>
63 #include <wx/dcbuffer.h>
64 #include <wx/iconbndl.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 // Put some wx default wxChar* values into wxStrings.
94 static const wxString
wxPyEmptyString(wxT(""));
95 // Implementations of some alternate "constructors"
97 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
98 return new wxBitmap(width
, height
, depth
);
101 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
102 char** cArray
= NULL
;
105 if (!PyList_Check(listOfStrings
)) {
106 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
109 count
= PyList_Size(listOfStrings
);
110 cArray
= new char*[count
];
112 for(int x
=0; x
<count
; x
++) {
113 // TODO: Need some validation and error checking here
114 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
120 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
121 char** cArray
= NULL
;
124 cArray
= ConvertListOfStrings(listOfStrings
);
127 bmp
= new wxBitmap(cArray
);
133 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
134 return new wxBitmap(icon
);
138 wxBitmap
* wxBitmapFromBits(PyObject
* bits
, int width
, int height
, int depth
= 1 ) {
141 PyString_AsStringAndSize(bits
, &buf
, &length
);
142 return new wxBitmap(buf
, width
, height
, depth
);
147 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
148 // int width, int height, int depth = 1) {
149 // if (! PyString_Check(data)) {
150 // PyErr_SetString(PyExc_TypeError, "Expected string object");
153 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
157 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
158 return new wxMask(bitmap
, colour
);
160 // Implementations of some alternate "constructors"
161 wxIcon
* wxEmptyIcon() {
165 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
166 char** cArray
= NULL
;
169 cArray
= ConvertListOfStrings(listOfStrings
);
172 icon
= new wxIcon(cArray
);
177 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
178 wxIcon
* icon
= new wxIcon();
179 icon
->CopyFromBitmap(bmp
);
183 wxCursor
* wxPyStockCursor(int id
) {
184 return new wxCursor(id
);
187 wxCursor
* wxCursorFromImage(const wxImage
& image
) {
188 return new wxCursor(image
);
191 wxCursor
* wxCursorFromBits(PyObject
* bits
, int width
, int height
,
192 int hotSpotX
=-1, int hotSpotY
=-1,
193 PyObject
* maskBits
=0) {
195 char* maskbuf
= NULL
;
197 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
199 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
200 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
202 // Alternate 'constructor'
203 wxColour
* wxNamedColour(const wxString
& colorName
) {
204 return new wxColour(colorName
);
207 class wxPyPen
: public wxPen
{
209 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
210 : wxPen(colour
, width
, style
)
217 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
220 m_dash
= new wxDash
[nb_dashes
];
221 for (int i
=0; i
<nb_dashes
; i
++) {
224 wxPen::SetDashes(nb_dashes
, m_dash
);
231 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
237 // Alternate 'constructor'
238 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
239 return new wxMemoryDC(oldDC
);
243 extern wxFont
* wxNORMAL_FONT
;
244 extern wxFont
* wxSMALL_FONT
;
245 extern wxFont
* wxITALIC_FONT
;
246 extern wxFont
* wxSWISS_FONT
;
247 extern wxPen
* wxRED_PEN
;
248 extern wxPen
* wxCYAN_PEN
;
249 extern wxPen
* wxGREEN_PEN
;
250 extern wxPen
* wxBLACK_PEN
;
251 extern wxPen
* wxWHITE_PEN
;
252 extern wxPen
* wxTRANSPARENT_PEN
;
253 extern wxPen
* wxBLACK_DASHED_PEN
;
254 extern wxPen
* wxGREY_PEN
;
255 extern wxPen
* wxMEDIUM_GREY_PEN
;
256 extern wxPen
* wxLIGHT_GREY_PEN
;
257 extern wxBrush
* wxBLUE_BRUSH
;
258 extern wxBrush
* wxGREEN_BRUSH
;
259 extern wxBrush
* wxWHITE_BRUSH
;
260 extern wxBrush
* wxBLACK_BRUSH
;
261 extern wxBrush
* wxTRANSPARENT_BRUSH
;
262 extern wxBrush
* wxCYAN_BRUSH
;
263 extern wxBrush
* wxRED_BRUSH
;
264 extern wxBrush
* wxGREY_BRUSH
;
265 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
266 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
267 extern wxColour
* wxBLACK
;
268 extern wxColour
* wxWHITE
;
269 extern wxColour
* wxRED
;
270 extern wxColour
* wxBLUE
;
271 extern wxColour
* wxGREEN
;
272 extern wxColour
* wxCYAN
;
273 extern wxColour
* wxLIGHT_GREY
;
274 extern wxCursor
* wxSTANDARD_CURSOR
;
275 extern wxCursor
* wxHOURGLASS_CURSOR
;
276 extern wxCursor
* wxCROSS_CURSOR
;
277 extern wxBitmap wxNullBitmap
;
278 extern wxIcon wxNullIcon
;
279 extern wxCursor wxNullCursor
;
280 extern wxPen wxNullPen
;
281 extern wxBrush wxNullBrush
;
282 extern wxPalette wxNullPalette
;
283 extern wxFont wxNullFont
;
284 extern wxColour wxNullColour
;
285 extern wxFontList
* wxTheFontList
;
286 extern wxPenList
* wxThePenList
;
287 extern wxBrushList
* wxTheBrushList
;
288 extern wxColourDatabase
* wxTheColourDatabase
;
294 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
299 int _arg2
= (int ) -1;
300 char *_kwnames
[] = { "width","height","depth", NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
314 _resultobj
= Py_BuildValue("s",_ptemp
);
317 _resultobj
= Py_None
;
322 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
326 PyObject
* _obj0
= 0;
327 char *_kwnames
[] = { "listOfStrings", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
344 _resultobj
= Py_BuildValue("s",_ptemp
);
347 _resultobj
= Py_None
;
352 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
356 PyObject
* _argo0
= 0;
357 char *_kwnames
[] = { "icon", NULL
};
361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
364 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
371 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
373 wxPyEndAllowThreads(__tstate
);
374 if (PyErr_Occurred()) return NULL
;
376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
377 _resultobj
= Py_BuildValue("s",_ptemp
);
380 _resultobj
= Py_None
;
385 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
391 int _arg3
= (int ) 1;
392 PyObject
* _obj0
= 0;
393 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxBitmapFromBits",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
404 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
406 wxPyEndAllowThreads(__tstate
);
407 if (PyErr_Occurred()) return NULL
;
409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
410 _resultobj
= Py_BuildValue("s",_ptemp
);
413 _resultobj
= Py_None
;
418 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
419 PyObject
* _resultobj
;
423 PyObject
* _argo0
= 0;
425 PyObject
* _obj1
= 0;
426 char *_kwnames
[] = { "bitmap","colour", NULL
};
430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
433 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
440 if (! wxColour_helper(_obj1
, &_arg1
))
444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
445 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
447 wxPyEndAllowThreads(__tstate
);
448 if (PyErr_Occurred()) return NULL
;
450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
451 _resultobj
= Py_BuildValue("s",_ptemp
);
454 _resultobj
= Py_None
;
459 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
462 char *_kwnames
[] = { NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
470 _result
= (wxIcon
*)wxEmptyIcon();
472 wxPyEndAllowThreads(__tstate
);
473 if (PyErr_Occurred()) return NULL
;
475 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
476 _resultobj
= Py_BuildValue("s",_ptemp
);
479 _resultobj
= Py_None
;
484 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
488 PyObject
* _obj0
= 0;
489 char *_kwnames
[] = { "listOfStrings", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
500 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
502 wxPyEndAllowThreads(__tstate
);
503 if (PyErr_Occurred()) return NULL
;
505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
506 _resultobj
= Py_BuildValue("s",_ptemp
);
509 _resultobj
= Py_None
;
514 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
518 PyObject
* _argo0
= 0;
519 char *_kwnames
[] = { "bmp", NULL
};
523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
526 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
533 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
535 wxPyEndAllowThreads(__tstate
);
536 if (PyErr_Occurred()) return NULL
;
538 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
539 _resultobj
= Py_BuildValue("s",_ptemp
);
542 _resultobj
= Py_None
;
547 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
551 char *_kwnames
[] = { "id", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
559 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
561 wxPyEndAllowThreads(__tstate
);
562 if (PyErr_Occurred()) return NULL
;
564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
565 _resultobj
= Py_BuildValue("s",_ptemp
);
568 _resultobj
= Py_None
;
573 static PyObject
*_wrap_wxCursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
577 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "image", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursorFromImage",_kwnames
,&_argo0
))
585 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursorFromImage. Expected _wxImage_p.");
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 _result
= (wxCursor
*)wxCursorFromImage(*_arg0
);
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) return NULL
;
597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
598 _resultobj
= Py_BuildValue("s",_ptemp
);
601 _resultobj
= Py_None
;
606 static PyObject
*_wrap_wxCursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
612 int _arg3
= (int ) -1;
613 int _arg4
= (int ) -1;
614 PyObject
* _arg5
= (PyObject
*) 0;
615 PyObject
* _obj0
= 0;
616 PyObject
* _obj5
= 0;
617 char *_kwnames
[] = { "bits","width","height","hotSpotX","hotSpotY","maskBits", NULL
};
621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiO:wxCursorFromBits",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
632 _result
= (wxCursor
*)wxCursorFromBits(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
634 wxPyEndAllowThreads(__tstate
);
635 if (PyErr_Occurred()) return NULL
;
637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
638 _resultobj
= Py_BuildValue("s",_ptemp
);
641 _resultobj
= Py_None
;
646 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
650 PyObject
* _obj0
= 0;
651 char *_kwnames
[] = { "colorName", NULL
};
655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
658 _arg0
= wxString_in_helper(_obj0
);
663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
664 _result
= (wxColour
*)wxNamedColour(*_arg0
);
666 wxPyEndAllowThreads(__tstate
);
667 if (PyErr_Occurred()) return NULL
;
669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
670 _resultobj
= Py_BuildValue("s",_ptemp
);
673 _resultobj
= Py_None
;
682 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
683 PyObject
* _resultobj
;
684 wxMemoryDC
* _result
;
686 PyObject
* _argo0
= 0;
687 char *_kwnames
[] = { "oldDC", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
708 _resultobj
= Py_BuildValue("s",_ptemp
);
711 _resultobj
= Py_None
;
716 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
718 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
722 static PyObject
*_wrap_wxNORMAL_FONT_get() {
726 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
727 pyobj
= PyString_FromString(ptemp
);
731 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
733 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
737 static PyObject
*_wrap_wxSMALL_FONT_get() {
741 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
742 pyobj
= PyString_FromString(ptemp
);
746 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
748 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
752 static PyObject
*_wrap_wxITALIC_FONT_get() {
756 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
757 pyobj
= PyString_FromString(ptemp
);
761 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
763 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
767 static PyObject
*_wrap_wxSWISS_FONT_get() {
771 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
772 pyobj
= PyString_FromString(ptemp
);
776 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
778 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
782 static PyObject
*_wrap_wxRED_PEN_get() {
786 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
787 pyobj
= PyString_FromString(ptemp
);
791 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
793 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
797 static PyObject
*_wrap_wxCYAN_PEN_get() {
801 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
802 pyobj
= PyString_FromString(ptemp
);
806 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
808 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
812 static PyObject
*_wrap_wxGREEN_PEN_get() {
816 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
817 pyobj
= PyString_FromString(ptemp
);
821 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
823 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
827 static PyObject
*_wrap_wxBLACK_PEN_get() {
831 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
832 pyobj
= PyString_FromString(ptemp
);
836 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
838 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
842 static PyObject
*_wrap_wxWHITE_PEN_get() {
846 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
847 pyobj
= PyString_FromString(ptemp
);
851 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
853 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
857 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
861 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
862 pyobj
= PyString_FromString(ptemp
);
866 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
868 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
872 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
876 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
877 pyobj
= PyString_FromString(ptemp
);
881 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
883 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
887 static PyObject
*_wrap_wxGREY_PEN_get() {
891 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
892 pyobj
= PyString_FromString(ptemp
);
896 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
898 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
902 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
906 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
907 pyobj
= PyString_FromString(ptemp
);
911 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
913 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
917 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
921 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
922 pyobj
= PyString_FromString(ptemp
);
926 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
928 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
932 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
936 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
937 pyobj
= PyString_FromString(ptemp
);
941 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
943 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
947 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
951 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
952 pyobj
= PyString_FromString(ptemp
);
956 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
958 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
962 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
966 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
967 pyobj
= PyString_FromString(ptemp
);
971 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
973 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
977 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
981 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
982 pyobj
= PyString_FromString(ptemp
);
986 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
988 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
992 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
996 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
997 pyobj
= PyString_FromString(ptemp
);
1001 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
1003 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
1007 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
1011 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
1012 pyobj
= PyString_FromString(ptemp
);
1016 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
1018 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
1022 static PyObject
*_wrap_wxRED_BRUSH_get() {
1026 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
1027 pyobj
= PyString_FromString(ptemp
);
1031 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
1033 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
1037 static PyObject
*_wrap_wxGREY_BRUSH_get() {
1041 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
1042 pyobj
= PyString_FromString(ptemp
);
1046 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
1048 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
1052 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
1056 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
1057 pyobj
= PyString_FromString(ptemp
);
1061 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
1063 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
1067 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
1071 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
1072 pyobj
= PyString_FromString(ptemp
);
1076 static int _wrap_wxBLACK_set(PyObject
*val
) {
1078 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
1082 static PyObject
*_wrap_wxBLACK_get() {
1086 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
1087 pyobj
= PyString_FromString(ptemp
);
1091 static int _wrap_wxWHITE_set(PyObject
*val
) {
1093 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1097 static PyObject
*_wrap_wxWHITE_get() {
1101 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1102 pyobj
= PyString_FromString(ptemp
);
1106 static int _wrap_wxRED_set(PyObject
*val
) {
1108 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1112 static PyObject
*_wrap_wxRED_get() {
1116 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1117 pyobj
= PyString_FromString(ptemp
);
1121 static int _wrap_wxBLUE_set(PyObject
*val
) {
1123 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1127 static PyObject
*_wrap_wxBLUE_get() {
1131 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1132 pyobj
= PyString_FromString(ptemp
);
1136 static int _wrap_wxGREEN_set(PyObject
*val
) {
1138 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1142 static PyObject
*_wrap_wxGREEN_get() {
1146 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1147 pyobj
= PyString_FromString(ptemp
);
1151 static int _wrap_wxCYAN_set(PyObject
*val
) {
1153 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1157 static PyObject
*_wrap_wxCYAN_get() {
1161 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1162 pyobj
= PyString_FromString(ptemp
);
1166 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1168 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1172 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1176 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1177 pyobj
= PyString_FromString(ptemp
);
1181 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1183 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1187 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1191 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1192 pyobj
= PyString_FromString(ptemp
);
1196 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1198 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1202 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1206 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1207 pyobj
= PyString_FromString(ptemp
);
1211 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1213 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1217 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1221 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1222 pyobj
= PyString_FromString(ptemp
);
1226 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1228 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1232 static PyObject
*_wrap_wxNullBitmap_get() {
1236 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1237 pyobj
= PyString_FromString(ptemp
);
1241 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1243 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1247 static PyObject
*_wrap_wxNullIcon_get() {
1251 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1252 pyobj
= PyString_FromString(ptemp
);
1256 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1258 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1262 static PyObject
*_wrap_wxNullCursor_get() {
1266 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1267 pyobj
= PyString_FromString(ptemp
);
1271 static int _wrap_wxNullPen_set(PyObject
*val
) {
1273 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1277 static PyObject
*_wrap_wxNullPen_get() {
1281 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1282 pyobj
= PyString_FromString(ptemp
);
1286 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1288 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1292 static PyObject
*_wrap_wxNullBrush_get() {
1296 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1297 pyobj
= PyString_FromString(ptemp
);
1301 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1303 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1307 static PyObject
*_wrap_wxNullPalette_get() {
1311 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1312 pyobj
= PyString_FromString(ptemp
);
1316 static int _wrap_wxNullFont_set(PyObject
*val
) {
1318 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1322 static PyObject
*_wrap_wxNullFont_get() {
1326 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1327 pyobj
= PyString_FromString(ptemp
);
1331 static int _wrap_wxNullColour_set(PyObject
*val
) {
1333 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1337 static PyObject
*_wrap_wxNullColour_get() {
1341 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1342 pyobj
= PyString_FromString(ptemp
);
1346 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1348 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1352 static PyObject
*_wrap_wxTheFontList_get() {
1356 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1357 pyobj
= PyString_FromString(ptemp
);
1361 static int _wrap_wxThePenList_set(PyObject
*val
) {
1363 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1367 static PyObject
*_wrap_wxThePenList_get() {
1371 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1372 pyobj
= PyString_FromString(ptemp
);
1376 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1378 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1382 static PyObject
*_wrap_wxTheBrushList_get() {
1386 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1387 pyobj
= PyString_FromString(ptemp
);
1391 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1393 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1397 static PyObject
*_wrap_wxTheColourDatabase_get() {
1401 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1402 pyobj
= PyString_FromString(ptemp
);
1406 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1409 src
= (wxGDIObject
*) ptr
;
1410 dest
= (wxObject
*) src
;
1411 return (void *) dest
;
1414 #define new_wxGDIObject() (new wxGDIObject())
1415 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
* _resultobj
;
1417 wxGDIObject
* _result
;
1418 char *_kwnames
[] = { NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 _result
= (wxGDIObject
*)new_wxGDIObject();
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1432 _resultobj
= Py_BuildValue("s",_ptemp
);
1435 _resultobj
= Py_None
;
1440 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1441 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1443 wxGDIObject
* _arg0
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 delete_wxGDIObject(_arg0
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) return NULL
;
1463 } Py_INCREF(Py_None
);
1464 _resultobj
= Py_None
;
1468 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1469 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1472 wxGDIObject
* _arg0
;
1473 PyObject
* _argo0
= 0;
1474 char *_kwnames
[] = { "self", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1492 } _resultobj
= Py_BuildValue("i",_result
);
1496 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1497 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1499 wxGDIObject
* _arg0
;
1501 PyObject
* _argo0
= 0;
1503 char *_kwnames
[] = { "self","visible", NULL
};
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1515 _arg1
= (bool ) tempbool1
;
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 wxGDIObject_SetVisible(_arg0
,_arg1
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) return NULL
;
1522 } Py_INCREF(Py_None
);
1523 _resultobj
= Py_None
;
1527 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1528 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1531 wxGDIObject
* _arg0
;
1532 PyObject
* _argo0
= 0;
1533 char *_kwnames
[] = { "self", NULL
};
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) return NULL
;
1551 } _resultobj
= Py_BuildValue("i",_result
);
1555 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1558 src
= (wxBitmap
*) ptr
;
1559 dest
= (wxGDIObject
*) src
;
1560 return (void *) dest
;
1563 static void *SwigwxBitmapTowxObject(void *ptr
) {
1566 src
= (wxBitmap
*) ptr
;
1567 dest
= (wxObject
*) src
;
1568 return (void *) dest
;
1571 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1572 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1576 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1577 PyObject
* _obj0
= 0;
1578 char *_kwnames
[] = { "name","type", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1585 _arg0
= wxString_in_helper(_obj0
);
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) return NULL
;
1596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1597 _resultobj
= Py_BuildValue("s",_ptemp
);
1600 _resultobj
= Py_None
;
1609 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1610 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1613 PyObject
* _argo0
= 0;
1614 char *_kwnames
[] = { "self", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 delete_wxBitmap(_arg0
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) return NULL
;
1632 } Py_INCREF(Py_None
);
1633 _resultobj
= Py_None
;
1637 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1638 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1640 wxPalette
* _result
;
1642 PyObject
* _argo0
= 0;
1643 char *_kwnames
[] = { "self", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1660 wxPyEndAllowThreads(__tstate
);
1661 if (PyErr_Occurred()) return NULL
;
1663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1664 _resultobj
= Py_BuildValue("s",_ptemp
);
1667 _resultobj
= Py_None
;
1672 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1673 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) return NULL
;
1698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1699 _resultobj
= Py_BuildValue("s",_ptemp
);
1702 _resultobj
= Py_None
;
1707 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1708 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1713 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1714 PyObject
* _argo0
= 0;
1715 PyObject
* _obj1
= 0;
1716 char *_kwnames
[] = { "self","name","type", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1729 _arg1
= wxString_in_helper(_obj1
);
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1735 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) return NULL
;
1739 } _resultobj
= Py_BuildValue("i",_result
);
1747 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1748 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1754 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1755 PyObject
* _argo0
= 0;
1756 PyObject
* _obj1
= 0;
1757 PyObject
* _argo3
= 0;
1758 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1771 _arg1
= wxString_in_helper(_obj1
);
1776 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) return NULL
;
1788 } _resultobj
= Py_BuildValue("i",_result
);
1796 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1797 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1801 PyObject
* _argo0
= 0;
1802 PyObject
* _argo1
= 0;
1803 char *_kwnames
[] = { "self","mask", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 wxBitmap_SetMask(_arg0
,_arg1
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) return NULL
;
1828 } Py_INCREF(Py_None
);
1829 _resultobj
= Py_None
;
1833 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1834 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1838 PyObject
* _argo0
= 0;
1839 char *_kwnames
[] = { "self", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 _result
= (bool )wxBitmap_Ok(_arg0
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) return NULL
;
1857 } _resultobj
= Py_BuildValue("i",_result
);
1861 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1862 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1866 PyObject
* _argo0
= 0;
1867 char *_kwnames
[] = { "self", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 _result
= (int )wxBitmap_GetWidth(_arg0
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) return NULL
;
1885 } _resultobj
= Py_BuildValue("i",_result
);
1889 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1890 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1894 PyObject
* _argo0
= 0;
1895 char *_kwnames
[] = { "self", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 _result
= (int )wxBitmap_GetHeight(_arg0
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) return NULL
;
1913 } _resultobj
= Py_BuildValue("i",_result
);
1917 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1918 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1922 PyObject
* _argo0
= 0;
1923 char *_kwnames
[] = { "self", NULL
};
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 _result
= (int )wxBitmap_GetDepth(_arg0
);
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) return NULL
;
1941 } _resultobj
= Py_BuildValue("i",_result
);
1945 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1946 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1950 PyObject
* _argo0
= 0;
1951 char *_kwnames
[] = { "self","w", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 wxBitmap_SetWidth(_arg0
,_arg1
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) return NULL
;
1969 } Py_INCREF(Py_None
);
1970 _resultobj
= Py_None
;
1974 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1975 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1979 PyObject
* _argo0
= 0;
1980 char *_kwnames
[] = { "self","h", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 wxBitmap_SetHeight(_arg0
,_arg1
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) return NULL
;
1998 } Py_INCREF(Py_None
);
1999 _resultobj
= Py_None
;
2003 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2004 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
* _resultobj
;
2008 PyObject
* _argo0
= 0;
2009 char *_kwnames
[] = { "self","d", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 wxBitmap_SetDepth(_arg0
,_arg1
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) return NULL
;
2027 } Py_INCREF(Py_None
);
2028 _resultobj
= Py_None
;
2032 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2033 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2038 PyObject
* _argo0
= 0;
2040 PyObject
* _obj1
= 0;
2041 char *_kwnames
[] = { "self","rect", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
2048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2056 if (! wxRect_helper(_obj1
, &_arg1
))
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) return NULL
;
2065 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
2066 _resultobj
= Py_BuildValue("s",_ptemp
);
2070 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2071 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2077 PyObject
* _argo1
= 0;
2078 char *_kwnames
[] = { "self","icon", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2091 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2098 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2100 wxPyEndAllowThreads(__tstate
);
2101 if (PyErr_Occurred()) return NULL
;
2102 } _resultobj
= Py_BuildValue("i",_result
);
2106 static void *SwigwxMaskTowxObject(void *ptr
) {
2109 src
= (wxMask
*) ptr
;
2110 dest
= (wxObject
*) src
;
2111 return (void *) dest
;
2114 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2115 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2119 PyObject
* _argo0
= 0;
2120 char *_kwnames
[] = { "bitmap", NULL
};
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2127 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 _result
= (wxMask
*)new_wxMask(*_arg0
);
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) return NULL
;
2139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2140 _resultobj
= Py_BuildValue("s",_ptemp
);
2143 _resultobj
= Py_None
;
2148 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2149 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2152 PyObject
* _argo0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 wxMask_Destroy(_arg0
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) return NULL
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2179 src
= (wxIcon
*) ptr
;
2180 dest
= (wxGDIObject
*) src
;
2181 return (void *) dest
;
2184 static void *SwigwxIconTowxObject(void *ptr
) {
2187 src
= (wxIcon
*) ptr
;
2188 dest
= (wxObject
*) src
;
2189 return (void *) dest
;
2192 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2193 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2198 int _arg2
= (int ) -1;
2199 int _arg3
= (int ) -1;
2200 PyObject
* _obj0
= 0;
2201 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2208 _arg0
= wxString_in_helper(_obj0
);
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) return NULL
;
2219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2220 _resultobj
= Py_BuildValue("s",_ptemp
);
2223 _resultobj
= Py_None
;
2232 #define delete_wxIcon(_swigobj) (delete _swigobj)
2233 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
* _resultobj
;
2236 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "self", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 delete_wxIcon(_arg0
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2255 } Py_INCREF(Py_None
);
2256 _resultobj
= Py_None
;
2260 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2261 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2267 PyObject
* _argo0
= 0;
2268 PyObject
* _obj1
= 0;
2269 char *_kwnames
[] = { "self","name","flags", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2282 _arg1
= wxString_in_helper(_obj1
);
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) return NULL
;
2292 } _resultobj
= Py_BuildValue("i",_result
);
2300 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2301 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 _result
= (bool )wxIcon_Ok(_arg0
);
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) return NULL
;
2324 } _resultobj
= Py_BuildValue("i",_result
);
2328 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2329 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2333 PyObject
* _argo0
= 0;
2334 char *_kwnames
[] = { "self", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 _result
= (int )wxIcon_GetWidth(_arg0
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) return NULL
;
2352 } _resultobj
= Py_BuildValue("i",_result
);
2356 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2357 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2361 PyObject
* _argo0
= 0;
2362 char *_kwnames
[] = { "self", NULL
};
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 _result
= (int )wxIcon_GetHeight(_arg0
);
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) return NULL
;
2380 } _resultobj
= Py_BuildValue("i",_result
);
2384 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2385 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2389 PyObject
* _argo0
= 0;
2390 char *_kwnames
[] = { "self", NULL
};
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 _result
= (int )wxIcon_GetDepth(_arg0
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) return NULL
;
2408 } _resultobj
= Py_BuildValue("i",_result
);
2412 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2413 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2417 PyObject
* _argo0
= 0;
2418 char *_kwnames
[] = { "self","w", NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 wxIcon_SetWidth(_arg0
,_arg1
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) return NULL
;
2436 } Py_INCREF(Py_None
);
2437 _resultobj
= Py_None
;
2441 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2442 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2446 PyObject
* _argo0
= 0;
2447 char *_kwnames
[] = { "self","h", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 wxIcon_SetHeight(_arg0
,_arg1
);
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) return NULL
;
2465 } Py_INCREF(Py_None
);
2466 _resultobj
= Py_None
;
2470 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2471 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2475 PyObject
* _argo0
= 0;
2476 char *_kwnames
[] = { "self","d", NULL
};
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 wxIcon_SetDepth(_arg0
,_arg1
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) return NULL
;
2494 } Py_INCREF(Py_None
);
2495 _resultobj
= Py_None
;
2499 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2500 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2504 PyObject
* _argo0
= 0;
2505 PyObject
* _argo1
= 0;
2506 char *_kwnames
[] = { "self","bmp", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2519 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) return NULL
;
2530 } Py_INCREF(Py_None
);
2531 _resultobj
= Py_None
;
2535 #define new_wxIconBundle() (new wxIconBundle())
2536 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2538 wxIconBundle
* _result
;
2539 char *_kwnames
[] = { NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 _result
= (wxIconBundle
*)new_wxIconBundle();
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) return NULL
;
2552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2553 _resultobj
= Py_BuildValue("s",_ptemp
);
2556 _resultobj
= Py_None
;
2561 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2562 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
* _resultobj
;
2564 wxIconBundle
* _result
;
2567 PyObject
* _obj0
= 0;
2568 char *_kwnames
[] = { "file","type", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
2575 _arg0
= wxString_in_helper(_obj0
);
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) return NULL
;
2586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2587 _resultobj
= Py_BuildValue("s",_ptemp
);
2590 _resultobj
= Py_None
;
2599 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2600 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2602 wxIconBundle
* _result
;
2604 PyObject
* _argo0
= 0;
2605 char *_kwnames
[] = { "icon", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
2612 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) return NULL
;
2624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2625 _resultobj
= Py_BuildValue("s",_ptemp
);
2628 _resultobj
= Py_None
;
2633 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
2634 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2636 wxIconBundle
* _arg0
;
2637 PyObject
* _argo0
= 0;
2638 char *_kwnames
[] = { "self", NULL
};
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
2644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 delete_wxIconBundle(_arg0
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) return NULL
;
2656 } Py_INCREF(Py_None
);
2657 _resultobj
= Py_None
;
2661 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2662 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2664 wxIconBundle
* _arg0
;
2666 PyObject
* _argo0
= 0;
2667 PyObject
* _argo1
= 0;
2668 char *_kwnames
[] = { "self","icon", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2681 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 wxIconBundle_AddIcon(_arg0
,*_arg1
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) return NULL
;
2692 } Py_INCREF(Py_None
);
2693 _resultobj
= Py_None
;
2697 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2698 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2700 wxIconBundle
* _arg0
;
2703 PyObject
* _argo0
= 0;
2704 PyObject
* _obj1
= 0;
2705 char *_kwnames
[] = { "self","file","type", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
2718 _arg1
= wxString_in_helper(_obj1
);
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) return NULL
;
2728 } Py_INCREF(Py_None
);
2729 _resultobj
= Py_None
;
2737 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
2738 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2741 wxIconBundle
* _arg0
;
2743 PyObject
* _argo0
= 0;
2745 PyObject
* _obj1
= 0;
2746 char *_kwnames
[] = { "self","size", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
2761 if (! wxSize_helper(_obj1
, &_arg1
))
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
2767 _result
= (wxIcon
*) &_result_ref
;
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) return NULL
;
2772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2773 _resultobj
= Py_BuildValue("s",_ptemp
);
2776 _resultobj
= Py_None
;
2781 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2784 src
= (wxCursor
*) ptr
;
2785 dest
= (wxGDIObject
*) src
;
2786 return (void *) dest
;
2789 static void *SwigwxCursorTowxObject(void *ptr
) {
2792 src
= (wxCursor
*) ptr
;
2793 dest
= (wxObject
*) src
;
2794 return (void *) dest
;
2797 static wxCursor
*new_wxCursor(const wxString
*cursorName
,long flags
,int hotSpotX
,int hotSpotY
) {
2799 wxCHECK_MSG(FALSE
, NULL
,
2800 wxT("wxCursor constructor not implemented for wxGTK, use wxStockCursor, wxCursorFromImage, or wxCursorFromBits instead."));
2802 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
2806 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2811 int _arg2
= (int ) 0;
2812 int _arg3
= (int ) 0;
2813 PyObject
* _obj0
= 0;
2814 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2821 _arg0
= wxString_in_helper(_obj0
);
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 _result
= (wxCursor
*)new_wxCursor(_arg0
,_arg1
,_arg2
,_arg3
);
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) return NULL
;
2832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
2833 _resultobj
= Py_BuildValue("s",_ptemp
);
2836 _resultobj
= Py_None
;
2845 #define delete_wxCursor(_swigobj) (delete _swigobj)
2846 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2849 PyObject
* _argo0
= 0;
2850 char *_kwnames
[] = { "self", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 delete_wxCursor(_arg0
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) return NULL
;
2868 } Py_INCREF(Py_None
);
2869 _resultobj
= Py_None
;
2873 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2874 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2878 PyObject
* _argo0
= 0;
2879 char *_kwnames
[] = { "self", NULL
};
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 _result
= (bool )wxCursor_Ok(_arg0
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) return NULL
;
2897 } _resultobj
= Py_BuildValue("i",_result
);
2901 static void *SwigwxColourTowxObject(void *ptr
) {
2904 src
= (wxColour
*) ptr
;
2905 dest
= (wxObject
*) src
;
2906 return (void *) dest
;
2909 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2910 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2913 unsigned char _arg0
= (unsigned char ) 0;
2914 unsigned char _arg1
= (unsigned char ) 0;
2915 unsigned char _arg2
= (unsigned char ) 0;
2916 char *_kwnames
[] = { "red","green","blue", NULL
};
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) return NULL
;
2929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2930 _resultobj
= Py_BuildValue("s",_ptemp
);
2933 _resultobj
= Py_None
;
2938 #define delete_wxColour(_swigobj) (delete _swigobj)
2939 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
* _resultobj
;
2943 PyObject
* _obj0
= 0;
2944 char *_kwnames
[] = { "self", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
2951 if (! wxColour_helper(_obj0
, &_arg0
))
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 delete_wxColour(_arg0
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) return NULL
;
2960 } Py_INCREF(Py_None
);
2961 _resultobj
= Py_None
;
2965 #define wxColour_Red(_swigobj) (_swigobj->Red())
2966 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
* _resultobj
;
2968 unsigned char _result
;
2971 PyObject
* _obj0
= 0;
2972 char *_kwnames
[] = { "self", NULL
};
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
2979 if (! wxColour_helper(_obj0
, &_arg0
))
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 _result
= (unsigned char )wxColour_Red(_arg0
);
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) return NULL
;
2988 } _resultobj
= Py_BuildValue("b",_result
);
2992 #define wxColour_Green(_swigobj) (_swigobj->Green())
2993 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2995 unsigned char _result
;
2998 PyObject
* _obj0
= 0;
2999 char *_kwnames
[] = { "self", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
3006 if (! wxColour_helper(_obj0
, &_arg0
))
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 _result
= (unsigned char )wxColour_Green(_arg0
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } _resultobj
= Py_BuildValue("b",_result
);
3019 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
3020 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3022 unsigned char _result
;
3025 PyObject
* _obj0
= 0;
3026 char *_kwnames
[] = { "self", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
3033 if (! wxColour_helper(_obj0
, &_arg0
))
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 _result
= (unsigned char )wxColour_Blue(_arg0
);
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) return NULL
;
3042 } _resultobj
= Py_BuildValue("b",_result
);
3046 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
3047 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3052 PyObject
* _obj0
= 0;
3053 char *_kwnames
[] = { "self", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
3060 if (! wxColour_helper(_obj0
, &_arg0
))
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 _result
= (bool )wxColour_Ok(_arg0
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) return NULL
;
3069 } _resultobj
= Py_BuildValue("i",_result
);
3073 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3074 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3077 unsigned char _arg1
;
3078 unsigned char _arg2
;
3079 unsigned char _arg3
;
3081 PyObject
* _obj0
= 0;
3082 char *_kwnames
[] = { "self","red","green","blue", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3089 if (! wxColour_helper(_obj0
, &_arg0
))
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) return NULL
;
3098 } Py_INCREF(Py_None
);
3099 _resultobj
= Py_None
;
3103 static PyObject
* wxColour_Get(wxColour
*self
) {
3104 PyObject
* rv
= PyTuple_New(3);
3110 green
= self
->Green();
3111 blue
= self
->Blue();
3113 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
3114 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
3115 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
3118 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3123 PyObject
* _obj0
= 0;
3124 char *_kwnames
[] = { "self", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
3131 if (! wxColour_helper(_obj0
, &_arg0
))
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 _result
= (PyObject
*)wxColour_Get(_arg0
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) return NULL
;
3141 _resultobj
= _result
;
3146 static bool wxColour___eq__(wxColour
*self
,PyObject
* obj
) {
3148 wxColour
* ptr
= &tmp
;
3149 if (obj
== Py_None
) return FALSE
;
3150 wxPyBLOCK_THREADS(bool success
= wxColour_helper(obj
, &ptr
); PyErr_Clear());
3151 if (! success
) return FALSE
;
3152 return *self
== *ptr
;
3154 static PyObject
*_wrap_wxColour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
* _resultobj
;
3160 PyObject
* _obj0
= 0;
3161 PyObject
* _obj1
= 0;
3162 char *_kwnames
[] = { "self","obj", NULL
};
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColour___eq__",_kwnames
,&_obj0
,&_obj1
))
3169 if (! wxColour_helper(_obj0
, &_arg0
))
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 _result
= (bool )wxColour___eq__(_arg0
,_arg1
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3181 } _resultobj
= Py_BuildValue("i",_result
);
3185 static bool wxColour___ne__(wxColour
*self
,PyObject
* obj
) {
3187 wxColour
* ptr
= &tmp
;
3188 if (obj
== Py_None
) return TRUE
;
3189 wxPyBLOCK_THREADS(bool success
= wxColour_helper(obj
, &ptr
); PyErr_Clear());
3190 if (! success
) return TRUE
;
3191 return *self
!= *ptr
;
3193 static PyObject
*_wrap_wxColour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
* _resultobj
;
3199 PyObject
* _obj0
= 0;
3200 PyObject
* _obj1
= 0;
3201 char *_kwnames
[] = { "self","obj", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColour___ne__",_kwnames
,&_obj0
,&_obj1
))
3208 if (! wxColour_helper(_obj0
, &_arg0
))
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 _result
= (bool )wxColour___ne__(_arg0
,_arg1
);
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) return NULL
;
3220 } _resultobj
= Py_BuildValue("i",_result
);
3224 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
3225 wxColourDatabase
*src
;
3227 src
= (wxColourDatabase
*) ptr
;
3228 dest
= (wxObject
*) src
;
3229 return (void *) dest
;
3232 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
3233 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3236 wxColourDatabase
* _arg0
;
3238 PyObject
* _argo0
= 0;
3239 PyObject
* _obj1
= 0;
3240 char *_kwnames
[] = { "self","colour", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
3254 _arg1
= wxString_in_helper(_obj1
);
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) return NULL
;
3265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3266 _resultobj
= Py_BuildValue("s",_ptemp
);
3269 _resultobj
= Py_None
;
3278 #define wxColourDatabase_FindColourNoAdd(_swigobj,_swigarg0) (_swigobj->FindColourNoAdd(_swigarg0))
3279 static PyObject
*_wrap_wxColourDatabase_FindColourNoAdd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3282 wxColourDatabase
* _arg0
;
3284 PyObject
* _argo0
= 0;
3285 PyObject
* _obj1
= 0;
3286 char *_kwnames
[] = { "self","colour", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColourNoAdd",_kwnames
,&_argo0
,&_obj1
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColourNoAdd. Expected _wxColourDatabase_p.");
3300 _arg1
= wxString_in_helper(_obj1
);
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 _result
= (wxColour
*)wxColourDatabase_FindColourNoAdd(_arg0
,*_arg1
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) return NULL
;
3311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3312 _resultobj
= Py_BuildValue("s",_ptemp
);
3315 _resultobj
= Py_None
;
3324 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3325 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3328 wxColourDatabase
* _arg0
;
3330 PyObject
* _argo0
= 0;
3332 PyObject
* _obj1
= 0;
3333 char *_kwnames
[] = { "self","colour", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3347 if (! wxColour_helper(_obj1
, &_arg1
))
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) return NULL
;
3358 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3360 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3369 static void wxColourDatabase_AddColour(wxColourDatabase
*self
,const wxString
& name
,wxColour
* colour
) {
3370 // make a copy since the python one will be GC'd
3371 wxColour
* c
= new wxColour(*colour
);
3372 self
->AddColour(name
, c
);
3374 static PyObject
*_wrap_wxColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3376 wxColourDatabase
* _arg0
;
3379 PyObject
* _argo0
= 0;
3380 PyObject
* _obj1
= 0;
3382 PyObject
* _obj2
= 0;
3383 char *_kwnames
[] = { "self","name","colour", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxColourDatabase_AddColour",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_AddColour. Expected _wxColourDatabase_p.");
3396 _arg1
= wxString_in_helper(_obj1
);
3402 if (! wxColour_helper(_obj2
, &_arg2
))
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 wxColourDatabase_AddColour(_arg0
,*_arg1
,_arg2
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) return NULL
;
3411 } Py_INCREF(Py_None
);
3412 _resultobj
= Py_None
;
3420 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3421 wxColour
* c
= new wxColour(red
, green
, blue
);
3422 self
->AddColour(name
, c
);
3424 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3426 wxColourDatabase
* _arg0
;
3431 PyObject
* _argo0
= 0;
3432 PyObject
* _obj1
= 0;
3433 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3446 _arg1
= wxString_in_helper(_obj1
);
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) return NULL
;
3456 } Py_INCREF(Py_None
);
3457 _resultobj
= Py_None
;
3465 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3468 src
= (wxPen
*) ptr
;
3469 dest
= (wxGDIObject
*) src
;
3470 return (void *) dest
;
3473 static void *SwigwxPenTowxObject(void *ptr
) {
3476 src
= (wxPen
*) ptr
;
3477 dest
= (wxObject
*) src
;
3478 return (void *) dest
;
3481 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3482 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3486 int _arg1
= (int ) 1;
3487 int _arg2
= (int ) wxSOLID
;
3489 PyObject
* _obj0
= 0;
3490 char *_kwnames
[] = { "colour","width","style", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3498 if (! wxColour_helper(_obj0
, &_arg0
))
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) return NULL
;
3508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3509 _resultobj
= Py_BuildValue("s",_ptemp
);
3512 _resultobj
= Py_None
;
3517 #define delete_wxPen(_swigobj) (delete _swigobj)
3518 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3521 PyObject
* _argo0
= 0;
3522 char *_kwnames
[] = { "self", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 delete_wxPen(_arg0
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) return NULL
;
3540 } Py_INCREF(Py_None
);
3541 _resultobj
= Py_None
;
3545 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3546 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 _result
= (int )wxPen_GetCap(_arg0
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) return NULL
;
3569 } _resultobj
= Py_BuildValue("i",_result
);
3573 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3574 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3578 PyObject
* _argo0
= 0;
3579 char *_kwnames
[] = { "self", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 _result
= new wxColour (wxPen_GetColour(_arg0
));
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) return NULL
;
3598 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3599 _resultobj
= Py_BuildValue("s",_ptemp
);
3603 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3604 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3608 PyObject
* _argo0
= 0;
3609 char *_kwnames
[] = { "self", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 _result
= (int )wxPen_GetJoin(_arg0
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) return NULL
;
3627 } _resultobj
= Py_BuildValue("i",_result
);
3631 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3632 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3636 PyObject
* _argo0
= 0;
3637 char *_kwnames
[] = { "self", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 _result
= (int )wxPen_GetStyle(_arg0
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) return NULL
;
3655 } _resultobj
= Py_BuildValue("i",_result
);
3659 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3660 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3664 PyObject
* _argo0
= 0;
3665 char *_kwnames
[] = { "self", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 _result
= (int )wxPen_GetWidth(_arg0
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) return NULL
;
3683 } _resultobj
= Py_BuildValue("i",_result
);
3687 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3688 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3692 PyObject
* _argo0
= 0;
3693 char *_kwnames
[] = { "self", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 _result
= (bool )wxPen_Ok(_arg0
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) return NULL
;
3711 } _resultobj
= Py_BuildValue("i",_result
);
3715 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3716 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self","cap_style", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 wxPen_SetCap(_arg0
,_arg1
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) return NULL
;
3739 } Py_INCREF(Py_None
);
3740 _resultobj
= Py_None
;
3744 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3745 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3749 PyObject
* _argo0
= 0;
3751 PyObject
* _obj1
= 0;
3752 char *_kwnames
[] = { "self","colour", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3766 if (! wxColour_helper(_obj1
, &_arg1
))
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 wxPen_SetColour(_arg0
,*_arg1
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) return NULL
;
3775 } Py_INCREF(Py_None
);
3776 _resultobj
= Py_None
;
3780 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3781 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3785 PyObject
* _argo0
= 0;
3786 char *_kwnames
[] = { "self","join_style", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 wxPen_SetJoin(_arg0
,_arg1
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) return NULL
;
3804 } Py_INCREF(Py_None
);
3805 _resultobj
= Py_None
;
3809 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3810 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self","style", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 wxPen_SetStyle(_arg0
,_arg1
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) return NULL
;
3833 } Py_INCREF(Py_None
);
3834 _resultobj
= Py_None
;
3838 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3839 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3843 PyObject
* _argo0
= 0;
3844 char *_kwnames
[] = { "self","width", NULL
};
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 wxPen_SetWidth(_arg0
,_arg1
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) return NULL
;
3862 } Py_INCREF(Py_None
);
3863 _resultobj
= Py_None
;
3867 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3868 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3873 PyObject
* _argo0
= 0;
3874 PyObject
* _obj2
= 0;
3875 char *_kwnames
[] = { "self","choices", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3889 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3890 if (_arg2
== NULL
) {
3896 _arg1
= PyList_Size(_obj2
);
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) return NULL
;
3908 } Py_INCREF(Py_None
);
3909 _resultobj
= Py_None
;
3916 static PyObject
* wxPen_GetDashes(wxPen
*self
) {
3918 int count
= self
->GetDashes(&dashes
);
3919 wxPyBeginBlockThreads();
3920 PyObject
* retval
= PyList_New(0);
3921 for (int x
=0; x
<count
; x
++)
3922 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
3923 wxPyEndBlockThreads();
3926 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3930 PyObject
* _argo0
= 0;
3931 char *_kwnames
[] = { "self", NULL
};
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetDashes",_kwnames
,&_argo0
))
3937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 _result
= (PyObject
*)wxPen_GetDashes(_arg0
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) return NULL
;
3950 _resultobj
= _result
;
3955 static void *SwigwxPyPenTowxPen(void *ptr
) {
3958 src
= (wxPyPen
*) ptr
;
3959 dest
= (wxPen
*) src
;
3960 return (void *) dest
;
3963 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
3966 src
= (wxPyPen
*) ptr
;
3967 dest
= (wxGDIObject
*) src
;
3968 return (void *) dest
;
3971 static void *SwigwxPyPenTowxObject(void *ptr
) {
3974 src
= (wxPyPen
*) ptr
;
3975 dest
= (wxObject
*) src
;
3976 return (void *) dest
;
3979 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
3980 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3984 int _arg1
= (int ) 1;
3985 int _arg2
= (int ) wxSOLID
;
3987 PyObject
* _obj0
= 0;
3988 char *_kwnames
[] = { "colour","width","style", NULL
};
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3996 if (! wxColour_helper(_obj0
, &_arg0
))
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4006 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
4007 _resultobj
= Py_BuildValue("s",_ptemp
);
4010 _resultobj
= Py_None
;
4015 #define delete_wxPyPen(_swigobj) (delete _swigobj)
4016 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
* _resultobj
;
4019 PyObject
* _argo0
= 0;
4020 char *_kwnames
[] = { "self", NULL
};
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
4026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 delete_wxPyPen(_arg0
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) return NULL
;
4038 } Py_INCREF(Py_None
);
4039 _resultobj
= Py_None
;
4043 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4044 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4049 PyObject
* _argo0
= 0;
4050 PyObject
* _obj2
= 0;
4051 char *_kwnames
[] = { "self","choices", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
4065 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4066 if (_arg2
== NULL
) {
4072 _arg1
= PyList_Size(_obj2
);
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) return NULL
;
4084 } Py_INCREF(Py_None
);
4085 _resultobj
= Py_None
;
4092 static void *SwigwxPenListTowxObject(void *ptr
) {
4095 src
= (wxPenList
*) ptr
;
4096 dest
= (wxObject
*) src
;
4097 return (void *) dest
;
4100 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
4101 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
* _resultobj
;
4105 PyObject
* _argo0
= 0;
4106 PyObject
* _argo1
= 0;
4107 char *_kwnames
[] = { "self","pen", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
4120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 wxPenList_AddPen(_arg0
,_arg1
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) return NULL
;
4132 } Py_INCREF(Py_None
);
4133 _resultobj
= Py_None
;
4137 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
4138 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
* _resultobj
;
4145 PyObject
* _argo0
= 0;
4147 PyObject
* _obj1
= 0;
4148 char *_kwnames
[] = { "self","colour","width","style", NULL
};
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
4163 if (! wxColour_helper(_obj1
, &_arg1
))
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) return NULL
;
4173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4174 _resultobj
= Py_BuildValue("s",_ptemp
);
4177 _resultobj
= Py_None
;
4182 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
4183 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4187 PyObject
* _argo0
= 0;
4188 PyObject
* _argo1
= 0;
4189 char *_kwnames
[] = { "self","pen", NULL
};
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
4202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 wxPenList_RemovePen(_arg0
,_arg1
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) return NULL
;
4214 } Py_INCREF(Py_None
);
4215 _resultobj
= Py_None
;
4219 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
4220 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
* _resultobj
;
4224 PyObject
* _argo0
= 0;
4225 char *_kwnames
[] = { "self", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 _result
= (int )wxPenList_GetCount(_arg0
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) return NULL
;
4243 } _resultobj
= Py_BuildValue("i",_result
);
4247 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
4250 src
= (wxBrush
*) ptr
;
4251 dest
= (wxGDIObject
*) src
;
4252 return (void *) dest
;
4255 static void *SwigwxBrushTowxObject(void *ptr
) {
4258 src
= (wxBrush
*) ptr
;
4259 dest
= (wxObject
*) src
;
4260 return (void *) dest
;
4263 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
4264 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4268 int _arg1
= (int ) wxSOLID
;
4270 PyObject
* _obj0
= 0;
4271 char *_kwnames
[] = { "colour","style", NULL
};
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
4279 if (! wxColour_helper(_obj0
, &_arg0
))
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) return NULL
;
4289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4290 _resultobj
= Py_BuildValue("s",_ptemp
);
4293 _resultobj
= Py_None
;
4298 #define delete_wxBrush(_swigobj) (delete _swigobj)
4299 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
* _resultobj
;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 delete_wxBrush(_arg0
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) return NULL
;
4321 } Py_INCREF(Py_None
);
4322 _resultobj
= Py_None
;
4326 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
4327 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4331 PyObject
* _argo0
= 0;
4332 char *_kwnames
[] = { "self", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 _result
= new wxColour (wxBrush_GetColour(_arg0
));
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) return NULL
;
4351 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4352 _resultobj
= Py_BuildValue("s",_ptemp
);
4356 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4357 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4361 PyObject
* _argo0
= 0;
4362 char *_kwnames
[] = { "self", NULL
};
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) return NULL
;
4382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4383 _resultobj
= Py_BuildValue("s",_ptemp
);
4386 _resultobj
= Py_None
;
4391 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4392 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
* _resultobj
;
4396 PyObject
* _argo0
= 0;
4397 char *_kwnames
[] = { "self", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 _result
= (int )wxBrush_GetStyle(_arg0
);
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) return NULL
;
4415 } _resultobj
= Py_BuildValue("i",_result
);
4419 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4420 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
* _resultobj
;
4424 PyObject
* _argo0
= 0;
4425 char *_kwnames
[] = { "self", NULL
};
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 _result
= (bool )wxBrush_Ok(_arg0
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) return NULL
;
4443 } _resultobj
= Py_BuildValue("i",_result
);
4447 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4448 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
* _resultobj
;
4452 PyObject
* _argo0
= 0;
4454 PyObject
* _obj1
= 0;
4455 char *_kwnames
[] = { "self","colour", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4469 if (! wxColour_helper(_obj1
, &_arg1
))
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 wxBrush_SetColour(_arg0
,*_arg1
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) return NULL
;
4478 } Py_INCREF(Py_None
);
4479 _resultobj
= Py_None
;
4483 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4484 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4488 PyObject
* _argo0
= 0;
4489 PyObject
* _argo1
= 0;
4490 char *_kwnames
[] = { "self","bitmap", NULL
};
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4503 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxBrush_SetStipple(_arg0
,*_arg1
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) return NULL
;
4514 } Py_INCREF(Py_None
);
4515 _resultobj
= Py_None
;
4519 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4520 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4524 PyObject
* _argo0
= 0;
4525 char *_kwnames
[] = { "self","style", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 wxBrush_SetStyle(_arg0
,_arg1
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) return NULL
;
4543 } Py_INCREF(Py_None
);
4544 _resultobj
= Py_None
;
4548 static void *SwigwxBrushListTowxObject(void *ptr
) {
4551 src
= (wxBrushList
*) ptr
;
4552 dest
= (wxObject
*) src
;
4553 return (void *) dest
;
4556 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4557 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
* _resultobj
;
4559 wxBrushList
* _arg0
;
4561 PyObject
* _argo0
= 0;
4562 PyObject
* _argo1
= 0;
4563 char *_kwnames
[] = { "self","brush", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 wxBrushList_AddBrush(_arg0
,_arg1
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4588 } Py_INCREF(Py_None
);
4589 _resultobj
= Py_None
;
4593 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4594 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
* _resultobj
;
4597 wxBrushList
* _arg0
;
4600 PyObject
* _argo0
= 0;
4602 PyObject
* _obj1
= 0;
4603 char *_kwnames
[] = { "self","colour","style", NULL
};
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4618 if (! wxColour_helper(_obj1
, &_arg1
))
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) return NULL
;
4628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4629 _resultobj
= Py_BuildValue("s",_ptemp
);
4632 _resultobj
= Py_None
;
4637 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4638 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4640 wxBrushList
* _arg0
;
4642 PyObject
* _argo0
= 0;
4643 PyObject
* _argo1
= 0;
4644 char *_kwnames
[] = { "self","brush", NULL
};
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) return NULL
;
4669 } Py_INCREF(Py_None
);
4670 _resultobj
= Py_None
;
4674 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
4675 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4678 wxBrushList
* _arg0
;
4679 PyObject
* _argo0
= 0;
4680 char *_kwnames
[] = { "self", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
4686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 _result
= (int )wxBrushList_GetCount(_arg0
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) return NULL
;
4698 } _resultobj
= Py_BuildValue("i",_result
);
4702 static void *SwigwxDCTowxObject(void *ptr
) {
4706 dest
= (wxObject
*) src
;
4707 return (void *) dest
;
4710 #define delete_wxDC(_swigobj) (delete _swigobj)
4711 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4714 PyObject
* _argo0
= 0;
4715 char *_kwnames
[] = { "self", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) return NULL
;
4733 } Py_INCREF(Py_None
);
4734 _resultobj
= Py_None
;
4738 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4739 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4742 PyObject
* _argo0
= 0;
4743 char *_kwnames
[] = { "self", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 wxDC_BeginDrawing(_arg0
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) return NULL
;
4761 } Py_INCREF(Py_None
);
4762 _resultobj
= Py_None
;
4766 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4767 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4778 int _arg8
= (int ) wxCOPY
;
4779 int _arg9
= (int ) FALSE
;
4780 PyObject
* _argo0
= 0;
4781 PyObject
* _argo5
= 0;
4782 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiiOii|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4795 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) return NULL
;
4807 } _resultobj
= Py_BuildValue("i",_result
);
4811 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4812 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4815 PyObject
* _argo0
= 0;
4816 char *_kwnames
[] = { "self", NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) return NULL
;
4834 } Py_INCREF(Py_None
);
4835 _resultobj
= Py_None
;
4839 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
4840 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4845 PyObject
* _argo0
= 0;
4846 char *_kwnames
[] = { "self","x","y", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) return NULL
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4869 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
4870 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4873 PyObject
* _argo0
= 0;
4874 char *_kwnames
[] = { "self", NULL
};
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
4880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 wxDC_DestroyClippingRegion(_arg0
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) return NULL
;
4892 } Py_INCREF(Py_None
);
4893 _resultobj
= Py_None
;
4897 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
4898 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
* _resultobj
;
4903 PyObject
* _argo0
= 0;
4904 char *_kwnames
[] = { "self","x", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 _result
= (wxCoord
)wxDC_DeviceToLogicalX(_arg0
,_arg1
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) return NULL
;
4922 } _resultobj
= Py_BuildValue("i",_result
);
4926 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
4927 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4932 PyObject
* _argo0
= 0;
4933 char *_kwnames
[] = { "self","x", NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 _result
= (wxCoord
)wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) return NULL
;
4951 } _resultobj
= Py_BuildValue("i",_result
);
4955 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
4956 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4961 PyObject
* _argo0
= 0;
4962 char *_kwnames
[] = { "self","y", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 _result
= (wxCoord
)wxDC_DeviceToLogicalY(_arg0
,_arg1
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) return NULL
;
4980 } _resultobj
= Py_BuildValue("i",_result
);
4984 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
4985 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4990 PyObject
* _argo0
= 0;
4991 char *_kwnames
[] = { "self","y", NULL
};
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
4997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 _result
= (wxCoord
)wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) return NULL
;
5009 } _resultobj
= Py_BuildValue("i",_result
);
5013 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5014 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
* _resultobj
;
5023 PyObject
* _argo0
= 0;
5024 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) return NULL
;
5042 } Py_INCREF(Py_None
);
5043 _resultobj
= Py_None
;
5047 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
5048 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
* _resultobj
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self","x","y","radius", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) return NULL
;
5073 } Py_INCREF(Py_None
);
5074 _resultobj
= Py_None
;
5078 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5079 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
* _resultobj
;
5086 PyObject
* _argo0
= 0;
5087 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) return NULL
;
5105 } Py_INCREF(Py_None
);
5106 _resultobj
= Py_None
;
5110 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5111 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5120 PyObject
* _argo0
= 0;
5121 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) return NULL
;
5139 } Py_INCREF(Py_None
);
5140 _resultobj
= Py_None
;
5144 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
5145 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5151 PyObject
* _argo0
= 0;
5152 PyObject
* _argo1
= 0;
5153 char *_kwnames
[] = { "self","icon","x","y", NULL
};
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
5166 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) return NULL
;
5177 } Py_INCREF(Py_None
);
5178 _resultobj
= Py_None
;
5182 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5183 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5188 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5189 int _arg4
= (int ) -1;
5190 PyObject
* _argo0
= 0;
5191 PyObject
* _obj1
= 0;
5193 PyObject
* _obj2
= 0;
5194 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
5207 _arg1
= wxString_in_helper(_obj1
);
5213 if (! wxRect_helper(_obj2
, &_arg2
))
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) return NULL
;
5222 } Py_INCREF(Py_None
);
5223 _resultobj
= Py_None
;
5231 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
5233 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
5236 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
* _resultobj
;
5243 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5244 int _arg5
= (int ) -1;
5245 PyObject
* _argo0
= 0;
5246 PyObject
* _obj1
= 0;
5247 PyObject
* _argo2
= 0;
5249 PyObject
* _obj3
= 0;
5250 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
5257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
5264 _arg1
= wxString_in_helper(_obj1
);
5269 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
5276 if (! wxRect_helper(_obj3
, &_arg3
))
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) return NULL
;
5285 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
5286 _resultobj
= Py_BuildValue("s",_ptemp
);
5294 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5295 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
* _resultobj
;
5302 PyObject
* _argo0
= 0;
5303 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) return NULL
;
5321 } Py_INCREF(Py_None
);
5322 _resultobj
= Py_None
;
5326 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5327 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5332 wxCoord _arg3
= (wxCoord
) 0;
5333 wxCoord _arg4
= (wxCoord
) 0;
5334 PyObject
* _argo0
= 0;
5336 PyObject
* _obj2
= 0;
5337 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5351 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5352 if (_arg2
== NULL
) {
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) return NULL
;
5365 } Py_INCREF(Py_None
);
5366 _resultobj
= Py_None
;
5373 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5374 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5379 wxCoord _arg3
= (wxCoord
) 0;
5380 wxCoord _arg4
= (wxCoord
) 0;
5381 int _arg5
= (int ) wxODDEVEN_RULE
;
5382 PyObject
* _argo0
= 0;
5384 PyObject
* _obj2
= 0;
5385 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iii:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5399 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5400 if (_arg2
== NULL
) {
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) return NULL
;
5413 } Py_INCREF(Py_None
);
5414 _resultobj
= Py_None
;
5421 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5422 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
* _resultobj
;
5427 PyObject
* _argo0
= 0;
5428 char *_kwnames
[] = { "self","x","y", NULL
};
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) return NULL
;
5446 } Py_INCREF(Py_None
);
5447 _resultobj
= Py_None
;
5451 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5452 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
* _resultobj
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) return NULL
;
5478 } Py_INCREF(Py_None
);
5479 _resultobj
= Py_None
;
5483 #define wxDC_DrawRectangleRect(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5484 static PyObject
*_wrap_wxDC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
* _resultobj
;
5488 PyObject
* _argo0
= 0;
5490 PyObject
* _obj1
= 0;
5491 char *_kwnames
[] = { "self","rect", NULL
};
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawRectangleRect",_kwnames
,&_argo0
,&_obj1
))
5497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangleRect. Expected _wxDC_p.");
5505 if (! wxRect_helper(_obj1
, &_arg1
))
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 wxDC_DrawRectangleRect(_arg0
,*_arg1
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) return NULL
;
5514 } Py_INCREF(Py_None
);
5515 _resultobj
= Py_None
;
5519 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5520 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
* _resultobj
;
5527 PyObject
* _argo0
= 0;
5528 PyObject
* _obj1
= 0;
5529 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5542 _arg1
= wxString_in_helper(_obj1
);
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) return NULL
;
5552 } Py_INCREF(Py_None
);
5553 _resultobj
= Py_None
;
5561 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5562 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
* _resultobj
;
5569 wxCoord _arg5
= (wxCoord
) 20;
5570 PyObject
* _argo0
= 0;
5571 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) return NULL
;
5589 } Py_INCREF(Py_None
);
5590 _resultobj
= Py_None
;
5594 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5595 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
* _resultobj
;
5600 PyObject
* _argo0
= 0;
5602 PyObject
* _obj2
= 0;
5603 char *_kwnames
[] = { "self","points", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5617 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5618 if (_arg2
== NULL
) {
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) return NULL
;
5631 } Py_INCREF(Py_None
);
5632 _resultobj
= Py_None
;
5639 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5640 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
* _resultobj
;
5646 PyObject
* _argo0
= 0;
5647 PyObject
* _obj1
= 0;
5648 char *_kwnames
[] = { "self","text","x","y", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5661 _arg1
= wxString_in_helper(_obj1
);
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) return NULL
;
5671 } Py_INCREF(Py_None
);
5672 _resultobj
= Py_None
;
5680 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5681 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
* _resultobj
;
5684 PyObject
* _argo0
= 0;
5685 char *_kwnames
[] = { "self", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) return NULL
;
5703 } Py_INCREF(Py_None
);
5704 _resultobj
= Py_None
;
5708 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5709 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 wxDC_EndDrawing(_arg0
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) return NULL
;
5731 } Py_INCREF(Py_None
);
5732 _resultobj
= Py_None
;
5736 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
5737 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5740 PyObject
* _argo0
= 0;
5741 char *_kwnames
[] = { "self", NULL
};
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
5747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 wxDC_EndPage(_arg0
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) return NULL
;
5759 } Py_INCREF(Py_None
);
5760 _resultobj
= Py_None
;
5764 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5765 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
* _resultobj
;
5772 int _arg4
= (int ) wxFLOOD_SURFACE
;
5773 PyObject
* _argo0
= 0;
5775 PyObject
* _obj3
= 0;
5776 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
5782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
5790 if (! wxColour_helper(_obj3
, &_arg3
))
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 _result
= (bool )wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) return NULL
;
5799 } _resultobj
= Py_BuildValue("i",_result
);
5803 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
5804 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
* _resultobj
;
5808 PyObject
* _argo0
= 0;
5809 char *_kwnames
[] = { "self", NULL
};
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
5816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) return NULL
;
5828 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5829 _resultobj
= Py_BuildValue("s",_ptemp
);
5833 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
5834 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5838 PyObject
* _argo0
= 0;
5839 char *_kwnames
[] = { "self", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) return NULL
;
5858 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5859 _resultobj
= Py_BuildValue("s",_ptemp
);
5863 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5864 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5868 PyObject
* _argo0
= 0;
5869 char *_kwnames
[] = { "self", NULL
};
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
5875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 _result
= (wxCoord
)wxDC_GetCharHeight(_arg0
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) return NULL
;
5887 } _resultobj
= Py_BuildValue("i",_result
);
5891 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5892 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
* _resultobj
;
5896 PyObject
* _argo0
= 0;
5897 char *_kwnames
[] = { "self", NULL
};
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 _result
= (wxCoord
)wxDC_GetCharWidth(_arg0
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) return NULL
;
5915 } _resultobj
= Py_BuildValue("i",_result
);
5919 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5920 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
5950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) return NULL
;
5962 } Py_INCREF(Py_None
);
5963 _resultobj
= Py_None
;
5966 o
= PyInt_FromLong((long) (*_arg1
));
5967 _resultobj
= t_output_helper(_resultobj
, o
);
5971 o
= PyInt_FromLong((long) (*_arg2
));
5972 _resultobj
= t_output_helper(_resultobj
, o
);
5976 o
= PyInt_FromLong((long) (*_arg3
));
5977 _resultobj
= t_output_helper(_resultobj
, o
);
5981 o
= PyInt_FromLong((long) (*_arg4
));
5982 _resultobj
= t_output_helper(_resultobj
, o
);
5987 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
5988 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
* _resultobj
;
5992 PyObject
* _argo0
= 0;
5993 char *_kwnames
[] = { "self", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 _result
= new wxFont (wxDC_GetFont(_arg0
));
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) return NULL
;
6012 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6013 _resultobj
= Py_BuildValue("s",_ptemp
);
6017 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
6018 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) return NULL
;
6041 } _resultobj
= Py_BuildValue("i",_result
);
6045 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6046 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6053 PyObject
* _argo0
= 0;
6054 char *_kwnames
[] = { "self", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) return NULL
;
6078 } Py_INCREF(Py_None
);
6079 _resultobj
= Py_None
;
6082 o
= PyFloat_FromDouble((double) (*_arg1
));
6083 _resultobj
= t_output_helper(_resultobj
, o
);
6087 o
= PyFloat_FromDouble((double) (*_arg2
));
6088 _resultobj
= t_output_helper(_resultobj
, o
);
6093 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
6094 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6098 PyObject
* _argo0
= 0;
6099 char *_kwnames
[] = { "self", NULL
};
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
6105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 _result
= (int )wxDC_GetMapMode(_arg0
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) return NULL
;
6117 } _resultobj
= Py_BuildValue("i",_result
);
6121 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
6122 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
* _resultobj
;
6126 PyObject
* _argo0
= 0;
6127 char *_kwnames
[] = { "self", NULL
};
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
6133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 _result
= (bool )wxDC_GetOptimization(_arg0
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) return NULL
;
6145 } _resultobj
= Py_BuildValue("i",_result
);
6149 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
6150 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
* _resultobj
;
6154 PyObject
* _argo0
= 0;
6155 char *_kwnames
[] = { "self", NULL
};
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
6162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 _result
= new wxPen (wxDC_GetPen(_arg0
));
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) return NULL
;
6174 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
6175 _resultobj
= Py_BuildValue("s",_ptemp
);
6179 static wxColour
* wxDC_GetPixel(wxDC
*self
,wxCoord x
,wxCoord y
) {
6180 wxColour
* wc
= new wxColour();
6181 self
->GetPixel(x
, y
, wc
);
6184 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6190 PyObject
* _argo0
= 0;
6191 char *_kwnames
[] = { "self","x","y", NULL
};
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) return NULL
;
6211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6212 _resultobj
= Py_BuildValue("s",_ptemp
);
6215 _resultobj
= Py_None
;
6220 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
6221 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6228 PyObject
* _argo0
= 0;
6229 char *_kwnames
[] = { "self", NULL
};
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
6241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) return NULL
;
6253 } Py_INCREF(Py_None
);
6254 _resultobj
= Py_None
;
6257 o
= PyInt_FromLong((long) (*_arg1
));
6258 _resultobj
= t_output_helper(_resultobj
, o
);
6262 o
= PyInt_FromLong((long) (*_arg2
));
6263 _resultobj
= t_output_helper(_resultobj
, o
);
6268 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
6269 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 _result
= new wxSize (wxDC_GetSize(_arg0
));
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) return NULL
;
6293 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6294 _resultobj
= Py_BuildValue("s",_ptemp
);
6298 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
6299 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6303 PyObject
* _argo0
= 0;
6304 char *_kwnames
[] = { "self", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) return NULL
;
6323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6324 _resultobj
= Py_BuildValue("s",_ptemp
);
6328 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
6329 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6333 PyObject
* _argo0
= 0;
6334 char *_kwnames
[] = { "self", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) return NULL
;
6353 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6354 _resultobj
= Py_BuildValue("s",_ptemp
);
6358 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
6359 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6367 PyObject
* _argo0
= 0;
6368 PyObject
* _obj1
= 0;
6369 char *_kwnames
[] = { "self","string", NULL
};
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6388 _arg1
= wxString_in_helper(_obj1
);
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) return NULL
;
6398 } Py_INCREF(Py_None
);
6399 _resultobj
= Py_None
;
6402 o
= PyInt_FromLong((long) (*_arg2
));
6403 _resultobj
= t_output_helper(_resultobj
, o
);
6407 o
= PyInt_FromLong((long) (*_arg3
));
6408 _resultobj
= t_output_helper(_resultobj
, o
);
6417 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6418 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6430 wxFont
* _arg6
= (wxFont
*) NULL
;
6431 PyObject
* _argo0
= 0;
6432 PyObject
* _obj1
= 0;
6433 PyObject
* _argo6
= 0;
6434 char *_kwnames
[] = { "self","string","font", NULL
};
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6459 _arg1
= wxString_in_helper(_obj1
);
6464 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6465 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) return NULL
;
6476 } Py_INCREF(Py_None
);
6477 _resultobj
= Py_None
;
6480 o
= PyInt_FromLong((long) (*_arg2
));
6481 _resultobj
= t_output_helper(_resultobj
, o
);
6485 o
= PyInt_FromLong((long) (*_arg3
));
6486 _resultobj
= t_output_helper(_resultobj
, o
);
6490 o
= PyInt_FromLong((long) (*_arg4
));
6491 _resultobj
= t_output_helper(_resultobj
, o
);
6495 o
= PyInt_FromLong((long) (*_arg5
));
6496 _resultobj
= t_output_helper(_resultobj
, o
);
6505 #define wxDC_GetMultiLineTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetMultiLineTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6506 static PyObject
*_wrap_wxDC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
* _resultobj
;
6516 wxFont
* _arg5
= (wxFont
*) NULL
;
6517 PyObject
* _argo0
= 0;
6518 PyObject
* _obj1
= 0;
6519 PyObject
* _argo5
= 0;
6520 char *_kwnames
[] = { "self","text","font", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetMultiLineTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo5
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMultiLineTextExtent. Expected _wxDC_p.");
6542 _arg1
= wxString_in_helper(_obj1
);
6547 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxFont_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_GetMultiLineTextExtent. Expected _wxFont_p.");
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 wxDC_GetMultiLineTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) return NULL
;
6559 } Py_INCREF(Py_None
);
6560 _resultobj
= Py_None
;
6563 o
= PyInt_FromLong((long) (*_arg2
));
6564 _resultobj
= t_output_helper(_resultobj
, o
);
6568 o
= PyInt_FromLong((long) (*_arg3
));
6569 _resultobj
= t_output_helper(_resultobj
, o
);
6573 o
= PyInt_FromLong((long) (*_arg4
));
6574 _resultobj
= t_output_helper(_resultobj
, o
);
6583 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6584 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
* _resultobj
;
6588 PyObject
* _argo0
= 0;
6589 char *_kwnames
[] = { "self", NULL
};
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) return NULL
;
6608 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6609 _resultobj
= Py_BuildValue("s",_ptemp
);
6613 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6614 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
* _resultobj
;
6621 PyObject
* _argo0
= 0;
6622 char *_kwnames
[] = { "self", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) return NULL
;
6646 } Py_INCREF(Py_None
);
6647 _resultobj
= Py_None
;
6650 o
= PyFloat_FromDouble((double) (*_arg1
));
6651 _resultobj
= t_output_helper(_resultobj
, o
);
6655 o
= PyFloat_FromDouble((double) (*_arg2
));
6656 _resultobj
= t_output_helper(_resultobj
, o
);
6661 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6662 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
* _resultobj
;
6667 PyObject
* _argo0
= 0;
6668 char *_kwnames
[] = { "self","x", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 _result
= (wxCoord
)wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) return NULL
;
6686 } _resultobj
= Py_BuildValue("i",_result
);
6690 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6691 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
* _resultobj
;
6696 PyObject
* _argo0
= 0;
6697 char *_kwnames
[] = { "self","x", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 _result
= (wxCoord
)wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) return NULL
;
6715 } _resultobj
= Py_BuildValue("i",_result
);
6719 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
6720 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
* _resultobj
;
6725 PyObject
* _argo0
= 0;
6726 char *_kwnames
[] = { "self","y", NULL
};
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
6732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 _result
= (wxCoord
)wxDC_LogicalToDeviceY(_arg0
,_arg1
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) return NULL
;
6744 } _resultobj
= Py_BuildValue("i",_result
);
6748 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
6749 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
* _resultobj
;
6754 PyObject
* _argo0
= 0;
6755 char *_kwnames
[] = { "self","y", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 _result
= (wxCoord
)wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) return NULL
;
6773 } _resultobj
= Py_BuildValue("i",_result
);
6777 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
6778 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6782 PyObject
* _argo0
= 0;
6783 char *_kwnames
[] = { "self", NULL
};
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
6789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 _result
= (wxCoord
)wxDC_MaxX(_arg0
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) return NULL
;
6801 } _resultobj
= Py_BuildValue("i",_result
);
6805 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
6806 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
* _resultobj
;
6810 PyObject
* _argo0
= 0;
6811 char *_kwnames
[] = { "self", NULL
};
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
6817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 _result
= (wxCoord
)wxDC_MaxY(_arg0
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) return NULL
;
6829 } _resultobj
= Py_BuildValue("i",_result
);
6833 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
6834 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
* _resultobj
;
6838 PyObject
* _argo0
= 0;
6839 char *_kwnames
[] = { "self", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
6845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 _result
= (wxCoord
)wxDC_MinX(_arg0
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) return NULL
;
6857 } _resultobj
= Py_BuildValue("i",_result
);
6861 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
6862 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6866 PyObject
* _argo0
= 0;
6867 char *_kwnames
[] = { "self", NULL
};
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
6873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 _result
= (wxCoord
)wxDC_MinY(_arg0
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) return NULL
;
6885 } _resultobj
= Py_BuildValue("i",_result
);
6889 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
6890 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6894 PyObject
* _argo0
= 0;
6895 char *_kwnames
[] = { "self", NULL
};
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
6901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 _result
= (bool )wxDC_Ok(_arg0
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) return NULL
;
6913 } _resultobj
= Py_BuildValue("i",_result
);
6917 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
6918 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
* _resultobj
;
6923 PyObject
* _argo0
= 0;
6924 char *_kwnames
[] = { "self","x","y", NULL
};
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) return NULL
;
6942 } Py_INCREF(Py_None
);
6943 _resultobj
= Py_None
;
6947 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6948 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
* _resultobj
;
6952 PyObject
* _argo0
= 0;
6953 PyObject
* _argo1
= 0;
6954 char *_kwnames
[] = { "self","brush", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6967 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 wxDC_SetBackground(_arg0
,*_arg1
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) return NULL
;
6978 } Py_INCREF(Py_None
);
6979 _resultobj
= Py_None
;
6983 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6984 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6988 PyObject
* _argo0
= 0;
6989 char *_kwnames
[] = { "self","mode", NULL
};
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 wxDC_SetBackgroundMode(_arg0
,_arg1
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) return NULL
;
7007 } Py_INCREF(Py_None
);
7008 _resultobj
= Py_None
;
7012 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7013 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7020 PyObject
* _argo0
= 0;
7021 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) return NULL
;
7039 } Py_INCREF(Py_None
);
7040 _resultobj
= Py_None
;
7044 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7045 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
* _resultobj
;
7049 PyObject
* _argo0
= 0;
7050 PyObject
* _argo1
= 0;
7051 char *_kwnames
[] = { "self","region", NULL
};
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
7057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
7064 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
7065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) return NULL
;
7075 } Py_INCREF(Py_None
);
7076 _resultobj
= Py_None
;
7080 #define wxDC_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7081 static PyObject
*_wrap_wxDC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
* _resultobj
;
7085 PyObject
* _argo0
= 0;
7087 PyObject
* _obj1
= 0;
7088 char *_kwnames
[] = { "self","rect", NULL
};
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRect",_kwnames
,&_argo0
,&_obj1
))
7094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRect. Expected _wxDC_p.");
7102 if (! wxRect_helper(_obj1
, &_arg1
))
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 wxDC_SetClippingRect(_arg0
,*_arg1
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) return NULL
;
7111 } Py_INCREF(Py_None
);
7112 _resultobj
= Py_None
;
7116 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
7117 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7121 PyObject
* _argo0
= 0;
7122 PyObject
* _argo1
= 0;
7123 char *_kwnames
[] = { "self","colourMap", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
7136 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
7137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 wxDC_SetPalette(_arg0
,*_arg1
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) return NULL
;
7147 } Py_INCREF(Py_None
);
7148 _resultobj
= Py_None
;
7152 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
7153 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7157 PyObject
* _argo0
= 0;
7158 PyObject
* _argo1
= 0;
7159 char *_kwnames
[] = { "self","brush", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
7172 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 wxDC_SetBrush(_arg0
,*_arg1
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) return NULL
;
7183 } Py_INCREF(Py_None
);
7184 _resultobj
= Py_None
;
7188 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
7189 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7193 PyObject
* _argo0
= 0;
7194 PyObject
* _argo1
= 0;
7195 char *_kwnames
[] = { "self","font", NULL
};
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
7201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
7208 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
7209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 wxDC_SetFont(_arg0
,*_arg1
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) return NULL
;
7219 } Py_INCREF(Py_None
);
7220 _resultobj
= Py_None
;
7224 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
7225 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
* _resultobj
;
7229 PyObject
* _argo0
= 0;
7230 char *_kwnames
[] = { "self","function", NULL
};
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
7236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 wxDC_SetLogicalFunction(_arg0
,_arg1
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) return NULL
;
7248 } Py_INCREF(Py_None
);
7249 _resultobj
= Py_None
;
7253 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
7254 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
* _resultobj
;
7259 PyObject
* _argo0
= 0;
7260 char *_kwnames
[] = { "self","x","y", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) return NULL
;
7278 } Py_INCREF(Py_None
);
7279 _resultobj
= Py_None
;
7283 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
7284 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
* _resultobj
;
7288 PyObject
* _argo0
= 0;
7289 char *_kwnames
[] = { "self","mode", NULL
};
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
7295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 wxDC_SetMapMode(_arg0
,_arg1
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) return NULL
;
7307 } Py_INCREF(Py_None
);
7308 _resultobj
= Py_None
;
7312 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
7313 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
* _resultobj
;
7317 PyObject
* _argo0
= 0;
7319 char *_kwnames
[] = { "self","optimize", NULL
};
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
7325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
7331 _arg1
= (bool ) tempbool1
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 wxDC_SetOptimization(_arg0
,_arg1
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) return NULL
;
7338 } Py_INCREF(Py_None
);
7339 _resultobj
= Py_None
;
7343 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
7344 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
* _resultobj
;
7348 PyObject
* _argo0
= 0;
7349 PyObject
* _argo1
= 0;
7350 char *_kwnames
[] = { "self","pen", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
7356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
7363 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
7364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 wxDC_SetPen(_arg0
,*_arg1
);
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) return NULL
;
7374 } Py_INCREF(Py_None
);
7375 _resultobj
= Py_None
;
7379 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
7380 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
* _resultobj
;
7384 PyObject
* _argo0
= 0;
7386 PyObject
* _obj1
= 0;
7387 char *_kwnames
[] = { "self","colour", NULL
};
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
7393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
7401 if (! wxColour_helper(_obj1
, &_arg1
))
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 wxDC_SetTextBackground(_arg0
,*_arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) return NULL
;
7410 } Py_INCREF(Py_None
);
7411 _resultobj
= Py_None
;
7415 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
7416 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7420 PyObject
* _argo0
= 0;
7422 PyObject
* _obj1
= 0;
7423 char *_kwnames
[] = { "self","colour", NULL
};
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
7429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
7437 if (! wxColour_helper(_obj1
, &_arg1
))
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 wxDC_SetTextForeground(_arg0
,*_arg1
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) return NULL
;
7446 } Py_INCREF(Py_None
);
7447 _resultobj
= Py_None
;
7451 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
7452 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
* _resultobj
;
7457 PyObject
* _argo0
= 0;
7458 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) return NULL
;
7476 } Py_INCREF(Py_None
);
7477 _resultobj
= Py_None
;
7481 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7482 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
* _resultobj
;
7487 PyObject
* _argo0
= 0;
7488 PyObject
* _obj1
= 0;
7489 char *_kwnames
[] = { "self","message", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7502 _arg1
= wxString_in_helper(_obj1
);
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) return NULL
;
7512 } _resultobj
= Py_BuildValue("i",_result
);
7520 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7521 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
* _resultobj
;
7524 PyObject
* _argo0
= 0;
7525 char *_kwnames
[] = { "self", NULL
};
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 wxDC_StartPage(_arg0
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) return NULL
;
7543 } Py_INCREF(Py_None
);
7544 _resultobj
= Py_None
;
7548 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7549 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
* _resultobj
;
7555 int _arg4
= (int ) FALSE
;
7556 PyObject
* _argo0
= 0;
7557 PyObject
* _argo1
= 0;
7558 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7571 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) return NULL
;
7582 } Py_INCREF(Py_None
);
7583 _resultobj
= Py_None
;
7587 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7588 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
* _resultobj
;
7592 PyObject
* _argo0
= 0;
7593 char *_kwnames
[] = { "self", NULL
};
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) return NULL
;
7611 } _resultobj
= Py_BuildValue("i",_result
);
7615 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7616 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7620 PyObject
* _argo0
= 0;
7621 char *_kwnames
[] = { "self", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) return NULL
;
7639 } _resultobj
= Py_BuildValue("i",_result
);
7643 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7644 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7648 PyObject
* _argo0
= 0;
7649 char *_kwnames
[] = { "self", NULL
};
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 _result
= (int )wxDC_GetDepth(_arg0
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) return NULL
;
7667 } _resultobj
= Py_BuildValue("i",_result
);
7671 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7672 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7676 PyObject
* _argo0
= 0;
7677 char *_kwnames
[] = { "self", NULL
};
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) return NULL
;
7696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7697 _resultobj
= Py_BuildValue("s",_ptemp
);
7701 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7702 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7709 PyObject
* _argo0
= 0;
7710 char *_kwnames
[] = { "self", NULL
};
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
7722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) return NULL
;
7734 } Py_INCREF(Py_None
);
7735 _resultobj
= Py_None
;
7738 o
= PyInt_FromLong((long) (*_arg1
));
7739 _resultobj
= t_output_helper(_resultobj
, o
);
7743 o
= PyInt_FromLong((long) (*_arg2
));
7744 _resultobj
= t_output_helper(_resultobj
, o
);
7749 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
7750 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
* _resultobj
;
7755 PyObject
* _argo0
= 0;
7756 char *_kwnames
[] = { "self","x","y", NULL
};
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) return NULL
;
7774 } Py_INCREF(Py_None
);
7775 _resultobj
= Py_None
;
7779 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
7780 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
* _resultobj
;
7787 PyObject
* _argo0
= 0;
7788 char *_kwnames
[] = { "self", NULL
};
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
7800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) return NULL
;
7812 } Py_INCREF(Py_None
);
7813 _resultobj
= Py_None
;
7816 o
= PyInt_FromLong((long) (*_arg1
));
7817 _resultobj
= t_output_helper(_resultobj
, o
);
7821 o
= PyInt_FromLong((long) (*_arg2
));
7822 _resultobj
= t_output_helper(_resultobj
, o
);
7827 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
7828 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
* _resultobj
;
7833 PyObject
* _argo0
= 0;
7836 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
7848 _arg1
= (bool ) tempbool1
;
7849 _arg2
= (bool ) tempbool2
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) return NULL
;
7856 } Py_INCREF(Py_None
);
7857 _resultobj
= Py_None
;
7861 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
7862 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
* _resultobj
;
7867 PyObject
* _argo0
= 0;
7868 char *_kwnames
[] = { "self","x","y", NULL
};
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) return NULL
;
7886 } Py_INCREF(Py_None
);
7887 _resultobj
= Py_None
;
7891 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
7892 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
* _resultobj
;
7895 PyObject
* _argo0
= 0;
7896 char *_kwnames
[] = { "self", NULL
};
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
7902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 wxDC_ResetBoundingBox(_arg0
);
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) return NULL
;
7914 } Py_INCREF(Py_None
);
7915 _resultobj
= Py_None
;
7919 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
* _resultobj
;
7930 PyObject
* _argo0
= 0;
7931 char *_kwnames
[] = { "self", NULL
};
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
7949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) return NULL
;
7961 } Py_INCREF(Py_None
);
7962 _resultobj
= Py_None
;
7965 o
= PyInt_FromLong((long) (*_arg1
));
7966 _resultobj
= t_output_helper(_resultobj
, o
);
7970 o
= PyInt_FromLong((long) (*_arg2
));
7971 _resultobj
= t_output_helper(_resultobj
, o
);
7975 o
= PyInt_FromLong((long) (*_arg3
));
7976 _resultobj
= t_output_helper(_resultobj
, o
);
7980 o
= PyInt_FromLong((long) (*_arg4
));
7981 _resultobj
= t_output_helper(_resultobj
, o
);
7986 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
7987 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
7989 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
* _resultobj
;
7996 PyObject
* _argo0
= 0;
7997 PyObject
* _obj1
= 0;
7998 PyObject
* _obj2
= 0;
7999 PyObject
* _obj3
= 0;
8000 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
,_arg3
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) return NULL
;
8028 _resultobj
= _result
;
8033 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8034 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
8036 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
* _resultobj
;
8043 PyObject
* _argo0
= 0;
8044 PyObject
* _obj1
= 0;
8045 PyObject
* _obj2
= 0;
8046 PyObject
* _obj3
= 0;
8047 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
,_arg3
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) return NULL
;
8075 _resultobj
= _result
;
8080 static PyObject
* wxDC__DrawRectangleList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8081 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
8083 static PyObject
*_wrap_wxDC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
* _resultobj
;
8090 PyObject
* _argo0
= 0;
8091 PyObject
* _obj1
= 0;
8092 PyObject
* _obj2
= 0;
8093 PyObject
* _obj3
= 0;
8094 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawRectangleList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawRectangleList. Expected _wxDC_p.");
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 _result
= (PyObject
*)wxDC__DrawRectangleList(_arg0
,_arg1
,_arg2
,_arg3
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) return NULL
;
8122 _resultobj
= _result
;
8127 static PyObject
* wxDC__DrawEllipseList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8128 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
8130 static PyObject
*_wrap_wxDC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
* _resultobj
;
8137 PyObject
* _argo0
= 0;
8138 PyObject
* _obj1
= 0;
8139 PyObject
* _obj2
= 0;
8140 PyObject
* _obj3
= 0;
8141 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawEllipseList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawEllipseList. Expected _wxDC_p.");
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 _result
= (PyObject
*)wxDC__DrawEllipseList(_arg0
,_arg1
,_arg2
,_arg3
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) return NULL
;
8169 _resultobj
= _result
;
8174 static PyObject
* wxDC__DrawPolygonList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8175 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
8177 static PyObject
*_wrap_wxDC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
* _resultobj
;
8184 PyObject
* _argo0
= 0;
8185 PyObject
* _obj1
= 0;
8186 PyObject
* _obj2
= 0;
8187 PyObject
* _obj3
= 0;
8188 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPolygonList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPolygonList. Expected _wxDC_p.");
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 _result
= (PyObject
*)wxDC__DrawPolygonList(_arg0
,_arg1
,_arg2
,_arg3
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) return NULL
;
8216 _resultobj
= _result
;
8221 static PyObject
* wxDC__DrawTextList(wxDC
*self
,PyObject
* textList
,PyObject
* pyPoints
,PyObject
* foregroundList
,PyObject
* backgroundList
) {
8222 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
8224 static PyObject
*_wrap_wxDC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
* _resultobj
;
8232 PyObject
* _argo0
= 0;
8233 PyObject
* _obj1
= 0;
8234 PyObject
* _obj2
= 0;
8235 PyObject
* _obj3
= 0;
8236 PyObject
* _obj4
= 0;
8237 char *_kwnames
[] = { "self","textList","pyPoints","foregroundList","backgroundList", NULL
};
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:wxDC__DrawTextList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
))
8243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawTextList. Expected _wxDC_p.");
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 _result
= (PyObject
*)wxDC__DrawTextList(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) return NULL
;
8268 _resultobj
= _result
;
8273 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
8276 src
= (wxMemoryDC
*) ptr
;
8277 dest
= (wxDC
*) src
;
8278 return (void *) dest
;
8281 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
8284 src
= (wxMemoryDC
*) ptr
;
8285 dest
= (wxObject
*) src
;
8286 return (void *) dest
;
8289 #define new_wxMemoryDC() (new wxMemoryDC())
8290 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
* _resultobj
;
8292 wxMemoryDC
* _result
;
8293 char *_kwnames
[] = { NULL
};
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 _result
= (wxMemoryDC
*)new_wxMemoryDC();
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) return NULL
;
8306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
8307 _resultobj
= Py_BuildValue("s",_ptemp
);
8310 _resultobj
= Py_None
;
8315 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
8316 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
* _resultobj
;
8320 PyObject
* _argo0
= 0;
8321 PyObject
* _argo1
= 0;
8322 char *_kwnames
[] = { "self","bitmap", NULL
};
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
8328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
8330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
8335 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) return NULL
;
8346 } Py_INCREF(Py_None
);
8347 _resultobj
= Py_None
;
8351 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
8354 src
= (wxBufferedDC
*) ptr
;
8355 dest
= (wxMemoryDC
*) src
;
8356 return (void *) dest
;
8359 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
8362 src
= (wxBufferedDC
*) ptr
;
8363 dest
= (wxDC
*) src
;
8364 return (void *) dest
;
8367 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
8370 src
= (wxBufferedDC
*) ptr
;
8371 dest
= (wxObject
*) src
;
8372 return (void *) dest
;
8375 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8376 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
* _resultobj
;
8378 wxBufferedDC
* _result
;
8381 PyObject
* _argo0
= 0;
8382 PyObject
* _argo1
= 0;
8383 char *_kwnames
[] = { "dc","buffer", NULL
};
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
8390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
8397 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) return NULL
;
8409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8410 _resultobj
= Py_BuildValue("s",_ptemp
);
8413 _resultobj
= Py_None
;
8418 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8419 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
* _resultobj
;
8421 wxBufferedDC
* _result
;
8424 PyObject
* _argo0
= 0;
8426 PyObject
* _obj1
= 0;
8427 char *_kwnames
[] = { "dc","area", NULL
};
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
8434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
8442 if (! wxSize_helper(_obj1
, &_arg1
))
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) return NULL
;
8452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8453 _resultobj
= Py_BuildValue("s",_ptemp
);
8456 _resultobj
= Py_None
;
8461 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
8462 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
* _resultobj
;
8464 wxBufferedDC
* _arg0
;
8465 PyObject
* _argo0
= 0;
8466 char *_kwnames
[] = { "self", NULL
};
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
8472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
8474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 wxBufferedDC_UnMask(_arg0
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) return NULL
;
8484 } Py_INCREF(Py_None
);
8485 _resultobj
= Py_None
;
8489 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
8490 wxBufferedPaintDC
*src
;
8492 src
= (wxBufferedPaintDC
*) ptr
;
8493 dest
= (wxBufferedDC
*) src
;
8494 return (void *) dest
;
8497 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
8498 wxBufferedPaintDC
*src
;
8500 src
= (wxBufferedPaintDC
*) ptr
;
8501 dest
= (wxMemoryDC
*) src
;
8502 return (void *) dest
;
8505 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
8506 wxBufferedPaintDC
*src
;
8508 src
= (wxBufferedPaintDC
*) ptr
;
8509 dest
= (wxDC
*) src
;
8510 return (void *) dest
;
8513 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
8514 wxBufferedPaintDC
*src
;
8516 src
= (wxBufferedPaintDC
*) ptr
;
8517 dest
= (wxObject
*) src
;
8518 return (void *) dest
;
8521 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
8522 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
* _resultobj
;
8524 wxBufferedPaintDC
* _result
;
8526 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
8527 PyObject
* _argo0
= 0;
8528 PyObject
* _argo1
= 0;
8529 char *_kwnames
[] = { "window","buffer", NULL
};
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
8536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
8543 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) return NULL
;
8555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
8556 _resultobj
= Py_BuildValue("s",_ptemp
);
8559 _resultobj
= Py_None
;
8564 static void *SwigwxScreenDCTowxDC(void *ptr
) {
8567 src
= (wxScreenDC
*) ptr
;
8568 dest
= (wxDC
*) src
;
8569 return (void *) dest
;
8572 static void *SwigwxScreenDCTowxObject(void *ptr
) {
8575 src
= (wxScreenDC
*) ptr
;
8576 dest
= (wxObject
*) src
;
8577 return (void *) dest
;
8580 #define new_wxScreenDC() (new wxScreenDC())
8581 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
* _resultobj
;
8583 wxScreenDC
* _result
;
8584 char *_kwnames
[] = { NULL
};
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 _result
= (wxScreenDC
*)new_wxScreenDC();
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) return NULL
;
8597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
8598 _resultobj
= Py_BuildValue("s",_ptemp
);
8601 _resultobj
= Py_None
;
8606 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8607 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
* _resultobj
;
8612 PyObject
* _argo0
= 0;
8613 PyObject
* _argo1
= 0;
8614 char *_kwnames
[] = { "self","window", NULL
};
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
8620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) return NULL
;
8639 } _resultobj
= Py_BuildValue("i",_result
);
8643 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8644 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
* _resultobj
;
8648 wxRect
* _arg1
= (wxRect
*) NULL
;
8649 PyObject
* _argo0
= 0;
8651 PyObject
* _obj1
= 0;
8652 char *_kwnames
[] = { "self","rect", NULL
};
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
8658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8667 if (! wxRect_helper(_obj1
, &_arg1
))
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) return NULL
;
8676 } _resultobj
= Py_BuildValue("i",_result
);
8680 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8681 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
* _resultobj
;
8685 PyObject
* _argo0
= 0;
8686 char *_kwnames
[] = { "self", NULL
};
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) return NULL
;
8704 } _resultobj
= Py_BuildValue("i",_result
);
8708 static void *SwigwxClientDCTowxDC(void *ptr
) {
8711 src
= (wxClientDC
*) ptr
;
8712 dest
= (wxDC
*) src
;
8713 return (void *) dest
;
8716 static void *SwigwxClientDCTowxObject(void *ptr
) {
8719 src
= (wxClientDC
*) ptr
;
8720 dest
= (wxObject
*) src
;
8721 return (void *) dest
;
8724 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
8725 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
* _resultobj
;
8727 wxClientDC
* _result
;
8729 PyObject
* _argo0
= 0;
8730 char *_kwnames
[] = { "win", NULL
};
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
8737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) return NULL
;
8750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
8751 _resultobj
= Py_BuildValue("s",_ptemp
);
8754 _resultobj
= Py_None
;
8759 static void *SwigwxPaintDCTowxDC(void *ptr
) {
8762 src
= (wxPaintDC
*) ptr
;
8763 dest
= (wxDC
*) src
;
8764 return (void *) dest
;
8767 static void *SwigwxPaintDCTowxObject(void *ptr
) {
8770 src
= (wxPaintDC
*) ptr
;
8771 dest
= (wxObject
*) src
;
8772 return (void *) dest
;
8775 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
8776 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
* _resultobj
;
8778 wxPaintDC
* _result
;
8780 PyObject
* _argo0
= 0;
8781 char *_kwnames
[] = { "win", NULL
};
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
8788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) return NULL
;
8801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
8802 _resultobj
= Py_BuildValue("s",_ptemp
);
8805 _resultobj
= Py_None
;
8810 static void *SwigwxWindowDCTowxDC(void *ptr
) {
8813 src
= (wxWindowDC
*) ptr
;
8814 dest
= (wxDC
*) src
;
8815 return (void *) dest
;
8818 static void *SwigwxWindowDCTowxObject(void *ptr
) {
8821 src
= (wxWindowDC
*) ptr
;
8822 dest
= (wxObject
*) src
;
8823 return (void *) dest
;
8826 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
8827 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
* _resultobj
;
8829 wxWindowDC
* _result
;
8831 PyObject
* _argo0
= 0;
8832 char *_kwnames
[] = { "win", NULL
};
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
8839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) return NULL
;
8852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
8853 _resultobj
= Py_BuildValue("s",_ptemp
);
8856 _resultobj
= Py_None
;
8861 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
8864 src
= (wxPalette
*) ptr
;
8865 dest
= (wxGDIObject
*) src
;
8866 return (void *) dest
;
8869 static void *SwigwxPaletteTowxObject(void *ptr
) {
8872 src
= (wxPalette
*) ptr
;
8873 dest
= (wxObject
*) src
;
8874 return (void *) dest
;
8877 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8878 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
* _resultobj
;
8880 wxPalette
* _result
;
8885 PyObject
* _obj1
= 0;
8886 PyObject
* _obj2
= 0;
8887 PyObject
* _obj3
= 0;
8888 char *_kwnames
[] = { "choices","choices","choices", NULL
};
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
8895 _arg1
= byte_LIST_helper(_obj1
);
8896 if (_arg1
== NULL
) {
8901 _arg2
= byte_LIST_helper(_obj2
);
8902 if (_arg2
== NULL
) {
8908 _arg3
= byte_LIST_helper(_obj3
);
8909 if (_arg3
== NULL
) {
8915 _arg0
= PyList_Size(_obj1
);
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) return NULL
;
8928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
8929 _resultobj
= Py_BuildValue("s",_ptemp
);
8932 _resultobj
= Py_None
;
8946 #define delete_wxPalette(_swigobj) (delete _swigobj)
8947 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
* _resultobj
;
8950 PyObject
* _argo0
= 0;
8951 char *_kwnames
[] = { "self", NULL
};
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
8957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 delete_wxPalette(_arg0
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) return NULL
;
8969 } Py_INCREF(Py_None
);
8970 _resultobj
= Py_None
;
8974 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
8975 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8982 PyObject
* _argo0
= 0;
8983 char *_kwnames
[] = { "self","red","green","blue", NULL
};
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
8989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) return NULL
;
9001 } _resultobj
= Py_BuildValue("i",_result
);
9005 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9006 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
* _resultobj
;
9017 PyObject
* _argo0
= 0;
9018 char *_kwnames
[] = { "self","pixel", NULL
};
9022 _arg2
= (byte
*)&temp
;
9025 _arg3
= (byte
*)&temp0
;
9028 _arg4
= (byte
*)&temp1
;
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
9033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) return NULL
;
9045 } _resultobj
= Py_BuildValue("i",_result
);
9048 o
= PyInt_FromLong((long) (*_arg2
));
9049 _resultobj
= t_output_helper(_resultobj
, o
);
9053 o
= PyInt_FromLong((long) (*_arg3
));
9054 _resultobj
= t_output_helper(_resultobj
, o
);
9058 o
= PyInt_FromLong((long) (*_arg4
));
9059 _resultobj
= t_output_helper(_resultobj
, o
);
9064 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
9065 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
* _resultobj
;
9069 PyObject
* _argo0
= 0;
9070 char *_kwnames
[] = { "self", NULL
};
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
9076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 _result
= (bool )wxPalette_Ok(_arg0
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) return NULL
;
9088 } _resultobj
= Py_BuildValue("i",_result
);
9092 static void *SwigwxImageListTowxObject(void *ptr
) {
9095 src
= (wxImageList
*) ptr
;
9096 dest
= (wxObject
*) src
;
9097 return (void *) dest
;
9100 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9101 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
* _resultobj
;
9103 wxImageList
* _result
;
9106 int _arg2
= (int ) TRUE
;
9107 int _arg3
= (int ) 1;
9108 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) return NULL
;
9121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
9122 _resultobj
= Py_BuildValue("s",_ptemp
);
9125 _resultobj
= Py_None
;
9130 #define delete_wxImageList(_swigobj) (delete _swigobj)
9131 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
* _resultobj
;
9133 wxImageList
* _arg0
;
9134 PyObject
* _argo0
= 0;
9135 char *_kwnames
[] = { "self", NULL
};
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
9141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 delete_wxImageList(_arg0
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) return NULL
;
9153 } Py_INCREF(Py_None
);
9154 _resultobj
= Py_None
;
9158 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9159 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
* _resultobj
;
9162 wxImageList
* _arg0
;
9164 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
9165 PyObject
* _argo0
= 0;
9166 PyObject
* _argo1
= 0;
9167 PyObject
* _argo2
= 0;
9168 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
9181 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
9187 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) return NULL
;
9198 } _resultobj
= Py_BuildValue("i",_result
);
9202 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9203 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
* _resultobj
;
9206 wxImageList
* _arg0
;
9209 PyObject
* _argo0
= 0;
9210 PyObject
* _argo1
= 0;
9212 PyObject
* _obj2
= 0;
9213 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
9226 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
9233 if (! wxColour_helper(_obj2
, &_arg2
))
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) return NULL
;
9242 } _resultobj
= Py_BuildValue("i",_result
);
9246 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
9247 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
* _resultobj
;
9250 wxImageList
* _arg0
;
9252 PyObject
* _argo0
= 0;
9253 PyObject
* _argo1
= 0;
9254 char *_kwnames
[] = { "self","icon", NULL
};
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
9260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
9267 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
9268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) return NULL
;
9278 } _resultobj
= Py_BuildValue("i",_result
);
9282 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
9283 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
* _resultobj
;
9286 wxImageList
* _arg0
;
9289 PyObject
* _argo0
= 0;
9290 PyObject
* _argo2
= 0;
9291 char *_kwnames
[] = { "self","index","bitmap", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
9304 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) return NULL
;
9315 } _resultobj
= Py_BuildValue("i",_result
);
9319 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9320 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
* _resultobj
;
9323 wxImageList
* _arg0
;
9328 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
9329 bool _arg6
= (bool ) FALSE
;
9330 PyObject
* _argo0
= 0;
9331 PyObject
* _argo2
= 0;
9332 int tempbool6
= (int) FALSE
;
9333 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
9339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
9346 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
9347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
9351 _arg6
= (bool ) tempbool6
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) return NULL
;
9358 } _resultobj
= Py_BuildValue("i",_result
);
9362 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
9363 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
* _resultobj
;
9366 wxImageList
* _arg0
;
9367 PyObject
* _argo0
= 0;
9368 char *_kwnames
[] = { "self", NULL
};
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
9374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 _result
= (int )wxImageList_GetImageCount(_arg0
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) return NULL
;
9386 } _resultobj
= Py_BuildValue("i",_result
);
9390 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9391 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
* _resultobj
;
9394 wxImageList
* _arg0
;
9396 PyObject
* _argo0
= 0;
9397 char *_kwnames
[] = { "self","index", NULL
};
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
9403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) return NULL
;
9415 } _resultobj
= Py_BuildValue("i",_result
);
9419 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
9420 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
* _resultobj
;
9423 wxImageList
* _arg0
;
9424 PyObject
* _argo0
= 0;
9425 char *_kwnames
[] = { "self", NULL
};
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
9431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 _result
= (bool )wxImageList_RemoveAll(_arg0
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) return NULL
;
9443 } _resultobj
= Py_BuildValue("i",_result
);
9447 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
9448 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
* _resultobj
;
9450 wxImageList
* _arg0
;
9456 PyObject
* _argo0
= 0;
9457 char *_kwnames
[] = { "self","index", NULL
};
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
9469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) return NULL
;
9481 } Py_INCREF(Py_None
);
9482 _resultobj
= Py_None
;
9485 o
= PyInt_FromLong((long) (*_arg2
));
9486 _resultobj
= t_output_helper(_resultobj
, o
);
9490 o
= PyInt_FromLong((long) (*_arg3
));
9491 _resultobj
= t_output_helper(_resultobj
, o
);
9496 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
9499 src
= (wxRegion
*) ptr
;
9500 dest
= (wxGDIObject
*) src
;
9501 return (void *) dest
;
9504 static void *SwigwxRegionTowxObject(void *ptr
) {
9507 src
= (wxRegion
*) ptr
;
9508 dest
= (wxObject
*) src
;
9509 return (void *) dest
;
9512 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9513 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
* _resultobj
;
9516 wxCoord _arg0
= (wxCoord
) 0;
9517 wxCoord _arg1
= (wxCoord
) 0;
9518 wxCoord _arg2
= (wxCoord
) 0;
9519 wxCoord _arg3
= (wxCoord
) 0;
9520 char *_kwnames
[] = { "x","y","width","height", NULL
};
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) return NULL
;
9533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9534 _resultobj
= Py_BuildValue("s",_ptemp
);
9537 _resultobj
= Py_None
;
9542 #define new_wxRegionFromPoints(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
9543 static PyObject
*_wrap_new_wxRegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
* _resultobj
;
9548 int _arg2
= (int ) wxWINDING_RULE
;
9550 PyObject
* _obj1
= 0;
9551 char *_kwnames
[] = { "points","fillStyle", NULL
};
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxRegionFromPoints",_kwnames
,&_obj1
,&_arg2
))
9559 _arg1
= wxPoint_LIST_helper(_obj1
, &NPOINTS
);
9560 if (_arg1
== NULL
) {
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 _result
= (wxRegion
*)new_wxRegionFromPoints(_arg0
,_arg1
,_arg2
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) return NULL
;
9574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9575 _resultobj
= Py_BuildValue("s",_ptemp
);
9578 _resultobj
= Py_None
;
9586 #define new_wxRegionFromBitmap(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
9587 static PyObject
*_wrap_new_wxRegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
* _resultobj
;
9591 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
9592 int _arg2
= (int ) 0;
9593 PyObject
* _argo0
= 0;
9595 PyObject
* _obj1
= 0;
9596 char *_kwnames
[] = { "bmp","transColour","tolerance", NULL
};
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:new_wxRegionFromBitmap",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9603 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
9604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionFromBitmap. Expected _wxBitmap_p.");
9611 if (! wxColour_helper(_obj1
, &_arg1
))
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 _result
= (wxRegion
*)new_wxRegionFromBitmap(*_arg0
,*_arg1
,_arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) return NULL
;
9621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9622 _resultobj
= Py_BuildValue("s",_ptemp
);
9625 _resultobj
= Py_None
;
9630 #define delete_wxRegion(_swigobj) (delete _swigobj)
9631 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
* _resultobj
;
9634 PyObject
* _argo0
= 0;
9635 char *_kwnames
[] = { "self", NULL
};
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
9641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 delete_wxRegion(_arg0
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) return NULL
;
9653 } Py_INCREF(Py_None
);
9654 _resultobj
= Py_None
;
9658 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
9659 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
* _resultobj
;
9662 PyObject
* _argo0
= 0;
9663 char *_kwnames
[] = { "self", NULL
};
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
9669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 wxRegion_Clear(_arg0
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) return NULL
;
9681 } Py_INCREF(Py_None
);
9682 _resultobj
= Py_None
;
9686 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
9687 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
* _resultobj
;
9693 PyObject
* _argo0
= 0;
9694 char *_kwnames
[] = { "self","x","y", NULL
};
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) return NULL
;
9712 } _resultobj
= Py_BuildValue("i",_result
);
9716 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
9717 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
* _resultobj
;
9719 wxRegionContain _result
;
9723 PyObject
* _argo0
= 0;
9724 char *_kwnames
[] = { "self","x","y", NULL
};
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) return NULL
;
9742 } _resultobj
= Py_BuildValue("i",_result
);
9746 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9747 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
* _resultobj
;
9749 wxRegionContain _result
;
9752 PyObject
* _argo0
= 0;
9754 PyObject
* _obj1
= 0;
9755 char *_kwnames
[] = { "self","pt", NULL
};
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
9761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
9769 if (! wxPoint_helper(_obj1
, &_arg1
))
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) return NULL
;
9778 } _resultobj
= Py_BuildValue("i",_result
);
9782 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9783 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
* _resultobj
;
9785 wxRegionContain _result
;
9788 PyObject
* _argo0
= 0;
9790 PyObject
* _obj1
= 0;
9791 char *_kwnames
[] = { "self","rect", NULL
};
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
9797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
9805 if (! wxRect_helper(_obj1
, &_arg1
))
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) return NULL
;
9814 } _resultobj
= Py_BuildValue("i",_result
);
9818 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9819 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
* _resultobj
;
9821 wxRegionContain _result
;
9827 PyObject
* _argo0
= 0;
9828 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) return NULL
;
9846 } _resultobj
= Py_BuildValue("i",_result
);
9850 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
9851 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
* _resultobj
;
9855 PyObject
* _argo0
= 0;
9856 char *_kwnames
[] = { "self", NULL
};
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
9863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 _result
= new wxRect (wxRegion_GetBox(_arg0
));
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) return NULL
;
9875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9876 _resultobj
= Py_BuildValue("s",_ptemp
);
9880 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9881 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
* _resultobj
;
9889 PyObject
* _argo0
= 0;
9890 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) return NULL
;
9908 } _resultobj
= Py_BuildValue("i",_result
);
9912 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9913 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
* _resultobj
;
9918 PyObject
* _argo0
= 0;
9920 PyObject
* _obj1
= 0;
9921 char *_kwnames
[] = { "self","rect", NULL
};
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
9927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
9935 if (! wxRect_helper(_obj1
, &_arg1
))
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) return NULL
;
9944 } _resultobj
= Py_BuildValue("i",_result
);
9948 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9949 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
* _resultobj
;
9954 PyObject
* _argo0
= 0;
9955 PyObject
* _argo1
= 0;
9956 char *_kwnames
[] = { "self","region", NULL
};
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
9962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9969 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) return NULL
;
9980 } _resultobj
= Py_BuildValue("i",_result
);
9984 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
9985 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
* _resultobj
;
9989 PyObject
* _argo0
= 0;
9990 char *_kwnames
[] = { "self", NULL
};
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
9996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 _result
= (bool )wxRegion_IsEmpty(_arg0
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) return NULL
;
10008 } _resultobj
= Py_BuildValue("i",_result
);
10012 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10013 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
* _resultobj
;
10021 PyObject
* _argo0
= 0;
10022 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) return NULL
;
10040 } _resultobj
= Py_BuildValue("i",_result
);
10044 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10045 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
* _resultobj
;
10050 PyObject
* _argo0
= 0;
10052 PyObject
* _obj1
= 0;
10053 char *_kwnames
[] = { "self","rect", NULL
};
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
10059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
10067 if (! wxRect_helper(_obj1
, &_arg1
))
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) return NULL
;
10076 } _resultobj
= Py_BuildValue("i",_result
);
10080 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10081 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
* _resultobj
;
10086 PyObject
* _argo0
= 0;
10087 PyObject
* _argo1
= 0;
10088 char *_kwnames
[] = { "self","region", NULL
};
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
10094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10101 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) return NULL
;
10112 } _resultobj
= Py_BuildValue("i",_result
);
10116 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10117 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
* _resultobj
;
10125 PyObject
* _argo0
= 0;
10126 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) return NULL
;
10144 } _resultobj
= Py_BuildValue("i",_result
);
10148 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10149 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
* _resultobj
;
10154 PyObject
* _argo0
= 0;
10156 PyObject
* _obj1
= 0;
10157 char *_kwnames
[] = { "self","rect", NULL
};
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
10163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
10171 if (! wxRect_helper(_obj1
, &_arg1
))
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) return NULL
;
10180 } _resultobj
= Py_BuildValue("i",_result
);
10184 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10185 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
* _resultobj
;
10190 PyObject
* _argo0
= 0;
10191 PyObject
* _argo1
= 0;
10192 char *_kwnames
[] = { "self","region", NULL
};
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
10198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10205 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) return NULL
;
10216 } _resultobj
= Py_BuildValue("i",_result
);
10220 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10221 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
* _resultobj
;
10229 PyObject
* _argo0
= 0;
10230 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) return NULL
;
10248 } _resultobj
= Py_BuildValue("i",_result
);
10252 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10253 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
* _resultobj
;
10258 PyObject
* _argo0
= 0;
10260 PyObject
* _obj1
= 0;
10261 char *_kwnames
[] = { "self","rect", NULL
};
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
10267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
10275 if (! wxRect_helper(_obj1
, &_arg1
))
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) return NULL
;
10284 } _resultobj
= Py_BuildValue("i",_result
);
10288 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10289 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
* _resultobj
;
10294 PyObject
* _argo0
= 0;
10295 PyObject
* _argo1
= 0;
10296 char *_kwnames
[] = { "self","region", NULL
};
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
10302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
10309 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) return NULL
;
10320 } _resultobj
= Py_BuildValue("i",_result
);
10324 #define wxRegion_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
10325 static PyObject
*_wrap_wxRegion_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
* _resultobj
;
10327 wxBitmap
* _result
;
10329 PyObject
* _argo0
= 0;
10330 char *_kwnames
[] = { "self", NULL
};
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_ConvertToBitmap",_kwnames
,&_argo0
))
10337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ConvertToBitmap. Expected _wxRegion_p.");
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 _result
= new wxBitmap (wxRegion_ConvertToBitmap(_arg0
));
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) return NULL
;
10349 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10350 _resultobj
= Py_BuildValue("s",_ptemp
);
10354 #define wxRegion_UnionBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2))
10355 static PyObject
*_wrap_wxRegion_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
* _resultobj
;
10360 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
10361 int _arg3
= (int ) 0;
10362 PyObject
* _argo0
= 0;
10363 PyObject
* _argo1
= 0;
10365 PyObject
* _obj2
= 0;
10366 char *_kwnames
[] = { "self","bmp","transColour","tolerance", NULL
};
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxRegion_UnionBitmap",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionBitmap. Expected _wxRegion_p.");
10379 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionBitmap. Expected _wxBitmap_p.");
10387 if (! wxColour_helper(_obj2
, &_arg2
))
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 _result
= (bool )wxRegion_UnionBitmap(_arg0
,*_arg1
,*_arg2
,_arg3
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) return NULL
;
10396 } _resultobj
= Py_BuildValue("i",_result
);
10400 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
10401 wxRegionIterator
*src
;
10403 src
= (wxRegionIterator
*) ptr
;
10404 dest
= (wxObject
*) src
;
10405 return (void *) dest
;
10408 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
10409 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
* _resultobj
;
10411 wxRegionIterator
* _result
;
10413 PyObject
* _argo0
= 0;
10414 char *_kwnames
[] = { "region", NULL
};
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
10421 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) return NULL
;
10433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
10434 _resultobj
= Py_BuildValue("s",_ptemp
);
10436 Py_INCREF(Py_None
);
10437 _resultobj
= Py_None
;
10442 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
10443 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
* _resultobj
;
10445 wxRegionIterator
* _arg0
;
10446 PyObject
* _argo0
= 0;
10447 char *_kwnames
[] = { "self", NULL
};
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
10453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 delete_wxRegionIterator(_arg0
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) return NULL
;
10465 } Py_INCREF(Py_None
);
10466 _resultobj
= Py_None
;
10470 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
10471 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
* _resultobj
;
10474 wxRegionIterator
* _arg0
;
10475 PyObject
* _argo0
= 0;
10476 char *_kwnames
[] = { "self", NULL
};
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
10482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 _result
= (wxCoord
)wxRegionIterator_GetX(_arg0
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) return NULL
;
10494 } _resultobj
= Py_BuildValue("i",_result
);
10498 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
10499 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
* _resultobj
;
10502 wxRegionIterator
* _arg0
;
10503 PyObject
* _argo0
= 0;
10504 char *_kwnames
[] = { "self", NULL
};
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
10510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 _result
= (wxCoord
)wxRegionIterator_GetY(_arg0
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) return NULL
;
10522 } _resultobj
= Py_BuildValue("i",_result
);
10526 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
10527 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
* _resultobj
;
10530 wxRegionIterator
* _arg0
;
10531 PyObject
* _argo0
= 0;
10532 char *_kwnames
[] = { "self", NULL
};
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
10538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 _result
= (wxCoord
)wxRegionIterator_GetW(_arg0
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) return NULL
;
10550 } _resultobj
= Py_BuildValue("i",_result
);
10554 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
10555 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
* _resultobj
;
10558 wxRegionIterator
* _arg0
;
10559 PyObject
* _argo0
= 0;
10560 char *_kwnames
[] = { "self", NULL
};
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
10566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 _result
= (wxCoord
)wxRegionIterator_GetWidth(_arg0
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) return NULL
;
10578 } _resultobj
= Py_BuildValue("i",_result
);
10582 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
10583 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
* _resultobj
;
10586 wxRegionIterator
* _arg0
;
10587 PyObject
* _argo0
= 0;
10588 char *_kwnames
[] = { "self", NULL
};
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
10594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 _result
= (wxCoord
)wxRegionIterator_GetH(_arg0
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) return NULL
;
10606 } _resultobj
= Py_BuildValue("i",_result
);
10610 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
10611 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
* _resultobj
;
10614 wxRegionIterator
* _arg0
;
10615 PyObject
* _argo0
= 0;
10616 char *_kwnames
[] = { "self", NULL
};
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
10622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 _result
= (wxCoord
)wxRegionIterator_GetHeight(_arg0
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) return NULL
;
10634 } _resultobj
= Py_BuildValue("i",_result
);
10638 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
10639 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
* _resultobj
;
10642 wxRegionIterator
* _arg0
;
10643 PyObject
* _argo0
= 0;
10644 char *_kwnames
[] = { "self", NULL
};
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
10651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) return NULL
;
10663 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10664 _resultobj
= Py_BuildValue("s",_ptemp
);
10668 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
10669 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
* _resultobj
;
10672 wxRegionIterator
* _arg0
;
10673 PyObject
* _argo0
= 0;
10674 char *_kwnames
[] = { "self", NULL
};
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
10680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) return NULL
;
10692 } _resultobj
= Py_BuildValue("i",_result
);
10696 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
10697 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
* _resultobj
;
10699 wxRegionIterator
* _arg0
;
10700 PyObject
* _argo0
= 0;
10701 char *_kwnames
[] = { "self", NULL
};
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
10707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 wxRegionIterator_Reset(_arg0
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) return NULL
;
10719 } Py_INCREF(Py_None
);
10720 _resultobj
= Py_None
;
10724 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
10727 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
* _resultobj
;
10729 wxRegionIterator
* _arg0
;
10730 PyObject
* _argo0
= 0;
10731 char *_kwnames
[] = { "self", NULL
};
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
10737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 wxRegionIterator_Next(_arg0
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) return NULL
;
10749 } Py_INCREF(Py_None
);
10750 _resultobj
= Py_None
;
10754 static PyMethodDef gdicMethods
[] = {
10755 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxRegion_UnionBitmap", (PyCFunction
) _wrap_wxRegion_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxRegion_ConvertToBitmap", (PyCFunction
) _wrap_wxRegion_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "new_wxRegionFromBitmap", (PyCFunction
) _wrap_new_wxRegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "new_wxRegionFromPoints", (PyCFunction
) _wrap_new_wxRegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxDC__DrawTextList", (PyCFunction
) _wrap_wxDC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxDC__DrawPolygonList", (PyCFunction
) _wrap_wxDC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxDC__DrawEllipseList", (PyCFunction
) _wrap_wxDC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxDC__DrawRectangleList", (PyCFunction
) _wrap_wxDC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxDC_SetClippingRect", (PyCFunction
) _wrap_wxDC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxDC_GetMultiLineTextExtent", (PyCFunction
) _wrap_wxDC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxDC_DrawRectangleRect", (PyCFunction
) _wrap_wxDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxColourDatabase_AddColour", (PyCFunction
) _wrap_wxColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxColourDatabase_FindColourNoAdd", (PyCFunction
) _wrap_wxColourDatabase_FindColourNoAdd
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxColour___ne__", (PyCFunction
) _wrap_wxColour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxColour___eq__", (PyCFunction
) _wrap_wxColour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxCursorFromBits", (PyCFunction
) _wrap_wxCursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxCursorFromImage", (PyCFunction
) _wrap_wxCursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11033 * This table is used by the pointer type-checker
11035 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11036 { "_signed_long","_long",0},
11037 { "_wxPrintQuality","_wxCoord",0},
11038 { "_wxPrintQuality","_int",0},
11039 { "_wxPrintQuality","_signed_int",0},
11040 { "_wxPrintQuality","_unsigned_int",0},
11041 { "_wxPrintQuality","_wxWindowID",0},
11042 { "_wxPrintQuality","_uint",0},
11043 { "_wxPrintQuality","_EBool",0},
11044 { "_wxPrintQuality","_size_t",0},
11045 { "_wxPrintQuality","_time_t",0},
11046 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
11047 { "_byte","_unsigned_char",0},
11048 { "_long","_unsigned_long",0},
11049 { "_long","_signed_long",0},
11050 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
11051 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
11052 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
11053 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
11054 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
11055 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
11056 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
11057 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
11058 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
11059 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
11060 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
11061 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
11062 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
11063 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
11064 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
11065 { "_size_t","_wxCoord",0},
11066 { "_size_t","_wxPrintQuality",0},
11067 { "_size_t","_time_t",0},
11068 { "_size_t","_unsigned_int",0},
11069 { "_size_t","_int",0},
11070 { "_size_t","_wxWindowID",0},
11071 { "_size_t","_uint",0},
11072 { "_uint","_wxCoord",0},
11073 { "_uint","_wxPrintQuality",0},
11074 { "_uint","_time_t",0},
11075 { "_uint","_size_t",0},
11076 { "_uint","_unsigned_int",0},
11077 { "_uint","_int",0},
11078 { "_uint","_wxWindowID",0},
11079 { "_wxChar","_char",0},
11080 { "_char","_wxChar",0},
11081 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
11082 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11083 { "_EBool","_wxCoord",0},
11084 { "_EBool","_wxPrintQuality",0},
11085 { "_EBool","_signed_int",0},
11086 { "_EBool","_int",0},
11087 { "_EBool","_wxWindowID",0},
11088 { "_unsigned_long","_long",0},
11089 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11090 { "_signed_int","_wxCoord",0},
11091 { "_signed_int","_wxPrintQuality",0},
11092 { "_signed_int","_EBool",0},
11093 { "_signed_int","_wxWindowID",0},
11094 { "_signed_int","_int",0},
11095 { "_WXTYPE","_short",0},
11096 { "_WXTYPE","_signed_short",0},
11097 { "_WXTYPE","_unsigned_short",0},
11098 { "_unsigned_short","_WXTYPE",0},
11099 { "_unsigned_short","_short",0},
11100 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
11101 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
11102 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
11103 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
11104 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
11105 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
11106 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
11107 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
11108 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
11109 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
11110 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
11111 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
11112 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
11113 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
11114 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
11115 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
11116 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
11117 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
11118 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
11119 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
11120 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
11121 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
11122 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
11123 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
11124 { "_signed_short","_WXTYPE",0},
11125 { "_signed_short","_short",0},
11126 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
11127 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
11128 { "_unsigned_char","_byte",0},
11129 { "_unsigned_int","_wxCoord",0},
11130 { "_unsigned_int","_wxPrintQuality",0},
11131 { "_unsigned_int","_time_t",0},
11132 { "_unsigned_int","_size_t",0},
11133 { "_unsigned_int","_uint",0},
11134 { "_unsigned_int","_wxWindowID",0},
11135 { "_unsigned_int","_int",0},
11136 { "_short","_WXTYPE",0},
11137 { "_short","_unsigned_short",0},
11138 { "_short","_signed_short",0},
11139 { "_wxWindowID","_wxCoord",0},
11140 { "_wxWindowID","_wxPrintQuality",0},
11141 { "_wxWindowID","_time_t",0},
11142 { "_wxWindowID","_size_t",0},
11143 { "_wxWindowID","_EBool",0},
11144 { "_wxWindowID","_uint",0},
11145 { "_wxWindowID","_int",0},
11146 { "_wxWindowID","_signed_int",0},
11147 { "_wxWindowID","_unsigned_int",0},
11148 { "_int","_wxCoord",0},
11149 { "_int","_wxPrintQuality",0},
11150 { "_int","_time_t",0},
11151 { "_int","_size_t",0},
11152 { "_int","_EBool",0},
11153 { "_int","_uint",0},
11154 { "_int","_wxWindowID",0},
11155 { "_int","_unsigned_int",0},
11156 { "_int","_signed_int",0},
11157 { "_time_t","_wxCoord",0},
11158 { "_time_t","_wxPrintQuality",0},
11159 { "_time_t","_unsigned_int",0},
11160 { "_time_t","_int",0},
11161 { "_time_t","_wxWindowID",0},
11162 { "_time_t","_uint",0},
11163 { "_time_t","_size_t",0},
11164 { "_wxCoord","_int",0},
11165 { "_wxCoord","_signed_int",0},
11166 { "_wxCoord","_unsigned_int",0},
11167 { "_wxCoord","_wxWindowID",0},
11168 { "_wxCoord","_uint",0},
11169 { "_wxCoord","_EBool",0},
11170 { "_wxCoord","_size_t",0},
11171 { "_wxCoord","_time_t",0},
11172 { "_wxCoord","_wxPrintQuality",0},
11175 static PyObject
*SWIG_globals
;
11179 SWIGEXPORT(void) initgdic() {
11181 SWIG_globals
= SWIG_newvarlink();
11182 m
= Py_InitModule("gdic", gdicMethods
);
11183 d
= PyModule_GetDict(m
);
11184 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
11185 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
11186 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
11187 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
11188 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
11189 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
11190 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
11191 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
11192 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
11193 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
11194 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11195 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
11196 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
11197 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
11198 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
11199 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
11200 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
11201 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
11202 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
11203 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
11204 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
11205 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
11206 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
11207 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
11208 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
11209 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
11210 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
11211 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
11212 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
11213 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
11214 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
11215 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
11216 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
11217 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
11218 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
11219 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
11220 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
11221 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
11222 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
11223 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
11224 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
11225 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
11226 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
11227 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
11228 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
11229 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
11230 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
11231 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
11232 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
11233 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
11234 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
11235 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
11236 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
11237 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
11238 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
11239 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
11240 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
11243 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11244 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);