2 * FILE : src/mac/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/dcmirror.h>
65 #include <wx/iconbndl.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 // Put some wx default wxChar* values into wxStrings.
95 static const wxString
wxPyEmptyString(wxT(""));
96 // Implementations of some alternate "constructors"
98 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
99 return new wxBitmap(width
, height
, depth
);
102 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
103 char** cArray
= NULL
;
106 if (!PyList_Check(listOfStrings
)) {
107 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
110 count
= PyList_Size(listOfStrings
);
111 cArray
= new char*[count
];
113 for(int x
=0; x
<count
; x
++) {
114 // TODO: Need some validation and error checking here
115 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
121 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
122 char** cArray
= NULL
;
125 cArray
= ConvertListOfStrings(listOfStrings
);
128 bmp
= new wxBitmap(cArray
);
134 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
135 return new wxBitmap(icon
);
139 wxBitmap
* wxBitmapFromBits(PyObject
* bits
, int width
, int height
, int depth
= 1 ) {
142 PyString_AsStringAndSize(bits
, &buf
, &length
);
143 return new wxBitmap(buf
, width
, height
, depth
);
148 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
149 // int width, int height, int depth = 1) {
150 // if (! PyString_Check(data)) {
151 // PyErr_SetString(PyExc_TypeError, "Expected string object");
154 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
158 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
159 return new wxMask(bitmap
, colour
);
161 // Implementations of some alternate "constructors"
162 wxIcon
* wxEmptyIcon() {
166 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
167 char** cArray
= NULL
;
170 cArray
= ConvertListOfStrings(listOfStrings
);
173 icon
= new wxIcon(cArray
);
178 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
179 wxIcon
* icon
= new wxIcon();
180 icon
->CopyFromBitmap(bmp
);
184 wxIcon
* wxIconFromLocation(const wxIconLocation
& loc
) {
185 wxIcon
* icon
= new wxIcon(loc
);
189 wxCursor
* wxPyStockCursor(int id
) {
190 return new wxCursor(id
);
193 wxCursor
* wxCursorFromImage(const wxImage
& image
) {
194 return new wxCursor(image
);
197 wxCursor
* wxCursorFromBits(PyObject
* bits
, int width
, int height
,
198 int hotSpotX
=-1, int hotSpotY
=-1,
199 PyObject
* maskBits
=0) {
201 char* maskbuf
= NULL
;
203 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
205 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
206 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
208 // Alternate 'constructor'
209 wxColour
* wxNamedColour(const wxString
& colorName
) {
210 return new wxColour(colorName
);
213 class wxPyPen
: public wxPen
{
215 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
216 : wxPen(colour
, width
, style
)
223 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
226 m_dash
= new wxDash
[nb_dashes
];
227 for (int i
=0; i
<nb_dashes
; i
++) {
230 wxPen::SetDashes(nb_dashes
, m_dash
);
237 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
243 // Alternate 'constructor'
244 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
245 return new wxMemoryDC(oldDC
);
249 extern wxFont
* wxNORMAL_FONT
;
250 extern wxFont
* wxSMALL_FONT
;
251 extern wxFont
* wxITALIC_FONT
;
252 extern wxFont
* wxSWISS_FONT
;
253 extern wxPen
* wxRED_PEN
;
254 extern wxPen
* wxCYAN_PEN
;
255 extern wxPen
* wxGREEN_PEN
;
256 extern wxPen
* wxBLACK_PEN
;
257 extern wxPen
* wxWHITE_PEN
;
258 extern wxPen
* wxTRANSPARENT_PEN
;
259 extern wxPen
* wxBLACK_DASHED_PEN
;
260 extern wxPen
* wxGREY_PEN
;
261 extern wxPen
* wxMEDIUM_GREY_PEN
;
262 extern wxPen
* wxLIGHT_GREY_PEN
;
263 extern wxBrush
* wxBLUE_BRUSH
;
264 extern wxBrush
* wxGREEN_BRUSH
;
265 extern wxBrush
* wxWHITE_BRUSH
;
266 extern wxBrush
* wxBLACK_BRUSH
;
267 extern wxBrush
* wxTRANSPARENT_BRUSH
;
268 extern wxBrush
* wxCYAN_BRUSH
;
269 extern wxBrush
* wxRED_BRUSH
;
270 extern wxBrush
* wxGREY_BRUSH
;
271 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
272 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
273 extern wxColour
* wxBLACK
;
274 extern wxColour
* wxWHITE
;
275 extern wxColour
* wxRED
;
276 extern wxColour
* wxBLUE
;
277 extern wxColour
* wxGREEN
;
278 extern wxColour
* wxCYAN
;
279 extern wxColour
* wxLIGHT_GREY
;
280 extern wxCursor
* wxSTANDARD_CURSOR
;
281 extern wxCursor
* wxHOURGLASS_CURSOR
;
282 extern wxCursor
* wxCROSS_CURSOR
;
283 extern wxBitmap wxNullBitmap
;
284 extern wxIcon wxNullIcon
;
285 extern wxCursor wxNullCursor
;
286 extern wxPen wxNullPen
;
287 extern wxBrush wxNullBrush
;
288 extern wxPalette wxNullPalette
;
289 extern wxFont wxNullFont
;
290 extern wxColour wxNullColour
;
291 extern wxFontList
* wxTheFontList
;
292 extern wxPenList
* wxThePenList
;
293 extern wxBrushList
* wxTheBrushList
;
294 extern wxColourDatabase
* wxTheColourDatabase
;
300 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
301 PyObject
* _resultobj
;
305 int _arg2
= (int ) -1;
306 char *_kwnames
[] = { "width","height","depth", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
314 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
316 wxPyEndAllowThreads(__tstate
);
317 if (PyErr_Occurred()) return NULL
;
319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
320 _resultobj
= Py_BuildValue("s",_ptemp
);
323 _resultobj
= Py_None
;
328 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
332 PyObject
* _obj0
= 0;
333 char *_kwnames
[] = { "listOfStrings", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
344 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
346 wxPyEndAllowThreads(__tstate
);
347 if (PyErr_Occurred()) return NULL
;
349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
350 _resultobj
= Py_BuildValue("s",_ptemp
);
353 _resultobj
= Py_None
;
358 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
362 PyObject
* _argo0
= 0;
363 char *_kwnames
[] = { "icon", NULL
};
367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
370 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
377 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
379 wxPyEndAllowThreads(__tstate
);
380 if (PyErr_Occurred()) return NULL
;
382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
383 _resultobj
= Py_BuildValue("s",_ptemp
);
386 _resultobj
= Py_None
;
391 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
397 int _arg3
= (int ) 1;
398 PyObject
* _obj0
= 0;
399 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxBitmapFromBits",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
410 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
412 wxPyEndAllowThreads(__tstate
);
413 if (PyErr_Occurred()) return NULL
;
415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
416 _resultobj
= Py_BuildValue("s",_ptemp
);
419 _resultobj
= Py_None
;
424 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
429 PyObject
* _argo0
= 0;
431 PyObject
* _obj1
= 0;
432 char *_kwnames
[] = { "bitmap","colour", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
439 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
446 if (! wxColour_helper(_obj1
, &_arg1
))
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
457 _resultobj
= Py_BuildValue("s",_ptemp
);
460 _resultobj
= Py_None
;
465 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
468 char *_kwnames
[] = { NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 _result
= (wxIcon
*)wxEmptyIcon();
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) return NULL
;
481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
482 _resultobj
= Py_BuildValue("s",_ptemp
);
485 _resultobj
= Py_None
;
490 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
494 PyObject
* _obj0
= 0;
495 char *_kwnames
[] = { "listOfStrings", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
506 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
508 wxPyEndAllowThreads(__tstate
);
509 if (PyErr_Occurred()) return NULL
;
511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
512 _resultobj
= Py_BuildValue("s",_ptemp
);
515 _resultobj
= Py_None
;
520 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "bmp", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
532 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
539 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
541 wxPyEndAllowThreads(__tstate
);
542 if (PyErr_Occurred()) return NULL
;
544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
545 _resultobj
= Py_BuildValue("s",_ptemp
);
548 _resultobj
= Py_None
;
553 static PyObject
*_wrap_wxIconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
556 wxIconLocation
* _arg0
;
557 PyObject
* _argo0
= 0;
558 char *_kwnames
[] = { "loc", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromLocation",_kwnames
,&_argo0
))
565 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromLocation. Expected _wxIconLocation_p.");
571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
572 _result
= (wxIcon
*)wxIconFromLocation(*_arg0
);
574 wxPyEndAllowThreads(__tstate
);
575 if (PyErr_Occurred()) return NULL
;
577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
578 _resultobj
= Py_BuildValue("s",_ptemp
);
581 _resultobj
= Py_None
;
586 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
590 char *_kwnames
[] = { "id", NULL
};
594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
598 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
600 wxPyEndAllowThreads(__tstate
);
601 if (PyErr_Occurred()) return NULL
;
603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
604 _resultobj
= Py_BuildValue("s",_ptemp
);
607 _resultobj
= Py_None
;
612 static PyObject
*_wrap_wxCursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
613 PyObject
* _resultobj
;
616 PyObject
* _argo0
= 0;
617 char *_kwnames
[] = { "image", NULL
};
621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursorFromImage",_kwnames
,&_argo0
))
624 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursorFromImage. Expected _wxImage_p.");
630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
631 _result
= (wxCursor
*)wxCursorFromImage(*_arg0
);
633 wxPyEndAllowThreads(__tstate
);
634 if (PyErr_Occurred()) return NULL
;
636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
637 _resultobj
= Py_BuildValue("s",_ptemp
);
640 _resultobj
= Py_None
;
645 static PyObject
*_wrap_wxCursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
651 int _arg3
= (int ) -1;
652 int _arg4
= (int ) -1;
653 PyObject
* _arg5
= (PyObject
*) 0;
654 PyObject
* _obj0
= 0;
655 PyObject
* _obj5
= 0;
656 char *_kwnames
[] = { "bits","width","height","hotSpotX","hotSpotY","maskBits", NULL
};
660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiO:wxCursorFromBits",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
671 _result
= (wxCursor
*)wxCursorFromBits(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
673 wxPyEndAllowThreads(__tstate
);
674 if (PyErr_Occurred()) return NULL
;
676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
677 _resultobj
= Py_BuildValue("s",_ptemp
);
680 _resultobj
= Py_None
;
685 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
689 PyObject
* _obj0
= 0;
690 char *_kwnames
[] = { "colorName", NULL
};
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
697 _arg0
= wxString_in_helper(_obj0
);
702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
703 _result
= (wxColour
*)wxNamedColour(*_arg0
);
705 wxPyEndAllowThreads(__tstate
);
706 if (PyErr_Occurred()) return NULL
;
708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
709 _resultobj
= Py_BuildValue("s",_ptemp
);
712 _resultobj
= Py_None
;
721 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
723 wxMemoryDC
* _result
;
725 PyObject
* _argo0
= 0;
726 char *_kwnames
[] = { "oldDC", NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
741 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
743 wxPyEndAllowThreads(__tstate
);
744 if (PyErr_Occurred()) return NULL
;
746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
747 _resultobj
= Py_BuildValue("s",_ptemp
);
750 _resultobj
= Py_None
;
755 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
757 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
761 static PyObject
*_wrap_wxNORMAL_FONT_get() {
765 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
766 pyobj
= PyString_FromString(ptemp
);
770 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
772 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
776 static PyObject
*_wrap_wxSMALL_FONT_get() {
780 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
781 pyobj
= PyString_FromString(ptemp
);
785 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
787 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
791 static PyObject
*_wrap_wxITALIC_FONT_get() {
795 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
796 pyobj
= PyString_FromString(ptemp
);
800 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
802 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
806 static PyObject
*_wrap_wxSWISS_FONT_get() {
810 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
811 pyobj
= PyString_FromString(ptemp
);
815 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
817 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
821 static PyObject
*_wrap_wxRED_PEN_get() {
825 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
826 pyobj
= PyString_FromString(ptemp
);
830 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
832 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
836 static PyObject
*_wrap_wxCYAN_PEN_get() {
840 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
841 pyobj
= PyString_FromString(ptemp
);
845 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
847 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
851 static PyObject
*_wrap_wxGREEN_PEN_get() {
855 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
856 pyobj
= PyString_FromString(ptemp
);
860 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
862 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
866 static PyObject
*_wrap_wxBLACK_PEN_get() {
870 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
871 pyobj
= PyString_FromString(ptemp
);
875 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
877 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
881 static PyObject
*_wrap_wxWHITE_PEN_get() {
885 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
886 pyobj
= PyString_FromString(ptemp
);
890 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
892 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
896 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
900 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
901 pyobj
= PyString_FromString(ptemp
);
905 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
907 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
911 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
915 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
916 pyobj
= PyString_FromString(ptemp
);
920 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
922 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
926 static PyObject
*_wrap_wxGREY_PEN_get() {
930 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
931 pyobj
= PyString_FromString(ptemp
);
935 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
937 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
941 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
945 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
946 pyobj
= PyString_FromString(ptemp
);
950 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
952 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
956 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
960 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
961 pyobj
= PyString_FromString(ptemp
);
965 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
967 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
971 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
975 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
976 pyobj
= PyString_FromString(ptemp
);
980 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
982 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
986 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
990 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
991 pyobj
= PyString_FromString(ptemp
);
995 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
997 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
1001 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
1005 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
1006 pyobj
= PyString_FromString(ptemp
);
1010 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
1012 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
1016 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
1020 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
1021 pyobj
= PyString_FromString(ptemp
);
1025 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
1027 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
1031 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
1035 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
1036 pyobj
= PyString_FromString(ptemp
);
1040 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
1042 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
1046 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
1050 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
1051 pyobj
= PyString_FromString(ptemp
);
1055 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
1057 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
1061 static PyObject
*_wrap_wxRED_BRUSH_get() {
1065 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
1066 pyobj
= PyString_FromString(ptemp
);
1070 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
1072 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
1076 static PyObject
*_wrap_wxGREY_BRUSH_get() {
1080 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
1081 pyobj
= PyString_FromString(ptemp
);
1085 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
1087 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
1091 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
1095 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
1096 pyobj
= PyString_FromString(ptemp
);
1100 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
1102 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
1106 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
1110 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
1111 pyobj
= PyString_FromString(ptemp
);
1115 static int _wrap_wxBLACK_set(PyObject
*val
) {
1117 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
1121 static PyObject
*_wrap_wxBLACK_get() {
1125 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
1126 pyobj
= PyString_FromString(ptemp
);
1130 static int _wrap_wxWHITE_set(PyObject
*val
) {
1132 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1136 static PyObject
*_wrap_wxWHITE_get() {
1140 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1141 pyobj
= PyString_FromString(ptemp
);
1145 static int _wrap_wxRED_set(PyObject
*val
) {
1147 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1151 static PyObject
*_wrap_wxRED_get() {
1155 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1156 pyobj
= PyString_FromString(ptemp
);
1160 static int _wrap_wxBLUE_set(PyObject
*val
) {
1162 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1166 static PyObject
*_wrap_wxBLUE_get() {
1170 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1171 pyobj
= PyString_FromString(ptemp
);
1175 static int _wrap_wxGREEN_set(PyObject
*val
) {
1177 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1181 static PyObject
*_wrap_wxGREEN_get() {
1185 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1186 pyobj
= PyString_FromString(ptemp
);
1190 static int _wrap_wxCYAN_set(PyObject
*val
) {
1192 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1196 static PyObject
*_wrap_wxCYAN_get() {
1200 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1201 pyobj
= PyString_FromString(ptemp
);
1205 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1207 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1211 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1215 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1216 pyobj
= PyString_FromString(ptemp
);
1220 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1222 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1226 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1230 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1231 pyobj
= PyString_FromString(ptemp
);
1235 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1237 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1241 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1245 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1246 pyobj
= PyString_FromString(ptemp
);
1250 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1252 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1256 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1260 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1261 pyobj
= PyString_FromString(ptemp
);
1265 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1267 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1271 static PyObject
*_wrap_wxNullBitmap_get() {
1275 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1276 pyobj
= PyString_FromString(ptemp
);
1280 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1282 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1286 static PyObject
*_wrap_wxNullIcon_get() {
1290 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1291 pyobj
= PyString_FromString(ptemp
);
1295 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1297 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1301 static PyObject
*_wrap_wxNullCursor_get() {
1305 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1306 pyobj
= PyString_FromString(ptemp
);
1310 static int _wrap_wxNullPen_set(PyObject
*val
) {
1312 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1316 static PyObject
*_wrap_wxNullPen_get() {
1320 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1321 pyobj
= PyString_FromString(ptemp
);
1325 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1327 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1331 static PyObject
*_wrap_wxNullBrush_get() {
1335 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1336 pyobj
= PyString_FromString(ptemp
);
1340 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1342 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1346 static PyObject
*_wrap_wxNullPalette_get() {
1350 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1351 pyobj
= PyString_FromString(ptemp
);
1355 static int _wrap_wxNullFont_set(PyObject
*val
) {
1357 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1361 static PyObject
*_wrap_wxNullFont_get() {
1365 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1366 pyobj
= PyString_FromString(ptemp
);
1370 static int _wrap_wxNullColour_set(PyObject
*val
) {
1372 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1376 static PyObject
*_wrap_wxNullColour_get() {
1380 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1381 pyobj
= PyString_FromString(ptemp
);
1385 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1387 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1391 static PyObject
*_wrap_wxTheFontList_get() {
1395 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1396 pyobj
= PyString_FromString(ptemp
);
1400 static int _wrap_wxThePenList_set(PyObject
*val
) {
1402 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1406 static PyObject
*_wrap_wxThePenList_get() {
1410 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1411 pyobj
= PyString_FromString(ptemp
);
1415 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1417 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1421 static PyObject
*_wrap_wxTheBrushList_get() {
1425 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1426 pyobj
= PyString_FromString(ptemp
);
1430 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1432 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1436 static PyObject
*_wrap_wxTheColourDatabase_get() {
1440 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1441 pyobj
= PyString_FromString(ptemp
);
1445 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1448 src
= (wxGDIObject
*) ptr
;
1449 dest
= (wxObject
*) src
;
1450 return (void *) dest
;
1453 #define new_wxGDIObject() (new wxGDIObject())
1454 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1456 wxGDIObject
* _result
;
1457 char *_kwnames
[] = { NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1465 _result
= (wxGDIObject
*)new_wxGDIObject();
1467 wxPyEndAllowThreads(__tstate
);
1468 if (PyErr_Occurred()) return NULL
;
1470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1471 _resultobj
= Py_BuildValue("s",_ptemp
);
1474 _resultobj
= Py_None
;
1479 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1480 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1482 wxGDIObject
* _arg0
;
1483 PyObject
* _argo0
= 0;
1484 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 delete_wxGDIObject(_arg0
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } Py_INCREF(Py_None
);
1503 _resultobj
= Py_None
;
1507 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1508 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1511 wxGDIObject
* _arg0
;
1512 PyObject
* _argo0
= 0;
1513 char *_kwnames
[] = { "self", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1531 } _resultobj
= Py_BuildValue("i",_result
);
1535 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1536 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1538 wxGDIObject
* _arg0
;
1540 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self","visible", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1554 _arg1
= (bool ) tempbool1
;
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1557 wxGDIObject_SetVisible(_arg0
,_arg1
);
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) return NULL
;
1561 } Py_INCREF(Py_None
);
1562 _resultobj
= Py_None
;
1566 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1567 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1570 wxGDIObject
* _arg0
;
1571 PyObject
* _argo0
= 0;
1572 char *_kwnames
[] = { "self", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1590 } _resultobj
= Py_BuildValue("i",_result
);
1594 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1597 src
= (wxBitmap
*) ptr
;
1598 dest
= (wxGDIObject
*) src
;
1599 return (void *) dest
;
1602 static void *SwigwxBitmapTowxObject(void *ptr
) {
1605 src
= (wxBitmap
*) ptr
;
1606 dest
= (wxObject
*) src
;
1607 return (void *) dest
;
1610 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1611 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1615 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1616 PyObject
* _obj0
= 0;
1617 char *_kwnames
[] = { "name","type", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1624 _arg0
= wxString_in_helper(_obj0
);
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1635 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1636 _resultobj
= Py_BuildValue("s",_ptemp
);
1639 _resultobj
= Py_None
;
1648 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1649 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1652 PyObject
* _argo0
= 0;
1653 char *_kwnames
[] = { "self", NULL
};
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 delete_wxBitmap(_arg0
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) return NULL
;
1671 } Py_INCREF(Py_None
);
1672 _resultobj
= Py_None
;
1676 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1677 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1679 wxPalette
* _result
;
1681 PyObject
* _argo0
= 0;
1682 char *_kwnames
[] = { "self", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1703 _resultobj
= Py_BuildValue("s",_ptemp
);
1706 _resultobj
= Py_None
;
1711 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1712 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1717 char *_kwnames
[] = { "self", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1738 _resultobj
= Py_BuildValue("s",_ptemp
);
1741 _resultobj
= Py_None
;
1746 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1747 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1752 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1753 PyObject
* _argo0
= 0;
1754 PyObject
* _obj1
= 0;
1755 char *_kwnames
[] = { "self","name","type", NULL
};
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1768 _arg1
= wxString_in_helper(_obj1
);
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } _resultobj
= Py_BuildValue("i",_result
);
1786 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1787 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1793 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1794 PyObject
* _argo0
= 0;
1795 PyObject
* _obj1
= 0;
1796 PyObject
* _argo3
= 0;
1797 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1810 _arg1
= wxString_in_helper(_obj1
);
1815 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) return NULL
;
1827 } _resultobj
= Py_BuildValue("i",_result
);
1835 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1836 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1840 PyObject
* _argo0
= 0;
1841 PyObject
* _argo1
= 0;
1842 char *_kwnames
[] = { "self","mask", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1855 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 wxBitmap_SetMask(_arg0
,_arg1
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) return NULL
;
1867 } Py_INCREF(Py_None
);
1868 _resultobj
= Py_None
;
1872 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1873 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 _result
= (bool )wxBitmap_Ok(_arg0
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } _resultobj
= Py_BuildValue("i",_result
);
1900 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1901 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 _result
= (int )wxBitmap_GetWidth(_arg0
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } _resultobj
= Py_BuildValue("i",_result
);
1928 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1929 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1933 PyObject
* _argo0
= 0;
1934 char *_kwnames
[] = { "self", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 _result
= (int )wxBitmap_GetHeight(_arg0
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) return NULL
;
1952 } _resultobj
= Py_BuildValue("i",_result
);
1956 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1957 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 _result
= (int )wxBitmap_GetDepth(_arg0
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) return NULL
;
1980 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1985 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self","w", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 wxBitmap_SetWidth(_arg0
,_arg1
);
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) return NULL
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2013 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2014 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self","h", NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 wxBitmap_SetHeight(_arg0
,_arg1
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) return NULL
;
2037 } Py_INCREF(Py_None
);
2038 _resultobj
= Py_None
;
2042 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2043 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2047 PyObject
* _argo0
= 0;
2048 char *_kwnames
[] = { "self","d", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 wxBitmap_SetDepth(_arg0
,_arg1
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) return NULL
;
2066 } Py_INCREF(Py_None
);
2067 _resultobj
= Py_None
;
2071 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2072 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2077 PyObject
* _argo0
= 0;
2079 PyObject
* _obj1
= 0;
2080 char *_kwnames
[] = { "self","rect", NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
2087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2095 if (! wxRect_helper(_obj1
, &_arg1
))
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) return NULL
;
2104 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
2105 _resultobj
= Py_BuildValue("s",_ptemp
);
2109 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2110 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2115 PyObject
* _argo0
= 0;
2116 PyObject
* _argo1
= 0;
2117 char *_kwnames
[] = { "self","icon", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2130 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) return NULL
;
2141 } _resultobj
= Py_BuildValue("i",_result
);
2145 static void *SwigwxMaskTowxObject(void *ptr
) {
2148 src
= (wxMask
*) ptr
;
2149 dest
= (wxObject
*) src
;
2150 return (void *) dest
;
2153 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2154 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2158 PyObject
* _argo0
= 0;
2159 char *_kwnames
[] = { "bitmap", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2166 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 _result
= (wxMask
*)new_wxMask(*_arg0
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) return NULL
;
2178 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2179 _resultobj
= Py_BuildValue("s",_ptemp
);
2182 _resultobj
= Py_None
;
2187 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2188 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2191 PyObject
* _argo0
= 0;
2192 char *_kwnames
[] = { "self", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 wxMask_Destroy(_arg0
);
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) return NULL
;
2210 } Py_INCREF(Py_None
);
2211 _resultobj
= Py_None
;
2215 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2218 src
= (wxIcon
*) ptr
;
2219 dest
= (wxGDIObject
*) src
;
2220 return (void *) dest
;
2223 static void *SwigwxIconTowxObject(void *ptr
) {
2226 src
= (wxIcon
*) ptr
;
2227 dest
= (wxObject
*) src
;
2228 return (void *) dest
;
2231 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2232 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2237 int _arg2
= (int ) -1;
2238 int _arg3
= (int ) -1;
2239 PyObject
* _obj0
= 0;
2240 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2247 _arg0
= wxString_in_helper(_obj0
);
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2259 _resultobj
= Py_BuildValue("s",_ptemp
);
2262 _resultobj
= Py_None
;
2271 #define delete_wxIcon(_swigobj) (delete _swigobj)
2272 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2275 PyObject
* _argo0
= 0;
2276 char *_kwnames
[] = { "self", NULL
};
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 delete_wxIcon(_arg0
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) return NULL
;
2294 } Py_INCREF(Py_None
);
2295 _resultobj
= Py_None
;
2299 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2300 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2304 PyObject
* _argo0
= 0;
2305 char *_kwnames
[] = { "self", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 _result
= (bool )wxIcon_Ok(_arg0
);
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) return NULL
;
2323 } _resultobj
= Py_BuildValue("i",_result
);
2327 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2328 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2332 PyObject
* _argo0
= 0;
2333 char *_kwnames
[] = { "self", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 _result
= (int )wxIcon_GetWidth(_arg0
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) return NULL
;
2351 } _resultobj
= Py_BuildValue("i",_result
);
2355 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2356 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
* _resultobj
;
2360 PyObject
* _argo0
= 0;
2361 char *_kwnames
[] = { "self", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 _result
= (int )wxIcon_GetHeight(_arg0
);
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) return NULL
;
2379 } _resultobj
= Py_BuildValue("i",_result
);
2383 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2384 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2388 PyObject
* _argo0
= 0;
2389 char *_kwnames
[] = { "self", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 _result
= (int )wxIcon_GetDepth(_arg0
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) return NULL
;
2407 } _resultobj
= Py_BuildValue("i",_result
);
2411 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2412 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2416 PyObject
* _argo0
= 0;
2417 char *_kwnames
[] = { "self","w", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 wxIcon_SetWidth(_arg0
,_arg1
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2435 } Py_INCREF(Py_None
);
2436 _resultobj
= Py_None
;
2440 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2441 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2445 PyObject
* _argo0
= 0;
2446 char *_kwnames
[] = { "self","h", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 wxIcon_SetHeight(_arg0
,_arg1
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2469 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2470 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2474 PyObject
* _argo0
= 0;
2475 char *_kwnames
[] = { "self","d", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 wxIcon_SetDepth(_arg0
,_arg1
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) return NULL
;
2493 } Py_INCREF(Py_None
);
2494 _resultobj
= Py_None
;
2498 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2499 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2503 PyObject
* _argo0
= 0;
2504 PyObject
* _argo1
= 0;
2505 char *_kwnames
[] = { "self","bmp", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2518 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) return NULL
;
2529 } Py_INCREF(Py_None
);
2530 _resultobj
= Py_None
;
2534 static wxIconLocation
*new_wxIconLocation(const wxString
*filename
,int num
) {
2536 return new wxIconLocation(*filename
, num
);
2538 return new wxIconLocation(*filename
);
2542 static PyObject
*_wrap_new_wxIconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2544 wxIconLocation
* _result
;
2545 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
2546 int _arg1
= (int ) 0;
2547 PyObject
* _obj0
= 0;
2548 char *_kwnames
[] = { "filename","num", NULL
};
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxIconLocation",_kwnames
,&_obj0
,&_arg1
))
2556 _arg0
= wxString_in_helper(_obj0
);
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 _result
= (wxIconLocation
*)new_wxIconLocation(_arg0
,_arg1
);
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) return NULL
;
2567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconLocation_p");
2568 _resultobj
= Py_BuildValue("s",_ptemp
);
2571 _resultobj
= Py_None
;
2580 #define delete_wxIconLocation(_swigobj) (delete _swigobj)
2581 static PyObject
*_wrap_delete_wxIconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2583 wxIconLocation
* _arg0
;
2584 PyObject
* _argo0
= 0;
2585 char *_kwnames
[] = { "self", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconLocation",_kwnames
,&_argo0
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconLocation. Expected _wxIconLocation_p.");
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 delete_wxIconLocation(_arg0
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) return NULL
;
2603 } Py_INCREF(Py_None
);
2604 _resultobj
= Py_None
;
2608 #define wxIconLocation_IsOk(_swigobj) (_swigobj->IsOk())
2609 static PyObject
*_wrap_wxIconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2612 wxIconLocation
* _arg0
;
2613 PyObject
* _argo0
= 0;
2614 char *_kwnames
[] = { "self", NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconLocation_IsOk",_kwnames
,&_argo0
))
2620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_IsOk. Expected _wxIconLocation_p.");
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 _result
= (bool )wxIconLocation_IsOk(_arg0
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) return NULL
;
2632 } _resultobj
= Py_BuildValue("i",_result
);
2636 #define wxIconLocation_SetFileName(_swigobj,_swigarg0) (_swigobj->SetFileName(_swigarg0))
2637 static PyObject
*_wrap_wxIconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
* _resultobj
;
2639 wxIconLocation
* _arg0
;
2641 PyObject
* _argo0
= 0;
2642 PyObject
* _obj1
= 0;
2643 char *_kwnames
[] = { "self","filename", NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconLocation_SetFileName",_kwnames
,&_argo0
,&_obj1
))
2649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_SetFileName. Expected _wxIconLocation_p.");
2656 _arg1
= wxString_in_helper(_obj1
);
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 wxIconLocation_SetFileName(_arg0
,*_arg1
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) return NULL
;
2666 } Py_INCREF(Py_None
);
2667 _resultobj
= Py_None
;
2675 #define wxIconLocation_GetFileName(_swigobj) (_swigobj->GetFileName())
2676 static PyObject
*_wrap_wxIconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2679 wxIconLocation
* _arg0
;
2680 PyObject
* _argo0
= 0;
2681 char *_kwnames
[] = { "self", NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconLocation_GetFileName",_kwnames
,&_argo0
))
2687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_GetFileName. Expected _wxIconLocation_p.");
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 const wxString
& _result_ref
= wxIconLocation_GetFileName(_arg0
);
2696 _result
= (wxString
*) &_result_ref
;
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) return NULL
;
2702 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2704 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2710 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
) {
2712 self
->SetIndex(num
);
2717 static PyObject
*_wrap_wxIconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2719 wxIconLocation
* _arg0
;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self","num", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIconLocation_SetIndex",_kwnames
,&_argo0
,&_arg1
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_SetIndex. Expected _wxIconLocation_p.");
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 wxIconLocation_SetIndex(_arg0
,_arg1
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) return NULL
;
2740 } Py_INCREF(Py_None
);
2741 _resultobj
= Py_None
;
2745 static int wxIconLocation_GetIndex(wxIconLocation
*self
) {
2747 return self
->GetIndex();
2752 static PyObject
*_wrap_wxIconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2755 wxIconLocation
* _arg0
;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconLocation_GetIndex",_kwnames
,&_argo0
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_GetIndex. Expected _wxIconLocation_p.");
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 _result
= (int )wxIconLocation_GetIndex(_arg0
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) return NULL
;
2775 } _resultobj
= Py_BuildValue("i",_result
);
2779 #define new_wxIconBundle() (new wxIconBundle())
2780 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2782 wxIconBundle
* _result
;
2783 char *_kwnames
[] = { NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 _result
= (wxIconBundle
*)new_wxIconBundle();
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) return NULL
;
2796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2797 _resultobj
= Py_BuildValue("s",_ptemp
);
2800 _resultobj
= Py_None
;
2805 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2806 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2808 wxIconBundle
* _result
;
2811 PyObject
* _obj0
= 0;
2812 char *_kwnames
[] = { "file","type", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
2819 _arg0
= wxString_in_helper(_obj0
);
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) return NULL
;
2830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2831 _resultobj
= Py_BuildValue("s",_ptemp
);
2834 _resultobj
= Py_None
;
2843 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2844 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2846 wxIconBundle
* _result
;
2848 PyObject
* _argo0
= 0;
2849 char *_kwnames
[] = { "icon", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
2856 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) return NULL
;
2868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2869 _resultobj
= Py_BuildValue("s",_ptemp
);
2872 _resultobj
= Py_None
;
2877 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
2878 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2880 wxIconBundle
* _arg0
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 delete_wxIconBundle(_arg0
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) return NULL
;
2900 } Py_INCREF(Py_None
);
2901 _resultobj
= Py_None
;
2905 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2906 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2908 wxIconBundle
* _arg0
;
2910 PyObject
* _argo0
= 0;
2911 PyObject
* _argo1
= 0;
2912 char *_kwnames
[] = { "self","icon", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2925 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 wxIconBundle_AddIcon(_arg0
,*_arg1
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) return NULL
;
2936 } Py_INCREF(Py_None
);
2937 _resultobj
= Py_None
;
2941 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2942 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
* _resultobj
;
2944 wxIconBundle
* _arg0
;
2947 PyObject
* _argo0
= 0;
2948 PyObject
* _obj1
= 0;
2949 char *_kwnames
[] = { "self","file","type", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
2962 _arg1
= wxString_in_helper(_obj1
);
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2972 } Py_INCREF(Py_None
);
2973 _resultobj
= Py_None
;
2981 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
2982 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2985 wxIconBundle
* _arg0
;
2987 PyObject
* _argo0
= 0;
2989 PyObject
* _obj1
= 0;
2990 char *_kwnames
[] = { "self","size", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
3005 if (! wxSize_helper(_obj1
, &_arg1
))
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
3011 _result
= (wxIcon
*) &_result_ref
;
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
3017 _resultobj
= Py_BuildValue("s",_ptemp
);
3020 _resultobj
= Py_None
;
3025 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
3028 src
= (wxCursor
*) ptr
;
3029 dest
= (wxGDIObject
*) src
;
3030 return (void *) dest
;
3033 static void *SwigwxCursorTowxObject(void *ptr
) {
3036 src
= (wxCursor
*) ptr
;
3037 dest
= (wxObject
*) src
;
3038 return (void *) dest
;
3041 static wxCursor
*new_wxCursor(const wxString
*cursorName
,long flags
,int hotSpotX
,int hotSpotY
) {
3043 wxCHECK_MSG(FALSE
, NULL
,
3044 wxT("wxCursor constructor not implemented for wxGTK, use wxStockCursor, wxCursorFromImage, or wxCursorFromBits instead."));
3046 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
3050 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3055 int _arg2
= (int ) 0;
3056 int _arg3
= (int ) 0;
3057 PyObject
* _obj0
= 0;
3058 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3065 _arg0
= wxString_in_helper(_obj0
);
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 _result
= (wxCursor
*)new_wxCursor(_arg0
,_arg1
,_arg2
,_arg3
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) return NULL
;
3076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
3077 _resultobj
= Py_BuildValue("s",_ptemp
);
3080 _resultobj
= Py_None
;
3089 #define delete_wxCursor(_swigobj) (delete _swigobj)
3090 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3093 PyObject
* _argo0
= 0;
3094 char *_kwnames
[] = { "self", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 delete_wxCursor(_arg0
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
3118 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3122 PyObject
* _argo0
= 0;
3123 char *_kwnames
[] = { "self", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 _result
= (bool )wxCursor_Ok(_arg0
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) return NULL
;
3141 } _resultobj
= Py_BuildValue("i",_result
);
3145 static void *SwigwxColourTowxObject(void *ptr
) {
3148 src
= (wxColour
*) ptr
;
3149 dest
= (wxObject
*) src
;
3150 return (void *) dest
;
3153 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
3154 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
* _resultobj
;
3157 unsigned char _arg0
= (unsigned char ) 0;
3158 unsigned char _arg1
= (unsigned char ) 0;
3159 unsigned char _arg2
= (unsigned char ) 0;
3160 char *_kwnames
[] = { "red","green","blue", NULL
};
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) return NULL
;
3173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3174 _resultobj
= Py_BuildValue("s",_ptemp
);
3177 _resultobj
= Py_None
;
3182 #define delete_wxColour(_swigobj) (delete _swigobj)
3183 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3187 PyObject
* _obj0
= 0;
3188 char *_kwnames
[] = { "self", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
3195 if (! wxColour_helper(_obj0
, &_arg0
))
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 delete_wxColour(_arg0
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) return NULL
;
3204 } Py_INCREF(Py_None
);
3205 _resultobj
= Py_None
;
3209 #define wxColour_Red(_swigobj) (_swigobj->Red())
3210 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3212 unsigned char _result
;
3215 PyObject
* _obj0
= 0;
3216 char *_kwnames
[] = { "self", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
3223 if (! wxColour_helper(_obj0
, &_arg0
))
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 _result
= (unsigned char )wxColour_Red(_arg0
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) return NULL
;
3232 } _resultobj
= Py_BuildValue("b",_result
);
3236 #define wxColour_Green(_swigobj) (_swigobj->Green())
3237 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3239 unsigned char _result
;
3242 PyObject
* _obj0
= 0;
3243 char *_kwnames
[] = { "self", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
3250 if (! wxColour_helper(_obj0
, &_arg0
))
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 _result
= (unsigned char )wxColour_Green(_arg0
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) return NULL
;
3259 } _resultobj
= Py_BuildValue("b",_result
);
3263 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
3264 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3266 unsigned char _result
;
3269 PyObject
* _obj0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
3277 if (! wxColour_helper(_obj0
, &_arg0
))
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 _result
= (unsigned char )wxColour_Blue(_arg0
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) return NULL
;
3286 } _resultobj
= Py_BuildValue("b",_result
);
3290 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
3291 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
* _resultobj
;
3296 PyObject
* _obj0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
3304 if (! wxColour_helper(_obj0
, &_arg0
))
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 _result
= (bool )wxColour_Ok(_arg0
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) return NULL
;
3313 } _resultobj
= Py_BuildValue("i",_result
);
3317 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3318 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3321 unsigned char _arg1
;
3322 unsigned char _arg2
;
3323 unsigned char _arg3
;
3325 PyObject
* _obj0
= 0;
3326 char *_kwnames
[] = { "self","red","green","blue", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3333 if (! wxColour_helper(_obj0
, &_arg0
))
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3342 } Py_INCREF(Py_None
);
3343 _resultobj
= Py_None
;
3347 static PyObject
* wxColour_Get(wxColour
*self
) {
3348 PyObject
* rv
= PyTuple_New(3);
3354 green
= self
->Green();
3355 blue
= self
->Blue();
3357 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
3358 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
3359 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
3362 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3367 PyObject
* _obj0
= 0;
3368 char *_kwnames
[] = { "self", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
3375 if (! wxColour_helper(_obj0
, &_arg0
))
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 _result
= (PyObject
*)wxColour_Get(_arg0
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) return NULL
;
3385 _resultobj
= _result
;
3390 static bool wxColour___eq__(wxColour
*self
,PyObject
* obj
) {
3392 wxColour
* ptr
= &tmp
;
3393 if (obj
== Py_None
) return FALSE
;
3394 wxPyBLOCK_THREADS(bool success
= wxColour_helper(obj
, &ptr
); PyErr_Clear());
3395 if (! success
) return FALSE
;
3396 return *self
== *ptr
;
3398 static PyObject
*_wrap_wxColour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3404 PyObject
* _obj0
= 0;
3405 PyObject
* _obj1
= 0;
3406 char *_kwnames
[] = { "self","obj", NULL
};
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColour___eq__",_kwnames
,&_obj0
,&_obj1
))
3413 if (! wxColour_helper(_obj0
, &_arg0
))
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 _result
= (bool )wxColour___eq__(_arg0
,_arg1
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) return NULL
;
3425 } _resultobj
= Py_BuildValue("i",_result
);
3429 static bool wxColour___ne__(wxColour
*self
,PyObject
* obj
) {
3431 wxColour
* ptr
= &tmp
;
3432 if (obj
== Py_None
) return TRUE
;
3433 wxPyBLOCK_THREADS(bool success
= wxColour_helper(obj
, &ptr
); PyErr_Clear());
3434 if (! success
) return TRUE
;
3435 return *self
!= *ptr
;
3437 static PyObject
*_wrap_wxColour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3443 PyObject
* _obj0
= 0;
3444 PyObject
* _obj1
= 0;
3445 char *_kwnames
[] = { "self","obj", NULL
};
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColour___ne__",_kwnames
,&_obj0
,&_obj1
))
3452 if (! wxColour_helper(_obj0
, &_arg0
))
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 _result
= (bool )wxColour___ne__(_arg0
,_arg1
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) return NULL
;
3464 } _resultobj
= Py_BuildValue("i",_result
);
3468 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
3469 wxColourDatabase
*src
;
3471 src
= (wxColourDatabase
*) ptr
;
3472 dest
= (wxObject
*) src
;
3473 return (void *) dest
;
3476 #define new_wxColourDatabase() (new wxColourDatabase())
3477 static PyObject
*_wrap_new_wxColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxColourDatabase
* _result
;
3480 char *_kwnames
[] = { NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourDatabase",_kwnames
))
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 _result
= (wxColourDatabase
*)new_wxColourDatabase();
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) return NULL
;
3493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDatabase_p");
3494 _resultobj
= Py_BuildValue("s",_ptemp
);
3497 _resultobj
= Py_None
;
3502 #define delete_wxColourDatabase(_swigobj) (delete _swigobj)
3503 static PyObject
*_wrap_delete_wxColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3505 wxColourDatabase
* _arg0
;
3506 PyObject
* _argo0
= 0;
3507 char *_kwnames
[] = { "self", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourDatabase",_kwnames
,&_argo0
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourDatabase. Expected _wxColourDatabase_p.");
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 delete_wxColourDatabase(_arg0
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) return NULL
;
3525 } Py_INCREF(Py_None
);
3526 _resultobj
= Py_None
;
3530 #define wxColourDatabase_Find(_swigobj,_swigarg0) (_swigobj->Find(_swigarg0))
3531 static PyObject
*_wrap_wxColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
* _resultobj
;
3534 wxColourDatabase
* _arg0
;
3536 PyObject
* _argo0
= 0;
3537 PyObject
* _obj1
= 0;
3538 char *_kwnames
[] = { "self","name", NULL
};
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_Find",_kwnames
,&_argo0
,&_obj1
))
3545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Find. Expected _wxColourDatabase_p.");
3552 _arg1
= wxString_in_helper(_obj1
);
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= new wxColour (wxColourDatabase_Find(_arg0
,*_arg1
));
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3563 _resultobj
= Py_BuildValue("s",_ptemp
);
3571 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3572 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3575 wxColourDatabase
* _arg0
;
3577 PyObject
* _argo0
= 0;
3579 PyObject
* _obj1
= 0;
3580 char *_kwnames
[] = { "self","colour", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3594 if (! wxColour_helper(_obj1
, &_arg1
))
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) return NULL
;
3605 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3607 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3616 #define wxColourDatabase_AddColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddColour(_swigarg0,_swigarg1))
3617 static PyObject
*_wrap_wxColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
* _resultobj
;
3619 wxColourDatabase
* _arg0
;
3622 PyObject
* _argo0
= 0;
3623 PyObject
* _obj1
= 0;
3625 PyObject
* _obj2
= 0;
3626 char *_kwnames
[] = { "self","name","colour", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxColourDatabase_AddColour",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_AddColour. Expected _wxColourDatabase_p.");
3639 _arg1
= wxString_in_helper(_obj1
);
3645 if (! wxColour_helper(_obj2
, &_arg2
))
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 wxColourDatabase_AddColour(_arg0
,*_arg1
,*_arg2
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) return NULL
;
3654 } Py_INCREF(Py_None
);
3655 _resultobj
= Py_None
;
3663 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3664 self
->AddColour(name
, wxColour(red
, green
, blue
));
3666 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3668 wxColourDatabase
* _arg0
;
3673 PyObject
* _argo0
= 0;
3674 PyObject
* _obj1
= 0;
3675 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3688 _arg1
= wxString_in_helper(_obj1
);
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) return NULL
;
3698 } Py_INCREF(Py_None
);
3699 _resultobj
= Py_None
;
3707 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3710 src
= (wxPen
*) ptr
;
3711 dest
= (wxGDIObject
*) src
;
3712 return (void *) dest
;
3715 static void *SwigwxPenTowxObject(void *ptr
) {
3718 src
= (wxPen
*) ptr
;
3719 dest
= (wxObject
*) src
;
3720 return (void *) dest
;
3723 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3724 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
* _resultobj
;
3728 int _arg1
= (int ) 1;
3729 int _arg2
= (int ) wxSOLID
;
3731 PyObject
* _obj0
= 0;
3732 char *_kwnames
[] = { "colour","width","style", NULL
};
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3740 if (! wxColour_helper(_obj0
, &_arg0
))
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) return NULL
;
3750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3751 _resultobj
= Py_BuildValue("s",_ptemp
);
3754 _resultobj
= Py_None
;
3759 #define delete_wxPen(_swigobj) (delete _swigobj)
3760 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3763 PyObject
* _argo0
= 0;
3764 char *_kwnames
[] = { "self", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 delete_wxPen(_arg0
);
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) return NULL
;
3782 } Py_INCREF(Py_None
);
3783 _resultobj
= Py_None
;
3787 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3788 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 _result
= (int )wxPen_GetCap(_arg0
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) return NULL
;
3811 } _resultobj
= Py_BuildValue("i",_result
);
3815 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3816 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3820 PyObject
* _argo0
= 0;
3821 char *_kwnames
[] = { "self", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 _result
= new wxColour (wxPen_GetColour(_arg0
));
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) return NULL
;
3840 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3841 _resultobj
= Py_BuildValue("s",_ptemp
);
3845 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3846 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3850 PyObject
* _argo0
= 0;
3851 char *_kwnames
[] = { "self", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 _result
= (int )wxPen_GetJoin(_arg0
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) return NULL
;
3869 } _resultobj
= Py_BuildValue("i",_result
);
3873 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3874 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
* _resultobj
;
3878 PyObject
* _argo0
= 0;
3879 char *_kwnames
[] = { "self", NULL
};
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 _result
= (int )wxPen_GetStyle(_arg0
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) return NULL
;
3897 } _resultobj
= Py_BuildValue("i",_result
);
3901 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3902 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3906 PyObject
* _argo0
= 0;
3907 char *_kwnames
[] = { "self", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 _result
= (int )wxPen_GetWidth(_arg0
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) return NULL
;
3925 } _resultobj
= Py_BuildValue("i",_result
);
3929 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3930 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3934 PyObject
* _argo0
= 0;
3935 char *_kwnames
[] = { "self", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 _result
= (bool )wxPen_Ok(_arg0
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) return NULL
;
3953 } _resultobj
= Py_BuildValue("i",_result
);
3957 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3958 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3962 PyObject
* _argo0
= 0;
3963 char *_kwnames
[] = { "self","cap_style", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 wxPen_SetCap(_arg0
,_arg1
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) return NULL
;
3981 } Py_INCREF(Py_None
);
3982 _resultobj
= Py_None
;
3986 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3987 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3991 PyObject
* _argo0
= 0;
3993 PyObject
* _obj1
= 0;
3994 char *_kwnames
[] = { "self","colour", NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
4000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
4008 if (! wxColour_helper(_obj1
, &_arg1
))
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 wxPen_SetColour(_arg0
,*_arg1
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) return NULL
;
4017 } Py_INCREF(Py_None
);
4018 _resultobj
= Py_None
;
4022 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
4023 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
* _resultobj
;
4027 PyObject
* _argo0
= 0;
4028 char *_kwnames
[] = { "self","join_style", NULL
};
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
4034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 wxPen_SetJoin(_arg0
,_arg1
);
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) return NULL
;
4046 } Py_INCREF(Py_None
);
4047 _resultobj
= Py_None
;
4051 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4052 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4056 PyObject
* _argo0
= 0;
4057 char *_kwnames
[] = { "self","style", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 wxPen_SetStyle(_arg0
,_arg1
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) return NULL
;
4075 } Py_INCREF(Py_None
);
4076 _resultobj
= Py_None
;
4080 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
4081 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4085 PyObject
* _argo0
= 0;
4086 char *_kwnames
[] = { "self","width", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 wxPen_SetWidth(_arg0
,_arg1
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) return NULL
;
4104 } Py_INCREF(Py_None
);
4105 _resultobj
= Py_None
;
4109 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4110 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4115 PyObject
* _argo0
= 0;
4116 PyObject
* _obj2
= 0;
4117 char *_kwnames
[] = { "self","choices", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
4131 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4132 if (_arg2
== NULL
) {
4138 _arg1
= PyList_Size(_obj2
);
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) return NULL
;
4150 } Py_INCREF(Py_None
);
4151 _resultobj
= Py_None
;
4158 static PyObject
* wxPen_GetDashes(wxPen
*self
) {
4160 int count
= self
->GetDashes(&dashes
);
4161 wxPyBeginBlockThreads();
4162 PyObject
* retval
= PyList_New(0);
4163 for (int x
=0; x
<count
; x
++)
4164 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
4165 wxPyEndBlockThreads();
4168 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4172 PyObject
* _argo0
= 0;
4173 char *_kwnames
[] = { "self", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetDashes",_kwnames
,&_argo0
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 _result
= (PyObject
*)wxPen_GetDashes(_arg0
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) return NULL
;
4192 _resultobj
= _result
;
4197 static void *SwigwxPyPenTowxPen(void *ptr
) {
4200 src
= (wxPyPen
*) ptr
;
4201 dest
= (wxPen
*) src
;
4202 return (void *) dest
;
4205 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
4208 src
= (wxPyPen
*) ptr
;
4209 dest
= (wxGDIObject
*) src
;
4210 return (void *) dest
;
4213 static void *SwigwxPyPenTowxObject(void *ptr
) {
4216 src
= (wxPyPen
*) ptr
;
4217 dest
= (wxObject
*) src
;
4218 return (void *) dest
;
4221 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
4222 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4226 int _arg1
= (int ) 1;
4227 int _arg2
= (int ) wxSOLID
;
4229 PyObject
* _obj0
= 0;
4230 char *_kwnames
[] = { "colour","width","style", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4238 if (! wxColour_helper(_obj0
, &_arg0
))
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) return NULL
;
4248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
4249 _resultobj
= Py_BuildValue("s",_ptemp
);
4252 _resultobj
= Py_None
;
4257 #define delete_wxPyPen(_swigobj) (delete _swigobj)
4258 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4261 PyObject
* _argo0
= 0;
4262 char *_kwnames
[] = { "self", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 delete_wxPyPen(_arg0
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) return NULL
;
4280 } Py_INCREF(Py_None
);
4281 _resultobj
= Py_None
;
4285 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4286 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4291 PyObject
* _argo0
= 0;
4292 PyObject
* _obj2
= 0;
4293 char *_kwnames
[] = { "self","choices", NULL
};
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
4307 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4308 if (_arg2
== NULL
) {
4314 _arg1
= PyList_Size(_obj2
);
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) return NULL
;
4326 } Py_INCREF(Py_None
);
4327 _resultobj
= Py_None
;
4334 static void *SwigwxPenListTowxObject(void *ptr
) {
4337 src
= (wxPenList
*) ptr
;
4338 dest
= (wxObject
*) src
;
4339 return (void *) dest
;
4342 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
4343 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
* _resultobj
;
4347 PyObject
* _argo0
= 0;
4348 PyObject
* _argo1
= 0;
4349 char *_kwnames
[] = { "self","pen", NULL
};
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
4355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
4362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 wxPenList_AddPen(_arg0
,_arg1
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) return NULL
;
4374 } Py_INCREF(Py_None
);
4375 _resultobj
= Py_None
;
4379 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
4380 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
* _resultobj
;
4387 PyObject
* _argo0
= 0;
4389 PyObject
* _obj1
= 0;
4390 char *_kwnames
[] = { "self","colour","width","style", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
4405 if (! wxColour_helper(_obj1
, &_arg1
))
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) return NULL
;
4415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4416 _resultobj
= Py_BuildValue("s",_ptemp
);
4419 _resultobj
= Py_None
;
4424 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
4425 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4429 PyObject
* _argo0
= 0;
4430 PyObject
* _argo1
= 0;
4431 char *_kwnames
[] = { "self","pen", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
4444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 wxPenList_RemovePen(_arg0
,_arg1
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) return NULL
;
4456 } Py_INCREF(Py_None
);
4457 _resultobj
= Py_None
;
4461 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
4462 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
* _resultobj
;
4466 PyObject
* _argo0
= 0;
4467 char *_kwnames
[] = { "self", NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
4473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 _result
= (int )wxPenList_GetCount(_arg0
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) return NULL
;
4485 } _resultobj
= Py_BuildValue("i",_result
);
4489 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
4492 src
= (wxBrush
*) ptr
;
4493 dest
= (wxGDIObject
*) src
;
4494 return (void *) dest
;
4497 static void *SwigwxBrushTowxObject(void *ptr
) {
4500 src
= (wxBrush
*) ptr
;
4501 dest
= (wxObject
*) src
;
4502 return (void *) dest
;
4505 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
4506 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4510 int _arg1
= (int ) wxSOLID
;
4512 PyObject
* _obj0
= 0;
4513 char *_kwnames
[] = { "colour","style", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
4521 if (! wxColour_helper(_obj0
, &_arg0
))
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) return NULL
;
4531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4532 _resultobj
= Py_BuildValue("s",_ptemp
);
4535 _resultobj
= Py_None
;
4540 #define delete_wxBrush(_swigobj) (delete _swigobj)
4541 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4544 PyObject
* _argo0
= 0;
4545 char *_kwnames
[] = { "self", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 delete_wxBrush(_arg0
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) return NULL
;
4563 } Py_INCREF(Py_None
);
4564 _resultobj
= Py_None
;
4568 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
4569 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4573 PyObject
* _argo0
= 0;
4574 char *_kwnames
[] = { "self", NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 _result
= new wxColour (wxBrush_GetColour(_arg0
));
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) return NULL
;
4593 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4594 _resultobj
= Py_BuildValue("s",_ptemp
);
4598 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4599 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
* _resultobj
;
4603 PyObject
* _argo0
= 0;
4604 char *_kwnames
[] = { "self", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) return NULL
;
4624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4625 _resultobj
= Py_BuildValue("s",_ptemp
);
4628 _resultobj
= Py_None
;
4633 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4634 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
* _resultobj
;
4638 PyObject
* _argo0
= 0;
4639 char *_kwnames
[] = { "self", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 _result
= (int )wxBrush_GetStyle(_arg0
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) return NULL
;
4657 } _resultobj
= Py_BuildValue("i",_result
);
4661 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4662 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4666 PyObject
* _argo0
= 0;
4667 char *_kwnames
[] = { "self", NULL
};
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 _result
= (bool )wxBrush_Ok(_arg0
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) return NULL
;
4685 } _resultobj
= Py_BuildValue("i",_result
);
4689 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4690 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4694 PyObject
* _argo0
= 0;
4696 PyObject
* _obj1
= 0;
4697 char *_kwnames
[] = { "self","colour", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4711 if (! wxColour_helper(_obj1
, &_arg1
))
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 wxBrush_SetColour(_arg0
,*_arg1
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4720 } Py_INCREF(Py_None
);
4721 _resultobj
= Py_None
;
4725 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4726 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
* _resultobj
;
4730 PyObject
* _argo0
= 0;
4731 PyObject
* _argo1
= 0;
4732 char *_kwnames
[] = { "self","bitmap", NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4745 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 wxBrush_SetStipple(_arg0
,*_arg1
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) return NULL
;
4756 } Py_INCREF(Py_None
);
4757 _resultobj
= Py_None
;
4761 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4762 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4766 PyObject
* _argo0
= 0;
4767 char *_kwnames
[] = { "self","style", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 wxBrush_SetStyle(_arg0
,_arg1
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) return NULL
;
4785 } Py_INCREF(Py_None
);
4786 _resultobj
= Py_None
;
4790 #define wxBrush_GetMacTheme(_swigobj) (_swigobj->GetMacTheme())
4791 static PyObject
*_wrap_wxBrush_GetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
* _resultobj
;
4795 PyObject
* _argo0
= 0;
4796 char *_kwnames
[] = { "self", NULL
};
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetMacTheme",_kwnames
,&_argo0
))
4802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetMacTheme. Expected _wxBrush_p.");
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 _result
= (short )wxBrush_GetMacTheme(_arg0
);
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) return NULL
;
4814 } _resultobj
= Py_BuildValue("h",_result
);
4818 #define wxBrush_SetMacTheme(_swigobj,_swigarg0) (_swigobj->SetMacTheme(_swigarg0))
4819 static PyObject
*_wrap_wxBrush_SetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
* _resultobj
;
4823 PyObject
* _argo0
= 0;
4824 char *_kwnames
[] = { "self","macThemeBrush", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oh:wxBrush_SetMacTheme",_kwnames
,&_argo0
,&_arg1
))
4830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetMacTheme. Expected _wxBrush_p.");
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 wxBrush_SetMacTheme(_arg0
,_arg1
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) return NULL
;
4842 } Py_INCREF(Py_None
);
4843 _resultobj
= Py_None
;
4847 static void *SwigwxBrushListTowxObject(void *ptr
) {
4850 src
= (wxBrushList
*) ptr
;
4851 dest
= (wxObject
*) src
;
4852 return (void *) dest
;
4855 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4856 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4858 wxBrushList
* _arg0
;
4860 PyObject
* _argo0
= 0;
4861 PyObject
* _argo1
= 0;
4862 char *_kwnames
[] = { "self","brush", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 wxBrushList_AddBrush(_arg0
,_arg1
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) return NULL
;
4887 } Py_INCREF(Py_None
);
4888 _resultobj
= Py_None
;
4892 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4893 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
* _resultobj
;
4896 wxBrushList
* _arg0
;
4899 PyObject
* _argo0
= 0;
4901 PyObject
* _obj1
= 0;
4902 char *_kwnames
[] = { "self","colour","style", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4917 if (! wxColour_helper(_obj1
, &_arg1
))
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) return NULL
;
4927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4928 _resultobj
= Py_BuildValue("s",_ptemp
);
4931 _resultobj
= Py_None
;
4936 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4937 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4939 wxBrushList
* _arg0
;
4941 PyObject
* _argo0
= 0;
4942 PyObject
* _argo1
= 0;
4943 char *_kwnames
[] = { "self","brush", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) return NULL
;
4968 } Py_INCREF(Py_None
);
4969 _resultobj
= Py_None
;
4973 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
4974 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
* _resultobj
;
4977 wxBrushList
* _arg0
;
4978 PyObject
* _argo0
= 0;
4979 char *_kwnames
[] = { "self", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 _result
= (int )wxBrushList_GetCount(_arg0
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) return NULL
;
4997 } _resultobj
= Py_BuildValue("i",_result
);
5001 static void *SwigwxDCTowxObject(void *ptr
) {
5005 dest
= (wxObject
*) src
;
5006 return (void *) dest
;
5009 #define delete_wxDC(_swigobj) (delete _swigobj)
5010 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5013 PyObject
* _argo0
= 0;
5014 char *_kwnames
[] = { "self", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) return NULL
;
5032 } Py_INCREF(Py_None
);
5033 _resultobj
= Py_None
;
5037 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
5038 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
* _resultobj
;
5041 PyObject
* _argo0
= 0;
5042 char *_kwnames
[] = { "self", NULL
};
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
5048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 wxDC_BeginDrawing(_arg0
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) return NULL
;
5060 } Py_INCREF(Py_None
);
5061 _resultobj
= Py_None
;
5065 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5066 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5077 int _arg8
= (int ) wxCOPY
;
5078 int _arg9
= (int ) FALSE
;
5079 PyObject
* _argo0
= 0;
5080 PyObject
* _argo5
= 0;
5081 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiiOii|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
5087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
5094 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) return NULL
;
5106 } _resultobj
= Py_BuildValue("i",_result
);
5110 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
5111 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5114 PyObject
* _argo0
= 0;
5115 char *_kwnames
[] = { "self", NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
5121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) return NULL
;
5133 } Py_INCREF(Py_None
);
5134 _resultobj
= Py_None
;
5138 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
5139 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5144 PyObject
* _argo0
= 0;
5145 char *_kwnames
[] = { "self","x","y", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) return NULL
;
5163 } Py_INCREF(Py_None
);
5164 _resultobj
= Py_None
;
5168 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
5169 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5172 PyObject
* _argo0
= 0;
5173 char *_kwnames
[] = { "self", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
5179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 wxDC_DestroyClippingRegion(_arg0
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) return NULL
;
5191 } Py_INCREF(Py_None
);
5192 _resultobj
= Py_None
;
5196 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
5197 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
* _resultobj
;
5202 PyObject
* _argo0
= 0;
5203 char *_kwnames
[] = { "self","x", NULL
};
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
5209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 _result
= (wxCoord
)wxDC_DeviceToLogicalX(_arg0
,_arg1
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) return NULL
;
5221 } _resultobj
= Py_BuildValue("i",_result
);
5225 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
5226 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
* _resultobj
;
5231 PyObject
* _argo0
= 0;
5232 char *_kwnames
[] = { "self","x", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 _result
= (wxCoord
)wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) return NULL
;
5250 } _resultobj
= Py_BuildValue("i",_result
);
5254 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
5255 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
* _resultobj
;
5260 PyObject
* _argo0
= 0;
5261 char *_kwnames
[] = { "self","y", NULL
};
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
5267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 _result
= (wxCoord
)wxDC_DeviceToLogicalY(_arg0
,_arg1
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) return NULL
;
5279 } _resultobj
= Py_BuildValue("i",_result
);
5283 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
5284 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
* _resultobj
;
5289 PyObject
* _argo0
= 0;
5290 char *_kwnames
[] = { "self","y", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 _result
= (wxCoord
)wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) return NULL
;
5308 } _resultobj
= Py_BuildValue("i",_result
);
5312 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5313 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5322 PyObject
* _argo0
= 0;
5323 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) return NULL
;
5341 } Py_INCREF(Py_None
);
5342 _resultobj
= Py_None
;
5346 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
5347 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
* _resultobj
;
5353 PyObject
* _argo0
= 0;
5354 char *_kwnames
[] = { "self","x","y","radius", NULL
};
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) return NULL
;
5372 } Py_INCREF(Py_None
);
5373 _resultobj
= Py_None
;
5377 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5378 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
* _resultobj
;
5385 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) return NULL
;
5404 } Py_INCREF(Py_None
);
5405 _resultobj
= Py_None
;
5409 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5410 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5419 PyObject
* _argo0
= 0;
5420 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) return NULL
;
5438 } Py_INCREF(Py_None
);
5439 _resultobj
= Py_None
;
5443 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
5444 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
* _resultobj
;
5450 PyObject
* _argo0
= 0;
5451 PyObject
* _argo1
= 0;
5452 char *_kwnames
[] = { "self","icon","x","y", NULL
};
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
5465 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) return NULL
;
5476 } Py_INCREF(Py_None
);
5477 _resultobj
= Py_None
;
5481 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5482 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
* _resultobj
;
5487 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5488 int _arg4
= (int ) -1;
5489 PyObject
* _argo0
= 0;
5490 PyObject
* _obj1
= 0;
5492 PyObject
* _obj2
= 0;
5493 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
5499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
5506 _arg1
= wxString_in_helper(_obj1
);
5512 if (! wxRect_helper(_obj2
, &_arg2
))
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) return NULL
;
5521 } Py_INCREF(Py_None
);
5522 _resultobj
= Py_None
;
5530 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
5532 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
5535 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5542 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5543 int _arg5
= (int ) -1;
5544 PyObject
* _argo0
= 0;
5545 PyObject
* _obj1
= 0;
5546 PyObject
* _argo2
= 0;
5548 PyObject
* _obj3
= 0;
5549 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
5556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
5563 _arg1
= wxString_in_helper(_obj1
);
5568 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
5575 if (! wxRect_helper(_obj3
, &_arg3
))
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) return NULL
;
5584 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
5585 _resultobj
= Py_BuildValue("s",_ptemp
);
5593 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5594 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
* _resultobj
;
5601 PyObject
* _argo0
= 0;
5602 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) return NULL
;
5620 } Py_INCREF(Py_None
);
5621 _resultobj
= Py_None
;
5625 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5626 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5631 wxCoord _arg3
= (wxCoord
) 0;
5632 wxCoord _arg4
= (wxCoord
) 0;
5633 PyObject
* _argo0
= 0;
5635 PyObject
* _obj2
= 0;
5636 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5650 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5651 if (_arg2
== NULL
) {
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) return NULL
;
5664 } Py_INCREF(Py_None
);
5665 _resultobj
= Py_None
;
5672 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5673 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
* _resultobj
;
5678 wxCoord _arg3
= (wxCoord
) 0;
5679 wxCoord _arg4
= (wxCoord
) 0;
5680 int _arg5
= (int ) wxODDEVEN_RULE
;
5681 PyObject
* _argo0
= 0;
5683 PyObject
* _obj2
= 0;
5684 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iii:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5698 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5699 if (_arg2
== NULL
) {
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) return NULL
;
5712 } Py_INCREF(Py_None
);
5713 _resultobj
= Py_None
;
5720 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5721 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5726 PyObject
* _argo0
= 0;
5727 char *_kwnames
[] = { "self","x","y", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) return NULL
;
5745 } Py_INCREF(Py_None
);
5746 _resultobj
= Py_None
;
5750 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5751 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
* _resultobj
;
5758 PyObject
* _argo0
= 0;
5759 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) return NULL
;
5777 } Py_INCREF(Py_None
);
5778 _resultobj
= Py_None
;
5782 #define wxDC_DrawRectangleRect(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5783 static PyObject
*_wrap_wxDC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5787 PyObject
* _argo0
= 0;
5789 PyObject
* _obj1
= 0;
5790 char *_kwnames
[] = { "self","rect", NULL
};
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawRectangleRect",_kwnames
,&_argo0
,&_obj1
))
5796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangleRect. Expected _wxDC_p.");
5804 if (! wxRect_helper(_obj1
, &_arg1
))
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 wxDC_DrawRectangleRect(_arg0
,*_arg1
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) return NULL
;
5813 } Py_INCREF(Py_None
);
5814 _resultobj
= Py_None
;
5818 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5819 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
* _resultobj
;
5826 PyObject
* _argo0
= 0;
5827 PyObject
* _obj1
= 0;
5828 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5841 _arg1
= wxString_in_helper(_obj1
);
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) return NULL
;
5851 } Py_INCREF(Py_None
);
5852 _resultobj
= Py_None
;
5860 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5861 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5868 wxCoord _arg5
= (wxCoord
) 20;
5869 PyObject
* _argo0
= 0;
5870 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) return NULL
;
5888 } Py_INCREF(Py_None
);
5889 _resultobj
= Py_None
;
5893 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5894 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
* _resultobj
;
5899 PyObject
* _argo0
= 0;
5901 PyObject
* _obj2
= 0;
5902 char *_kwnames
[] = { "self","points", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5916 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5917 if (_arg2
== NULL
) {
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) return NULL
;
5930 } Py_INCREF(Py_None
);
5931 _resultobj
= Py_None
;
5938 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5939 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5945 PyObject
* _argo0
= 0;
5946 PyObject
* _obj1
= 0;
5947 char *_kwnames
[] = { "self","text","x","y", NULL
};
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5960 _arg1
= wxString_in_helper(_obj1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) return NULL
;
5970 } Py_INCREF(Py_None
);
5971 _resultobj
= Py_None
;
5979 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5980 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5983 PyObject
* _argo0
= 0;
5984 char *_kwnames
[] = { "self", NULL
};
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) return NULL
;
6002 } Py_INCREF(Py_None
);
6003 _resultobj
= Py_None
;
6007 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
6008 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
6018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 wxDC_EndDrawing(_arg0
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) return NULL
;
6030 } Py_INCREF(Py_None
);
6031 _resultobj
= Py_None
;
6035 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
6036 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
* _resultobj
;
6039 PyObject
* _argo0
= 0;
6040 char *_kwnames
[] = { "self", NULL
};
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
6046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 wxDC_EndPage(_arg0
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) return NULL
;
6058 } Py_INCREF(Py_None
);
6059 _resultobj
= Py_None
;
6063 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6064 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
* _resultobj
;
6071 int _arg4
= (int ) wxFLOOD_SURFACE
;
6072 PyObject
* _argo0
= 0;
6074 PyObject
* _obj3
= 0;
6075 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
6081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
6089 if (! wxColour_helper(_obj3
, &_arg3
))
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 _result
= (bool )wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) return NULL
;
6098 } _resultobj
= Py_BuildValue("i",_result
);
6102 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
6103 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
* _resultobj
;
6107 PyObject
* _argo0
= 0;
6108 char *_kwnames
[] = { "self", NULL
};
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
6115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) return NULL
;
6127 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6128 _resultobj
= Py_BuildValue("s",_ptemp
);
6132 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
6133 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
* _resultobj
;
6137 PyObject
* _argo0
= 0;
6138 char *_kwnames
[] = { "self", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) return NULL
;
6157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6158 _resultobj
= Py_BuildValue("s",_ptemp
);
6162 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
6163 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6167 PyObject
* _argo0
= 0;
6168 char *_kwnames
[] = { "self", NULL
};
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
6174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 _result
= (wxCoord
)wxDC_GetCharHeight(_arg0
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) return NULL
;
6186 } _resultobj
= Py_BuildValue("i",_result
);
6190 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
6191 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6195 PyObject
* _argo0
= 0;
6196 char *_kwnames
[] = { "self", NULL
};
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
6202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 _result
= (wxCoord
)wxDC_GetCharWidth(_arg0
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) return NULL
;
6214 } _resultobj
= Py_BuildValue("i",_result
);
6218 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6219 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
* _resultobj
;
6230 PyObject
* _argo0
= 0;
6231 char *_kwnames
[] = { "self", NULL
};
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
6249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) return NULL
;
6261 } Py_INCREF(Py_None
);
6262 _resultobj
= Py_None
;
6265 o
= PyInt_FromLong((long) (*_arg1
));
6266 _resultobj
= t_output_helper(_resultobj
, o
);
6270 o
= PyInt_FromLong((long) (*_arg2
));
6271 _resultobj
= t_output_helper(_resultobj
, o
);
6275 o
= PyInt_FromLong((long) (*_arg3
));
6276 _resultobj
= t_output_helper(_resultobj
, o
);
6280 o
= PyInt_FromLong((long) (*_arg4
));
6281 _resultobj
= t_output_helper(_resultobj
, o
);
6286 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
6287 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6291 PyObject
* _argo0
= 0;
6292 char *_kwnames
[] = { "self", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 _result
= new wxFont (wxDC_GetFont(_arg0
));
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) return NULL
;
6311 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6312 _resultobj
= Py_BuildValue("s",_ptemp
);
6316 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
6317 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
* _resultobj
;
6321 PyObject
* _argo0
= 0;
6322 char *_kwnames
[] = { "self", NULL
};
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
6328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) return NULL
;
6340 } _resultobj
= Py_BuildValue("i",_result
);
6344 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6345 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
* _resultobj
;
6352 PyObject
* _argo0
= 0;
6353 char *_kwnames
[] = { "self", NULL
};
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
6365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) return NULL
;
6377 } Py_INCREF(Py_None
);
6378 _resultobj
= Py_None
;
6381 o
= PyFloat_FromDouble((double) (*_arg1
));
6382 _resultobj
= t_output_helper(_resultobj
, o
);
6386 o
= PyFloat_FromDouble((double) (*_arg2
));
6387 _resultobj
= t_output_helper(_resultobj
, o
);
6392 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
6393 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6397 PyObject
* _argo0
= 0;
6398 char *_kwnames
[] = { "self", NULL
};
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
6404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 _result
= (int )wxDC_GetMapMode(_arg0
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) return NULL
;
6416 } _resultobj
= Py_BuildValue("i",_result
);
6420 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
6421 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6425 PyObject
* _argo0
= 0;
6426 char *_kwnames
[] = { "self", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 _result
= (bool )wxDC_GetOptimization(_arg0
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) return NULL
;
6444 } _resultobj
= Py_BuildValue("i",_result
);
6448 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
6449 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
* _resultobj
;
6453 PyObject
* _argo0
= 0;
6454 char *_kwnames
[] = { "self", NULL
};
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
6461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 _result
= new wxPen (wxDC_GetPen(_arg0
));
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) return NULL
;
6473 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
6474 _resultobj
= Py_BuildValue("s",_ptemp
);
6478 static wxColour
* wxDC_GetPixel(wxDC
*self
,wxCoord x
,wxCoord y
) {
6479 wxColour
* wc
= new wxColour();
6480 self
->GetPixel(x
, y
, wc
);
6483 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
* _resultobj
;
6489 PyObject
* _argo0
= 0;
6490 char *_kwnames
[] = { "self","x","y", NULL
};
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) return NULL
;
6510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6511 _resultobj
= Py_BuildValue("s",_ptemp
);
6514 _resultobj
= Py_None
;
6519 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
6520 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
* _resultobj
;
6527 PyObject
* _argo0
= 0;
6528 char *_kwnames
[] = { "self", NULL
};
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
6540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) return NULL
;
6552 } Py_INCREF(Py_None
);
6553 _resultobj
= Py_None
;
6556 o
= PyInt_FromLong((long) (*_arg1
));
6557 _resultobj
= t_output_helper(_resultobj
, o
);
6561 o
= PyInt_FromLong((long) (*_arg2
));
6562 _resultobj
= t_output_helper(_resultobj
, o
);
6567 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
6568 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6572 PyObject
* _argo0
= 0;
6573 char *_kwnames
[] = { "self", NULL
};
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
6580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 _result
= new wxSize (wxDC_GetSize(_arg0
));
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) return NULL
;
6592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6593 _resultobj
= Py_BuildValue("s",_ptemp
);
6597 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
6598 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
* _resultobj
;
6602 PyObject
* _argo0
= 0;
6603 char *_kwnames
[] = { "self", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) return NULL
;
6622 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6623 _resultobj
= Py_BuildValue("s",_ptemp
);
6627 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
6628 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
* _resultobj
;
6632 PyObject
* _argo0
= 0;
6633 char *_kwnames
[] = { "self", NULL
};
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
6640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) return NULL
;
6652 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6653 _resultobj
= Py_BuildValue("s",_ptemp
);
6657 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
6658 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6666 PyObject
* _argo0
= 0;
6667 PyObject
* _obj1
= 0;
6668 char *_kwnames
[] = { "self","string", NULL
};
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6687 _arg1
= wxString_in_helper(_obj1
);
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) return NULL
;
6697 } Py_INCREF(Py_None
);
6698 _resultobj
= Py_None
;
6701 o
= PyInt_FromLong((long) (*_arg2
));
6702 _resultobj
= t_output_helper(_resultobj
, o
);
6706 o
= PyInt_FromLong((long) (*_arg3
));
6707 _resultobj
= t_output_helper(_resultobj
, o
);
6716 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6717 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
* _resultobj
;
6729 wxFont
* _arg6
= (wxFont
*) NULL
;
6730 PyObject
* _argo0
= 0;
6731 PyObject
* _obj1
= 0;
6732 PyObject
* _argo6
= 0;
6733 char *_kwnames
[] = { "self","string","font", NULL
};
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6758 _arg1
= wxString_in_helper(_obj1
);
6763 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6764 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) return NULL
;
6775 } Py_INCREF(Py_None
);
6776 _resultobj
= Py_None
;
6779 o
= PyInt_FromLong((long) (*_arg2
));
6780 _resultobj
= t_output_helper(_resultobj
, o
);
6784 o
= PyInt_FromLong((long) (*_arg3
));
6785 _resultobj
= t_output_helper(_resultobj
, o
);
6789 o
= PyInt_FromLong((long) (*_arg4
));
6790 _resultobj
= t_output_helper(_resultobj
, o
);
6794 o
= PyInt_FromLong((long) (*_arg5
));
6795 _resultobj
= t_output_helper(_resultobj
, o
);
6804 #define wxDC_GetMultiLineTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetMultiLineTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6805 static PyObject
*_wrap_wxDC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6815 wxFont
* _arg5
= (wxFont
*) NULL
;
6816 PyObject
* _argo0
= 0;
6817 PyObject
* _obj1
= 0;
6818 PyObject
* _argo5
= 0;
6819 char *_kwnames
[] = { "self","text","font", NULL
};
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetMultiLineTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo5
))
6834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMultiLineTextExtent. Expected _wxDC_p.");
6841 _arg1
= wxString_in_helper(_obj1
);
6846 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6847 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxFont_p")) {
6848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_GetMultiLineTextExtent. Expected _wxFont_p.");
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 wxDC_GetMultiLineTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) return NULL
;
6858 } Py_INCREF(Py_None
);
6859 _resultobj
= Py_None
;
6862 o
= PyInt_FromLong((long) (*_arg2
));
6863 _resultobj
= t_output_helper(_resultobj
, o
);
6867 o
= PyInt_FromLong((long) (*_arg3
));
6868 _resultobj
= t_output_helper(_resultobj
, o
);
6872 o
= PyInt_FromLong((long) (*_arg4
));
6873 _resultobj
= t_output_helper(_resultobj
, o
);
6882 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6883 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
* _resultobj
;
6887 PyObject
* _argo0
= 0;
6888 char *_kwnames
[] = { "self", NULL
};
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) return NULL
;
6907 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6908 _resultobj
= Py_BuildValue("s",_ptemp
);
6912 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6913 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
* _resultobj
;
6920 PyObject
* _argo0
= 0;
6921 char *_kwnames
[] = { "self", NULL
};
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) return NULL
;
6945 } Py_INCREF(Py_None
);
6946 _resultobj
= Py_None
;
6949 o
= PyFloat_FromDouble((double) (*_arg1
));
6950 _resultobj
= t_output_helper(_resultobj
, o
);
6954 o
= PyFloat_FromDouble((double) (*_arg2
));
6955 _resultobj
= t_output_helper(_resultobj
, o
);
6960 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6961 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
* _resultobj
;
6966 PyObject
* _argo0
= 0;
6967 char *_kwnames
[] = { "self","x", NULL
};
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 _result
= (wxCoord
)wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) return NULL
;
6985 } _resultobj
= Py_BuildValue("i",_result
);
6989 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6990 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
* _resultobj
;
6995 PyObject
* _argo0
= 0;
6996 char *_kwnames
[] = { "self","x", NULL
};
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
7002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 _result
= (wxCoord
)wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) return NULL
;
7014 } _resultobj
= Py_BuildValue("i",_result
);
7018 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
7019 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
* _resultobj
;
7024 PyObject
* _argo0
= 0;
7025 char *_kwnames
[] = { "self","y", NULL
};
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
7031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 _result
= (wxCoord
)wxDC_LogicalToDeviceY(_arg0
,_arg1
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) return NULL
;
7043 } _resultobj
= Py_BuildValue("i",_result
);
7047 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
7048 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
* _resultobj
;
7053 PyObject
* _argo0
= 0;
7054 char *_kwnames
[] = { "self","y", NULL
};
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
7060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 _result
= (wxCoord
)wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) return NULL
;
7072 } _resultobj
= Py_BuildValue("i",_result
);
7076 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
7077 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
* _resultobj
;
7081 PyObject
* _argo0
= 0;
7082 char *_kwnames
[] = { "self", NULL
};
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
7088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 _result
= (wxCoord
)wxDC_MaxX(_arg0
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) return NULL
;
7100 } _resultobj
= Py_BuildValue("i",_result
);
7104 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
7105 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
* _resultobj
;
7109 PyObject
* _argo0
= 0;
7110 char *_kwnames
[] = { "self", NULL
};
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
7116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 _result
= (wxCoord
)wxDC_MaxY(_arg0
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) return NULL
;
7128 } _resultobj
= Py_BuildValue("i",_result
);
7132 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
7133 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
* _resultobj
;
7137 PyObject
* _argo0
= 0;
7138 char *_kwnames
[] = { "self", NULL
};
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
7144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 _result
= (wxCoord
)wxDC_MinX(_arg0
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) return NULL
;
7156 } _resultobj
= Py_BuildValue("i",_result
);
7160 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
7161 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
* _resultobj
;
7165 PyObject
* _argo0
= 0;
7166 char *_kwnames
[] = { "self", NULL
};
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
7172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 _result
= (wxCoord
)wxDC_MinY(_arg0
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) return NULL
;
7184 } _resultobj
= Py_BuildValue("i",_result
);
7188 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
7189 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7193 PyObject
* _argo0
= 0;
7194 char *_kwnames
[] = { "self", NULL
};
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
7200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 _result
= (bool )wxDC_Ok(_arg0
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) return NULL
;
7212 } _resultobj
= Py_BuildValue("i",_result
);
7216 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
7217 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7222 PyObject
* _argo0
= 0;
7223 char *_kwnames
[] = { "self","x","y", NULL
};
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) return NULL
;
7241 } Py_INCREF(Py_None
);
7242 _resultobj
= Py_None
;
7246 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
7247 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
* _resultobj
;
7251 PyObject
* _argo0
= 0;
7252 PyObject
* _argo1
= 0;
7253 char *_kwnames
[] = { "self","brush", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
7266 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 wxDC_SetBackground(_arg0
,*_arg1
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) return NULL
;
7277 } Py_INCREF(Py_None
);
7278 _resultobj
= Py_None
;
7282 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
7283 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7287 PyObject
* _argo0
= 0;
7288 char *_kwnames
[] = { "self","mode", NULL
};
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
7294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 wxDC_SetBackgroundMode(_arg0
,_arg1
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) return NULL
;
7306 } Py_INCREF(Py_None
);
7307 _resultobj
= Py_None
;
7311 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7312 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) return NULL
;
7338 } Py_INCREF(Py_None
);
7339 _resultobj
= Py_None
;
7343 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7344 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
* _resultobj
;
7348 PyObject
* _argo0
= 0;
7349 PyObject
* _argo1
= 0;
7350 char *_kwnames
[] = { "self","region", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_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_SetClippingRegionAsRegion. Expected _wxDC_p.");
7363 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
7364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) return NULL
;
7374 } Py_INCREF(Py_None
);
7375 _resultobj
= Py_None
;
7379 #define wxDC_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7380 static PyObject
*_wrap_wxDC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
* _resultobj
;
7384 PyObject
* _argo0
= 0;
7386 PyObject
* _obj1
= 0;
7387 char *_kwnames
[] = { "self","rect", NULL
};
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRect",_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_SetClippingRect. Expected _wxDC_p.");
7401 if (! wxRect_helper(_obj1
, &_arg1
))
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 wxDC_SetClippingRect(_arg0
,*_arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) return NULL
;
7410 } Py_INCREF(Py_None
);
7411 _resultobj
= Py_None
;
7415 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
7416 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7420 PyObject
* _argo0
= 0;
7421 PyObject
* _argo1
= 0;
7422 char *_kwnames
[] = { "self","colourMap", NULL
};
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
7428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
7435 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
7436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 wxDC_SetPalette(_arg0
,*_arg1
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) return NULL
;
7446 } Py_INCREF(Py_None
);
7447 _resultobj
= Py_None
;
7451 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
7452 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
* _resultobj
;
7456 PyObject
* _argo0
= 0;
7457 PyObject
* _argo1
= 0;
7458 char *_kwnames
[] = { "self","brush", NULL
};
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
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_SetBrush. Expected _wxDC_p.");
7471 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 wxDC_SetBrush(_arg0
,*_arg1
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) return NULL
;
7482 } Py_INCREF(Py_None
);
7483 _resultobj
= Py_None
;
7487 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
7488 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
* _resultobj
;
7492 PyObject
* _argo0
= 0;
7493 PyObject
* _argo1
= 0;
7494 char *_kwnames
[] = { "self","font", NULL
};
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
7500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
7507 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
7508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 wxDC_SetFont(_arg0
,*_arg1
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) return NULL
;
7518 } Py_INCREF(Py_None
);
7519 _resultobj
= Py_None
;
7523 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
7524 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
* _resultobj
;
7528 PyObject
* _argo0
= 0;
7529 char *_kwnames
[] = { "self","function", NULL
};
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
7535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 wxDC_SetLogicalFunction(_arg0
,_arg1
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) return NULL
;
7547 } Py_INCREF(Py_None
);
7548 _resultobj
= Py_None
;
7552 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
7553 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
* _resultobj
;
7558 PyObject
* _argo0
= 0;
7559 char *_kwnames
[] = { "self","x","y", NULL
};
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) return NULL
;
7577 } Py_INCREF(Py_None
);
7578 _resultobj
= Py_None
;
7582 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
7583 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
* _resultobj
;
7587 PyObject
* _argo0
= 0;
7588 char *_kwnames
[] = { "self","mode", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 wxDC_SetMapMode(_arg0
,_arg1
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) return NULL
;
7606 } Py_INCREF(Py_None
);
7607 _resultobj
= Py_None
;
7611 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
7612 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
* _resultobj
;
7616 PyObject
* _argo0
= 0;
7618 char *_kwnames
[] = { "self","optimize", NULL
};
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
7624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
7630 _arg1
= (bool ) tempbool1
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 wxDC_SetOptimization(_arg0
,_arg1
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) return NULL
;
7637 } Py_INCREF(Py_None
);
7638 _resultobj
= Py_None
;
7642 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
7643 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
* _resultobj
;
7647 PyObject
* _argo0
= 0;
7648 PyObject
* _argo1
= 0;
7649 char *_kwnames
[] = { "self","pen", NULL
};
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
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_SetPen. Expected _wxDC_p.");
7662 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
7663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 wxDC_SetPen(_arg0
,*_arg1
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) return NULL
;
7673 } Py_INCREF(Py_None
);
7674 _resultobj
= Py_None
;
7678 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
7679 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
* _resultobj
;
7683 PyObject
* _argo0
= 0;
7685 PyObject
* _obj1
= 0;
7686 char *_kwnames
[] = { "self","colour", NULL
};
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
7692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
7700 if (! wxColour_helper(_obj1
, &_arg1
))
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 wxDC_SetTextBackground(_arg0
,*_arg1
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) return NULL
;
7709 } Py_INCREF(Py_None
);
7710 _resultobj
= Py_None
;
7714 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
7715 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
* _resultobj
;
7719 PyObject
* _argo0
= 0;
7721 PyObject
* _obj1
= 0;
7722 char *_kwnames
[] = { "self","colour", NULL
};
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
7728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
7736 if (! wxColour_helper(_obj1
, &_arg1
))
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 wxDC_SetTextForeground(_arg0
,*_arg1
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) return NULL
;
7745 } Py_INCREF(Py_None
);
7746 _resultobj
= Py_None
;
7750 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
7751 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
* _resultobj
;
7756 PyObject
* _argo0
= 0;
7757 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) return NULL
;
7775 } Py_INCREF(Py_None
);
7776 _resultobj
= Py_None
;
7780 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7781 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
* _resultobj
;
7786 PyObject
* _argo0
= 0;
7787 PyObject
* _obj1
= 0;
7788 char *_kwnames
[] = { "self","message", NULL
};
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7801 _arg1
= wxString_in_helper(_obj1
);
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) return NULL
;
7811 } _resultobj
= Py_BuildValue("i",_result
);
7819 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7820 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
* _resultobj
;
7823 PyObject
* _argo0
= 0;
7824 char *_kwnames
[] = { "self", NULL
};
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 wxDC_StartPage(_arg0
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) return NULL
;
7842 } Py_INCREF(Py_None
);
7843 _resultobj
= Py_None
;
7847 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7848 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
* _resultobj
;
7854 int _arg4
= (int ) FALSE
;
7855 PyObject
* _argo0
= 0;
7856 PyObject
* _argo1
= 0;
7857 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7870 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) return NULL
;
7881 } Py_INCREF(Py_None
);
7882 _resultobj
= Py_None
;
7886 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7887 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
* _resultobj
;
7891 PyObject
* _argo0
= 0;
7892 char *_kwnames
[] = { "self", NULL
};
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) return NULL
;
7910 } _resultobj
= Py_BuildValue("i",_result
);
7914 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7915 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
* _resultobj
;
7919 PyObject
* _argo0
= 0;
7920 char *_kwnames
[] = { "self", NULL
};
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) return NULL
;
7938 } _resultobj
= Py_BuildValue("i",_result
);
7942 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7943 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
* _resultobj
;
7947 PyObject
* _argo0
= 0;
7948 char *_kwnames
[] = { "self", NULL
};
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 _result
= (int )wxDC_GetDepth(_arg0
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) return NULL
;
7966 } _resultobj
= Py_BuildValue("i",_result
);
7970 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7971 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
* _resultobj
;
7975 PyObject
* _argo0
= 0;
7976 char *_kwnames
[] = { "self", NULL
};
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) return NULL
;
7995 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7996 _resultobj
= Py_BuildValue("s",_ptemp
);
8000 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
8001 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
* _resultobj
;
8008 PyObject
* _argo0
= 0;
8009 char *_kwnames
[] = { "self", NULL
};
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
8021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) return NULL
;
8033 } Py_INCREF(Py_None
);
8034 _resultobj
= Py_None
;
8037 o
= PyInt_FromLong((long) (*_arg1
));
8038 _resultobj
= t_output_helper(_resultobj
, o
);
8042 o
= PyInt_FromLong((long) (*_arg2
));
8043 _resultobj
= t_output_helper(_resultobj
, o
);
8048 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8049 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
* _resultobj
;
8054 PyObject
* _argo0
= 0;
8055 char *_kwnames
[] = { "self","x","y", NULL
};
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) return NULL
;
8073 } Py_INCREF(Py_None
);
8074 _resultobj
= Py_None
;
8078 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8079 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
* _resultobj
;
8086 PyObject
* _argo0
= 0;
8087 char *_kwnames
[] = { "self", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) return NULL
;
8111 } Py_INCREF(Py_None
);
8112 _resultobj
= Py_None
;
8115 o
= PyInt_FromLong((long) (*_arg1
));
8116 _resultobj
= t_output_helper(_resultobj
, o
);
8120 o
= PyInt_FromLong((long) (*_arg2
));
8121 _resultobj
= t_output_helper(_resultobj
, o
);
8126 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8127 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
* _resultobj
;
8132 PyObject
* _argo0
= 0;
8135 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8147 _arg1
= (bool ) tempbool1
;
8148 _arg2
= (bool ) tempbool2
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) return NULL
;
8155 } Py_INCREF(Py_None
);
8156 _resultobj
= Py_None
;
8160 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
8161 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
* _resultobj
;
8166 PyObject
* _argo0
= 0;
8167 char *_kwnames
[] = { "self","x","y", NULL
};
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) return NULL
;
8185 } Py_INCREF(Py_None
);
8186 _resultobj
= Py_None
;
8190 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
8191 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
* _resultobj
;
8194 PyObject
* _argo0
= 0;
8195 char *_kwnames
[] = { "self", NULL
};
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
8201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 wxDC_ResetBoundingBox(_arg0
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) return NULL
;
8213 } Py_INCREF(Py_None
);
8214 _resultobj
= Py_None
;
8218 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
* _resultobj
;
8229 PyObject
* _argo0
= 0;
8230 char *_kwnames
[] = { "self", NULL
};
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
8248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) return NULL
;
8260 } Py_INCREF(Py_None
);
8261 _resultobj
= Py_None
;
8264 o
= PyInt_FromLong((long) (*_arg1
));
8265 _resultobj
= t_output_helper(_resultobj
, o
);
8269 o
= PyInt_FromLong((long) (*_arg2
));
8270 _resultobj
= t_output_helper(_resultobj
, o
);
8274 o
= PyInt_FromLong((long) (*_arg3
));
8275 _resultobj
= t_output_helper(_resultobj
, o
);
8279 o
= PyInt_FromLong((long) (*_arg4
));
8280 _resultobj
= t_output_helper(_resultobj
, o
);
8285 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8286 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
8288 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8295 PyObject
* _argo0
= 0;
8296 PyObject
* _obj1
= 0;
8297 PyObject
* _obj2
= 0;
8298 PyObject
* _obj3
= 0;
8299 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
,_arg3
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) return NULL
;
8327 _resultobj
= _result
;
8332 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8333 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
8335 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
* _resultobj
;
8342 PyObject
* _argo0
= 0;
8343 PyObject
* _obj1
= 0;
8344 PyObject
* _obj2
= 0;
8345 PyObject
* _obj3
= 0;
8346 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
,_arg3
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) return NULL
;
8374 _resultobj
= _result
;
8379 static PyObject
* wxDC__DrawRectangleList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8380 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
8382 static PyObject
*_wrap_wxDC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
* _resultobj
;
8389 PyObject
* _argo0
= 0;
8390 PyObject
* _obj1
= 0;
8391 PyObject
* _obj2
= 0;
8392 PyObject
* _obj3
= 0;
8393 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawRectangleList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawRectangleList. Expected _wxDC_p.");
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 _result
= (PyObject
*)wxDC__DrawRectangleList(_arg0
,_arg1
,_arg2
,_arg3
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) return NULL
;
8421 _resultobj
= _result
;
8426 static PyObject
* wxDC__DrawEllipseList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8427 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
8429 static PyObject
*_wrap_wxDC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
* _resultobj
;
8436 PyObject
* _argo0
= 0;
8437 PyObject
* _obj1
= 0;
8438 PyObject
* _obj2
= 0;
8439 PyObject
* _obj3
= 0;
8440 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawEllipseList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawEllipseList. Expected _wxDC_p.");
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 _result
= (PyObject
*)wxDC__DrawEllipseList(_arg0
,_arg1
,_arg2
,_arg3
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) return NULL
;
8468 _resultobj
= _result
;
8473 static PyObject
* wxDC__DrawPolygonList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8474 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
8476 static PyObject
*_wrap_wxDC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
* _resultobj
;
8483 PyObject
* _argo0
= 0;
8484 PyObject
* _obj1
= 0;
8485 PyObject
* _obj2
= 0;
8486 PyObject
* _obj3
= 0;
8487 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPolygonList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPolygonList. Expected _wxDC_p.");
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 _result
= (PyObject
*)wxDC__DrawPolygonList(_arg0
,_arg1
,_arg2
,_arg3
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) return NULL
;
8515 _resultobj
= _result
;
8520 static PyObject
* wxDC__DrawTextList(wxDC
*self
,PyObject
* textList
,PyObject
* pyPoints
,PyObject
* foregroundList
,PyObject
* backgroundList
) {
8521 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
8523 static PyObject
*_wrap_wxDC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
* _resultobj
;
8531 PyObject
* _argo0
= 0;
8532 PyObject
* _obj1
= 0;
8533 PyObject
* _obj2
= 0;
8534 PyObject
* _obj3
= 0;
8535 PyObject
* _obj4
= 0;
8536 char *_kwnames
[] = { "self","textList","pyPoints","foregroundList","backgroundList", NULL
};
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:wxDC__DrawTextList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
))
8542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawTextList. Expected _wxDC_p.");
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 _result
= (PyObject
*)wxDC__DrawTextList(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) return NULL
;
8567 _resultobj
= _result
;
8572 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
8575 src
= (wxMemoryDC
*) ptr
;
8576 dest
= (wxDC
*) src
;
8577 return (void *) dest
;
8580 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
8583 src
= (wxMemoryDC
*) ptr
;
8584 dest
= (wxObject
*) src
;
8585 return (void *) dest
;
8588 #define new_wxMemoryDC() (new wxMemoryDC())
8589 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
* _resultobj
;
8591 wxMemoryDC
* _result
;
8592 char *_kwnames
[] = { NULL
};
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 _result
= (wxMemoryDC
*)new_wxMemoryDC();
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) return NULL
;
8605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
8606 _resultobj
= Py_BuildValue("s",_ptemp
);
8609 _resultobj
= Py_None
;
8614 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
8615 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
* _resultobj
;
8619 PyObject
* _argo0
= 0;
8620 PyObject
* _argo1
= 0;
8621 char *_kwnames
[] = { "self","bitmap", NULL
};
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
8627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
8629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
8634 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) return NULL
;
8645 } Py_INCREF(Py_None
);
8646 _resultobj
= Py_None
;
8650 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
8653 src
= (wxBufferedDC
*) ptr
;
8654 dest
= (wxMemoryDC
*) src
;
8655 return (void *) dest
;
8658 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
8661 src
= (wxBufferedDC
*) ptr
;
8662 dest
= (wxDC
*) src
;
8663 return (void *) dest
;
8666 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
8669 src
= (wxBufferedDC
*) ptr
;
8670 dest
= (wxObject
*) src
;
8671 return (void *) dest
;
8674 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8675 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
* _resultobj
;
8677 wxBufferedDC
* _result
;
8680 PyObject
* _argo0
= 0;
8681 PyObject
* _argo1
= 0;
8682 char *_kwnames
[] = { "dc","buffer", NULL
};
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
8689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
8696 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) return NULL
;
8708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8709 _resultobj
= Py_BuildValue("s",_ptemp
);
8712 _resultobj
= Py_None
;
8717 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8718 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
* _resultobj
;
8720 wxBufferedDC
* _result
;
8723 PyObject
* _argo0
= 0;
8725 PyObject
* _obj1
= 0;
8726 char *_kwnames
[] = { "dc","area", NULL
};
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
8733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
8741 if (! wxSize_helper(_obj1
, &_arg1
))
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) return NULL
;
8751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8752 _resultobj
= Py_BuildValue("s",_ptemp
);
8755 _resultobj
= Py_None
;
8760 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
8761 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
* _resultobj
;
8763 wxBufferedDC
* _arg0
;
8764 PyObject
* _argo0
= 0;
8765 char *_kwnames
[] = { "self", NULL
};
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
8771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
8773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxBufferedDC_UnMask(_arg0
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) return NULL
;
8783 } Py_INCREF(Py_None
);
8784 _resultobj
= Py_None
;
8788 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
8789 wxBufferedPaintDC
*src
;
8791 src
= (wxBufferedPaintDC
*) ptr
;
8792 dest
= (wxBufferedDC
*) src
;
8793 return (void *) dest
;
8796 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
8797 wxBufferedPaintDC
*src
;
8799 src
= (wxBufferedPaintDC
*) ptr
;
8800 dest
= (wxMemoryDC
*) src
;
8801 return (void *) dest
;
8804 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
8805 wxBufferedPaintDC
*src
;
8807 src
= (wxBufferedPaintDC
*) ptr
;
8808 dest
= (wxDC
*) src
;
8809 return (void *) dest
;
8812 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
8813 wxBufferedPaintDC
*src
;
8815 src
= (wxBufferedPaintDC
*) ptr
;
8816 dest
= (wxObject
*) src
;
8817 return (void *) dest
;
8820 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
8821 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
* _resultobj
;
8823 wxBufferedPaintDC
* _result
;
8825 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
8826 PyObject
* _argo0
= 0;
8827 PyObject
* _argo1
= 0;
8828 char *_kwnames
[] = { "window","buffer", NULL
};
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
8835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
8842 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) return NULL
;
8854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
8855 _resultobj
= Py_BuildValue("s",_ptemp
);
8858 _resultobj
= Py_None
;
8863 static void *SwigwxScreenDCTowxDC(void *ptr
) {
8866 src
= (wxScreenDC
*) ptr
;
8867 dest
= (wxDC
*) src
;
8868 return (void *) dest
;
8871 static void *SwigwxScreenDCTowxObject(void *ptr
) {
8874 src
= (wxScreenDC
*) ptr
;
8875 dest
= (wxObject
*) src
;
8876 return (void *) dest
;
8879 #define new_wxScreenDC() (new wxScreenDC())
8880 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
* _resultobj
;
8882 wxScreenDC
* _result
;
8883 char *_kwnames
[] = { NULL
};
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 _result
= (wxScreenDC
*)new_wxScreenDC();
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) return NULL
;
8896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
8897 _resultobj
= Py_BuildValue("s",_ptemp
);
8900 _resultobj
= Py_None
;
8905 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8906 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
* _resultobj
;
8911 PyObject
* _argo0
= 0;
8912 PyObject
* _argo1
= 0;
8913 char *_kwnames
[] = { "self","window", NULL
};
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
8919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) return NULL
;
8938 } _resultobj
= Py_BuildValue("i",_result
);
8942 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8943 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
* _resultobj
;
8947 wxRect
* _arg1
= (wxRect
*) NULL
;
8948 PyObject
* _argo0
= 0;
8950 PyObject
* _obj1
= 0;
8951 char *_kwnames
[] = { "self","rect", NULL
};
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
8957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8966 if (! wxRect_helper(_obj1
, &_arg1
))
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) return NULL
;
8975 } _resultobj
= Py_BuildValue("i",_result
);
8979 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8980 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
* _resultobj
;
8984 PyObject
* _argo0
= 0;
8985 char *_kwnames
[] = { "self", NULL
};
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) return NULL
;
9003 } _resultobj
= Py_BuildValue("i",_result
);
9007 static void *SwigwxClientDCTowxDC(void *ptr
) {
9010 src
= (wxClientDC
*) ptr
;
9011 dest
= (wxDC
*) src
;
9012 return (void *) dest
;
9015 static void *SwigwxClientDCTowxObject(void *ptr
) {
9018 src
= (wxClientDC
*) ptr
;
9019 dest
= (wxObject
*) src
;
9020 return (void *) dest
;
9023 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9024 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
* _resultobj
;
9026 wxClientDC
* _result
;
9028 PyObject
* _argo0
= 0;
9029 char *_kwnames
[] = { "win", NULL
};
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) return NULL
;
9049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9050 _resultobj
= Py_BuildValue("s",_ptemp
);
9053 _resultobj
= Py_None
;
9058 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9061 src
= (wxPaintDC
*) ptr
;
9062 dest
= (wxDC
*) src
;
9063 return (void *) dest
;
9066 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9069 src
= (wxPaintDC
*) ptr
;
9070 dest
= (wxObject
*) src
;
9071 return (void *) dest
;
9074 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9075 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
* _resultobj
;
9077 wxPaintDC
* _result
;
9079 PyObject
* _argo0
= 0;
9080 char *_kwnames
[] = { "win", NULL
};
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) return NULL
;
9100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9101 _resultobj
= Py_BuildValue("s",_ptemp
);
9104 _resultobj
= Py_None
;
9109 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9112 src
= (wxWindowDC
*) ptr
;
9113 dest
= (wxDC
*) src
;
9114 return (void *) dest
;
9117 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9120 src
= (wxWindowDC
*) ptr
;
9121 dest
= (wxObject
*) src
;
9122 return (void *) dest
;
9125 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9126 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
* _resultobj
;
9128 wxWindowDC
* _result
;
9130 PyObject
* _argo0
= 0;
9131 char *_kwnames
[] = { "win", NULL
};
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) return NULL
;
9151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9152 _resultobj
= Py_BuildValue("s",_ptemp
);
9155 _resultobj
= Py_None
;
9160 static void *SwigwxMirrorDCTowxDC(void *ptr
) {
9163 src
= (wxMirrorDC
*) ptr
;
9164 dest
= (wxDC
*) src
;
9165 return (void *) dest
;
9168 static void *SwigwxMirrorDCTowxObject(void *ptr
) {
9171 src
= (wxMirrorDC
*) ptr
;
9172 dest
= (wxObject
*) src
;
9173 return (void *) dest
;
9176 #define new_wxMirrorDC(_swigarg0,_swigarg1) (new wxMirrorDC(_swigarg0,_swigarg1))
9177 static PyObject
*_wrap_new_wxMirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
* _resultobj
;
9179 wxMirrorDC
* _result
;
9182 PyObject
* _argo0
= 0;
9184 char *_kwnames
[] = { "dc","mirror", NULL
};
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxMirrorDC",_kwnames
,&_argo0
,&tempbool1
))
9191 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMirrorDC. Expected _wxDC_p.");
9196 _arg1
= (bool ) tempbool1
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 _result
= (wxMirrorDC
*)new_wxMirrorDC(*_arg0
,_arg1
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) return NULL
;
9204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMirrorDC_p");
9205 _resultobj
= Py_BuildValue("s",_ptemp
);
9208 _resultobj
= Py_None
;
9213 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
9216 src
= (wxPalette
*) ptr
;
9217 dest
= (wxGDIObject
*) src
;
9218 return (void *) dest
;
9221 static void *SwigwxPaletteTowxObject(void *ptr
) {
9224 src
= (wxPalette
*) ptr
;
9225 dest
= (wxObject
*) src
;
9226 return (void *) dest
;
9229 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9230 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
* _resultobj
;
9232 wxPalette
* _result
;
9237 PyObject
* _obj1
= 0;
9238 PyObject
* _obj2
= 0;
9239 PyObject
* _obj3
= 0;
9240 char *_kwnames
[] = { "choices","choices","choices", NULL
};
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
9247 _arg1
= byte_LIST_helper(_obj1
);
9248 if (_arg1
== NULL
) {
9253 _arg2
= byte_LIST_helper(_obj2
);
9254 if (_arg2
== NULL
) {
9260 _arg3
= byte_LIST_helper(_obj3
);
9261 if (_arg3
== NULL
) {
9267 _arg0
= PyList_Size(_obj1
);
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) return NULL
;
9280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
9281 _resultobj
= Py_BuildValue("s",_ptemp
);
9284 _resultobj
= Py_None
;
9298 #define delete_wxPalette(_swigobj) (delete _swigobj)
9299 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
* _resultobj
;
9302 PyObject
* _argo0
= 0;
9303 char *_kwnames
[] = { "self", NULL
};
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
9309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 delete_wxPalette(_arg0
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) return NULL
;
9321 } Py_INCREF(Py_None
);
9322 _resultobj
= Py_None
;
9326 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
9327 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
* _resultobj
;
9334 PyObject
* _argo0
= 0;
9335 char *_kwnames
[] = { "self","red","green","blue", NULL
};
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
9341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) return NULL
;
9353 } _resultobj
= Py_BuildValue("i",_result
);
9357 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9358 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
* _resultobj
;
9369 PyObject
* _argo0
= 0;
9370 char *_kwnames
[] = { "self","pixel", NULL
};
9374 _arg2
= (byte
*)&temp
;
9377 _arg3
= (byte
*)&temp0
;
9380 _arg4
= (byte
*)&temp1
;
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
9385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) return NULL
;
9397 } _resultobj
= Py_BuildValue("i",_result
);
9400 o
= PyInt_FromLong((long) (*_arg2
));
9401 _resultobj
= t_output_helper(_resultobj
, o
);
9405 o
= PyInt_FromLong((long) (*_arg3
));
9406 _resultobj
= t_output_helper(_resultobj
, o
);
9410 o
= PyInt_FromLong((long) (*_arg4
));
9411 _resultobj
= t_output_helper(_resultobj
, o
);
9416 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
9417 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
* _resultobj
;
9421 PyObject
* _argo0
= 0;
9422 char *_kwnames
[] = { "self", NULL
};
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
9428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 _result
= (bool )wxPalette_Ok(_arg0
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) return NULL
;
9440 } _resultobj
= Py_BuildValue("i",_result
);
9444 static void *SwigwxImageListTowxObject(void *ptr
) {
9447 src
= (wxImageList
*) ptr
;
9448 dest
= (wxObject
*) src
;
9449 return (void *) dest
;
9452 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9453 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
* _resultobj
;
9455 wxImageList
* _result
;
9458 int _arg2
= (int ) TRUE
;
9459 int _arg3
= (int ) 1;
9460 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) return NULL
;
9473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
9474 _resultobj
= Py_BuildValue("s",_ptemp
);
9477 _resultobj
= Py_None
;
9482 #define delete_wxImageList(_swigobj) (delete _swigobj)
9483 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
* _resultobj
;
9485 wxImageList
* _arg0
;
9486 PyObject
* _argo0
= 0;
9487 char *_kwnames
[] = { "self", NULL
};
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
9493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 delete_wxImageList(_arg0
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) return NULL
;
9505 } Py_INCREF(Py_None
);
9506 _resultobj
= Py_None
;
9510 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9511 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
* _resultobj
;
9514 wxImageList
* _arg0
;
9516 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
9517 PyObject
* _argo0
= 0;
9518 PyObject
* _argo1
= 0;
9519 PyObject
* _argo2
= 0;
9520 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
9533 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
9539 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) return NULL
;
9550 } _resultobj
= Py_BuildValue("i",_result
);
9554 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9555 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
* _resultobj
;
9558 wxImageList
* _arg0
;
9561 PyObject
* _argo0
= 0;
9562 PyObject
* _argo1
= 0;
9564 PyObject
* _obj2
= 0;
9565 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
9578 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
9585 if (! wxColour_helper(_obj2
, &_arg2
))
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) return NULL
;
9594 } _resultobj
= Py_BuildValue("i",_result
);
9598 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
9599 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
* _resultobj
;
9602 wxImageList
* _arg0
;
9604 PyObject
* _argo0
= 0;
9605 PyObject
* _argo1
= 0;
9606 char *_kwnames
[] = { "self","icon", NULL
};
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
9612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
9619 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
9620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) return NULL
;
9630 } _resultobj
= Py_BuildValue("i",_result
);
9634 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
9635 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
* _resultobj
;
9638 wxImageList
* _arg0
;
9641 PyObject
* _argo0
= 0;
9642 PyObject
* _argo2
= 0;
9643 char *_kwnames
[] = { "self","index","bitmap", NULL
};
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
9656 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) return NULL
;
9667 } _resultobj
= Py_BuildValue("i",_result
);
9671 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9672 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
* _resultobj
;
9675 wxImageList
* _arg0
;
9680 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
9681 bool _arg6
= (bool ) FALSE
;
9682 PyObject
* _argo0
= 0;
9683 PyObject
* _argo2
= 0;
9684 int tempbool6
= (int) FALSE
;
9685 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
9691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
9698 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
9699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
9703 _arg6
= (bool ) tempbool6
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) return NULL
;
9710 } _resultobj
= Py_BuildValue("i",_result
);
9714 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
9715 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
* _resultobj
;
9718 wxImageList
* _arg0
;
9719 PyObject
* _argo0
= 0;
9720 char *_kwnames
[] = { "self", NULL
};
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
9726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 _result
= (int )wxImageList_GetImageCount(_arg0
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) return NULL
;
9738 } _resultobj
= Py_BuildValue("i",_result
);
9742 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9743 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
* _resultobj
;
9746 wxImageList
* _arg0
;
9748 PyObject
* _argo0
= 0;
9749 char *_kwnames
[] = { "self","index", NULL
};
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
9755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) return NULL
;
9767 } _resultobj
= Py_BuildValue("i",_result
);
9771 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
9772 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
* _resultobj
;
9775 wxImageList
* _arg0
;
9776 PyObject
* _argo0
= 0;
9777 char *_kwnames
[] = { "self", NULL
};
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
9783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 _result
= (bool )wxImageList_RemoveAll(_arg0
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) return NULL
;
9795 } _resultobj
= Py_BuildValue("i",_result
);
9799 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
9800 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
* _resultobj
;
9802 wxImageList
* _arg0
;
9808 PyObject
* _argo0
= 0;
9809 char *_kwnames
[] = { "self","index", NULL
};
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
9821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) return NULL
;
9833 } Py_INCREF(Py_None
);
9834 _resultobj
= Py_None
;
9837 o
= PyInt_FromLong((long) (*_arg2
));
9838 _resultobj
= t_output_helper(_resultobj
, o
);
9842 o
= PyInt_FromLong((long) (*_arg3
));
9843 _resultobj
= t_output_helper(_resultobj
, o
);
9848 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
9851 src
= (wxRegion
*) ptr
;
9852 dest
= (wxGDIObject
*) src
;
9853 return (void *) dest
;
9856 static void *SwigwxRegionTowxObject(void *ptr
) {
9859 src
= (wxRegion
*) ptr
;
9860 dest
= (wxObject
*) src
;
9861 return (void *) dest
;
9864 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9865 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
* _resultobj
;
9868 wxCoord _arg0
= (wxCoord
) 0;
9869 wxCoord _arg1
= (wxCoord
) 0;
9870 wxCoord _arg2
= (wxCoord
) 0;
9871 wxCoord _arg3
= (wxCoord
) 0;
9872 char *_kwnames
[] = { "x","y","width","height", NULL
};
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) return NULL
;
9885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9886 _resultobj
= Py_BuildValue("s",_ptemp
);
9889 _resultobj
= Py_None
;
9894 #define new_wxRegionFromBitmap(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
9895 static PyObject
*_wrap_new_wxRegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
* _resultobj
;
9899 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
9900 int _arg2
= (int ) 0;
9901 PyObject
* _argo0
= 0;
9903 PyObject
* _obj1
= 0;
9904 char *_kwnames
[] = { "bmp","transColour","tolerance", NULL
};
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:new_wxRegionFromBitmap",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9911 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
9912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionFromBitmap. Expected _wxBitmap_p.");
9919 if (! wxColour_helper(_obj1
, &_arg1
))
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 _result
= (wxRegion
*)new_wxRegionFromBitmap(*_arg0
,*_arg1
,_arg2
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) return NULL
;
9929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9930 _resultobj
= Py_BuildValue("s",_ptemp
);
9933 _resultobj
= Py_None
;
9938 #define delete_wxRegion(_swigobj) (delete _swigobj)
9939 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
* _resultobj
;
9942 PyObject
* _argo0
= 0;
9943 char *_kwnames
[] = { "self", NULL
};
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
9949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 delete_wxRegion(_arg0
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) return NULL
;
9961 } Py_INCREF(Py_None
);
9962 _resultobj
= Py_None
;
9966 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
9967 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
* _resultobj
;
9970 PyObject
* _argo0
= 0;
9971 char *_kwnames
[] = { "self", NULL
};
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
9977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 wxRegion_Clear(_arg0
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) return NULL
;
9989 } Py_INCREF(Py_None
);
9990 _resultobj
= Py_None
;
9994 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
9995 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
* _resultobj
;
9997 wxRegionContain _result
;
10001 PyObject
* _argo0
= 0;
10002 char *_kwnames
[] = { "self","x","y", NULL
};
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) return NULL
;
10020 } _resultobj
= Py_BuildValue("i",_result
);
10024 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10025 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
* _resultobj
;
10027 wxRegionContain _result
;
10030 PyObject
* _argo0
= 0;
10032 PyObject
* _obj1
= 0;
10033 char *_kwnames
[] = { "self","pt", NULL
};
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10047 if (! wxPoint_helper(_obj1
, &_arg1
))
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) return NULL
;
10056 } _resultobj
= Py_BuildValue("i",_result
);
10060 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10061 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
* _resultobj
;
10063 wxRegionContain _result
;
10066 PyObject
* _argo0
= 0;
10068 PyObject
* _obj1
= 0;
10069 char *_kwnames
[] = { "self","rect", NULL
};
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10083 if (! wxRect_helper(_obj1
, &_arg1
))
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) return NULL
;
10092 } _resultobj
= Py_BuildValue("i",_result
);
10096 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10097 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
* _resultobj
;
10099 wxRegionContain _result
;
10105 PyObject
* _argo0
= 0;
10106 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) return NULL
;
10124 } _resultobj
= Py_BuildValue("i",_result
);
10128 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10129 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
* _resultobj
;
10133 PyObject
* _argo0
= 0;
10134 char *_kwnames
[] = { "self", NULL
};
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) return NULL
;
10153 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10154 _resultobj
= Py_BuildValue("s",_ptemp
);
10158 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10159 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
* _resultobj
;
10167 PyObject
* _argo0
= 0;
10168 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) return NULL
;
10186 } _resultobj
= Py_BuildValue("i",_result
);
10190 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10191 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
* _resultobj
;
10196 PyObject
* _argo0
= 0;
10198 PyObject
* _obj1
= 0;
10199 char *_kwnames
[] = { "self","rect", NULL
};
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10213 if (! wxRect_helper(_obj1
, &_arg1
))
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) return NULL
;
10222 } _resultobj
= Py_BuildValue("i",_result
);
10226 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10227 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
* _resultobj
;
10232 PyObject
* _argo0
= 0;
10233 PyObject
* _argo1
= 0;
10234 char *_kwnames
[] = { "self","region", NULL
};
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
10240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10247 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) return NULL
;
10258 } _resultobj
= Py_BuildValue("i",_result
);
10262 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10263 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
* _resultobj
;
10267 PyObject
* _argo0
= 0;
10268 char *_kwnames
[] = { "self", NULL
};
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
10274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 _result
= (bool )wxRegion_IsEmpty(_arg0
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) return NULL
;
10286 } _resultobj
= Py_BuildValue("i",_result
);
10290 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10291 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
* _resultobj
;
10299 PyObject
* _argo0
= 0;
10300 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) return NULL
;
10318 } _resultobj
= Py_BuildValue("i",_result
);
10322 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10323 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
* _resultobj
;
10328 PyObject
* _argo0
= 0;
10330 PyObject
* _obj1
= 0;
10331 char *_kwnames
[] = { "self","rect", NULL
};
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
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_UnionRect. Expected _wxRegion_p.");
10345 if (! wxRect_helper(_obj1
, &_arg1
))
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) return NULL
;
10354 } _resultobj
= Py_BuildValue("i",_result
);
10358 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10359 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
* _resultobj
;
10364 PyObject
* _argo0
= 0;
10365 PyObject
* _argo1
= 0;
10366 char *_kwnames
[] = { "self","region", NULL
};
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
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_UnionRegion. Expected _wxRegion_p.");
10379 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) return NULL
;
10390 } _resultobj
= Py_BuildValue("i",_result
);
10394 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10395 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
* _resultobj
;
10403 PyObject
* _argo0
= 0;
10404 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) return NULL
;
10422 } _resultobj
= Py_BuildValue("i",_result
);
10426 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10427 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
* _resultobj
;
10432 PyObject
* _argo0
= 0;
10434 PyObject
* _obj1
= 0;
10435 char *_kwnames
[] = { "self","rect", NULL
};
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
10441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
10449 if (! wxRect_helper(_obj1
, &_arg1
))
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) return NULL
;
10458 } _resultobj
= Py_BuildValue("i",_result
);
10462 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10463 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10464 PyObject
* _resultobj
;
10468 PyObject
* _argo0
= 0;
10469 PyObject
* _argo1
= 0;
10470 char *_kwnames
[] = { "self","region", NULL
};
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
10476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10483 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) return NULL
;
10494 } _resultobj
= Py_BuildValue("i",_result
);
10498 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10499 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
* _resultobj
;
10507 PyObject
* _argo0
= 0;
10508 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) return NULL
;
10526 } _resultobj
= Py_BuildValue("i",_result
);
10530 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10531 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
* _resultobj
;
10536 PyObject
* _argo0
= 0;
10538 PyObject
* _obj1
= 0;
10539 char *_kwnames
[] = { "self","rect", NULL
};
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
10545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
10553 if (! wxRect_helper(_obj1
, &_arg1
))
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) return NULL
;
10562 } _resultobj
= Py_BuildValue("i",_result
);
10566 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10567 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
* _resultobj
;
10572 PyObject
* _argo0
= 0;
10573 PyObject
* _argo1
= 0;
10574 char *_kwnames
[] = { "self","region", NULL
};
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
10580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
10587 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) return NULL
;
10598 } _resultobj
= Py_BuildValue("i",_result
);
10602 #define wxRegion_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
10603 static PyObject
*_wrap_wxRegion_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
* _resultobj
;
10605 wxBitmap
* _result
;
10607 PyObject
* _argo0
= 0;
10608 char *_kwnames
[] = { "self", NULL
};
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_ConvertToBitmap",_kwnames
,&_argo0
))
10615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ConvertToBitmap. Expected _wxRegion_p.");
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 _result
= new wxBitmap (wxRegion_ConvertToBitmap(_arg0
));
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) return NULL
;
10627 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10628 _resultobj
= Py_BuildValue("s",_ptemp
);
10632 #define wxRegion_UnionBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2))
10633 static PyObject
*_wrap_wxRegion_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
* _resultobj
;
10638 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
10639 int _arg3
= (int ) 0;
10640 PyObject
* _argo0
= 0;
10641 PyObject
* _argo1
= 0;
10643 PyObject
* _obj2
= 0;
10644 char *_kwnames
[] = { "self","bmp","transColour","tolerance", NULL
};
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxRegion_UnionBitmap",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionBitmap. Expected _wxRegion_p.");
10657 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionBitmap. Expected _wxBitmap_p.");
10665 if (! wxColour_helper(_obj2
, &_arg2
))
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 _result
= (bool )wxRegion_UnionBitmap(_arg0
,*_arg1
,*_arg2
,_arg3
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) return NULL
;
10674 } _resultobj
= Py_BuildValue("i",_result
);
10678 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
10679 wxRegionIterator
*src
;
10681 src
= (wxRegionIterator
*) ptr
;
10682 dest
= (wxObject
*) src
;
10683 return (void *) dest
;
10686 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
10687 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
* _resultobj
;
10689 wxRegionIterator
* _result
;
10691 PyObject
* _argo0
= 0;
10692 char *_kwnames
[] = { "region", NULL
};
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
10699 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) return NULL
;
10711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
10712 _resultobj
= Py_BuildValue("s",_ptemp
);
10714 Py_INCREF(Py_None
);
10715 _resultobj
= Py_None
;
10720 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
10721 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
* _resultobj
;
10723 wxRegionIterator
* _arg0
;
10724 PyObject
* _argo0
= 0;
10725 char *_kwnames
[] = { "self", NULL
};
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
10731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 delete_wxRegionIterator(_arg0
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) return NULL
;
10743 } Py_INCREF(Py_None
);
10744 _resultobj
= Py_None
;
10748 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
10749 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
* _resultobj
;
10752 wxRegionIterator
* _arg0
;
10753 PyObject
* _argo0
= 0;
10754 char *_kwnames
[] = { "self", NULL
};
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
10760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 _result
= (wxCoord
)wxRegionIterator_GetX(_arg0
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) return NULL
;
10772 } _resultobj
= Py_BuildValue("i",_result
);
10776 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
10777 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
* _resultobj
;
10780 wxRegionIterator
* _arg0
;
10781 PyObject
* _argo0
= 0;
10782 char *_kwnames
[] = { "self", NULL
};
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
10788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 _result
= (wxCoord
)wxRegionIterator_GetY(_arg0
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) return NULL
;
10800 } _resultobj
= Py_BuildValue("i",_result
);
10804 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
10805 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
* _resultobj
;
10808 wxRegionIterator
* _arg0
;
10809 PyObject
* _argo0
= 0;
10810 char *_kwnames
[] = { "self", NULL
};
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
10816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 _result
= (wxCoord
)wxRegionIterator_GetW(_arg0
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) return NULL
;
10828 } _resultobj
= Py_BuildValue("i",_result
);
10832 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
10833 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
* _resultobj
;
10836 wxRegionIterator
* _arg0
;
10837 PyObject
* _argo0
= 0;
10838 char *_kwnames
[] = { "self", NULL
};
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
10844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 _result
= (wxCoord
)wxRegionIterator_GetWidth(_arg0
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) return NULL
;
10856 } _resultobj
= Py_BuildValue("i",_result
);
10860 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
10861 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
* _resultobj
;
10864 wxRegionIterator
* _arg0
;
10865 PyObject
* _argo0
= 0;
10866 char *_kwnames
[] = { "self", NULL
};
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
10872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 _result
= (wxCoord
)wxRegionIterator_GetH(_arg0
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) return NULL
;
10884 } _resultobj
= Py_BuildValue("i",_result
);
10888 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
10889 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
* _resultobj
;
10892 wxRegionIterator
* _arg0
;
10893 PyObject
* _argo0
= 0;
10894 char *_kwnames
[] = { "self", NULL
};
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
10900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 _result
= (wxCoord
)wxRegionIterator_GetHeight(_arg0
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) return NULL
;
10912 } _resultobj
= Py_BuildValue("i",_result
);
10916 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
10917 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
* _resultobj
;
10920 wxRegionIterator
* _arg0
;
10921 PyObject
* _argo0
= 0;
10922 char *_kwnames
[] = { "self", NULL
};
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
10929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) return NULL
;
10941 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10942 _resultobj
= Py_BuildValue("s",_ptemp
);
10946 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
10947 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
* _resultobj
;
10950 wxRegionIterator
* _arg0
;
10951 PyObject
* _argo0
= 0;
10952 char *_kwnames
[] = { "self", NULL
};
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
10958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) return NULL
;
10970 } _resultobj
= Py_BuildValue("i",_result
);
10974 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
10975 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
* _resultobj
;
10977 wxRegionIterator
* _arg0
;
10978 PyObject
* _argo0
= 0;
10979 char *_kwnames
[] = { "self", NULL
};
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
10985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 wxRegionIterator_Reset(_arg0
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) return NULL
;
10997 } Py_INCREF(Py_None
);
10998 _resultobj
= Py_None
;
11002 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11005 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
* _resultobj
;
11007 wxRegionIterator
* _arg0
;
11008 PyObject
* _argo0
= 0;
11009 char *_kwnames
[] = { "self", NULL
};
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 wxRegionIterator_Next(_arg0
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) return NULL
;
11027 } Py_INCREF(Py_None
);
11028 _resultobj
= Py_None
;
11032 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
) {
11033 return self
->operator bool();
11035 static PyObject
*_wrap_wxRegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
* _resultobj
;
11038 wxRegionIterator
* _arg0
;
11039 PyObject
* _argo0
= 0;
11040 char *_kwnames
[] = { "self", NULL
};
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator___nonzero__",_kwnames
,&_argo0
))
11046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator___nonzero__. Expected _wxRegionIterator_p.");
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 _result
= (bool )wxRegionIterator___nonzero__(_arg0
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) return NULL
;
11058 } _resultobj
= Py_BuildValue("i",_result
);
11062 static PyMethodDef gdicMethods
[] = {
11063 { "wxRegionIterator___nonzero__", (PyCFunction
) _wrap_wxRegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxRegion_UnionBitmap", (PyCFunction
) _wrap_wxRegion_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxRegion_ConvertToBitmap", (PyCFunction
) _wrap_wxRegion_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "new_wxRegionFromBitmap", (PyCFunction
) _wrap_new_wxRegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "new_wxMirrorDC", (PyCFunction
) _wrap_new_wxMirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxDC__DrawTextList", (PyCFunction
) _wrap_wxDC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxDC__DrawPolygonList", (PyCFunction
) _wrap_wxDC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxDC__DrawEllipseList", (PyCFunction
) _wrap_wxDC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxDC__DrawRectangleList", (PyCFunction
) _wrap_wxDC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxDC_SetClippingRect", (PyCFunction
) _wrap_wxDC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxDC_GetMultiLineTextExtent", (PyCFunction
) _wrap_wxDC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxDC_DrawRectangleRect", (PyCFunction
) _wrap_wxDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxBrush_SetMacTheme", (PyCFunction
) _wrap_wxBrush_SetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxBrush_GetMacTheme", (PyCFunction
) _wrap_wxBrush_GetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxColourDatabase_AddColour", (PyCFunction
) _wrap_wxColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxColourDatabase_Find", (PyCFunction
) _wrap_wxColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "delete_wxColourDatabase", (PyCFunction
) _wrap_delete_wxColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "new_wxColourDatabase", (PyCFunction
) _wrap_new_wxColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxColour___ne__", (PyCFunction
) _wrap_wxColour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxColour___eq__", (PyCFunction
) _wrap_wxColour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxIconLocation_GetIndex", (PyCFunction
) _wrap_wxIconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxIconLocation_SetIndex", (PyCFunction
) _wrap_wxIconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxIconLocation_GetFileName", (PyCFunction
) _wrap_wxIconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxIconLocation_SetFileName", (PyCFunction
) _wrap_wxIconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxIconLocation_IsOk", (PyCFunction
) _wrap_wxIconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "delete_wxIconLocation", (PyCFunction
) _wrap_delete_wxIconLocation
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "new_wxIconLocation", (PyCFunction
) _wrap_new_wxIconLocation
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxCursorFromBits", (PyCFunction
) _wrap_wxCursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxCursorFromImage", (PyCFunction
) _wrap_wxCursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxIconFromLocation", (PyCFunction
) _wrap_wxIconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11351 * This table is used by the pointer type-checker
11353 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11354 { "_signed_long","_long",0},
11355 { "_wxPrintQuality","_wxCoord",0},
11356 { "_wxPrintQuality","_int",0},
11357 { "_wxPrintQuality","_signed_int",0},
11358 { "_wxPrintQuality","_unsigned_int",0},
11359 { "_wxPrintQuality","_wxWindowID",0},
11360 { "_wxPrintQuality","_uint",0},
11361 { "_wxPrintQuality","_EBool",0},
11362 { "_wxPrintQuality","_size_t",0},
11363 { "_wxPrintQuality","_time_t",0},
11364 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
11365 { "_byte","_unsigned_char",0},
11366 { "_long","_unsigned_long",0},
11367 { "_long","_signed_long",0},
11368 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
11369 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
11370 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
11371 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
11372 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
11373 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
11374 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
11375 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
11376 { "_wxDC","_wxMirrorDC",SwigwxMirrorDCTowxDC
},
11377 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
11378 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
11379 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
11380 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
11381 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
11382 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
11383 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
11384 { "_size_t","_wxCoord",0},
11385 { "_size_t","_wxPrintQuality",0},
11386 { "_size_t","_time_t",0},
11387 { "_size_t","_unsigned_int",0},
11388 { "_size_t","_int",0},
11389 { "_size_t","_wxWindowID",0},
11390 { "_size_t","_uint",0},
11391 { "_uint","_wxCoord",0},
11392 { "_uint","_wxPrintQuality",0},
11393 { "_uint","_time_t",0},
11394 { "_uint","_size_t",0},
11395 { "_uint","_unsigned_int",0},
11396 { "_uint","_int",0},
11397 { "_uint","_wxWindowID",0},
11398 { "_wxChar","_char",0},
11399 { "_char","_wxChar",0},
11400 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
11401 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11402 { "_EBool","_wxCoord",0},
11403 { "_EBool","_wxPrintQuality",0},
11404 { "_EBool","_signed_int",0},
11405 { "_EBool","_int",0},
11406 { "_EBool","_wxWindowID",0},
11407 { "_unsigned_long","_long",0},
11408 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11409 { "_signed_int","_wxCoord",0},
11410 { "_signed_int","_wxPrintQuality",0},
11411 { "_signed_int","_EBool",0},
11412 { "_signed_int","_wxWindowID",0},
11413 { "_signed_int","_int",0},
11414 { "_WXTYPE","_short",0},
11415 { "_WXTYPE","_signed_short",0},
11416 { "_WXTYPE","_unsigned_short",0},
11417 { "_unsigned_short","_WXTYPE",0},
11418 { "_unsigned_short","_short",0},
11419 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
11420 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
11421 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
11422 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
11423 { "_wxObject","_wxMirrorDC",SwigwxMirrorDCTowxObject
},
11424 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
11425 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
11426 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
11427 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
11428 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
11429 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
11430 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
11431 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
11432 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
11433 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
11434 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
11435 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
11436 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
11437 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
11438 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
11439 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
11440 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
11441 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
11442 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
11443 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
11444 { "_signed_short","_WXTYPE",0},
11445 { "_signed_short","_short",0},
11446 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
11447 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
11448 { "_unsigned_char","_byte",0},
11449 { "_unsigned_int","_wxCoord",0},
11450 { "_unsigned_int","_wxPrintQuality",0},
11451 { "_unsigned_int","_time_t",0},
11452 { "_unsigned_int","_size_t",0},
11453 { "_unsigned_int","_uint",0},
11454 { "_unsigned_int","_wxWindowID",0},
11455 { "_unsigned_int","_int",0},
11456 { "_short","_WXTYPE",0},
11457 { "_short","_unsigned_short",0},
11458 { "_short","_signed_short",0},
11459 { "_wxWindowID","_wxCoord",0},
11460 { "_wxWindowID","_wxPrintQuality",0},
11461 { "_wxWindowID","_time_t",0},
11462 { "_wxWindowID","_size_t",0},
11463 { "_wxWindowID","_EBool",0},
11464 { "_wxWindowID","_uint",0},
11465 { "_wxWindowID","_int",0},
11466 { "_wxWindowID","_signed_int",0},
11467 { "_wxWindowID","_unsigned_int",0},
11468 { "_int","_wxCoord",0},
11469 { "_int","_wxPrintQuality",0},
11470 { "_int","_time_t",0},
11471 { "_int","_size_t",0},
11472 { "_int","_EBool",0},
11473 { "_int","_uint",0},
11474 { "_int","_wxWindowID",0},
11475 { "_int","_unsigned_int",0},
11476 { "_int","_signed_int",0},
11477 { "_time_t","_wxCoord",0},
11478 { "_time_t","_wxPrintQuality",0},
11479 { "_time_t","_unsigned_int",0},
11480 { "_time_t","_int",0},
11481 { "_time_t","_wxWindowID",0},
11482 { "_time_t","_uint",0},
11483 { "_time_t","_size_t",0},
11484 { "_wxCoord","_int",0},
11485 { "_wxCoord","_signed_int",0},
11486 { "_wxCoord","_unsigned_int",0},
11487 { "_wxCoord","_wxWindowID",0},
11488 { "_wxCoord","_uint",0},
11489 { "_wxCoord","_EBool",0},
11490 { "_wxCoord","_size_t",0},
11491 { "_wxCoord","_time_t",0},
11492 { "_wxCoord","_wxPrintQuality",0},
11495 static PyObject
*SWIG_globals
;
11499 SWIGEXPORT(void) initgdic() {
11501 SWIG_globals
= SWIG_newvarlink();
11502 m
= Py_InitModule("gdic", gdicMethods
);
11503 d
= PyModule_GetDict(m
);
11504 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
11505 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
11506 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
11507 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
11508 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
11509 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
11510 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
11511 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
11512 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
11513 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
11514 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11515 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
11516 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
11517 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
11518 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
11519 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
11520 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
11521 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
11522 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
11523 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
11524 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
11525 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
11526 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
11527 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
11528 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
11529 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
11530 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
11531 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
11532 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
11533 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
11534 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
11535 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
11536 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
11537 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
11538 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
11539 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
11540 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
11541 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
11542 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
11543 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
11544 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
11545 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
11546 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
11547 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
11548 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
11549 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
11550 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
11551 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
11552 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
11553 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
11554 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
11555 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
11556 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
11557 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
11558 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
11559 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
11560 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
11563 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11564 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);